@agridea/suibi-module 0.1.0-preview.9 → 0.1.0-preview.cf0616d
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 +75 -64
- package/dist/elements/browser/styles.css +1 -1
- package/dist/elements/browser/suibi-module-latest.css +1 -1
- package/dist/elements/browser/suibi-module-latest.js +75 -64
- package/dist/elements/browser/{suibi-module.v0.1.0-preview.9.css → suibi-module.v0.1.0-preview.cf0616d.css} +1 -1
- package/dist/elements/browser/suibi-module.v0.1.0-preview.cf0616d.js +78 -0
- package/dist/elements/browser/suibi-theme-dark.css +1 -1
- package/dist/elements/browser/version.txt +1 -1
- package/dist/elements/browser/wc-global-utilities.css +1 -0
- package/dist/types/app/app.d.ts +14 -6
- package/dist/types/app/components/add-dashed-button/add-dashed-button.component.d.ts +9 -0
- package/dist/types/app/components/data-preview/data-preview.component.d.ts +12 -0
- package/dist/types/app/components/empty-state/empty-state.component.d.ts +12 -0
- package/dist/types/app/components/module-placeholder-page/module-placeholder-page.component.d.ts +6 -0
- package/dist/types/app/components/planning-result/planning-result.component.d.ts +46 -0
- package/dist/types/app/components/planning-result/planning-trigger.component.d.ts +13 -0
- package/dist/types/app/components/results-page/results-page.component.d.ts +4 -0
- package/dist/types/app/components/suissebilanz-dashboard/gauge-arc.component.d.ts +47 -0
- package/dist/types/app/components/suissebilanz-dashboard/suissebilanz-dashboard.component.d.ts +24 -0
- package/dist/types/app/components/suissebilanz-dashboard/suissebilanz-metrics.service.d.ts +21 -0
- package/dist/types/app/components/suissebilanz-dashboard/suissebilanz-minibar.component.d.ts +19 -0
- package/dist/types/app/components/validation-page/validation-page.component.d.ts +17 -0
- package/dist/types/app/components/welcome-page/metadata.types.d.ts +1 -0
- package/dist/types/app/components/welcome-page/welcome-page.component.d.ts +28 -0
- package/dist/types/app/components/workflow-stepper/workflow-stepper.component.d.ts +52 -0
- package/dist/types/app/core/data/naebi-data.service.d.ts +28 -7
- package/dist/types/app/core/error/global-error-handler.d.ts +6 -0
- package/dist/types/app/core/events/suibi-data-emitter.service.d.ts +13 -0
- package/dist/types/app/core/events/suibi-data-event.d.ts +26 -0
- package/dist/types/app/core/master-data/master-data.service.d.ts +13 -1
- package/dist/types/app/core/metadata/suibi-metadata.service.d.ts +6 -0
- package/dist/types/app/core/metadata/suibi-metadata.types.d.ts +8 -0
- package/dist/types/app/core/navigation/navigation.service.d.ts +14 -1
- package/dist/types/app/core/planning/planning-balance.service.d.ts +37 -0
- package/dist/types/app/core/planning/planning-balance.types.d.ts +206 -0
- package/dist/types/app/core/planning/planning-balance.utils.d.ts +10 -0
- package/dist/types/app/core/schemas/schema-localization.util.d.ts +18 -0
- package/dist/types/app/core/telemetry/telemetry.service.d.ts +12 -0
- package/dist/types/app/core/utils/object.util.d.ts +24 -0
- package/dist/types/app/core/validation/capabilities.d.ts +5 -5
- package/dist/types/app/core/validation/global-validation.service.d.ts +13 -4
- package/dist/types/app/header-bar.d.ts +2 -2
- package/dist/types/app/jsonforms/registry/renderers.registry.d.ts +4 -0
- package/dist/types/app/jsonforms/renderers/controls/selects/code-list/code-list-select.renderer.d.ts +8 -0
- package/dist/types/app/jsonforms/renderers/layout/array/array-layout.renderer.d.ts +43 -0
- package/dist/types/app/jsonforms/renderers/layout/categorization/selected-category-categorization.renderer.d.ts +3 -0
- package/dist/types/app/{animal-stock → nutrient-cycle/animal-stock}/animal-stock-detail.component.d.ts +1 -1
- package/dist/types/app/{animal-stock → nutrient-cycle/animal-stock}/animal-stock-master-detail.component.d.ts +4 -1
- package/dist/types/app/{animal-stock → nutrient-cycle/animal-stock}/animal-stock.types.d.ts +6 -6
- package/dist/types/app/nutrient-cycle/animal-stock/index.d.ts +4 -0
- package/dist/types/app/nutrient-cycle/farm-manure-trading/farm-manure-trading-detail.component.d.ts +27 -0
- package/dist/types/app/nutrient-cycle/farm-manure-trading/farm-manure-trading-list.component.d.ts +23 -0
- package/dist/types/app/nutrient-cycle/farm-manure-trading/farm-manure-trading-master-detail.component.d.ts +25 -0
- package/dist/types/app/nutrient-cycle/farm-manure-trading/farm-manure-trading.types.d.ts +27 -0
- package/dist/types/app/nutrient-cycle/farm-manure-trading/index.d.ts +4 -0
- package/dist/types/app/nutrient-cycle/farm-manure-trading/transaction-unit.util.d.ts +1 -0
- package/dist/types/app/nutrient-cycle/field-spreading/field-spreading.component.d.ts +21 -0
- package/dist/types/app/nutrient-cycle/field-spreading/field-spreading.types.d.ts +43 -0
- package/dist/types/app/nutrient-cycle/field-spreading/index.d.ts +2 -0
- package/dist/types/app/nutrient-cycle/lifetime-performance/lifetime-performance-form.component.d.ts +27 -0
- package/dist/types/app/nutrient-cycle/lifetime-performance/lifetime-performance.types.d.ts +5 -0
- package/dist/types/environments/environment.d.ts +11 -0
- package/dist/types/public-api.d.ts +2 -0
- package/dist/types/shared/material-icons.d.ts +3 -3
- package/package.json +2 -1
- package/dist/elements/browser/suibi-module.v0.1.0-preview.9.js +0 -67
- package/dist/types/app/data-preview.d.ts +0 -7
- package/dist/types/app/welcome-page.d.ts +0 -4
- /package/dist/types/app/{animal-stock → nutrient-cycle/animal-stock}/animal-stock-list.component.d.ts +0 -0
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
var AK=Object.create;var l0=Object.defineProperty,RK=Object.defineProperties,PK=Object.getOwnPropertyDescriptor,FK=Object.getOwnPropertyDescriptors,OK=Object.getOwnPropertyNames,Lh=Object.getOwnPropertySymbols,NK=Object.getPrototypeOf,c0=Object.prototype.hasOwnProperty,FA=Object.prototype.propertyIsEnumerable;var PA=(t,n,e)=>n in t?l0(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,M=(t,n)=>{for(var e in n||={})c0.call(n,e)&&PA(t,e,n[e]);if(Lh)for(var e of Lh(n))FA.call(n,e)&&PA(t,e,n[e]);return t},de=(t,n)=>RK(t,FK(n));var Bs=(t,n)=>{var e={};for(var i in t)c0.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&Lh)for(var i of Lh(t))n.indexOf(i)<0&&FA.call(t,i)&&(e[i]=t[i]);return e};var g=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var LK=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of OK(n))!c0.call(t,r)&&r!==e&&l0(t,r,{get:()=>n[r],enumerable:!(i=PK(n,r))||i.enumerable});return t};var st=(t,n,e)=>(e=t!=null?AK(NK(t)):{},LK(n||!t||!t.__esModule?l0(e,"default",{value:t,enumerable:!0}):e,t));var cr=(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 Qm=g((hZe,DL)=>{"use strict";var kie=Object.prototype;function Mie(t){var n=t&&t.constructor,e=typeof n=="function"&&n.prototype||kie;return t===e}DL.exports=Mie});var hS=g((pZe,EL)=>{"use strict";function Aie(t,n){return function(e){return t(n(e))}}EL.exports=Aie});var xL=g((gZe,SL)=>{"use strict";var Rie=hS(),Pie=Rie(Object.keys,Object);SL.exports=Pie});var $_=g((_Ze,TL)=>{"use strict";var Fie=Qm(),Oie=xL(),Nie=Object.prototype,Lie=Nie.hasOwnProperty;function Vie(t){if(!Fie(t))return Oie(t);var n=[];for(var e in Object(t))Lie.call(t,e)&&e!="constructor"&&n.push(e);return n}TL.exports=Vie});var pS=g((yZe,IL)=>{"use strict";var jie=typeof global=="object"&&global&&global.Object===Object&&global;IL.exports=jie});var vi=g((bZe,kL)=>{"use strict";var Bie=pS(),zie=typeof self=="object"&&self&&self.Object===Object&&self,$ie=Bie||zie||Function("return this")();kL.exports=$ie});var Pl=g((vZe,ML)=>{"use strict";var Hie=vi(),Uie=Hie.Symbol;ML.exports=Uie});var FL=g((CZe,PL)=>{"use strict";var AL=Pl(),RL=Object.prototype,qie=RL.hasOwnProperty,Gie=RL.toString,Zm=AL?AL.toStringTag:void 0;function Wie(t){var n=qie.call(t,Zm),e=t[Zm];try{t[Zm]=void 0;var i=!0}catch{}var r=Gie.call(t);return i&&(n?t[Zm]=e:delete t[Zm]),r}PL.exports=Wie});var NL=g((wZe,OL)=>{"use strict";var Yie=Object.prototype,Kie=Yie.toString;function Qie(t){return Kie.call(t)}OL.exports=Qie});var ya=g((DZe,jL)=>{"use strict";var LL=Pl(),Zie=FL(),Xie=NL(),Jie="[object Null]",ere="[object Undefined]",VL=LL?LL.toStringTag:void 0;function tre(t){return t==null?t===void 0?ere:Jie:VL&&VL in Object(t)?Zie(t):Xie(t)}jL.exports=tre});var Xi=g((EZe,BL)=>{"use strict";function nre(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}BL.exports=nre});var ld=g((SZe,zL)=>{"use strict";var ire=ya(),rre=Xi(),ore="[object AsyncFunction]",are="[object Function]",sre="[object GeneratorFunction]",lre="[object Proxy]";function cre(t){if(!rre(t))return!1;var n=ire(t);return n==are||n==sre||n==ore||n==lre}zL.exports=cre});var HL=g((xZe,$L)=>{"use strict";var dre=vi(),ure=dre["__core-js_shared__"];$L.exports=ure});var GL=g((TZe,qL)=>{"use strict";var gS=HL(),UL=(function(){var t=/[^.]+$/.exec(gS&&gS.keys&&gS.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function mre(t){return!!UL&&UL in t}qL.exports=mre});var _S=g((IZe,WL)=>{"use strict";var fre=Function.prototype,hre=fre.toString;function pre(t){if(t!=null){try{return hre.call(t)}catch{}try{return t+""}catch{}}return""}WL.exports=pre});var KL=g((kZe,YL)=>{"use strict";var gre=ld(),_re=GL(),yre=Xi(),bre=_S(),vre=/[\\^$.*+?()[\]{}|]/g,Cre=/^\[object .+?Constructor\]$/,wre=Function.prototype,Dre=Object.prototype,Ere=wre.toString,Sre=Dre.hasOwnProperty,xre=RegExp("^"+Ere.call(Sre).replace(vre,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tre(t){if(!yre(t)||_re(t))return!1;var n=gre(t)?xre:Cre;return n.test(bre(t))}YL.exports=Tre});var ZL=g((MZe,QL)=>{"use strict";function Ire(t,n){return t?.[n]}QL.exports=Ire});var fs=g((AZe,XL)=>{"use strict";var kre=KL(),Mre=ZL();function Are(t,n){var e=Mre(t,n);return kre(e)?e:void 0}XL.exports=Are});var e2=g((RZe,JL)=>{"use strict";var Rre=fs(),Pre=vi(),Fre=Rre(Pre,"DataView");JL.exports=Fre});var H_=g((PZe,t2)=>{"use strict";var Ore=fs(),Nre=vi(),Lre=Ore(Nre,"Map");t2.exports=Lre});var i2=g((FZe,n2)=>{"use strict";var Vre=fs(),jre=vi(),Bre=Vre(jre,"Promise");n2.exports=Bre});var o2=g((OZe,r2)=>{"use strict";var zre=fs(),$re=vi(),Hre=zre($re,"Set");r2.exports=Hre});var yS=g((NZe,a2)=>{"use strict";var Ure=fs(),qre=vi(),Gre=Ure(qre,"WeakMap");a2.exports=Gre});var hs=g((LZe,f2)=>{"use strict";var bS=e2(),vS=H_(),CS=i2(),wS=o2(),DS=yS(),m2=ya(),cd=_S(),s2="[object Map]",Wre="[object Object]",l2="[object Promise]",c2="[object Set]",d2="[object WeakMap]",u2="[object DataView]",Yre=cd(bS),Kre=cd(vS),Qre=cd(CS),Zre=cd(wS),Xre=cd(DS),Fl=m2;(bS&&Fl(new bS(new ArrayBuffer(1)))!=u2||vS&&Fl(new vS)!=s2||CS&&Fl(CS.resolve())!=l2||wS&&Fl(new wS)!=c2||DS&&Fl(new DS)!=d2)&&(Fl=function(t){var n=m2(t),e=n==Wre?t.constructor:void 0,i=e?cd(e):"";if(i)switch(i){case Yre:return u2;case Kre:return s2;case Qre:return l2;case Zre:return c2;case Xre:return d2}return n});f2.exports=Fl});var Ri=g((VZe,h2)=>{"use strict";function Jre(t){return t!=null&&typeof t=="object"}h2.exports=Jre});var g2=g((jZe,p2)=>{"use strict";var eoe=ya(),toe=Ri(),noe="[object Arguments]";function ioe(t){return toe(t)&&eoe(t)==noe}p2.exports=ioe});var dd=g((BZe,b2)=>{"use strict";var _2=g2(),roe=Ri(),y2=Object.prototype,ooe=y2.hasOwnProperty,aoe=y2.propertyIsEnumerable,soe=_2((function(){return arguments})())?_2:function(t){return roe(t)&&ooe.call(t,"callee")&&!aoe.call(t,"callee")};b2.exports=soe});var vn=g((zZe,v2)=>{"use strict";var loe=Array.isArray;v2.exports=loe});var U_=g(($Ze,C2)=>{"use strict";var coe=9007199254740991;function doe(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=coe}C2.exports=doe});var ba=g((HZe,w2)=>{"use strict";var uoe=ld(),moe=U_();function foe(t){return t!=null&&moe(t.length)&&!uoe(t)}w2.exports=foe});var E2=g((UZe,D2)=>{"use strict";function hoe(){return!1}D2.exports=hoe});var md=g((Xm,ud)=>{"use strict";var poe=vi(),goe=E2(),T2=typeof Xm=="object"&&Xm&&!Xm.nodeType&&Xm,S2=T2&&typeof ud=="object"&&ud&&!ud.nodeType&&ud,_oe=S2&&S2.exports===T2,x2=_oe?poe.Buffer:void 0,yoe=x2?x2.isBuffer:void 0,boe=yoe||goe;ud.exports=boe});var k2=g((qZe,I2)=>{"use strict";var voe=ya(),Coe=U_(),woe=Ri(),Doe="[object Arguments]",Eoe="[object Array]",Soe="[object Boolean]",xoe="[object Date]",Toe="[object Error]",Ioe="[object Function]",koe="[object Map]",Moe="[object Number]",Aoe="[object Object]",Roe="[object RegExp]",Poe="[object Set]",Foe="[object String]",Ooe="[object WeakMap]",Noe="[object ArrayBuffer]",Loe="[object DataView]",Voe="[object Float32Array]",joe="[object Float64Array]",Boe="[object Int8Array]",zoe="[object Int16Array]",$oe="[object Int32Array]",Hoe="[object Uint8Array]",Uoe="[object Uint8ClampedArray]",qoe="[object Uint16Array]",Goe="[object Uint32Array]",rn={};rn[Voe]=rn[joe]=rn[Boe]=rn[zoe]=rn[$oe]=rn[Hoe]=rn[Uoe]=rn[qoe]=rn[Goe]=!0;rn[Doe]=rn[Eoe]=rn[Noe]=rn[Soe]=rn[Loe]=rn[xoe]=rn[Toe]=rn[Ioe]=rn[koe]=rn[Moe]=rn[Aoe]=rn[Roe]=rn[Poe]=rn[Foe]=rn[Ooe]=!1;function Woe(t){return woe(t)&&Coe(t.length)&&!!rn[voe(t)]}I2.exports=Woe});var q_=g((GZe,M2)=>{"use strict";function Yoe(t){return function(n){return t(n)}}M2.exports=Yoe});var G_=g((Jm,fd)=>{"use strict";var Koe=pS(),A2=typeof Jm=="object"&&Jm&&!Jm.nodeType&&Jm,ef=A2&&typeof fd=="object"&&fd&&!fd.nodeType&&fd,Qoe=ef&&ef.exports===A2,ES=Qoe&&Koe.process,Zoe=(function(){try{var t=ef&&ef.require&&ef.require("util").types;return t||ES&&ES.binding&&ES.binding("util")}catch{}})();fd.exports=Zoe});var tf=g((WZe,F2)=>{"use strict";var Xoe=k2(),Joe=q_(),R2=G_(),P2=R2&&R2.isTypedArray,eae=P2?Joe(P2):Xoe;F2.exports=eae});var SS=g((YZe,O2)=>{"use strict";var tae=$_(),nae=hs(),iae=dd(),rae=vn(),oae=ba(),aae=md(),sae=Qm(),lae=tf(),cae="[object Map]",dae="[object Set]",uae=Object.prototype,mae=uae.hasOwnProperty;function fae(t){if(t==null)return!0;if(oae(t)&&(rae(t)||typeof t=="string"||typeof t.splice=="function"||aae(t)||lae(t)||iae(t)))return!t.length;var n=nae(t);if(n==cae||n==dae)return!t.size;if(sae(t))return!tae(t).length;for(var e in t)if(mae.call(t,e))return!1;return!0}O2.exports=fae});var xS=g((KZe,N2)=>{"use strict";function hae(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}N2.exports=hae});var V2=g((QZe,L2)=>{"use strict";function pae(t){return function(n){return t?.[n]}}L2.exports=pae});var B2=g((ZZe,j2)=>{"use strict";var gae=V2(),_ae={\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"},yae=gae(_ae);j2.exports=yae});var nf=g((XZe,z2)=>{"use strict";function bae(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}z2.exports=bae});var Ol=g((JZe,$2)=>{"use strict";var vae=ya(),Cae=Ri(),wae="[object Symbol]";function Dae(t){return typeof t=="symbol"||Cae(t)&&vae(t)==wae}$2.exports=Dae});var TS=g((eXe,W2)=>{"use strict";var H2=Pl(),Eae=nf(),Sae=vn(),xae=Ol(),Tae=1/0,U2=H2?H2.prototype:void 0,q2=U2?U2.toString:void 0;function G2(t){if(typeof t=="string")return t;if(Sae(t))return Eae(t,G2)+"";if(xae(t))return q2?q2.call(t):"";var n=t+"";return n=="0"&&1/t==-Tae?"-0":n}W2.exports=G2});var Nl=g((tXe,Y2)=>{"use strict";var Iae=TS();function kae(t){return t==null?"":Iae(t)}Y2.exports=kae});var Q2=g((nXe,K2)=>{"use strict";var Mae=B2(),Aae=Nl(),Rae=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Pae="\\u0300-\\u036f",Fae="\\ufe20-\\ufe2f",Oae="\\u20d0-\\u20ff",Nae=Pae+Fae+Oae,Lae="["+Nae+"]",Vae=RegExp(Lae,"g");function jae(t){return t=Aae(t),t&&t.replace(Rae,Mae).replace(Vae,"")}K2.exports=jae});var X2=g((iXe,Z2)=>{"use strict";var Bae=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function zae(t){return t.match(Bae)||[]}Z2.exports=zae});var eV=g((rXe,J2)=>{"use strict";var $ae=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Hae(t){return $ae.test(t)}J2.exports=Hae});var bV=g((oXe,yV)=>{"use strict";var oV="\\ud800-\\udfff",Uae="\\u0300-\\u036f",qae="\\ufe20-\\ufe2f",Gae="\\u20d0-\\u20ff",Wae=Uae+qae+Gae,aV="\\u2700-\\u27bf",sV="a-z\\xdf-\\xf6\\xf8-\\xff",Yae="\\xac\\xb1\\xd7\\xf7",Kae="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Qae="\\u2000-\\u206f",Zae=" \\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",lV="A-Z\\xc0-\\xd6\\xd8-\\xde",Xae="\\ufe0e\\ufe0f",cV=Yae+Kae+Qae+Zae,dV="['\u2019]",tV="["+cV+"]",Jae="["+Wae+"]",uV="\\d+",ese="["+aV+"]",mV="["+sV+"]",fV="[^"+oV+cV+uV+aV+sV+lV+"]",tse="\\ud83c[\\udffb-\\udfff]",nse="(?:"+Jae+"|"+tse+")",ise="[^"+oV+"]",hV="(?:\\ud83c[\\udde6-\\uddff]){2}",pV="[\\ud800-\\udbff][\\udc00-\\udfff]",hd="["+lV+"]",rse="\\u200d",nV="(?:"+mV+"|"+fV+")",ose="(?:"+hd+"|"+fV+")",iV="(?:"+dV+"(?:d|ll|m|re|s|t|ve))?",rV="(?:"+dV+"(?:D|LL|M|RE|S|T|VE))?",gV=nse+"?",_V="["+Xae+"]?",ase="(?:"+rse+"(?:"+[ise,hV,pV].join("|")+")"+_V+gV+")*",sse="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",lse="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",cse=_V+gV+ase,dse="(?:"+[ese,hV,pV].join("|")+")"+cse,use=RegExp([hd+"?"+mV+"+"+iV+"(?="+[tV,hd,"$"].join("|")+")",ose+"+"+rV+"(?="+[tV,hd+nV,"$"].join("|")+")",hd+"?"+nV+"+"+iV,hd+"+"+rV,lse,sse,uV,dse].join("|"),"g");function mse(t){return t.match(use)||[]}yV.exports=mse});var CV=g((aXe,vV)=>{"use strict";var fse=X2(),hse=eV(),pse=Nl(),gse=bV();function _se(t,n,e){return t=pse(t),n=e?void 0:n,n===void 0?hse(t)?gse(t):fse(t):t.match(n)||[]}vV.exports=_se});var DV=g((sXe,wV)=>{"use strict";var yse=xS(),bse=Q2(),vse=CV(),Cse="['\u2019]",wse=RegExp(Cse,"g");function Dse(t){return function(n){return yse(vse(bse(n).replace(wse,"")),t,"")}}wV.exports=Dse});var IS=g((lXe,EV)=>{"use strict";function Ese(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}EV.exports=Ese});var xV=g((cXe,SV)=>{"use strict";var Sse=IS();function xse(t,n,e){var i=t.length;return e=e===void 0?i:e,!n&&e>=i?t:Sse(t,n,e)}SV.exports=xse});var kS=g((dXe,TV)=>{"use strict";var Tse="\\ud800-\\udfff",Ise="\\u0300-\\u036f",kse="\\ufe20-\\ufe2f",Mse="\\u20d0-\\u20ff",Ase=Ise+kse+Mse,Rse="\\ufe0e\\ufe0f",Pse="\\u200d",Fse=RegExp("["+Pse+Tse+Ase+Rse+"]");function Ose(t){return Fse.test(t)}TV.exports=Ose});var kV=g((uXe,IV)=>{"use strict";function Nse(t){return t.split("")}IV.exports=Nse});var LV=g((mXe,NV)=>{"use strict";var MV="\\ud800-\\udfff",Lse="\\u0300-\\u036f",Vse="\\ufe20-\\ufe2f",jse="\\u20d0-\\u20ff",Bse=Lse+Vse+jse,zse="\\ufe0e\\ufe0f",$se="["+MV+"]",MS="["+Bse+"]",AS="\\ud83c[\\udffb-\\udfff]",Hse="(?:"+MS+"|"+AS+")",AV="[^"+MV+"]",RV="(?:\\ud83c[\\udde6-\\uddff]){2}",PV="[\\ud800-\\udbff][\\udc00-\\udfff]",Use="\\u200d",FV=Hse+"?",OV="["+zse+"]?",qse="(?:"+Use+"(?:"+[AV,RV,PV].join("|")+")"+OV+FV+")*",Gse=OV+FV+qse,Wse="(?:"+[AV+MS+"?",MS,RV,PV,$se].join("|")+")",Yse=RegExp(AS+"(?="+AS+")|"+Wse+Gse,"g");function Kse(t){return t.match(Yse)||[]}NV.exports=Kse});var jV=g((fXe,VV)=>{"use strict";var Qse=kV(),Zse=kS(),Xse=LV();function Jse(t){return Zse(t)?Xse(t):Qse(t)}VV.exports=Jse});var zV=g((hXe,BV)=>{"use strict";var ele=xV(),tle=kS(),nle=jV(),ile=Nl();function rle(t){return function(n){n=ile(n);var e=tle(n)?nle(n):void 0,i=e?e[0]:n.charAt(0),r=e?ele(e,1).join(""):n.slice(1);return i[t]()+r}}BV.exports=rle});var HV=g((pXe,$V)=>{"use strict";var ole=zV(),ale=ole("toUpperCase");$V.exports=ale});var RS=g((gXe,UV)=>{"use strict";var sle=DV(),lle=HV(),cle=sle(function(t,n,e){return t+(e?" ":"")+lle(n)});UV.exports=cle});var GV=g((_Xe,qV)=>{"use strict";function dle(t,n){for(var e=-1,i=Array(t);++e<t;)i[e]=n(e);return i}qV.exports=dle});var Ll=g((yXe,WV)=>{"use strict";var ule=9007199254740991,mle=/^(?:0|[1-9]\d*)$/;function fle(t,n){var e=typeof t;return n=n??ule,!!n&&(e=="number"||e!="symbol"&&mle.test(t))&&t>-1&&t%1==0&&t<n}WV.exports=fle});var PS=g((bXe,YV)=>{"use strict";var hle=GV(),ple=dd(),gle=vn(),_le=md(),yle=Ll(),ble=tf(),vle=Object.prototype,Cle=vle.hasOwnProperty;function wle(t,n){var e=gle(t),i=!e&&ple(t),r=!e&&!i&&_le(t),o=!e&&!i&&!r&&ble(t),a=e||i||r||o,s=a?hle(t.length,String):[],l=s.length;for(var c in t)(n||Cle.call(t,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||yle(c,l)))&&s.push(c);return s}YV.exports=wle});var Ao=g((vXe,KV)=>{"use strict";var Dle=PS(),Ele=$_(),Sle=ba();function xle(t){return Sle(t)?Dle(t):Ele(t)}KV.exports=xle});var ZV=g((CXe,QV)=>{"use strict";var Tle=Math.ceil,Ile=Math.max;function kle(t,n,e,i){for(var r=-1,o=Ile(Tle((n-t)/(e||1)),0),a=Array(o);o--;)a[i?o:++r]=t,t+=e;return a}QV.exports=kle});var pd=g((wXe,XV)=>{"use strict";function Mle(t,n){return t===n||t!==t&&n!==n}XV.exports=Mle});var W_=g((DXe,JV)=>{"use strict";var Ale=pd(),Rle=ba(),Ple=Ll(),Fle=Xi();function Ole(t,n,e){if(!Fle(e))return!1;var i=typeof n;return(i=="number"?Rle(e)&&Ple(n,e.length):i=="string"&&n in e)?Ale(e[n],t):!1}JV.exports=Ole});var tj=g((EXe,ej)=>{"use strict";var Nle=/\s/;function Lle(t){for(var n=t.length;n--&&Nle.test(t.charAt(n)););return n}ej.exports=Lle});var ij=g((SXe,nj)=>{"use strict";var Vle=tj(),jle=/^\s+/;function Ble(t){return t&&t.slice(0,Vle(t)+1).replace(jle,"")}nj.exports=Ble});var sj=g((xXe,aj)=>{"use strict";var zle=ij(),rj=Xi(),$le=Ol(),oj=NaN,Hle=/^[-+]0x[0-9a-f]+$/i,Ule=/^0b[01]+$/i,qle=/^0o[0-7]+$/i,Gle=parseInt;function Wle(t){if(typeof t=="number")return t;if($le(t))return oj;if(rj(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=rj(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=zle(t);var e=Ule.test(t);return e||qle.test(t)?Gle(t.slice(2),e?2:8):Hle.test(t)?oj:+t}aj.exports=Wle});var FS=g((TXe,cj)=>{"use strict";var Yle=sj(),lj=1/0,Kle=17976931348623157e292;function Qle(t){if(!t)return t===0?t:0;if(t=Yle(t),t===lj||t===-lj){var n=t<0?-1:1;return n*Kle}return t===t?t:0}cj.exports=Qle});var uj=g((IXe,dj)=>{"use strict";var Zle=ZV(),Xle=W_(),OS=FS();function Jle(t){return function(n,e,i){return i&&typeof i!="number"&&Xle(n,e,i)&&(e=i=void 0),n=OS(n),e===void 0?(e=n,n=0):e=OS(e),i=i===void 0?n<e?1:-1:OS(i),Zle(n,e,i,t)}}dj.exports=Jle});var fj=g((kXe,mj)=>{"use strict";var ece=uj(),tce=ece();mj.exports=tce});var Y_=g((MXe,hj)=>{"use strict";var nce=vn(),ice=Ol(),rce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,oce=/^\w*$/;function ace(t,n){if(nce(t))return!1;var e=typeof t;return e=="number"||e=="symbol"||e=="boolean"||t==null||ice(t)?!0:oce.test(t)||!rce.test(t)||n!=null&&t in Object(n)}hj.exports=ace});var rf=g((AXe,pj)=>{"use strict";var sce=fs(),lce=sce(Object,"create");pj.exports=lce});var yj=g((RXe,_j)=>{"use strict";var gj=rf();function cce(){this.__data__=gj?gj(null):{},this.size=0}_j.exports=cce});var vj=g((PXe,bj)=>{"use strict";function dce(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}bj.exports=dce});var wj=g((FXe,Cj)=>{"use strict";var uce=rf(),mce="__lodash_hash_undefined__",fce=Object.prototype,hce=fce.hasOwnProperty;function pce(t){var n=this.__data__;if(uce){var e=n[t];return e===mce?void 0:e}return hce.call(n,t)?n[t]:void 0}Cj.exports=pce});var Ej=g((OXe,Dj)=>{"use strict";var gce=rf(),_ce=Object.prototype,yce=_ce.hasOwnProperty;function bce(t){var n=this.__data__;return gce?n[t]!==void 0:yce.call(n,t)}Dj.exports=bce});var xj=g((NXe,Sj)=>{"use strict";var vce=rf(),Cce="__lodash_hash_undefined__";function wce(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=vce&&n===void 0?Cce:n,this}Sj.exports=wce});var Ij=g((LXe,Tj)=>{"use strict";var Dce=yj(),Ece=vj(),Sce=wj(),xce=Ej(),Tce=xj();function gd(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])}}gd.prototype.clear=Dce;gd.prototype.delete=Ece;gd.prototype.get=Sce;gd.prototype.has=xce;gd.prototype.set=Tce;Tj.exports=gd});var Mj=g((VXe,kj)=>{"use strict";function Ice(){this.__data__=[],this.size=0}kj.exports=Ice});var of=g((jXe,Aj)=>{"use strict";var kce=pd();function Mce(t,n){for(var e=t.length;e--;)if(kce(t[e][0],n))return e;return-1}Aj.exports=Mce});var Pj=g((BXe,Rj)=>{"use strict";var Ace=of(),Rce=Array.prototype,Pce=Rce.splice;function Fce(t){var n=this.__data__,e=Ace(n,t);if(e<0)return!1;var i=n.length-1;return e==i?n.pop():Pce.call(n,e,1),--this.size,!0}Rj.exports=Fce});var Oj=g((zXe,Fj)=>{"use strict";var Oce=of();function Nce(t){var n=this.__data__,e=Oce(n,t);return e<0?void 0:n[e][1]}Fj.exports=Nce});var Lj=g(($Xe,Nj)=>{"use strict";var Lce=of();function Vce(t){return Lce(this.__data__,t)>-1}Nj.exports=Vce});var jj=g((HXe,Vj)=>{"use strict";var jce=of();function Bce(t,n){var e=this.__data__,i=jce(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}Vj.exports=Bce});var af=g((UXe,Bj)=>{"use strict";var zce=Mj(),$ce=Pj(),Hce=Oj(),Uce=Lj(),qce=jj();function _d(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])}}_d.prototype.clear=zce;_d.prototype.delete=$ce;_d.prototype.get=Hce;_d.prototype.has=Uce;_d.prototype.set=qce;Bj.exports=_d});var Hj=g((qXe,$j)=>{"use strict";var zj=Ij(),Gce=af(),Wce=H_();function Yce(){this.size=0,this.__data__={hash:new zj,map:new(Wce||Gce),string:new zj}}$j.exports=Yce});var qj=g((GXe,Uj)=>{"use strict";function Kce(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}Uj.exports=Kce});var sf=g((WXe,Gj)=>{"use strict";var Qce=qj();function Zce(t,n){var e=t.__data__;return Qce(n)?e[typeof n=="string"?"string":"hash"]:e.map}Gj.exports=Zce});var Yj=g((YXe,Wj)=>{"use strict";var Xce=sf();function Jce(t){var n=Xce(this,t).delete(t);return this.size-=n?1:0,n}Wj.exports=Jce});var Qj=g((KXe,Kj)=>{"use strict";var ede=sf();function tde(t){return ede(this,t).get(t)}Kj.exports=tde});var Xj=g((QXe,Zj)=>{"use strict";var nde=sf();function ide(t){return nde(this,t).has(t)}Zj.exports=ide});var eB=g((ZXe,Jj)=>{"use strict";var rde=sf();function ode(t,n){var e=rde(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}Jj.exports=ode});var K_=g((XXe,tB)=>{"use strict";var ade=Hj(),sde=Yj(),lde=Qj(),cde=Xj(),dde=eB();function yd(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])}}yd.prototype.clear=ade;yd.prototype.delete=sde;yd.prototype.get=lde;yd.prototype.has=cde;yd.prototype.set=dde;tB.exports=yd});var rB=g((JXe,iB)=>{"use strict";var nB=K_(),ude="Expected a function";function NS(t,n){if(typeof t!="function"||n!=null&&typeof n!="function")throw new TypeError(ude);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(NS.Cache||nB),e}NS.Cache=nB;iB.exports=NS});var aB=g((eJe,oB)=>{"use strict";var mde=rB(),fde=500;function hde(t){var n=mde(t,function(i){return e.size===fde&&e.clear(),i}),e=n.cache;return n}oB.exports=hde});var LS=g((tJe,sB)=>{"use strict";var pde=aB(),gde=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_de=/\\(\\)?/g,yde=pde(function(t){var n=[];return t.charCodeAt(0)===46&&n.push(""),t.replace(gde,function(e,i,r,o){n.push(r?o.replace(_de,"$1"):i||e)}),n});sB.exports=yde});var lf=g((nJe,lB)=>{"use strict";var bde=vn(),vde=Y_(),Cde=LS(),wde=Nl();function Dde(t,n){return bde(t)?t:vde(t,n)?[t]:Cde(wde(t))}lB.exports=Dde});var ps=g((iJe,cB)=>{"use strict";var Ede=Ol(),Sde=1/0;function xde(t){if(typeof t=="string"||Ede(t))return t;var n=t+"";return n=="0"&&1/t==-Sde?"-0":n}cB.exports=xde});var Q_=g((rJe,dB)=>{"use strict";var Tde=lf(),Ide=ps();function kde(t,n){n=Tde(n,t);for(var e=0,i=n.length;t!=null&&e<i;)t=t[Ide(n[e++])];return e&&e==i?t:void 0}dB.exports=kde});var cf=g((oJe,uB)=>{"use strict";var Mde=Q_();function Ade(t,n,e){var i=t==null?void 0:Mde(t,n);return i===void 0?e:i}uB.exports=Ade});var fB=g((aJe,mB)=>{"use strict";var Rde=Object.prototype,Pde=Rde.hasOwnProperty;function Fde(t,n){return t!=null&&Pde.call(t,n)}mB.exports=Fde});var VS=g((sJe,hB)=>{"use strict";var Ode=lf(),Nde=dd(),Lde=vn(),Vde=Ll(),jde=U_(),Bde=ps();function zde(t,n,e){n=Ode(n,t);for(var i=-1,r=n.length,o=!1;++i<r;){var a=Bde(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&&jde(r)&&Vde(a,r)&&(Lde(t)||Nde(t)))}hB.exports=zde});var gB=g((lJe,pB)=>{"use strict";var $de=fB(),Hde=VS();function Ude(t,n){return t!=null&&Hde(t,n,$de)}pB.exports=Ude});var yB=g((cJe,_B)=>{"use strict";var qde=af();function Gde(){this.__data__=new qde,this.size=0}_B.exports=Gde});var vB=g((dJe,bB)=>{"use strict";function Wde(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}bB.exports=Wde});var wB=g((uJe,CB)=>{"use strict";function Yde(t){return this.__data__.get(t)}CB.exports=Yde});var EB=g((mJe,DB)=>{"use strict";function Kde(t){return this.__data__.has(t)}DB.exports=Kde});var xB=g((fJe,SB)=>{"use strict";var Qde=af(),Zde=H_(),Xde=K_(),Jde=200;function eue(t,n){var e=this.__data__;if(e instanceof Qde){var i=e.__data__;if(!Zde||i.length<Jde-1)return i.push([t,n]),this.size=++e.size,this;e=this.__data__=new Xde(i)}return e.set(t,n),this.size=e.size,this}SB.exports=eue});var df=g((hJe,TB)=>{"use strict";var tue=af(),nue=yB(),iue=vB(),rue=wB(),oue=EB(),aue=xB();function bd(t){var n=this.__data__=new tue(t);this.size=n.size}bd.prototype.clear=nue;bd.prototype.delete=iue;bd.prototype.get=rue;bd.prototype.has=oue;bd.prototype.set=aue;TB.exports=bd});var kB=g((pJe,IB)=>{"use strict";var sue="__lodash_hash_undefined__";function lue(t){return this.__data__.set(t,sue),this}IB.exports=lue});var AB=g((gJe,MB)=>{"use strict";function cue(t){return this.__data__.has(t)}MB.exports=cue});var PB=g((_Je,RB)=>{"use strict";var due=K_(),uue=kB(),mue=AB();function Z_(t){var n=-1,e=t==null?0:t.length;for(this.__data__=new due;++n<e;)this.add(t[n])}Z_.prototype.add=Z_.prototype.push=uue;Z_.prototype.has=mue;RB.exports=Z_});var jS=g((yJe,FB)=>{"use strict";function fue(t,n){for(var e=-1,i=t==null?0:t.length;++e<i;)if(n(t[e],e,t))return!0;return!1}FB.exports=fue});var NB=g((bJe,OB)=>{"use strict";function hue(t,n){return t.has(n)}OB.exports=hue});var BS=g((vJe,LB)=>{"use strict";var pue=PB(),gue=jS(),_ue=NB(),yue=1,bue=2;function vue(t,n,e,i,r,o){var a=e&yue,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 m=-1,f=!0,h=e&bue?new pue:void 0;for(o.set(t,n),o.set(n,t);++m<s;){var p=t[m],b=n[m];if(i)var D=a?i(b,p,m,n,t,o):i(p,b,m,t,n,o);if(D!==void 0){if(D)continue;f=!1;break}if(h){if(!gue(n,function(E,P){if(!_ue(h,P)&&(p===E||r(p,E,e,i,o)))return h.push(P)})){f=!1;break}}else if(!(p===b||r(p,b,e,i,o))){f=!1;break}}return o.delete(t),o.delete(n),f}LB.exports=vue});var zS=g((CJe,VB)=>{"use strict";var Cue=vi(),wue=Cue.Uint8Array;VB.exports=wue});var $S=g((wJe,jB)=>{"use strict";function Due(t){var n=-1,e=Array(t.size);return t.forEach(function(i,r){e[++n]=[r,i]}),e}jB.exports=Due});var zB=g((DJe,BB)=>{"use strict";function Eue(t){var n=-1,e=Array(t.size);return t.forEach(function(i){e[++n]=i}),e}BB.exports=Eue});var GB=g((EJe,qB)=>{"use strict";var $B=Pl(),HB=zS(),Sue=pd(),xue=BS(),Tue=$S(),Iue=zB(),kue=1,Mue=2,Aue="[object Boolean]",Rue="[object Date]",Pue="[object Error]",Fue="[object Map]",Oue="[object Number]",Nue="[object RegExp]",Lue="[object Set]",Vue="[object String]",jue="[object Symbol]",Bue="[object ArrayBuffer]",zue="[object DataView]",UB=$B?$B.prototype:void 0,HS=UB?UB.valueOf:void 0;function $ue(t,n,e,i,r,o,a){switch(e){case zue:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case Bue:return!(t.byteLength!=n.byteLength||!o(new HB(t),new HB(n)));case Aue:case Rue:case Oue:return Sue(+t,+n);case Pue:return t.name==n.name&&t.message==n.message;case Nue:case Vue:return t==n+"";case Fue:var s=Tue;case Lue:var l=i&kue;if(s||(s=Iue),t.size!=n.size&&!l)return!1;var c=a.get(t);if(c)return c==n;i|=Mue,a.set(t,n);var d=xue(s(t),s(n),i,r,o,a);return a.delete(t),d;case jue:if(HS)return HS.call(t)==HS.call(n)}return!1}qB.exports=$ue});var X_=g((SJe,WB)=>{"use strict";function Hue(t,n){for(var e=-1,i=n.length,r=t.length;++e<i;)t[r+e]=n[e];return t}WB.exports=Hue});var US=g((xJe,YB)=>{"use strict";var Uue=X_(),que=vn();function Gue(t,n,e){var i=n(t);return que(t)?i:Uue(i,e(t))}YB.exports=Gue});var qS=g((TJe,KB)=>{"use strict";function Wue(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}KB.exports=Wue});var GS=g((IJe,QB)=>{"use strict";function Yue(){return[]}QB.exports=Yue});var J_=g((kJe,XB)=>{"use strict";var Kue=qS(),Que=GS(),Zue=Object.prototype,Xue=Zue.propertyIsEnumerable,ZB=Object.getOwnPropertySymbols,Jue=ZB?function(t){return t==null?[]:(t=Object(t),Kue(ZB(t),function(n){return Xue.call(t,n)}))}:Que;XB.exports=Jue});var WS=g((MJe,JB)=>{"use strict";var eme=US(),tme=J_(),nme=Ao();function ime(t){return eme(t,nme,tme)}JB.exports=ime});var nz=g((AJe,tz)=>{"use strict";var ez=WS(),rme=1,ome=Object.prototype,ame=ome.hasOwnProperty;function sme(t,n,e,i,r,o){var a=e&rme,s=ez(t),l=s.length,c=ez(n),d=c.length;if(l!=d&&!a)return!1;for(var m=l;m--;){var f=s[m];if(!(a?f in n:ame.call(n,f)))return!1}var h=o.get(t),p=o.get(n);if(h&&p)return h==n&&p==t;var b=!0;o.set(t,n),o.set(n,t);for(var D=a;++m<l;){f=s[m];var E=t[f],P=n[f];if(i)var G=a?i(P,E,f,n,t,o):i(E,P,f,t,n,o);if(!(G===void 0?E===P||r(E,P,e,i,o):G)){b=!1;break}D||(D=f=="constructor")}if(b&&!D){var ce=t.constructor,ie=n.constructor;ce!=ie&&"constructor"in t&&"constructor"in n&&!(typeof ce=="function"&&ce instanceof ce&&typeof ie=="function"&&ie instanceof ie)&&(b=!1)}return o.delete(t),o.delete(n),b}tz.exports=sme});var dz=g((RJe,cz)=>{"use strict";var YS=df(),lme=BS(),cme=GB(),dme=nz(),iz=hs(),rz=vn(),oz=md(),ume=tf(),mme=1,az="[object Arguments]",sz="[object Array]",ey="[object Object]",fme=Object.prototype,lz=fme.hasOwnProperty;function hme(t,n,e,i,r,o){var a=rz(t),s=rz(n),l=a?sz:iz(t),c=s?sz:iz(n);l=l==az?ey:l,c=c==az?ey:c;var d=l==ey,m=c==ey,f=l==c;if(f&&oz(t)){if(!oz(n))return!1;a=!0,d=!1}if(f&&!d)return o||(o=new YS),a||ume(t)?lme(t,n,e,i,r,o):cme(t,n,l,e,i,r,o);if(!(e&mme)){var h=d&&lz.call(t,"__wrapped__"),p=m&&lz.call(n,"__wrapped__");if(h||p){var b=h?t.value():t,D=p?n.value():n;return o||(o=new YS),r(b,D,e,i,o)}}return f?(o||(o=new YS),dme(t,n,e,i,r,o)):!1}cz.exports=hme});var ty=g((PJe,fz)=>{"use strict";var pme=dz(),uz=Ri();function mz(t,n,e,i,r){return t===n?!0:t==null||n==null||!uz(t)&&!uz(n)?t!==t&&n!==n:pme(t,n,e,i,mz,r)}fz.exports=mz});var pz=g((FJe,hz)=>{"use strict";var gme=df(),_me=ty(),yme=1,bme=2;function vme(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 m=new gme;if(i)var f=i(c,d,l,t,n,m);if(!(f===void 0?_me(d,c,yme|bme,i,m):f))return!1}}return!0}hz.exports=vme});var KS=g((OJe,gz)=>{"use strict";var Cme=Xi();function wme(t){return t===t&&!Cme(t)}gz.exports=wme});var yz=g((NJe,_z)=>{"use strict";var Dme=KS(),Eme=Ao();function Sme(t){for(var n=Eme(t),e=n.length;e--;){var i=n[e],r=t[i];n[e]=[i,r,Dme(r)]}return n}_z.exports=Sme});var QS=g((LJe,bz)=>{"use strict";function xme(t,n){return function(e){return e==null?!1:e[t]===n&&(n!==void 0||t in Object(e))}}bz.exports=xme});var Cz=g((VJe,vz)=>{"use strict";var Tme=pz(),Ime=yz(),kme=QS();function Mme(t){var n=Ime(t);return n.length==1&&n[0][2]?kme(n[0][0],n[0][1]):function(e){return e===t||Tme(e,t,n)}}vz.exports=Mme});var Dz=g((jJe,wz)=>{"use strict";function Ame(t,n){return t!=null&&n in Object(t)}wz.exports=Ame});var Sz=g((BJe,Ez)=>{"use strict";var Rme=Dz(),Pme=VS();function Fme(t,n){return t!=null&&Pme(t,n,Rme)}Ez.exports=Fme});var Tz=g((zJe,xz)=>{"use strict";var Ome=ty(),Nme=cf(),Lme=Sz(),Vme=Y_(),jme=KS(),Bme=QS(),zme=ps(),$me=1,Hme=2;function Ume(t,n){return Vme(t)&&jme(n)?Bme(zme(t),n):function(e){var i=Nme(e,t);return i===void 0&&i===n?Lme(e,t):Ome(n,i,$me|Hme)}}xz.exports=Ume});var uf=g(($Je,Iz)=>{"use strict";function qme(t){return t}Iz.exports=qme});var Mz=g((HJe,kz)=>{"use strict";function Gme(t){return function(n){return n?.[t]}}kz.exports=Gme});var Rz=g((UJe,Az)=>{"use strict";var Wme=Q_();function Yme(t){return function(n){return Wme(n,t)}}Az.exports=Yme});var Fz=g((qJe,Pz)=>{"use strict";var Kme=Mz(),Qme=Rz(),Zme=Y_(),Xme=ps();function Jme(t){return Zme(t)?Kme(Xme(t)):Qme(t)}Pz.exports=Jme});var va=g((GJe,Oz)=>{"use strict";var efe=Cz(),tfe=Tz(),nfe=uf(),ife=vn(),rfe=Fz();function ofe(t){return typeof t=="function"?t:t==null?nfe:typeof t=="object"?ife(t)?tfe(t[0],t[1]):efe(t):rfe(t)}Oz.exports=ofe});var Lz=g((WJe,Nz)=>{"use strict";var afe=va(),sfe=ba(),lfe=Ao();function cfe(t){return function(n,e,i){var r=Object(n);if(!sfe(n)){var o=afe(e,3);n=lfe(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}}Nz.exports=cfe});var ZS=g((YJe,Vz)=>{"use strict";function dfe(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}Vz.exports=dfe});var vd=g((KJe,jz)=>{"use strict";var ufe=FS();function mfe(t){var n=ufe(t),e=n%1;return n===n?e?n-e:n:0}jz.exports=mfe});var zz=g((QJe,Bz)=>{"use strict";var ffe=ZS(),hfe=va(),pfe=vd(),gfe=Math.max;function _fe(t,n,e){var i=t==null?0:t.length;if(!i)return-1;var r=e==null?0:pfe(e);return r<0&&(r=gfe(i+r,0)),ffe(t,hfe(n,3),r)}Bz.exports=_fe});var Hz=g((ZJe,$z)=>{"use strict";var yfe=Lz(),bfe=zz(),vfe=yfe(bfe);$z.exports=vfe});var qz=g((XJe,Uz)=>{"use strict";function Cfe(t){return t!==t}Uz.exports=Cfe});var Wz=g((JJe,Gz)=>{"use strict";function wfe(t,n,e){for(var i=e-1,r=t.length;++i<r;)if(t[i]===n)return i;return-1}Gz.exports=wfe});var XS=g((eet,Yz)=>{"use strict";var Dfe=ZS(),Efe=qz(),Sfe=Wz();function xfe(t,n,e){return n===n?Sfe(t,n,e):Dfe(t,Efe,e)}Yz.exports=xfe});var Qz=g((tet,Kz)=>{"use strict";var Tfe=ya(),Ife=vn(),kfe=Ri(),Mfe="[object String]";function Afe(t){return typeof t=="string"||!Ife(t)&&kfe(t)&&Tfe(t)==Mfe}Kz.exports=Afe});var Xz=g((net,Zz)=>{"use strict";var Rfe=nf();function Pfe(t,n){return Rfe(n,function(e){return t[e]})}Zz.exports=Pfe});var e$=g((iet,Jz)=>{"use strict";var Ffe=Xz(),Ofe=Ao();function Nfe(t){return t==null?[]:Ffe(t,Ofe(t))}Jz.exports=Nfe});var n$=g((ret,t$)=>{"use strict";var Lfe=XS(),Vfe=ba(),jfe=Qz(),Bfe=vd(),zfe=e$(),$fe=Math.max;function Hfe(t,n,e,i){t=Vfe(t)?t:zfe(t),e=e&&!i?Bfe(e):0;var r=t.length;return e<0&&(e=$fe(r+e,0)),jfe(t)?e<=r&&t.indexOf(n,e)>-1:!!r&&Lfe(t,n,e)>-1}t$.exports=Hfe});var hf=g(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.regexpCode=kt.getEsmExportName=kt.getProperty=kt.safeStringify=kt.stringify=kt.strConcat=kt.addCodeArg=kt.str=kt._=kt.nil=kt._Code=kt.Name=kt.IDENTIFIER=kt._CodeOrName=void 0;var mf=class{};kt._CodeOrName=mf;kt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var Vl=class extends mf{constructor(n){if(super(),!kt.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}}};kt.Name=Vl;var wr=class extends mf{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 Vl&&(e[i.str]=(e[i.str]||0)+1),e),{})}};kt._Code=wr;kt.nil=new wr("");function i$(t,...n){let e=[t[0]],i=0;for(;i<n.length;)ex(e,n[i]),e.push(t[++i]);return new wr(e)}kt._=i$;var JS=new wr("+");function r$(t,...n){let e=[ff(t[0])],i=0;for(;i<n.length;)e.push(JS),ex(e,n[i]),e.push(JS,ff(t[++i]));return Ufe(e),new wr(e)}kt.str=r$;function ex(t,n){n instanceof wr?t.push(...n._items):n instanceof Vl?t.push(n):t.push(Wfe(n))}kt.addCodeArg=ex;function Ufe(t){let n=1;for(;n<t.length-1;){if(t[n]===JS){let e=qfe(t[n-1],t[n+1]);if(e!==void 0){t.splice(n-1,3,e);continue}t[n++]="+"}n++}}function qfe(t,n){if(n==='""')return t;if(t==='""')return n;if(typeof t=="string")return n instanceof Vl||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 Vl))return`"${t}${n.slice(1)}`}function Gfe(t,n){return n.emptyStr()?t:t.emptyStr()?n:r$`${t}${n}`}kt.strConcat=Gfe;function Wfe(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:ff(Array.isArray(t)?t.join(","):t)}function Yfe(t){return new wr(ff(t))}kt.stringify=Yfe;function ff(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}kt.safeStringify=ff;function Kfe(t){return typeof t=="string"&&kt.IDENTIFIER.test(t)?new wr(`.${t}`):i$`[${t}]`}kt.getProperty=Kfe;function Qfe(t){if(typeof t=="string"&&kt.IDENTIFIER.test(t))return new wr(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}kt.getEsmExportName=Qfe;function Zfe(t){return new wr(t.toString())}kt.regexpCode=Zfe});var ix=g(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.ValueScope=Fi.ValueScopeName=Fi.Scope=Fi.varKinds=Fi.UsedValueState=void 0;var Pi=hf(),tx=class extends Error{constructor(n){super(`CodeGen: "code" for ${n} not defined`),this.value=n.value}},ny=(function(t){return t[t.Started=0]="Started",t[t.Completed=1]="Completed",t})(ny||(Fi.UsedValueState=ny={}));Fi.varKinds={const:new Pi.Name("const"),let:new Pi.Name("let"),var:new Pi.Name("var")};var iy=class{constructor({prefixes:n,parent:e}={}){this._names={},this._prefixes=n,this._parent=e}toName(n){return n instanceof Pi.Name?n:this.name(n)}name(n){return new Pi.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}}};Fi.Scope=iy;var ry=class extends Pi.Name{constructor(n,e){super(e),this.prefix=n}setValue(n,{property:e,itemIndex:i}){this.value=n,this.scopePath=(0,Pi._)`.${new Pi.Name(e)}[${i}]`}};Fi.ValueScopeName=ry;var Xfe=(0,Pi._)`\n`,nx=class extends iy{constructor(n){super(n),this._values={},this._scope=n.scope,this.opts=de(M({},n),{_n:n.lines?Xfe:Pi.nil})}get(){return this._scope}name(n){return new ry(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,Pi._)`${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=Pi.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,ny.Started);let d=e(c);if(d){let m=this.opts.es5?Fi.varKinds.var:Fi.varKinds.const;o=(0,Pi._)`${o}${m} ${c} = ${d};${this.opts._n}`}else if(d=r?.(c))o=(0,Pi._)`${o}${d}${this.opts._n}`;else throw new tx(c);l.set(c,ny.Completed)})}return o}};Fi.ValueScope=nx});var ot=g(ht=>{"use strict";Object.defineProperty(ht,"__esModule",{value:!0});ht.or=ht.and=ht.not=ht.CodeGen=ht.operators=ht.varKinds=ht.ValueScopeName=ht.ValueScope=ht.Scope=ht.Name=ht.regexpCode=ht.stringify=ht.getProperty=ht.nil=ht.strConcat=ht.str=ht._=void 0;var Et=hf(),to=ix(),gs=hf();Object.defineProperty(ht,"_",{enumerable:!0,get:function(){return gs._}});Object.defineProperty(ht,"str",{enumerable:!0,get:function(){return gs.str}});Object.defineProperty(ht,"strConcat",{enumerable:!0,get:function(){return gs.strConcat}});Object.defineProperty(ht,"nil",{enumerable:!0,get:function(){return gs.nil}});Object.defineProperty(ht,"getProperty",{enumerable:!0,get:function(){return gs.getProperty}});Object.defineProperty(ht,"stringify",{enumerable:!0,get:function(){return gs.stringify}});Object.defineProperty(ht,"regexpCode",{enumerable:!0,get:function(){return gs.regexpCode}});Object.defineProperty(ht,"Name",{enumerable:!0,get:function(){return gs.Name}});var cy=ix();Object.defineProperty(ht,"Scope",{enumerable:!0,get:function(){return cy.Scope}});Object.defineProperty(ht,"ValueScope",{enumerable:!0,get:function(){return cy.ValueScope}});Object.defineProperty(ht,"ValueScopeName",{enumerable:!0,get:function(){return cy.ValueScopeName}});Object.defineProperty(ht,"varKinds",{enumerable:!0,get:function(){return cy.varKinds}});ht.operators={GT:new Et._Code(">"),GTE:new Et._Code(">="),LT:new Et._Code("<"),LTE:new Et._Code("<="),EQ:new Et._Code("==="),NEQ:new Et._Code("!=="),NOT:new Et._Code("!"),OR:new Et._Code("||"),AND:new Et._Code("&&"),ADD:new Et._Code("+")};var Ca=class{optimizeNodes(){return this}optimizeNames(n,e){return this}},rx=class extends Ca{constructor(n,e,i){super(),this.varKind=n,this.name=e,this.rhs=i}render({es5:n,_n:e}){let i=n?to.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=Cd(this.rhs,n,e)),this}get names(){return this.rhs instanceof Et._CodeOrName?this.rhs.names:{}}},ay=class extends Ca{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 Et.Name&&!n[this.lhs.str]&&!this.sideEffects))return this.rhs=Cd(this.rhs,n,e),this}get names(){let n=this.lhs instanceof Et.Name?{}:M({},this.lhs.names);return ly(n,this.rhs)}},ox=class extends ay{constructor(n,e,i,r){super(n,i,r),this.op=e}render({_n:n}){return`${this.lhs} ${this.op}= ${this.rhs};`+n}},ax=class extends Ca{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`${this.label}:`+n}},sx=class extends Ca{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`break${this.label?` ${this.label}`:""};`+n}},lx=class extends Ca{constructor(n){super(),this.error=n}render({_n:n}){return`throw ${this.error};`+n}get names(){return this.error.names}},cx=class extends Ca{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=Cd(this.code,n,e),this}get names(){return this.code instanceof Et._CodeOrName?this.code.names:{}}},pf=class extends Ca{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)||(Jfe(n,o.names),i.splice(r,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((n,e)=>jl(n,e.names),{})}},wa=class extends pf{render(n){return"{"+n._n+super.render(n)+"}"+n._n}},dx=class extends pf{},ux=(()=>{class t extends wa{}return t.kind="else",t})(),oy=(()=>{class t extends wa{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 ux(r):r}if(i)return e===!1?i instanceof t?i:i.nodes:this.nodes.length?this:new t(c$(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=Cd(this.condition,e,i),this}get names(){let e=super.names;return ly(e,this.condition),this.else&&jl(e,this.else.names),e}}return t.kind="if",t})(),dy=(()=>{class t extends wa{}return t.kind="for",t})(),mx=class extends dy{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=Cd(this.iteration,n,e),this}get names(){return jl(super.names,this.iteration.names)}},fx=class extends dy{constructor(n,e,i,r){super(),this.varKind=n,this.name=e,this.from=i,this.to=r}render(n){let e=n.es5?to.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=ly(super.names,this.from);return ly(n,this.to)}},sy=class extends dy{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=Cd(this.iterable,n,e),this}get names(){return jl(super.names,this.iterable.names)}},o$=(()=>{class t extends wa{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})(),a$=(()=>{class t extends pf{render(e){return"return "+super.render(e)}}return t.kind="return",t})(),hx=class extends wa{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&&jl(n,this.catch.names),this.finally&&jl(n,this.finally.names),n}},s$=(()=>{class t extends wa{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}return t.kind="catch",t})(),l$=(()=>{class t extends wa{render(e){return"finally"+super.render(e)}}return t.kind="finally",t})(),px=class{constructor(n,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts=de(M({},e),{_n:e.lines?`
|
|
2
|
-
`:""}),this._extScope=n,this._scope=new to.Scope({parent:n}),this._nodes=[new dx]}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 rx(n,o,i)),o}const(n,e,i){return this._def(to.varKinds.const,n,e,i)}let(n,e,i){return this._def(to.varKinds.let,n,e,i)}var(n,e,i){return this._def(to.varKinds.var,n,e,i)}assign(n,e,i){return this._leafNode(new ay(n,e,i))}add(n,e){return this._leafNode(new ox(n,ht.operators.ADD,e))}code(n){return typeof n=="function"?n():n!==Et.nil&&this._leafNode(new cx(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,Et.addCodeArg)(e,r));return e.push("}"),new Et._Code(e)}if(n,e,i){if(this._blockNode(new oy(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 oy(n))}else(){return this._elseNode(new ux)}endIf(){return this._endBlockNode(oy,ux)}_for(n,e){return this._blockNode(n),e&&this.code(e).endFor(),this}for(n,e){return this._for(new mx(n),e)}forRange(n,e,i,r,o=this.opts.es5?to.varKinds.var:to.varKinds.let){let a=this._scope.toName(n);return this._for(new fx(o,a,e,i),()=>r(a))}forOf(n,e,i,r=to.varKinds.const){let o=this._scope.toName(n);if(this.opts.es5){let a=e instanceof Et.Name?e:this.var("_arr",e);return this.forRange("_i",0,(0,Et._)`${a}.length`,s=>{this.var(o,(0,Et._)`${a}[${s}]`),i(o)})}return this._for(new sy("of",r,o,e),()=>i(o))}forIn(n,e,i,r=this.opts.es5?to.varKinds.var:to.varKinds.const){if(this.opts.ownProperties)return this.forOf(n,(0,Et._)`Object.keys(${e})`,i);let o=this._scope.toName(n);return this._for(new sy("in",r,o,e),()=>i(o))}endFor(){return this._endBlockNode(dy)}label(n){return this._leafNode(new ax(n))}break(n){return this._leafNode(new sx(n))}return(n){let e=new a$;if(this._blockNode(e),this.code(n),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(a$)}try(n,e,i){if(!e&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new hx;if(this._blockNode(r),this.code(n),e){let o=this.name("e");this._currNode=r.catch=new s$(o),e(o)}return i&&(this._currNode=r.finally=new l$,this.code(i)),this._endBlockNode(s$,l$)}throw(n){return this._leafNode(new lx(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=Et.nil,i,r){return this._blockNode(new o$(n,e,i)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(o$)}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 oy))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}};ht.CodeGen=px;function jl(t,n){for(let e in n)t[e]=(t[e]||0)+(n[e]||0);return t}function ly(t,n){return n instanceof Et._CodeOrName?jl(t,n.names):t}function Cd(t,n,e){if(t instanceof Et.Name)return i(t);if(!r(t))return t;return new Et._Code(t._items.reduce((o,a)=>(a instanceof Et.Name&&(a=i(a)),a instanceof Et._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 Et._Code&&o._items.some(a=>a instanceof Et.Name&&n[a.str]===1&&e[a.str]!==void 0)}}function Jfe(t,n){for(let e in n)t[e]=(t[e]||0)-(n[e]||0)}function c$(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,Et._)`!${gx(t)}`}ht.not=c$;var ehe=d$(ht.operators.AND);function the(...t){return t.reduce(ehe)}ht.and=the;var nhe=d$(ht.operators.OR);function ihe(...t){return t.reduce(nhe)}ht.or=ihe;function d$(t){return(n,e)=>n===Et.nil?e:e===Et.nil?n:(0,Et._)`${gx(n)} ${t} ${gx(e)}`}function gx(t){return t instanceof Et.Name?t:(0,Et._)`(${t})`}});var Mt=g(bt=>{"use strict";Object.defineProperty(bt,"__esModule",{value:!0});bt.checkStrictMode=bt.getErrorPath=bt.Type=bt.useFunc=bt.setEvaluated=bt.evaluatedPropsToName=bt.mergeEvaluated=bt.eachItem=bt.unescapeJsonPointer=bt.escapeJsonPointer=bt.escapeFragment=bt.unescapeFragment=bt.schemaRefOrVal=bt.schemaHasRulesButRef=bt.schemaHasRules=bt.checkUnknownRules=bt.alwaysValidSchema=bt.toHash=void 0;var Kt=ot(),rhe=hf();function ohe(t){let n={};for(let e of t)n[e]=!0;return n}bt.toHash=ohe;function ahe(t,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(f$(t,n),!h$(n,t.self.RULES.all))}bt.alwaysValidSchema=ahe;function f$(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]||_$(t,`unknown keyword: "${o}"`)}bt.checkUnknownRules=f$;function h$(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(n[e])return!0;return!1}bt.schemaHasRules=h$;function she(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(e!=="$ref"&&n.all[e])return!0;return!1}bt.schemaHasRulesButRef=she;function lhe({topSchemaRef:t,schemaPath:n},e,i,r){if(!r){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return(0,Kt._)`${e}`}return(0,Kt._)`${t}${n}${(0,Kt.getProperty)(i)}`}bt.schemaRefOrVal=lhe;function che(t){return p$(decodeURIComponent(t))}bt.unescapeFragment=che;function dhe(t){return encodeURIComponent(yx(t))}bt.escapeFragment=dhe;function yx(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}bt.escapeJsonPointer=yx;function p$(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}bt.unescapeJsonPointer=p$;function uhe(t,n){if(Array.isArray(t))for(let e of t)n(e);else n(t)}bt.eachItem=uhe;function u$({mergeNames:t,mergeToName:n,mergeValues:e,resultToName:i}){return(r,o,a,s)=>{let l=a===void 0?o:a instanceof Kt.Name?(o instanceof Kt.Name?t(r,o,a):n(r,o,a),a):o instanceof Kt.Name?(n(r,a,o),o):e(o,a);return s===Kt.Name&&!(l instanceof Kt.Name)?i(r,l):l}}bt.mergeEvaluated={props:u$({mergeNames:(t,n,e)=>t.if((0,Kt._)`${e} !== true && ${n} !== undefined`,()=>{t.if((0,Kt._)`${n} === true`,()=>t.assign(e,!0),()=>t.assign(e,(0,Kt._)`${e} || {}`).code((0,Kt._)`Object.assign(${e}, ${n})`))}),mergeToName:(t,n,e)=>t.if((0,Kt._)`${e} !== true`,()=>{n===!0?t.assign(e,!0):(t.assign(e,(0,Kt._)`${e} || {}`),bx(t,e,n))}),mergeValues:(t,n)=>t===!0?!0:M(M({},t),n),resultToName:g$}),items:u$({mergeNames:(t,n,e)=>t.if((0,Kt._)`${e} !== true && ${n} !== undefined`,()=>t.assign(e,(0,Kt._)`${n} === true ? true : ${e} > ${n} ? ${e} : ${n}`)),mergeToName:(t,n,e)=>t.if((0,Kt._)`${e} !== true`,()=>t.assign(e,n===!0?!0:(0,Kt._)`${e} > ${n} ? ${e} : ${n}`)),mergeValues:(t,n)=>t===!0?!0:Math.max(t,n),resultToName:(t,n)=>t.var("items",n)})};function g$(t,n){if(n===!0)return t.var("props",!0);let e=t.var("props",(0,Kt._)`{}`);return n!==void 0&&bx(t,e,n),e}bt.evaluatedPropsToName=g$;function bx(t,n,e){Object.keys(e).forEach(i=>t.assign((0,Kt._)`${n}${(0,Kt.getProperty)(i)}`,!0))}bt.setEvaluated=bx;var m$={};function mhe(t,n){return t.scopeValue("func",{ref:n,code:m$[n.code]||(m$[n.code]=new rhe._Code(n.code))})}bt.useFunc=mhe;var _x=(function(t){return t[t.Num=0]="Num",t[t.Str=1]="Str",t})(_x||(bt.Type=_x={}));function fhe(t,n,e){if(t instanceof Kt.Name){let i=n===_x.Num;return e?i?(0,Kt._)`"[" + ${t} + "]"`:(0,Kt._)`"['" + ${t} + "']"`:i?(0,Kt._)`"/" + ${t}`:(0,Kt._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?(0,Kt.getProperty)(t).toString():"/"+yx(t)}bt.getErrorPath=fhe;function _$(t,n,e=t.opts.strictSchema){if(e){if(n=`strict mode: ${n}`,e===!0)throw new Error(n);t.self.logger.warn(n)}}bt.checkStrictMode=_$});var Da=g(vx=>{"use strict";Object.defineProperty(vx,"__esModule",{value:!0});var ai=ot(),hhe={data:new ai.Name("data"),valCxt:new ai.Name("valCxt"),instancePath:new ai.Name("instancePath"),parentData:new ai.Name("parentData"),parentDataProperty:new ai.Name("parentDataProperty"),rootData:new ai.Name("rootData"),dynamicAnchors:new ai.Name("dynamicAnchors"),vErrors:new ai.Name("vErrors"),errors:new ai.Name("errors"),this:new ai.Name("this"),self:new ai.Name("self"),scope:new ai.Name("scope"),json:new ai.Name("json"),jsonPos:new ai.Name("jsonPos"),jsonLen:new ai.Name("jsonLen"),jsonPart:new ai.Name("jsonPart")};vx.default=hhe});var gf=g(si=>{"use strict";Object.defineProperty(si,"__esModule",{value:!0});si.extendErrors=si.resetErrorsCount=si.reportExtraError=si.reportError=si.keyword$DataError=si.keywordError=void 0;var It=ot(),uy=Mt(),Ci=Da();si.keywordError={message:({keyword:t})=>(0,It.str)`must pass "${t}" keyword validation`};si.keyword$DataError={message:({keyword:t,schemaType:n})=>n?(0,It.str)`"${t}" keyword must be ${n} ($data)`:(0,It.str)`"${t}" keyword is invalid ($data)`};function phe(t,n=si.keywordError,e,i){let{it:r}=t,{gen:o,compositeRule:a,allErrors:s}=r,l=v$(t,n,e);i??(a||s)?y$(o,l):b$(r,(0,It._)`[${l}]`)}si.reportError=phe;function ghe(t,n=si.keywordError,e){let{it:i}=t,{gen:r,compositeRule:o,allErrors:a}=i,s=v$(t,n,e);y$(r,s),o||a||b$(i,Ci.default.vErrors)}si.reportExtraError=ghe;function _he(t,n){t.assign(Ci.default.errors,n),t.if((0,It._)`${Ci.default.vErrors} !== null`,()=>t.if(n,()=>t.assign((0,It._)`${Ci.default.vErrors}.length`,n),()=>t.assign(Ci.default.vErrors,null)))}si.resetErrorsCount=_he;function yhe({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,Ci.default.errors,s=>{t.const(a,(0,It._)`${Ci.default.vErrors}[${s}]`),t.if((0,It._)`${a}.instancePath === undefined`,()=>t.assign((0,It._)`${a}.instancePath`,(0,It.strConcat)(Ci.default.instancePath,o.errorPath))),t.assign((0,It._)`${a}.schemaPath`,(0,It.str)`${o.errSchemaPath}/${n}`),o.opts.verbose&&(t.assign((0,It._)`${a}.schema`,e),t.assign((0,It._)`${a}.data`,i))})}si.extendErrors=yhe;function y$(t,n){let e=t.const("err",n);t.if((0,It._)`${Ci.default.vErrors} === null`,()=>t.assign(Ci.default.vErrors,(0,It._)`[${e}]`),(0,It._)`${Ci.default.vErrors}.push(${e})`),t.code((0,It._)`${Ci.default.errors}++`)}function b$(t,n){let{gen:e,validateName:i,schemaEnv:r}=t;r.$async?e.throw((0,It._)`new ${t.ValidationError}(${n})`):(e.assign((0,It._)`${i}.errors`,n),e.return(!1))}var Bl={keyword:new It.Name("keyword"),schemaPath:new It.Name("schemaPath"),params:new It.Name("params"),propertyName:new It.Name("propertyName"),message:new It.Name("message"),schema:new It.Name("schema"),parentSchema:new It.Name("parentSchema")};function v$(t,n,e){let{createErrors:i}=t.it;return i===!1?(0,It._)`{}`:bhe(t,n,e)}function bhe(t,n,e={}){let{gen:i,it:r}=t,o=[vhe(r,e),Che(t,e)];return whe(t,n,o),i.object(...o)}function vhe({errorPath:t},{instancePath:n}){let e=n?(0,It.str)`${t}${(0,uy.getErrorPath)(n,uy.Type.Str)}`:t;return[Ci.default.instancePath,(0,It.strConcat)(Ci.default.instancePath,e)]}function Che({keyword:t,it:{errSchemaPath:n}},{schemaPath:e,parentSchema:i}){let r=i?n:(0,It.str)`${n}/${t}`;return e&&(r=(0,It.str)`${r}${(0,uy.getErrorPath)(e,uy.Type.Str)}`),[Bl.schemaPath,r]}function whe(t,{params:n,message:e},i){let{keyword:r,data:o,schemaValue:a,it:s}=t,{opts:l,propertyName:c,topSchemaRef:d,schemaPath:m}=s;i.push([Bl.keyword,r],[Bl.params,typeof n=="function"?n(t):n||(0,It._)`{}`]),l.messages&&i.push([Bl.message,typeof e=="function"?e(t):e]),l.verbose&&i.push([Bl.schema,a],[Bl.parentSchema,(0,It._)`${d}${m}`],[Ci.default.data,o]),c&&i.push([Bl.propertyName,c])}});var w$=g(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.boolOrEmptySchema=wd.topBoolOrEmptySchema=void 0;var Dhe=gf(),Ehe=ot(),She=Da(),xhe={message:"boolean schema is false"};function The(t){let{gen:n,schema:e,validateName:i}=t;e===!1?C$(t,!1):typeof e=="object"&&e.$async===!0?n.return(She.default.data):(n.assign((0,Ehe._)`${i}.errors`,null),n.return(!0))}wd.topBoolOrEmptySchema=The;function Ihe(t,n){let{gen:e,schema:i}=t;i===!1?(e.var(n,!1),C$(t)):e.var(n,!0)}wd.boolOrEmptySchema=Ihe;function C$(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,Dhe.reportError)(r,xhe,void 0,n)}});var Cx=g(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.getRules=Dd.isJSONType=void 0;var khe=["string","number","integer","boolean","null","object","array"],Mhe=new Set(khe);function Ahe(t){return typeof t=="string"&&Mhe.has(t)}Dd.isJSONType=Ahe;function Rhe(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:de(M({},t),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}Dd.getRules=Rhe});var wx=g(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.shouldUseRule=_s.shouldUseGroup=_s.schemaHasRulesForType=void 0;function Phe({schema:t,self:n},e){let i=n.RULES.types[e];return i&&i!==!0&&D$(t,i)}_s.schemaHasRulesForType=Phe;function D$(t,n){return n.rules.some(e=>E$(t,e))}_s.shouldUseGroup=D$;function E$(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))}_s.shouldUseRule=E$});var _f=g(li=>{"use strict";Object.defineProperty(li,"__esModule",{value:!0});li.reportTypeError=li.checkDataTypes=li.checkDataType=li.coerceAndCheckDataType=li.getJSONTypes=li.getSchemaTypes=li.DataType=void 0;var Fhe=Cx(),Ohe=wx(),Nhe=gf(),dt=ot(),S$=Mt(),Ed=(function(t){return t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong",t})(Ed||(li.DataType=Ed={}));function Lhe(t){let n=x$(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}li.getSchemaTypes=Lhe;function x$(t){let n=Array.isArray(t)?t:t?[t]:[];if(n.every(Fhe.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}li.getJSONTypes=x$;function Vhe(t,n){let{gen:e,data:i,opts:r}=t,o=jhe(n,r.coerceTypes),a=n.length>0&&!(o.length===0&&n.length===1&&(0,Ohe.schemaHasRulesForType)(t,n[0]));if(a){let s=Ex(n,i,r.strictNumbers,Ed.Wrong);e.if(s,()=>{o.length?Bhe(t,n,o):Sx(t)})}return a}li.coerceAndCheckDataType=Vhe;var T$=new Set(["string","number","integer","boolean","null"]);function jhe(t,n){return n?t.filter(e=>T$.has(e)||n==="array"&&e==="array"):[]}function Bhe(t,n,e){let{gen:i,data:r,opts:o}=t,a=i.let("dataType",(0,dt._)`typeof ${r}`),s=i.let("coerced",(0,dt._)`undefined`);o.coerceTypes==="array"&&i.if((0,dt._)`${a} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,()=>i.assign(r,(0,dt._)`${r}[0]`).assign(a,(0,dt._)`typeof ${r}`).if(Ex(n,r,o.strictNumbers),()=>i.assign(s,r))),i.if((0,dt._)`${s} !== undefined`);for(let c of e)(T$.has(c)||c==="array"&&o.coerceTypes==="array")&&l(c);i.else(),Sx(t),i.endIf(),i.if((0,dt._)`${s} !== undefined`,()=>{i.assign(r,s),zhe(t,s)});function l(c){switch(c){case"string":i.elseIf((0,dt._)`${a} == "number" || ${a} == "boolean"`).assign(s,(0,dt._)`"" + ${r}`).elseIf((0,dt._)`${r} === null`).assign(s,(0,dt._)`""`);return;case"number":i.elseIf((0,dt._)`${a} == "boolean" || ${r} === null
|
|
3
|
-
|| (${a} == "string" && ${r} && ${r} == +${r})`).assign(s,(0,dt._)`+${r}`);return;case"integer":i.elseIf((0,dt._)`${a} === "boolean" || ${r} === null
|
|
4
|
-
|| (${a} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(s,(0,dt._)`+${r}`);return;case"boolean":i.elseIf((0,dt._)`${r} === "false" || ${r} === 0 || ${r} === null`).assign(s,!1).elseIf((0,dt._)`${r} === "true" || ${r} === 1`).assign(s,!0);return;case"null":i.elseIf((0,dt._)`${r} === "" || ${r} === 0 || ${r} === false`),i.assign(s,null);return;case"array":i.elseIf((0,dt._)`${a} === "string" || ${a} === "number"
|
|
5
|
-
|| ${a} === "boolean" || ${r} === null`).assign(s,(0,dt._)`[${r}]`)}}}function zhe({gen:t,parentData:n,parentDataProperty:e},i){t.if((0,dt._)`${n} !== undefined`,()=>t.assign((0,dt._)`${n}[${e}]`,i))}function Dx(t,n,e,i=Ed.Correct){let r=i===Ed.Correct?dt.operators.EQ:dt.operators.NEQ,o;switch(t){case"null":return(0,dt._)`${n} ${r} null`;case"array":o=(0,dt._)`Array.isArray(${n})`;break;case"object":o=(0,dt._)`${n} && typeof ${n} == "object" && !Array.isArray(${n})`;break;case"integer":o=a((0,dt._)`!(${n} % 1) && !isNaN(${n})`);break;case"number":o=a();break;default:return(0,dt._)`typeof ${n} ${r} ${t}`}return i===Ed.Correct?o:(0,dt.not)(o);function a(s=dt.nil){return(0,dt.and)((0,dt._)`typeof ${n} == "number"`,s,e?(0,dt._)`isFinite(${n})`:dt.nil)}}li.checkDataType=Dx;function Ex(t,n,e,i){if(t.length===1)return Dx(t[0],n,e,i);let r,o=(0,S$.toHash)(t);if(o.array&&o.object){let a=(0,dt._)`typeof ${n} != "object"`;r=o.null?a:(0,dt._)`!${n} || ${a}`,delete o.null,delete o.array,delete o.object}else r=dt.nil;o.number&&delete o.integer;for(let a in o)r=(0,dt.and)(r,Dx(a,n,e,i));return r}li.checkDataTypes=Ex;var $he={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:n})=>typeof t=="string"?(0,dt._)`{type: ${t}}`:(0,dt._)`{type: ${n}}`};function Sx(t){let n=Hhe(t);(0,Nhe.reportError)(n,$he)}li.reportTypeError=Sx;function Hhe(t){let{gen:n,data:e,schema:i}=t,r=(0,S$.schemaRefOrVal)(t,i,"type");return{gen:n,keyword:"type",data:e,schema:i.type,schemaCode:r,schemaValue:r,parentSchema:i,params:{},it:t}}});var k$=g(my=>{"use strict";Object.defineProperty(my,"__esModule",{value:!0});my.assignDefaults=void 0;var Sd=ot(),Uhe=Mt();function qhe(t,n){let{properties:e,items:i}=t.schema;if(n==="object"&&e)for(let r in e)I$(t,r,e[r].default);else n==="array"&&Array.isArray(i)&&i.forEach((r,o)=>I$(t,o,r.default))}my.assignDefaults=qhe;function I$(t,n,e){let{gen:i,compositeRule:r,data:o,opts:a}=t;if(e===void 0)return;let s=(0,Sd._)`${o}${(0,Sd.getProperty)(n)}`;if(r){(0,Uhe.checkStrictMode)(t,`default is ignored for: ${s}`);return}let l=(0,Sd._)`${s} === undefined`;a.useDefaults==="empty"&&(l=(0,Sd._)`${l} || ${s} === null || ${s} === ""`),i.if(l,(0,Sd._)`${s} = ${(0,Sd.stringify)(e)}`)}});var Dr=g(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.validateUnion=Wt.validateArray=Wt.usePattern=Wt.callValidateCode=Wt.schemaProperties=Wt.allSchemaProperties=Wt.noPropertyInData=Wt.propertyInData=Wt.isOwnProperty=Wt.hasPropFunc=Wt.reportMissingProp=Wt.checkMissingProp=Wt.checkReportMissingProp=void 0;var on=ot(),xx=Mt(),ys=Da(),Ghe=Mt();function Whe(t,n){let{gen:e,data:i,it:r}=t;e.if(Ix(e,i,n,r.opts.ownProperties),()=>{t.setParams({missingProperty:(0,on._)`${n}`},!0),t.error()})}Wt.checkReportMissingProp=Whe;function Yhe({gen:t,data:n,it:{opts:e}},i,r){return(0,on.or)(...i.map(o=>(0,on.and)(Ix(t,n,o,e.ownProperties),(0,on._)`${r} = ${o}`)))}Wt.checkMissingProp=Yhe;function Khe(t,n){t.setParams({missingProperty:n},!0),t.error()}Wt.reportMissingProp=Khe;function M$(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,on._)`Object.prototype.hasOwnProperty`})}Wt.hasPropFunc=M$;function Tx(t,n,e){return(0,on._)`${M$(t)}.call(${n}, ${e})`}Wt.isOwnProperty=Tx;function Qhe(t,n,e,i){let r=(0,on._)`${n}${(0,on.getProperty)(e)} !== undefined`;return i?(0,on._)`${r} && ${Tx(t,n,e)}`:r}Wt.propertyInData=Qhe;function Ix(t,n,e,i){let r=(0,on._)`${n}${(0,on.getProperty)(e)} === undefined`;return i?(0,on.or)(r,(0,on.not)(Tx(t,n,e))):r}Wt.noPropertyInData=Ix;function A$(t){return t?Object.keys(t).filter(n=>n!=="__proto__"):[]}Wt.allSchemaProperties=A$;function Zhe(t,n){return A$(n).filter(e=>!(0,xx.alwaysValidSchema)(t,n[e]))}Wt.schemaProperties=Zhe;function Xhe({schemaCode:t,data:n,it:{gen:e,topSchemaRef:i,schemaPath:r,errorPath:o},it:a},s,l,c){let d=c?(0,on._)`${t}, ${n}, ${i}${r}`:n,m=[[ys.default.instancePath,(0,on.strConcat)(ys.default.instancePath,o)],[ys.default.parentData,a.parentData],[ys.default.parentDataProperty,a.parentDataProperty],[ys.default.rootData,ys.default.rootData]];a.opts.dynamicRef&&m.push([ys.default.dynamicAnchors,ys.default.dynamicAnchors]);let f=(0,on._)`${d}, ${e.object(...m)}`;return l!==on.nil?(0,on._)`${s}.call(${l}, ${f})`:(0,on._)`${s}(${f})`}Wt.callValidateCode=Xhe;var Jhe=(0,on._)`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,on._)`${r.code==="new RegExp"?Jhe:(0,Ghe.useFunc)(t,r)}(${e}, ${i})`})}Wt.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,on._)`${e}.length`);n.forRange("i",0,l,c=>{t.subschema({keyword:i,dataProp:c,dataPropType:xx.Type.Num},o),n.if((0,on.not)(o),s)})}}Wt.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,xx.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,on._)`${a} || ${s}`),t.mergeValidEvaluated(d,s)||n.if((0,on.not)(a))})),t.result(a,()=>t.reset(),()=>t.error(!0))}Wt.validateUnion=npe});var F$=g(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.validateKeywordUsage=Ro.validSchemaType=Ro.funcKeywordCode=Ro.macroKeywordCode=void 0;var wi=ot(),zl=Da(),ipe=Dr(),rpe=gf();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=P$(e,i,s);a.opts.validateSchema!==!1&&a.self.validateSchema(s,!0);let c=e.name("valid");t.subschema({schema:s,schemaPath:wi.nil,errSchemaPath:`${a.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},c),t.pass(c,()=>t.error(!0))}Ro.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=P$(i,r,c),m=i.let("valid");t.block$data(m,f),t.ok((e=n.valid)!==null&&e!==void 0?e:m);function f(){if(n.errors===!1)b(),n.modifying&&R$(t),D(()=>t.error());else{let E=n.async?h():p();n.modifying&&R$(t),D(()=>spe(t,E))}}function h(){let E=i.let("ruleErrs",null);return i.try(()=>b((0,wi._)`await `),P=>i.assign(m,!1).if((0,wi._)`${P} instanceof ${l.ValidationError}`,()=>i.assign(E,(0,wi._)`${P}.errors`),()=>i.throw(P))),E}function p(){let E=(0,wi._)`${d}.errors`;return i.assign(E,null),b(wi.nil),E}function b(E=n.async?(0,wi._)`await `:wi.nil){let P=l.opts.passContext?zl.default.this:zl.default.self,G=!("compile"in n&&!s||n.schema===!1);i.assign(m,(0,wi._)`${E}${(0,ipe.callValidateCode)(t,d,P,G)}`,n.modifying)}function D(E){var P;i.if((0,wi.not)((P=n.valid)!==null&&P!==void 0?P:m),E)}}Ro.funcKeywordCode=ape;function R$(t){let{gen:n,data:e,it:i}=t;n.if(i.parentData,()=>n.assign(e,(0,wi._)`${i.parentData}[${i.parentDataProperty}]`))}function spe(t,n){let{gen:e}=t;e.if((0,wi._)`Array.isArray(${n})`,()=>{e.assign(zl.default.vErrors,(0,wi._)`${zl.default.vErrors} === null ? ${n} : ${zl.default.vErrors}.concat(${n})`).assign(zl.default.errors,(0,wi._)`${zl.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 P$(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,wi.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")}Ro.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)}}Ro.validateKeywordUsage=dpe});var N$=g(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.extendSubschemaMode=bs.extendSubschemaData=bs.getSubschema=void 0;var Po=ot(),O$=Mt();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,Po._)`${t.schemaPath}${(0,Po.getProperty)(n)}`,errSchemaPath:`${t.errSchemaPath}/${n}`}:{schema:s[e],schemaPath:(0,Po._)`${t.schemaPath}${(0,Po.getProperty)(n)}${(0,Po.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${n}/${(0,O$.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')}bs.getSubschema=upe;function mpe(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:m}=n,f=s.let("data",(0,Po._)`${n.data}${(0,Po.getProperty)(e)}`,!0);l(f),t.errorPath=(0,Po.str)`${c}${(0,O$.getErrorPath)(e,i,m.jsPropertySyntax)}`,t.parentDataProperty=(0,Po._)`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(r!==void 0){let c=r instanceof Po.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]}}bs.extendSubschemaData=mpe;function fpe(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}bs.extendSubschemaMode=fpe});var kx=g((Eet,L$)=>{"use strict";L$.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 j$=g((xet,V$)=>{"use strict";var vs=V$.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(){};fy(n,i,r,t,"",t)};vs.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};vs.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};vs.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};vs.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 fy(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 m=i[d];if(Array.isArray(m)){if(d in vs.arrayKeywords)for(var f=0;f<m.length;f++)fy(t,n,e,m[f],r+"/"+d+"/"+f,o,r,d,i,f)}else if(d in vs.propsKeywords){if(m&&typeof m=="object")for(var h in m)fy(t,n,e,m[h],r+"/"+d+"/"+hpe(h),o,r,d,i,h)}else(d in vs.keywords||t.allKeys&&!(d in vs.skipKeywords))&&fy(t,n,e,m,r+"/"+d,o,r,d,i)}e(i,r,o,a,s,l,c)}}function hpe(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var yf=g(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.getSchemaRefs=Oi.resolveUrl=Oi.normalizeId=Oi._getFullPath=Oi.getFullPath=Oi.inlineRef=void 0;var ppe=Mt(),gpe=kx(),_pe=j$(),ype=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function bpe(t,n=!0){return typeof t=="boolean"?!0:n===!0?!Mx(t):n?B$(t)<=n:!1}Oi.inlineRef=bpe;var vpe=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Mx(t){for(let n in t){if(vpe.has(n))return!0;let e=t[n];if(Array.isArray(e)&&e.some(Mx)||typeof e=="object"&&Mx(e))return!0}return!1}function B$(t){let n=0;for(let e in t){if(e==="$ref")return 1/0;if(n++,!ype.has(e)&&(typeof t[e]=="object"&&(0,ppe.eachItem)(t[e],i=>n+=B$(i)),n===1/0))return 1/0}return n}function z$(t,n="",e){e!==!1&&(n=xd(n));let i=t.parse(n);return $$(t,i)}Oi.getFullPath=z$;function $$(t,n){return t.serialize(n).split("#")[0]+"#"}Oi._getFullPath=$$;var Cpe=/#\/?$/;function xd(t){return t?t.replace(Cpe,""):""}Oi.normalizeId=xd;function wpe(t,n,e){return e=xd(e),t.resolve(n,e)}Oi.resolveUrl=wpe;var Dpe=/^[a-z_][-a-z0-9._]*$/i;function Epe(t,n){if(typeof t=="boolean")return{};let{schemaId:e,uriResolver:i}=this.opts,r=xd(t[e]||n),o={"":r},a=z$(i,r,!1),s={},l=new Set;return _pe(t,{allKeys:!0},(m,f,h,p)=>{if(p===void 0)return;let b=a+f,D=o[p];typeof m[e]=="string"&&(D=E.call(this,m[e])),P.call(this,m.$anchor),P.call(this,m.$dynamicAnchor),o[f]=D;function E(G){let ce=this.opts.uriResolver.resolve;if(G=xd(D?ce(D,G):G),l.has(G))throw d(G);l.add(G);let ie=this.refs[G];return typeof ie=="string"&&(ie=this.refs[ie]),typeof ie=="object"?c(m,ie.schema,G):G!==xd(b)&&(G[0]==="#"?(c(m,s[G],G),s[G]=m):this.refs[G]=b),G}function P(G){if(typeof G=="string"){if(!Dpe.test(G))throw new Error(`invalid anchor "${G}"`);E.call(this,`#${G}`)}}}),s;function c(m,f,h){if(f!==void 0&&!gpe(m,f))throw d(h)}function d(m){return new Error(`reference "${m}" resolves to more than one schema`)}}Oi.getSchemaRefs=Epe});var Cf=g(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.getData=Cs.KeywordCxt=Cs.validateFunctionCode=void 0;var W$=w$(),H$=_f(),Rx=wx(),hy=_f(),Spe=k$(),vf=F$(),Ax=N$(),Oe=ot(),Ze=Da(),xpe=yf(),Ea=Mt(),bf=gf();function Tpe(t){if(Q$(t)&&(Z$(t),K$(t))){Mpe(t);return}Y$(t,()=>(0,W$.topBoolOrEmptySchema)(t))}Cs.validateFunctionCode=Tpe;function Y$({gen:t,validateName:n,schema:e,schemaEnv:i,opts:r},o){r.code.es5?t.func(n,(0,Oe._)`${Ze.default.data}, ${Ze.default.valCxt}`,i.$async,()=>{t.code((0,Oe._)`"use strict"; ${U$(e,r)}`),kpe(t,r),t.code(o)}):t.func(n,(0,Oe._)`${Ze.default.data}, ${Ipe(r)}`,i.$async,()=>t.code(U$(e,r)).code(o))}function Ipe(t){return(0,Oe._)`{${Ze.default.instancePath}="", ${Ze.default.parentData}, ${Ze.default.parentDataProperty}, ${Ze.default.rootData}=${Ze.default.data}${t.dynamicRef?(0,Oe._)`, ${Ze.default.dynamicAnchors}={}`:Oe.nil}}={}`}function kpe(t,n){t.if(Ze.default.valCxt,()=>{t.var(Ze.default.instancePath,(0,Oe._)`${Ze.default.valCxt}.${Ze.default.instancePath}`),t.var(Ze.default.parentData,(0,Oe._)`${Ze.default.valCxt}.${Ze.default.parentData}`),t.var(Ze.default.parentDataProperty,(0,Oe._)`${Ze.default.valCxt}.${Ze.default.parentDataProperty}`),t.var(Ze.default.rootData,(0,Oe._)`${Ze.default.valCxt}.${Ze.default.rootData}`),n.dynamicRef&&t.var(Ze.default.dynamicAnchors,(0,Oe._)`${Ze.default.valCxt}.${Ze.default.dynamicAnchors}`)},()=>{t.var(Ze.default.instancePath,(0,Oe._)`""`),t.var(Ze.default.parentData,(0,Oe._)`undefined`),t.var(Ze.default.parentDataProperty,(0,Oe._)`undefined`),t.var(Ze.default.rootData,Ze.default.data),n.dynamicRef&&t.var(Ze.default.dynamicAnchors,(0,Oe._)`{}`)})}function Mpe(t){let{schema:n,opts:e,gen:i}=t;Y$(t,()=>{e.$comment&&n.$comment&&J$(t),Ope(t),i.let(Ze.default.vErrors,null),i.let(Ze.default.errors,0),e.unevaluated&&Ape(t),X$(t),Vpe(t)})}function Ape(t){let{gen:n,validateName:e}=t;t.evaluated=n.const("evaluated",(0,Oe._)`${e}.evaluated`),n.if((0,Oe._)`${t.evaluated}.dynamicProps`,()=>n.assign((0,Oe._)`${t.evaluated}.props`,(0,Oe._)`undefined`)),n.if((0,Oe._)`${t.evaluated}.dynamicItems`,()=>n.assign((0,Oe._)`${t.evaluated}.items`,(0,Oe._)`undefined`))}function U$(t,n){let e=typeof t=="object"&&t[n.schemaId];return e&&(n.code.source||n.code.process)?(0,Oe._)`/*# sourceURL=${e} */`:Oe.nil}function Rpe(t,n){if(Q$(t)&&(Z$(t),K$(t))){Ppe(t,n);return}(0,W$.boolOrEmptySchema)(t,n)}function K$({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 Q$(t){return typeof t.schema!="boolean"}function Ppe(t,n){let{schema:e,gen:i,opts:r}=t;r.$comment&&e.$comment&&J$(t),Npe(t),Lpe(t);let o=i.const("_errs",Ze.default.errors);X$(t,o),i.var(n,(0,Oe._)`${o} === ${Ze.default.errors}`)}function Z$(t){(0,Ea.checkUnknownRules)(t),Fpe(t)}function X$(t,n){if(t.opts.jtd)return q$(t,[],!1,n);let e=(0,H$.getSchemaTypes)(t.schema),i=(0,H$.coerceAndCheckDataType)(t,e);q$(t,e,!i,n)}function Fpe(t){let{schema:n,errSchemaPath:e,opts:i,self:r}=t;n.$ref&&i.ignoreKeywordsWithRef&&(0,Ea.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,Ea.checkStrictMode)(t,"default is ignored in the schema root")}function Npe(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 J$({gen:t,schemaEnv:n,schema:e,errSchemaPath:i,opts:r}){let o=e.$comment;if(r.$comment===!0)t.code((0,Oe._)`${Ze.default.self}.logger.log(${o})`);else if(typeof r.$comment=="function"){let a=(0,Oe.str)`${i}/$comment`,s=t.scopeValue("root",{ref:n.root});t.code((0,Oe._)`${Ze.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,Oe._)`${Ze.default.errors} === 0`,()=>n.return(Ze.default.data),()=>n.throw((0,Oe._)`new ${r}(${Ze.default.vErrors})`)):(n.assign((0,Oe._)`${i}.errors`,Ze.default.vErrors),o.unevaluated&&jpe(t),n.return((0,Oe._)`${Ze.default.errors} === 0`))}function jpe({gen:t,evaluated:n,props:e,items:i}){e instanceof Oe.Name&&t.assign((0,Oe._)`${n}.props`,e),i instanceof Oe.Name&&t.assign((0,Oe._)`${n}.items`,i)}function q$(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,Ea.schemaHasRulesButRef)(o,d))){r.block(()=>tH(t,"$ref",d.all.$ref.definition));return}l.jtd||Bpe(t,n),r.block(()=>{for(let f of d.rules)m(f);m(d.post)});function m(f){(0,Rx.shouldUseGroup)(o,f)&&(f.type?(r.if((0,hy.checkDataType)(f.type,a,l.strictNumbers)),G$(t,f),n.length===1&&n[0]===f.type&&e&&(r.else(),(0,hy.reportTypeError)(t)),r.endIf()):G$(t,f),s||r.if((0,Oe._)`${Ze.default.errors} === ${i||0}`))}}function G$(t,n){let{gen:e,schema:i,opts:{useDefaults:r}}=t;r&&(0,Spe.assignDefaults)(t,n.type),e.block(()=>{for(let o of n.rules)(0,Rx.shouldUseRule)(i,o)&&tH(t,o.keyword,o.definition,n.type)})}function Bpe(t,n){t.schemaEnv.meta||!t.opts.strictTypes||(zpe(t,n),t.opts.allowUnionTypes||$pe(t,n),Hpe(t,t.dataTypes))}function zpe(t,n){if(n.length){if(!t.dataTypes.length){t.dataTypes=n;return}n.forEach(e=>{eH(t.dataTypes,e)||Px(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),qpe(t,n)}}function $pe(t,n){n.length>1&&!(n.length===2&&n.includes("null"))&&Px(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,Rx.shouldUseRule)(t.schema,r)){let{type:o}=r.definition;o.length&&!o.some(a=>Upe(n,a))&&Px(t,`missing type "${o.join(",")}" for keyword "${i}"`)}}}function Upe(t,n){return t.includes(n)||n==="number"&&t.includes("integer")}function eH(t,n){return t.includes(n)||n==="integer"&&t.includes("number")}function qpe(t,n){let e=[];for(let i of t.dataTypes)eH(n,i)?e.push(i):n.includes("integer")&&i==="number"&&e.push("integer");t.dataTypes=e}function Px(t,n){let e=t.schemaEnv.baseId+t.errSchemaPath;n+=` at "${e}" (strictTypes)`,(0,Ea.checkStrictMode)(t,n,t.opts.strictTypes)}var py=class{constructor(n,e,i){if((0,vf.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,Ea.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",nH(this.$data,n));else if(this.schemaCode=this.schemaValue,!(0,vf.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",Ze.default.errors))}result(n,e,i){this.failResult((0,Oe.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,Oe.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,Oe._)`${e} !== undefined && (${(0,Oe.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?bf.reportExtraError:bf.reportError)(this,this.def.error,e)}$dataError(){(0,bf.reportError)(this,this.def.$dataError||bf.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,bf.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=Oe.nil){this.gen.block(()=>{this.check$data(n,i),e()})}check$data(n=Oe.nil,e=Oe.nil){if(!this.$data)return;let{gen:i,schemaCode:r,schemaType:o,def:a}=this;i.if((0,Oe.or)((0,Oe._)`${r} === undefined`,e)),n!==Oe.nil&&i.assign(n,!0),(o.length||a.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),n!==Oe.nil&&i.assign(n,!1)),i.else()}invalid$data(){let{gen:n,schemaCode:e,schemaType:i,def:r,it:o}=this;return(0,Oe.or)(a(),s());function a(){if(i.length){if(!(e instanceof Oe.Name))throw new Error("ajv implementation error");let l=Array.isArray(i)?i:[i];return(0,Oe._)`${(0,hy.checkDataTypes)(l,e,o.opts.strictNumbers,hy.DataType.Wrong)}`}return Oe.nil}function s(){if(r.validateSchema){let l=n.scopeValue("validate$data",{ref:r.validateSchema});return(0,Oe._)`!${l}(${e})`}return Oe.nil}}subschema(n,e){let i=(0,Ax.getSubschema)(this.it,n);(0,Ax.extendSubschemaData)(i,this.it,n),(0,Ax.extendSubschemaMode)(i,n);let r=de(M(M({},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=Ea.mergeEvaluated.props(r,n.props,i.props,e)),i.items!==!0&&n.items!==void 0&&(i.items=Ea.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,Oe.Name)),!0}};Cs.KeywordCxt=py;function tH(t,n,e,i){let r=new py(t,e,n);"code"in e?e.code(r,i):r.$data&&e.validate?(0,vf.funcKeywordCode)(r,e):"macro"in e?(0,vf.macroKeywordCode)(r,e):(e.compile||e.validate)&&(0,vf.funcKeywordCode)(r,e)}var Gpe=/^\/(?:[^~]|~0|~1)*$/,Wpe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function nH(t,{dataLevel:n,dataNames:e,dataPathArr:i}){let r,o;if(t==="")return Ze.default.rootData;if(t[0]==="/"){if(!Gpe.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);r=t,o=Ze.default.rootData}else{let c=Wpe.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,Oe._)`${o}${(0,Oe.getProperty)((0,Ea.unescapeJsonPointer)(c))}`,a=(0,Oe._)`${a} && ${o}`);return a;function l(c,d){return`Cannot access ${c} ${d} levels up, current level is ${n}`}}Cs.getData=nH});var gy=g(Ox=>{"use strict";Object.defineProperty(Ox,"__esModule",{value:!0});var Fx=class extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}};Ox.default=Fx});var wf=g(Vx=>{"use strict";Object.defineProperty(Vx,"__esModule",{value:!0});var Nx=yf(),Lx=class extends Error{constructor(n,e,i,r){super(r||`can't resolve reference ${i} from id ${e}`),this.missingRef=(0,Nx.resolveUrl)(n,e,i),this.missingSchema=(0,Nx.normalizeId)((0,Nx.getFullPath)(n,this.missingRef))}};Vx.default=Lx});var yy=g(Er=>{"use strict";Object.defineProperty(Er,"__esModule",{value:!0});Er.resolveSchema=Er.getCompilingSchema=Er.resolveRef=Er.compileSchema=Er.SchemaEnv=void 0;var no=ot(),Ype=gy(),$l=Da(),io=yf(),iH=Mt(),Kpe=Cf(),Td=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,io.normalizeId)(i?.[n.schemaId||"$id"]),this.schemaPath=n.schemaPath,this.localRefs=n.localRefs,this.meta=n.meta,this.$async=i?.$async,this.refs={}}};Er.SchemaEnv=Td;function Bx(t){let n=rH.call(this,t);if(n)return n;let e=(0,io.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:i,lines:r}=this.opts.code,{ownProperties:o}=this.opts,a=new no.CodeGen(this.scope,{es5:i,lines:r,ownProperties:o}),s;t.$async&&(s=a.scopeValue("Error",{ref:Ype.default,code:(0,no._)`require("ajv/dist/runtime/validation_error").default`}));let l=a.scopeName("validate");t.validateName=l;let c={gen:a,allErrors:this.opts.allErrors,data:$l.default.data,parentData:$l.default.parentData,parentDataProperty:$l.default.parentDataProperty,dataNames:[$l.default.data],dataPathArr:[no.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,no.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:s,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:no.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,no._)`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),(0,Kpe.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);let m=a.toString();d=`${a.scopeRefs($l.default.scope)}return ${m}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let h=new Function(`${$l.default.self}`,`${$l.default.scope}`,d)(this,this.scope.get());if(this.scope.value(l,{ref:h}),h.errors=null,h.schema=t.schema,h.schemaEnv=t,t.$async&&(h.$async=!0),this.opts.code.source===!0&&(h.source={validateName:l,validateCode:m,scopeValues:a._values}),this.opts.unevaluated){let{props:p,items:b}=c;h.evaluated={props:p instanceof no.Name?void 0:p,items:b instanceof no.Name?void 0:b,dynamicProps:p instanceof no.Name,dynamicItems:b instanceof no.Name},h.source&&(h.source.evaluated=(0,no.stringify)(h.evaluated))}return t.validate=h,t}catch(m){throw delete t.validate,delete t.validateName,d&&this.logger.error("Error compiling schema, function code:",d),m}finally{this._compilations.delete(t)}}Er.compileSchema=Bx;function Qpe(t,n,e){var i;e=(0,io.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 Td({schema:a,schemaId:s,root:t,baseId:n}))}if(o!==void 0)return t.refs[e]=Zpe.call(this,o)}Er.resolveRef=Qpe;function Zpe(t){return(0,io.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Bx.call(this,t)}function rH(t){for(let n of this._compilations)if(Xpe(n,t))return n}Er.getCompilingSchema=rH;function Xpe(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]||_y.call(this,t,n)}function _y(t,n){let e=this.opts.uriResolver.parse(n),i=(0,io._getFullPath)(this.opts.uriResolver,e),r=(0,io.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&i===r)return jx.call(this,e,t);let o=(0,io.normalizeId)(i),a=this.refs[o]||this.schemas[o];if(typeof a=="string"){let s=_y.call(this,t,a);return typeof s?.schema!="object"?void 0:jx.call(this,e,s)}if(typeof a?.schema=="object"){if(a.validate||Bx.call(this,a),o===(0,io.normalizeId)(n)){let{schema:s}=a,{schemaId:l}=this.opts,c=s[l];return c&&(r=(0,io.resolveUrl)(this.opts.uriResolver,r,c)),new Td({schema:s,schemaId:l,root:t,baseId:r})}return jx.call(this,e,a)}}Er.resolveSchema=_y;var ege=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function jx(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,iH.unescapeFragment)(s)];if(l===void 0)return;e=l;let c=typeof e=="object"&&e[this.opts.schemaId];!ege.has(s)&&c&&(n=(0,io.resolveUrl)(this.opts.uriResolver,n,c))}let o;if(typeof e!="boolean"&&e.$ref&&!(0,iH.schemaHasRulesButRef)(e,this.RULES)){let s=(0,io.resolveUrl)(this.opts.uriResolver,n,e.$ref);o=_y.call(this,i,s)}let{schemaId:a}=this.opts;if(o=o||new Td({schema:e,schemaId:a,root:i,baseId:n}),o.schema!==o.root.schema)return o}});var oH=g((Pet,tge)=>{tge.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 $x=g((Fet,cH)=>{"use strict";var nge=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),sH=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 zx(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 ige=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function aH(t){return t.length=0,!0}function rge(t,n,e){if(t.length){let i=zx(t);if(i!=="")n.push(i);else return e.error=!0,!1;t.length=0}return!0}function oge(t){let n=0,e={error:!1,address:"",zone:""},i=[],r=[],o=!1,a=!1,s=rge;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=aH}else{r.push(c);continue}}return r.length&&(s===aH?e.zone=r.join(""):a?i.push(r.join("")):i.push(zx(r))),e.address=i.join(""),e}function lH(t){if(age(t,":")<2)return{host:t,isIPV6:!1};let n=oge(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 age(t,n){let e=0;for(let i=0;i<t.length;i++)t[i]===n&&e++;return e}function sge(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 lge(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 cge(t){let n=[];if(t.userinfo!==void 0&&(n.push(t.userinfo),n.push("@")),t.host!==void 0){let e=unescape(t.host);if(!sH(e)){let i=lH(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}cH.exports={nonSimpleDomain:ige,recomposeAuthority:cge,normalizeComponentEncoding:lge,removeDotSegments:sge,isIPv4:sH,isUUID:nge,normalizeIPv6:lH,stringArrayToHexStripped:zx}});var hH=g((Oet,fH)=>{"use strict";var{isUUID:dge}=$x(),uge=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,mge=["http","https","ws","wss","urn","urn:uuid"];function fge(t){return mge.indexOf(t)!==-1}function Hx(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 dH(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function uH(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 hge(t){return t.secure=Hx(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function pge(t){if((t.port===(Hx(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 gge(t,n){if(!t.path)return t.error="URN can not be parsed",t;let e=t.path.match(uge);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=Ux(r);t.path=void 0,o&&(t=o.parse(t,n))}else t.error=t.error||"URN can not be parsed.";return t}function _ge(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=Ux(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 yge(t,n){let e=t;return e.uuid=e.nss,e.nss=void 0,!n.tolerant&&(!e.uuid||!dge(e.uuid))&&(e.error=e.error||"UUID is not valid."),e}function bge(t){let n=t;return n.nss=(t.uuid||"").toLowerCase(),n}var mH={scheme:"http",domainHost:!0,parse:dH,serialize:uH},vge={scheme:"https",domainHost:mH.domainHost,parse:dH,serialize:uH},by={scheme:"ws",domainHost:!0,parse:hge,serialize:pge},Cge={scheme:"wss",domainHost:by.domainHost,parse:by.parse,serialize:by.serialize},wge={scheme:"urn",parse:gge,serialize:_ge,skipNormalize:!0},Dge={scheme:"urn:uuid",parse:yge,serialize:bge,skipNormalize:!0},vy={http:mH,https:vge,ws:by,wss:Cge,urn:wge,"urn:uuid":Dge};Object.setPrototypeOf(vy,null);function Ux(t){return t&&(vy[t]||vy[t.toLowerCase()])||void 0}fH.exports={wsIsSecure:Hx,SCHEMES:vy,isValidSchemeName:fge,getSchemeHandler:Ux}});var _H=g((Net,wy)=>{"use strict";var{normalizeIPv6:Ege,removeDotSegments:Df,recomposeAuthority:Sge,normalizeComponentEncoding:Cy,isIPv4:xge,nonSimpleDomain:Tge}=$x(),{SCHEMES:Ige,getSchemeHandler:pH}=hH();function kge(t,n){return typeof t=="string"?t=Fo(Sa(t,n),n):typeof t=="object"&&(t=Sa(Fo(t,n),n)),t}function Mge(t,n,e){let i=e?Object.assign({scheme:"null"},e):{scheme:"null"},r=gH(Sa(t,i),Sa(n,i),i,!0);return i.skipEscape=!0,Fo(r,i)}function gH(t,n,e,i){let r={};return i||(t=Sa(Fo(t,e),e),n=Sa(Fo(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=Df(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=Df(n.path||""),r.query=n.query):(n.path?(n.path[0]==="/"?r.path=Df(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=Df(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 Age(t,n,e){return typeof t=="string"?(t=unescape(t),t=Fo(Cy(Sa(t,e),!0),de(M({},e),{skipEscape:!0}))):typeof t=="object"&&(t=Fo(Cy(t,!0),de(M({},e),{skipEscape:!0}))),typeof n=="string"?(n=unescape(n),n=Fo(Cy(Sa(n,e),!0),de(M({},e),{skipEscape:!0}))):typeof n=="object"&&(n=Fo(Cy(n,!0),de(M({},e),{skipEscape:!0}))),t.toLowerCase()===n.toLowerCase()}function Fo(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=pH(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=Sge(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=Df(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 Rge=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function Sa(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(Rge);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(xge(i.host)===!1){let l=Ege(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=pH(e.scheme||i.scheme);if(!e.unicodeSupport&&(!a||!a.unicodeSupport)&&i.host&&(e.domainHost||a&&a.domainHost)&&r===!1&&Tge(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 qx={SCHEMES:Ige,normalize:kge,resolve:Mge,resolveComponent:gH,equal:Age,serialize:Fo,parse:Sa};wy.exports=qx;wy.exports.default=qx;wy.exports.fastUri=qx});var bH=g(Gx=>{"use strict";Object.defineProperty(Gx,"__esModule",{value:!0});var yH=_H();yH.code='require("ajv/dist/runtime/uri").default';Gx.default=yH});var TH=g(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.CodeGen=qn.Name=qn.nil=qn.stringify=qn.str=qn._=qn.KeywordCxt=void 0;var Pge=Cf();Object.defineProperty(qn,"KeywordCxt",{enumerable:!0,get:function(){return Pge.KeywordCxt}});var Id=ot();Object.defineProperty(qn,"_",{enumerable:!0,get:function(){return Id._}});Object.defineProperty(qn,"str",{enumerable:!0,get:function(){return Id.str}});Object.defineProperty(qn,"stringify",{enumerable:!0,get:function(){return Id.stringify}});Object.defineProperty(qn,"nil",{enumerable:!0,get:function(){return Id.nil}});Object.defineProperty(qn,"Name",{enumerable:!0,get:function(){return Id.Name}});Object.defineProperty(qn,"CodeGen",{enumerable:!0,get:function(){return Id.CodeGen}});var Fge=gy(),EH=wf(),Oge=Cx(),Ef=yy(),Nge=ot(),Sf=yf(),Dy=_f(),Yx=Mt(),vH=oH(),Lge=bH(),SH=(t,n)=>new RegExp(t,n);SH.code="new RegExp";var Vge=["removeAdditional","useDefaults","coerceTypes"],jge=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),Bge={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."},zge={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},CH=200;function $ge(t){var n,e,i,r,o,a,s,l,c,d,m,f,h,p,b,D,E,P,G,ce,ie,Pe,Fe,Me,Ne;let gt=t.strict,Ut=(n=t.code)===null||n===void 0?void 0:n.optimize,we=Ut===!0||Ut===void 0?1:Ut||0,se=(i=(e=t.code)===null||e===void 0?void 0:e.regExp)!==null&&i!==void 0?i:SH,re=(r=t.uriResolver)!==null&&r!==void 0?r:Lge.default;return{strictSchema:(a=(o=t.strictSchema)!==null&&o!==void 0?o:gt)!==null&&a!==void 0?a:!0,strictNumbers:(l=(s=t.strictNumbers)!==null&&s!==void 0?s:gt)!==null&&l!==void 0?l:!0,strictTypes:(d=(c=t.strictTypes)!==null&&c!==void 0?c:gt)!==null&&d!==void 0?d:"log",strictTuples:(f=(m=t.strictTuples)!==null&&m!==void 0?m:gt)!==null&&f!==void 0?f:"log",strictRequired:(p=(h=t.strictRequired)!==null&&h!==void 0?h:gt)!==null&&p!==void 0?p:!1,code:t.code?de(M({},t.code),{optimize:we,regExp:se}):{optimize:we,regExp:se},loopRequired:(b=t.loopRequired)!==null&&b!==void 0?b:CH,loopEnum:(D=t.loopEnum)!==null&&D!==void 0?D:CH,meta:(E=t.meta)!==null&&E!==void 0?E:!0,messages:(P=t.messages)!==null&&P!==void 0?P:!0,inlineRefs:(G=t.inlineRefs)!==null&&G!==void 0?G:!0,schemaId:(ce=t.schemaId)!==null&&ce!==void 0?ce:"$id",addUsedSchema:(ie=t.addUsedSchema)!==null&&ie!==void 0?ie:!0,validateSchema:(Pe=t.validateSchema)!==null&&Pe!==void 0?Pe:!0,validateFormats:(Fe=t.validateFormats)!==null&&Fe!==void 0?Fe:!0,unicodeRegExp:(Me=t.unicodeRegExp)!==null&&Me!==void 0?Me:!0,int32range:(Ne=t.int32range)!==null&&Ne!==void 0?Ne:!0,uriResolver:re}}var xf=class{constructor(n={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,n=this.opts=M(M({},n),$ge(n));let{es5:e,lines:i}=this.opts.code;this.scope=new Nge.ValueScope({scope:{},prefixes:jge,es5:e,lines:i}),this.logger=Yge(n.logger);let r=n.validateFormats;n.validateFormats=!1,this.RULES=(0,Oge.getRules)(),wH.call(this,Bge,n,"NOT SUPPORTED"),wH.call(this,zge,n,"DEPRECATED","warn"),this._metaOpts=Gge.call(this),n.formats&&Uge.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),n.keywords&&qge.call(this,n.keywords),typeof n.meta=="object"&&this.addMetaSchema(n.meta),Hge.call(this),n.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:n,meta:e,schemaId:i}=this.opts,r=vH;i==="id"&&(r=M({},vH),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,m){return cr(this,null,function*(){yield o.call(this,d.$schema);let f=this._addSchema(d,m);return f.validate||a.call(this,f)})}function o(d){return cr(this,null,function*(){d&&!this.getSchema(d)&&(yield r.call(this,{$ref:d},!0))})}function a(d){return cr(this,null,function*(){try{return this._compileSchemaEnv(d)}catch(m){if(!(m instanceof EH.default))throw m;return s.call(this,m),yield l.call(this,m.missingSchema),a.call(this,d)}})}function s({missingSchema:d,missingRef:m}){if(this.refs[d])throw new Error(`AnySchema ${d} is loaded but ${m} cannot be resolved`)}function l(d){return cr(this,null,function*(){let m=yield c.call(this,d);this.refs[d]||(yield o.call(this,m.$schema)),this.refs[d]||this.addSchema(m,d,e)})}function c(d){return cr(this,null,function*(){let m=this._loading[d];if(m)return m;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,Sf.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=DH.call(this,n))=="string";)n=e;if(e===void 0){let{schemaId:i}=this.opts,r=new Ef.SchemaEnv({schema:{},schemaId:i});if(e=Ef.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=DH.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,Sf.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(Qge.call(this,i,e),!e)return(0,Yx.eachItem)(i,o=>Wx.call(this,o)),this;Xge.call(this,e);let r=de(M({},e),{type:(0,Dy.getJSONTypes)(e.type),schemaType:(0,Dy.getJSONTypes)(e.schemaType)});return(0,Yx.eachItem)(i,r.type.length===0?o=>Wx.call(this,o,r):o=>r.type.forEach(a=>Wx.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]=xH(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,Sf.normalizeId)(a||i);let c=Sf.getSchemaRefs.call(this,n,i);return l=new Ef.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):Ef.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{Ef.compileSchema.call(this,n)}finally{this.opts=e}}};xf.ValidationError=Fge.default;xf.MissingRefError=EH.default;qn.default=xf;function wH(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 DH(t){return t=(0,Sf.normalizeId)(t),this.schemas[t]||this.refs[t]}function Hge(){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 Uge(){for(let t in this.opts.formats){let n=this.opts.formats[t];n&&this.addFormat(t,n)}}function qge(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 Gge(){let t=M({},this.opts);for(let n of Vge)delete t[n];return t}var Wge={log(){},warn(){},error(){}};function Yge(t){if(t===!1)return Wge;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 Kge=/^[a-z_$][a-z0-9_$:-]*$/i;function Qge(t,n){let{RULES:e}=this;if((0,Yx.eachItem)(t,i=>{if(e.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!Kge.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 Wx(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:de(M({},n),{type:(0,Dy.getJSONTypes)(n.type),schemaType:(0,Dy.getJSONTypes)(n.schemaType)})};n.before?Zge.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 Zge(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 Xge(t){let{metaSchema:n}=t;n!==void 0&&(t.$data&&this.opts.$data&&(n=xH(n)),t.validateSchema=this.compile(n,!0))}var Jge={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function xH(t){return{anyOf:[t,Jge]}}});var IH=g(Kx=>{"use strict";Object.defineProperty(Kx,"__esModule",{value:!0});var e_e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};Kx.default=e_e});var RH=g(Hl=>{"use strict";Object.defineProperty(Hl,"__esModule",{value:!0});Hl.callRef=Hl.getValidate=void 0;var t_e=wf(),kH=Dr(),Ni=ot(),kd=Da(),MH=yy(),Ey=Mt(),n_e={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 m();let d=MH.resolveRef.call(l,c,r,e);if(d===void 0)throw new t_e.default(i.opts.uriResolver,r,e);if(d instanceof MH.SchemaEnv)return f(d);return h(d);function m(){if(o===c)return Sy(t,a,o,o.$async);let p=n.scopeValue("root",{ref:c});return Sy(t,(0,Ni._)`${p}.validate`,c,c.$async)}function f(p){let b=AH(t,p);Sy(t,b,p,p.$async)}function h(p){let b=n.scopeValue("schema",s.code.source===!0?{ref:p,code:(0,Ni.stringify)(p)}:{ref:p}),D=n.name("valid"),E=t.subschema({schema:p,dataTypes:[],schemaPath:Ni.nil,topSchemaRef:b,errSchemaPath:e},D);t.mergeEvaluated(E),t.ok(D)}}};function AH(t,n){let{gen:e}=t;return n.validate?e.scopeValue("validate",{ref:n.validate}):(0,Ni._)`${e.scopeValue("wrapper",{ref:n})}.validate`}Hl.getValidate=AH;function Sy(t,n,e,i){let{gen:r,it:o}=t,{allErrors:a,schemaEnv:s,opts:l}=o,c=l.passContext?kd.default.this:Ni.nil;i?d():m();function d(){if(!s.$async)throw new Error("async schema referenced by sync schema");let p=r.let("valid");r.try(()=>{r.code((0,Ni._)`await ${(0,kH.callValidateCode)(t,n,c)}`),h(n),a||r.assign(p,!0)},b=>{r.if((0,Ni._)`!(${b} instanceof ${o.ValidationError})`,()=>r.throw(b)),f(b),a||r.assign(p,!1)}),t.ok(p)}function m(){t.result((0,kH.callValidateCode)(t,n,c),()=>h(n),()=>f(n))}function f(p){let b=(0,Ni._)`${p}.errors`;r.assign(kd.default.vErrors,(0,Ni._)`${kd.default.vErrors} === null ? ${b} : ${kd.default.vErrors}.concat(${b})`),r.assign(kd.default.errors,(0,Ni._)`${kd.default.vErrors}.length`)}function h(p){var b;if(!o.opts.unevaluated)return;let D=(b=e?.validate)===null||b===void 0?void 0:b.evaluated;if(o.props!==!0)if(D&&!D.dynamicProps)D.props!==void 0&&(o.props=Ey.mergeEvaluated.props(r,D.props,o.props));else{let E=r.var("props",(0,Ni._)`${p}.evaluated.props`);o.props=Ey.mergeEvaluated.props(r,E,o.props,Ni.Name)}if(o.items!==!0)if(D&&!D.dynamicItems)D.items!==void 0&&(o.items=Ey.mergeEvaluated.items(r,D.items,o.items));else{let E=r.var("items",(0,Ni._)`${p}.evaluated.items`);o.items=Ey.mergeEvaluated.items(r,E,o.items,Ni.Name)}}}Hl.callRef=Sy;Hl.default=n_e});var PH=g(Qx=>{"use strict";Object.defineProperty(Qx,"__esModule",{value:!0});var i_e=IH(),r_e=RH(),o_e=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",i_e.default,r_e.default];Qx.default=o_e});var FH=g(Zx=>{"use strict";Object.defineProperty(Zx,"__esModule",{value:!0});var xy=ot(),ws=xy.operators,Ty={maximum:{okStr:"<=",ok:ws.LTE,fail:ws.GT},minimum:{okStr:">=",ok:ws.GTE,fail:ws.LT},exclusiveMaximum:{okStr:"<",ok:ws.LT,fail:ws.GTE},exclusiveMinimum:{okStr:">",ok:ws.GT,fail:ws.LTE}},a_e={message:({keyword:t,schemaCode:n})=>(0,xy.str)`must be ${Ty[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>(0,xy._)`{comparison: ${Ty[t].okStr}, limit: ${n}}`},s_e={keyword:Object.keys(Ty),type:"number",schemaType:"number",$data:!0,error:a_e,code(t){let{keyword:n,data:e,schemaCode:i}=t;t.fail$data((0,xy._)`${e} ${Ty[n].fail} ${i} || isNaN(${e})`)}};Zx.default=s_e});var OH=g(Xx=>{"use strict";Object.defineProperty(Xx,"__esModule",{value:!0});var Tf=ot(),l_e={message:({schemaCode:t})=>(0,Tf.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,Tf._)`{multipleOf: ${t}}`},c_e={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:l_e,code(t){let{gen:n,data:e,schemaCode:i,it:r}=t,o=r.opts.multipleOfPrecision,a=n.let("res"),s=o?(0,Tf._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${o}`:(0,Tf._)`${a} !== parseInt(${a})`;t.fail$data((0,Tf._)`(${i} === 0 || (${a} = ${e}/${i}, ${s}))`)}};Xx.default=c_e});var LH=g(Jx=>{"use strict";Object.defineProperty(Jx,"__esModule",{value:!0});function NH(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}Jx.default=NH;NH.code='require("ajv/dist/runtime/ucs2length").default'});var VH=g(eT=>{"use strict";Object.defineProperty(eT,"__esModule",{value:!0});var Ul=ot(),d_e=Mt(),u_e=LH(),m_e={message({keyword:t,schemaCode:n}){let e=t==="maxLength"?"more":"fewer";return(0,Ul.str)`must NOT have ${e} than ${n} characters`},params:({schemaCode:t})=>(0,Ul._)`{limit: ${t}}`},f_e={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:m_e,code(t){let{keyword:n,data:e,schemaCode:i,it:r}=t,o=n==="maxLength"?Ul.operators.GT:Ul.operators.LT,a=r.opts.unicode===!1?(0,Ul._)`${e}.length`:(0,Ul._)`${(0,d_e.useFunc)(t.gen,u_e.default)}(${e})`;t.fail$data((0,Ul._)`${a} ${o} ${i}`)}};eT.default=f_e});var jH=g(tT=>{"use strict";Object.defineProperty(tT,"__esModule",{value:!0});var h_e=Dr(),Iy=ot(),p_e={message:({schemaCode:t})=>(0,Iy.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,Iy._)`{pattern: ${t}}`},g_e={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:p_e,code(t){let{data:n,$data:e,schema:i,schemaCode:r,it:o}=t,a=o.opts.unicodeRegExp?"u":"",s=e?(0,Iy._)`(new RegExp(${r}, ${a}))`:(0,h_e.usePattern)(t,i);t.fail$data((0,Iy._)`!${s}.test(${n})`)}};tT.default=g_e});var BH=g(nT=>{"use strict";Object.defineProperty(nT,"__esModule",{value:!0});var If=ot(),__e={message({keyword:t,schemaCode:n}){let e=t==="maxProperties"?"more":"fewer";return(0,If.str)`must NOT have ${e} than ${n} properties`},params:({schemaCode:t})=>(0,If._)`{limit: ${t}}`},y_e={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:__e,code(t){let{keyword:n,data:e,schemaCode:i}=t,r=n==="maxProperties"?If.operators.GT:If.operators.LT;t.fail$data((0,If._)`Object.keys(${e}).length ${r} ${i}`)}};nT.default=y_e});var zH=g(iT=>{"use strict";Object.defineProperty(iT,"__esModule",{value:!0});var kf=Dr(),Mf=ot(),b_e=Mt(),v_e={message:({params:{missingProperty:t}})=>(0,Mf.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,Mf._)`{missingProperty: ${t}}`},C_e={keyword:"required",type:"object",schemaType:"array",$data:!0,error:v_e,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 h=t.parentSchema.properties,{definedProperties:p}=t.it;for(let b of e)if(h?.[b]===void 0&&!p.has(b)){let D=a.schemaEnv.baseId+a.errSchemaPath,E=`required property "${b}" is not defined at "${D}" (strictRequired)`;(0,b_e.checkStrictMode)(a,E,a.opts.strictRequired)}}function c(){if(l||o)t.block$data(Mf.nil,m);else for(let h of e)(0,kf.checkReportMissingProp)(t,h)}function d(){let h=n.let("missing");if(l||o){let p=n.let("valid",!0);t.block$data(p,()=>f(h,p)),t.ok(p)}else n.if((0,kf.checkMissingProp)(t,e,h)),(0,kf.reportMissingProp)(t,h),n.else()}function m(){n.forOf("prop",i,h=>{t.setParams({missingProperty:h}),n.if((0,kf.noPropertyInData)(n,r,h,s.ownProperties),()=>t.error())})}function f(h,p){t.setParams({missingProperty:h}),n.forOf(h,i,()=>{n.assign(p,(0,kf.propertyInData)(n,r,h,s.ownProperties)),n.if((0,Mf.not)(p),()=>{t.error(),n.break()})},Mf.nil)}}};iT.default=C_e});var $H=g(rT=>{"use strict";Object.defineProperty(rT,"__esModule",{value:!0});var Af=ot(),w_e={message({keyword:t,schemaCode:n}){let e=t==="maxItems"?"more":"fewer";return(0,Af.str)`must NOT have ${e} than ${n} items`},params:({schemaCode:t})=>(0,Af._)`{limit: ${t}}`},D_e={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:w_e,code(t){let{keyword:n,data:e,schemaCode:i}=t,r=n==="maxItems"?Af.operators.GT:Af.operators.LT;t.fail$data((0,Af._)`${e}.length ${r} ${i}`)}};rT.default=D_e});var ky=g(oT=>{"use strict";Object.defineProperty(oT,"__esModule",{value:!0});var HH=kx();HH.code='require("ajv/dist/runtime/equal").default';oT.default=HH});var UH=g(sT=>{"use strict";Object.defineProperty(sT,"__esModule",{value:!0});var aT=_f(),Gn=ot(),E_e=Mt(),S_e=ky(),x_e={message:({params:{i:t,j:n}})=>(0,Gn.str)`must NOT have duplicate items (items ## ${n} and ${t} are identical)`,params:({params:{i:t,j:n}})=>(0,Gn._)`{i: ${t}, j: ${n}}`},T_e={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:x_e,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,aT.getSchemaTypes)(o.items):[];t.block$data(l,d,(0,Gn._)`${a} === false`),t.ok(l);function d(){let p=n.let("i",(0,Gn._)`${e}.length`),b=n.let("j");t.setParams({i:p,j:b}),n.assign(l,!0),n.if((0,Gn._)`${p} > 1`,()=>(m()?f:h)(p,b))}function m(){return c.length>0&&!c.some(p=>p==="object"||p==="array")}function f(p,b){let D=n.name("item"),E=(0,aT.checkDataTypes)(c,D,s.opts.strictNumbers,aT.DataType.Wrong),P=n.const("indices",(0,Gn._)`{}`);n.for((0,Gn._)`;${p}--;`,()=>{n.let(D,(0,Gn._)`${e}[${p}]`),n.if(E,(0,Gn._)`continue`),c.length>1&&n.if((0,Gn._)`typeof ${D} == "string"`,(0,Gn._)`${D} += "_"`),n.if((0,Gn._)`typeof ${P}[${D}] == "number"`,()=>{n.assign(b,(0,Gn._)`${P}[${D}]`),t.error(),n.assign(l,!1).break()}).code((0,Gn._)`${P}[${D}] = ${p}`)})}function h(p,b){let D=(0,E_e.useFunc)(n,S_e.default),E=n.name("outer");n.label(E).for((0,Gn._)`;${p}--;`,()=>n.for((0,Gn._)`${b} = ${p}; ${b}--;`,()=>n.if((0,Gn._)`${D}(${e}[${p}], ${e}[${b}])`,()=>{t.error(),n.assign(l,!1).break(E)})))}}};sT.default=T_e});var qH=g(cT=>{"use strict";Object.defineProperty(cT,"__esModule",{value:!0});var lT=ot(),I_e=Mt(),k_e=ky(),M_e={message:"must be equal to constant",params:({schemaCode:t})=>(0,lT._)`{allowedValue: ${t}}`},A_e={keyword:"const",$data:!0,error:M_e,code(t){let{gen:n,data:e,$data:i,schemaCode:r,schema:o}=t;i||o&&typeof o=="object"?t.fail$data((0,lT._)`!${(0,I_e.useFunc)(n,k_e.default)}(${e}, ${r})`):t.fail((0,lT._)`${o} !== ${e}`)}};cT.default=A_e});var GH=g(dT=>{"use strict";Object.defineProperty(dT,"__esModule",{value:!0});var Rf=ot(),R_e=Mt(),P_e=ky(),F_e={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,Rf._)`{allowedValues: ${t}}`},O_e={keyword:"enum",schemaType:"array",$data:!0,error:F_e,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,R_e.useFunc)(n,P_e.default)),d;if(s||i)d=n.let("valid"),t.block$data(d,m);else{if(!Array.isArray(r))throw new Error("ajv implementation error");let h=n.const("vSchema",o);d=(0,Rf.or)(...r.map((p,b)=>f(h,b)))}t.pass(d);function m(){n.assign(d,!1),n.forOf("v",o,h=>n.if((0,Rf._)`${c()}(${e}, ${h})`,()=>n.assign(d,!0).break()))}function f(h,p){let b=r[p];return typeof b=="object"&&b!==null?(0,Rf._)`${c()}(${e}, ${h}[${p}])`:(0,Rf._)`${e} === ${b}`}}};dT.default=O_e});var WH=g(uT=>{"use strict";Object.defineProperty(uT,"__esModule",{value:!0});var N_e=FH(),L_e=OH(),V_e=VH(),j_e=jH(),B_e=BH(),z_e=zH(),$_e=$H(),H_e=UH(),U_e=qH(),q_e=GH(),G_e=[N_e.default,L_e.default,V_e.default,j_e.default,B_e.default,z_e.default,$_e.default,H_e.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},U_e.default,q_e.default];uT.default=G_e});var fT=g(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});Pf.validateAdditionalItems=void 0;var ql=ot(),mT=Mt(),W_e={message:({params:{len:t}})=>(0,ql.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,ql._)`{limit: ${t}}`},Y_e={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:W_e,code(t){let{parentSchema:n,it:e}=t,{items:i}=n;if(!Array.isArray(i)){(0,mT.checkStrictMode)(e,'"additionalItems" is ignored when "items" is not an array of schemas');return}YH(t,i)}};function YH(t,n){let{gen:e,schema:i,data:r,keyword:o,it:a}=t;a.items=!0;let s=e.const("len",(0,ql._)`${r}.length`);if(i===!1)t.setParams({len:n.length}),t.pass((0,ql._)`${s} <= ${n.length}`);else if(typeof i=="object"&&!(0,mT.alwaysValidSchema)(a,i)){let c=e.var("valid",(0,ql._)`${s} <= ${n.length}`);e.if((0,ql.not)(c),()=>l(c)),t.ok(c)}function l(c){e.forRange("i",n.length,s,d=>{t.subschema({keyword:o,dataProp:d,dataPropType:mT.Type.Num},c),a.allErrors||e.if((0,ql.not)(c),()=>e.break())})}}Pf.validateAdditionalItems=YH;Pf.default=Y_e});var hT=g(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.validateTuple=void 0;var KH=ot(),My=Mt(),K_e=Dr(),Q_e={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:n,it:e}=t;if(Array.isArray(n))return QH(t,"additionalItems",n);e.items=!0,!(0,My.alwaysValidSchema)(e,n)&&t.ok((0,K_e.validateArray)(t))}};function QH(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=My.mergeEvaluated.items(i,e.length,s.items));let l=i.name("valid"),c=i.const("len",(0,KH._)`${o}.length`);e.forEach((m,f)=>{(0,My.alwaysValidSchema)(s,m)||(i.if((0,KH._)`${c} > ${f}`,()=>t.subschema({keyword:a,schemaProp:f,dataProp:f},l)),t.ok(l))});function d(m){let{opts:f,errSchemaPath:h}=s,p=e.length,b=p===m.minItems&&(p===m.maxItems||m[n]===!1);if(f.strictTuples&&!b){let D=`"${a}" is ${p}-tuple, but minItems or maxItems/${n} are not specified or different at path "${h}"`;(0,My.checkStrictMode)(s,D,f.strictTuples)}}}Ff.validateTuple=QH;Ff.default=Q_e});var ZH=g(pT=>{"use strict";Object.defineProperty(pT,"__esModule",{value:!0});var Z_e=hT(),X_e={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,Z_e.validateTuple)(t,"items")};pT.default=X_e});var JH=g(gT=>{"use strict";Object.defineProperty(gT,"__esModule",{value:!0});var XH=ot(),J_e=Mt(),eye=Dr(),tye=fT(),nye={message:({params:{len:t}})=>(0,XH.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,XH._)`{limit: ${t}}`},iye={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:nye,code(t){let{schema:n,parentSchema:e,it:i}=t,{prefixItems:r}=e;i.items=!0,!(0,J_e.alwaysValidSchema)(i,n)&&(r?(0,tye.validateAdditionalItems)(t,r):t.ok((0,eye.validateArray)(t)))}};gT.default=iye});var eU=g(_T=>{"use strict";Object.defineProperty(_T,"__esModule",{value:!0});var Sr=ot(),Ay=Mt(),rye={message:({params:{min:t,max:n}})=>n===void 0?(0,Sr.str)`must contain at least ${t} valid item(s)`:(0,Sr.str)`must contain at least ${t} and no more than ${n} valid item(s)`,params:({params:{min:t,max:n}})=>n===void 0?(0,Sr._)`{minContains: ${t}}`:(0,Sr._)`{minContains: ${t}, maxContains: ${n}}`},oye={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:rye,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,Sr._)`${r}.length`);if(t.setParams({min:a,max:s}),s===void 0&&a===0){(0,Ay.checkStrictMode)(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,Ay.checkStrictMode)(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,Ay.alwaysValidSchema)(o,e)){let b=(0,Sr._)`${d} >= ${a}`;s!==void 0&&(b=(0,Sr._)`${b} && ${d} <= ${s}`),t.pass(b);return}o.items=!0;let m=n.name("valid");s===void 0&&a===1?h(m,()=>n.if(m,()=>n.break())):a===0?(n.let(m,!0),s!==void 0&&n.if((0,Sr._)`${r}.length > 0`,f)):(n.let(m,!1),f()),t.result(m,()=>t.reset());function f(){let b=n.name("_valid"),D=n.let("count",0);h(b,()=>n.if(b,()=>p(D)))}function h(b,D){n.forRange("i",0,d,E=>{t.subschema({keyword:"contains",dataProp:E,dataPropType:Ay.Type.Num,compositeRule:!0},b),D()})}function p(b){n.code((0,Sr._)`${b}++`),s===void 0?n.if((0,Sr._)`${b} >= ${a}`,()=>n.assign(m,!0).break()):(n.if((0,Sr._)`${b} > ${s}`,()=>n.assign(m,!1).break()),a===1?n.assign(m,!0):n.if((0,Sr._)`${b} >= ${a}`,()=>n.assign(m,!0)))}}};_T.default=oye});var iU=g(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.validateSchemaDeps=Oo.validatePropertyDeps=Oo.error=void 0;var yT=ot(),aye=Mt(),Of=Dr();Oo.error={message:({params:{property:t,depsCount:n,deps:e}})=>{let i=n===1?"property":"properties";return(0,yT.str)`must have ${i} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:n,deps:e,missingProperty:i}})=>(0,yT._)`{property: ${t},
|
|
6
|
-
missingProperty: ${i},
|
|
7
|
-
depsCount: ${n},
|
|
8
|
-
deps: ${e}}`};var sye={keyword:"dependencies",type:"object",schemaType:"object",error:Oo.error,code(t){let[n,e]=lye(t);tU(t,n),nU(t,e)}};function lye({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 tU(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,Of.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,Of.checkReportMissingProp)(t,c)}):(e.if((0,yT._)`${l} && (${(0,Of.checkMissingProp)(t,s,o)})`),(0,Of.reportMissingProp)(t,o),e.else())}}Oo.validatePropertyDeps=tU;function nU(t,n=t.schema){let{gen:e,data:i,keyword:r,it:o}=t,a=e.name("valid");for(let s in n)(0,aye.alwaysValidSchema)(o,n[s])||(e.if((0,Of.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))}Oo.validateSchemaDeps=nU;Oo.default=sye});var oU=g(bT=>{"use strict";Object.defineProperty(bT,"__esModule",{value:!0});var rU=ot(),cye=Mt(),dye={message:"property name must be valid",params:({params:t})=>(0,rU._)`{propertyName: ${t.propertyName}}`},uye={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:dye,code(t){let{gen:n,schema:e,data:i,it:r}=t;if((0,cye.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,rU.not)(o),()=>{t.error(!0),r.allErrors||n.break()})}),t.ok(o)}};bT.default=uye});var CT=g(vT=>{"use strict";Object.defineProperty(vT,"__esModule",{value:!0});var Ry=Dr(),ro=ot(),mye=Da(),Py=Mt(),fye={message:"must NOT have additional properties",params:({params:t})=>(0,ro._)`{additionalProperty: ${t.additionalProperty}}`},hye={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:fye,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,Py.alwaysValidSchema)(a,e))return;let c=(0,Ry.allSchemaProperties)(i.properties),d=(0,Ry.allSchemaProperties)(i.patternProperties);m(),t.ok((0,ro._)`${o} === ${mye.default.errors}`);function m(){n.forIn("key",r,D=>{!c.length&&!d.length?p(D):n.if(f(D),()=>p(D))})}function f(D){let E;if(c.length>8){let P=(0,Py.schemaRefOrVal)(a,i.properties,"properties");E=(0,Ry.isOwnProperty)(n,P,D)}else c.length?E=(0,ro.or)(...c.map(P=>(0,ro._)`${D} === ${P}`)):E=ro.nil;return d.length&&(E=(0,ro.or)(E,...d.map(P=>(0,ro._)`${(0,Ry.usePattern)(t,P)}.test(${D})`))),(0,ro.not)(E)}function h(D){n.code((0,ro._)`delete ${r}[${D}]`)}function p(D){if(l.removeAdditional==="all"||l.removeAdditional&&e===!1){h(D);return}if(e===!1){t.setParams({additionalProperty:D}),t.error(),s||n.break();return}if(typeof e=="object"&&!(0,Py.alwaysValidSchema)(a,e)){let E=n.name("valid");l.removeAdditional==="failing"?(b(D,E,!1),n.if((0,ro.not)(E),()=>{t.reset(),h(D)})):(b(D,E),s||n.if((0,ro.not)(E),()=>n.break()))}}function b(D,E,P){let G={keyword:"additionalProperties",dataProp:D,dataPropType:Py.Type.Str};P===!1&&Object.assign(G,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(G,E)}}};vT.default=hye});var lU=g(DT=>{"use strict";Object.defineProperty(DT,"__esModule",{value:!0});var pye=Cf(),aU=Dr(),wT=Mt(),sU=CT(),gye={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&&sU.default.code(new pye.KeywordCxt(o,sU.default,"additionalProperties"));let a=(0,aU.allSchemaProperties)(e);for(let m of a)o.definedProperties.add(m);o.opts.unevaluated&&a.length&&o.props!==!0&&(o.props=wT.mergeEvaluated.props(n,(0,wT.toHash)(a),o.props));let s=a.filter(m=>!(0,wT.alwaysValidSchema)(o,e[m]));if(s.length===0)return;let l=n.name("valid");for(let m of s)c(m)?d(m):(n.if((0,aU.propertyInData)(n,r,m,o.opts.ownProperties)),d(m),o.allErrors||n.else().var(l,!0),n.endIf()),t.it.definedProperties.add(m),t.ok(l);function c(m){return o.opts.useDefaults&&!o.compositeRule&&e[m].default!==void 0}function d(m){t.subschema({keyword:"properties",schemaProp:m,dataProp:m},l)}}};DT.default=gye});var mU=g(ET=>{"use strict";Object.defineProperty(ET,"__esModule",{value:!0});var cU=Dr(),Fy=ot(),dU=Mt(),uU=Mt(),_ye={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,cU.allSchemaProperties)(e),l=s.filter(b=>(0,dU.alwaysValidSchema)(o,e[b]));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 Fy.Name)&&(o.props=(0,uU.evaluatedPropsToName)(n,o.props));let{props:m}=o;f();function f(){for(let b of s)c&&h(b),o.allErrors?p(b):(n.var(d,!0),p(b),n.if(d))}function h(b){for(let D in c)new RegExp(b).test(D)&&(0,dU.checkStrictMode)(o,`property ${D} matches pattern ${b} (use allowMatchingProperties)`)}function p(b){n.forIn("key",i,D=>{n.if((0,Fy._)`${(0,cU.usePattern)(t,b)}.test(${D})`,()=>{let E=l.includes(b);E||t.subschema({keyword:"patternProperties",schemaProp:b,dataProp:D,dataPropType:uU.Type.Str},d),o.opts.unevaluated&&m!==!0?n.assign((0,Fy._)`${m}[${D}]`,!0):!E&&!o.allErrors&&n.if((0,Fy.not)(d),()=>n.break())})})}}};ET.default=_ye});var fU=g(ST=>{"use strict";Object.defineProperty(ST,"__esModule",{value:!0});var yye=Mt(),bye={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:n,schema:e,it:i}=t;if((0,yye.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"}};ST.default=bye});var hU=g(xT=>{"use strict";Object.defineProperty(xT,"__esModule",{value:!0});var vye=Dr(),Cye={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:vye.validateUnion,error:{message:"must match a schema in anyOf"}};xT.default=Cye});var pU=g(TT=>{"use strict";Object.defineProperty(TT,"__esModule",{value:!0});var Oy=ot(),wye=Mt(),Dye={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,Oy._)`{passingSchemas: ${t.passing}}`},Eye={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Dye,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,m)=>{let f;(0,wye.alwaysValidSchema)(r,d)?n.var(l,!0):f=t.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},l),m>0&&n.if((0,Oy._)`${l} && ${a}`).assign(a,!1).assign(s,(0,Oy._)`[${s}, ${m}]`).else(),n.if(l,()=>{n.assign(a,!0),n.assign(s,m),f&&t.mergeEvaluated(f,Oy.Name)})})}}};TT.default=Eye});var gU=g(IT=>{"use strict";Object.defineProperty(IT,"__esModule",{value:!0});var Sye=Mt(),xye={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,Sye.alwaysValidSchema)(i,o))return;let s=t.subschema({keyword:"allOf",schemaProp:a},r);t.ok(r),t.mergeEvaluated(s)})}};IT.default=xye});var bU=g(kT=>{"use strict";Object.defineProperty(kT,"__esModule",{value:!0});var Ny=ot(),yU=Mt(),Tye={message:({params:t})=>(0,Ny.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,Ny._)`{failingKeyword: ${t.ifClause}}`},Iye={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Tye,code(t){let{gen:n,parentSchema:e,it:i}=t;e.then===void 0&&e.else===void 0&&(0,yU.checkStrictMode)(i,'"if" without "then" and "else" is ignored');let r=_U(i,"then"),o=_U(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,Ny.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,m){return()=>{let f=t.subschema({keyword:d},s);n.assign(a,s),t.mergeValidEvaluated(f,a),m?n.assign(m,(0,Ny._)`${d}`):t.setParams({ifClause:d})}}}};function _U(t,n){let e=t.schema[n];return e!==void 0&&!(0,yU.alwaysValidSchema)(t,e)}kT.default=Iye});var vU=g(MT=>{"use strict";Object.defineProperty(MT,"__esModule",{value:!0});var kye=Mt(),Mye={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:n,it:e}){n.if===void 0&&(0,kye.checkStrictMode)(e,`"${t}" without "if" is ignored`)}};MT.default=Mye});var CU=g(AT=>{"use strict";Object.defineProperty(AT,"__esModule",{value:!0});var Aye=fT(),Rye=ZH(),Pye=hT(),Fye=JH(),Oye=eU(),Nye=iU(),Lye=oU(),Vye=CT(),jye=lU(),Bye=mU(),zye=fU(),$ye=hU(),Hye=pU(),Uye=gU(),qye=bU(),Gye=vU();function Wye(t=!1){let n=[zye.default,$ye.default,Hye.default,Uye.default,qye.default,Gye.default,Lye.default,Vye.default,Nye.default,jye.default,Bye.default];return t?n.push(Rye.default,Fye.default):n.push(Aye.default,Pye.default),n.push(Oye.default),n}AT.default=Wye});var wU=g(RT=>{"use strict";Object.defineProperty(RT,"__esModule",{value:!0});var Cn=ot(),Yye={message:({schemaCode:t})=>(0,Cn.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,Cn._)`{format: ${t}}`},Kye={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Yye,code(t,n){let{gen:e,data:i,$data:r,schema:o,schemaCode:a,it:s}=t,{opts:l,errSchemaPath:c,schemaEnv:d,self:m}=s;if(!l.validateFormats)return;r?f():h();function f(){let p=e.scopeValue("formats",{ref:m.formats,code:l.code.formats}),b=e.const("fDef",(0,Cn._)`${p}[${a}]`),D=e.let("fType"),E=e.let("format");e.if((0,Cn._)`typeof ${b} == "object" && !(${b} instanceof RegExp)`,()=>e.assign(D,(0,Cn._)`${b}.type || "string"`).assign(E,(0,Cn._)`${b}.validate`),()=>e.assign(D,(0,Cn._)`"string"`).assign(E,b)),t.fail$data((0,Cn.or)(P(),G()));function P(){return l.strictSchema===!1?Cn.nil:(0,Cn._)`${a} && !${E}`}function G(){let ce=d.$async?(0,Cn._)`(${b}.async ? await ${E}(${i}) : ${E}(${i}))`:(0,Cn._)`${E}(${i})`,ie=(0,Cn._)`(typeof ${E} == "function" ? ${ce} : ${E}.test(${i}))`;return(0,Cn._)`${E} && ${E} !== true && ${D} === ${n} && !${ie}`}}function h(){let p=m.formats[o];if(!p){P();return}if(p===!0)return;let[b,D,E]=G(p);b===n&&t.pass(ce());function P(){if(l.strictSchema===!1){m.logger.warn(ie());return}throw new Error(ie());function ie(){return`unknown format "${o}" ignored in schema at path "${c}"`}}function G(ie){let Pe=ie instanceof RegExp?(0,Cn.regexpCode)(ie):l.code.formats?(0,Cn._)`${l.code.formats}${(0,Cn.getProperty)(o)}`:void 0,Fe=e.scopeValue("formats",{key:o,ref:ie,code:Pe});return typeof ie=="object"&&!(ie instanceof RegExp)?[ie.type||"string",ie.validate,(0,Cn._)`${Fe}.validate`]:["string",ie,Fe]}function ce(){if(typeof p=="object"&&!(p instanceof RegExp)&&p.async){if(!d.$async)throw new Error("async format in sync schema");return(0,Cn._)`await ${E}(${i})`}return typeof D=="function"?(0,Cn._)`${E}(${i})`:(0,Cn._)`${E}.test(${i})`}}}};RT.default=Kye});var DU=g(PT=>{"use strict";Object.defineProperty(PT,"__esModule",{value:!0});var Qye=wU(),Zye=[Qye.default];PT.default=Zye});var EU=g(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.contentVocabulary=Md.metadataVocabulary=void 0;Md.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Md.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var xU=g(FT=>{"use strict";Object.defineProperty(FT,"__esModule",{value:!0});var Xye=PH(),Jye=WH(),ebe=CU(),tbe=DU(),SU=EU(),nbe=[Xye.default,Jye.default,(0,ebe.default)(),tbe.default,SU.metadataVocabulary,SU.contentVocabulary];FT.default=nbe});var IU=g(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.DiscrError=void 0;var TU=(function(t){return t.Tag="tag",t.Mapping="mapping",t})(TU||(Ly.DiscrError=TU={}))});var MU=g(NT=>{"use strict";Object.defineProperty(NT,"__esModule",{value:!0});var Ad=ot(),OT=IU(),kU=yy(),ibe=wf(),rbe=Mt(),obe={message:({params:{discrError:t,tagName:n}})=>t===OT.DiscrError.Tag?`tag "${n}" must be string`:`value of tag "${n}" must be in oneOf`,params:({params:{discrError:t,tag:n,tagName:e}})=>(0,Ad._)`{error: ${t}, tag: ${e}, tagValue: ${n}}`},abe={keyword:"discriminator",type:"object",schemaType:"object",error:obe,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,Ad._)`${e}${(0,Ad.getProperty)(s)}`);n.if((0,Ad._)`typeof ${c} == "string"`,()=>d(),()=>t.error(!1,{discrError:OT.DiscrError.Tag,tag:c,tagName:s})),t.ok(l);function d(){let h=f();n.if(!1);for(let p in h)n.elseIf((0,Ad._)`${c} === ${p}`),n.assign(l,m(h[p]));n.else(),t.error(!1,{discrError:OT.DiscrError.Mapping,tag:c,tagName:s}),n.endIf()}function m(h){let p=n.name("valid"),b=t.subschema({keyword:"oneOf",schemaProp:h},p);return t.mergeEvaluated(b,Ad.Name),p}function f(){var h;let p={},b=E(r),D=!0;for(let ce=0;ce<a.length;ce++){let ie=a[ce];if(ie?.$ref&&!(0,rbe.schemaHasRulesButRef)(ie,o.self.RULES)){let Fe=ie.$ref;if(ie=kU.resolveRef.call(o.self,o.schemaEnv.root,o.baseId,Fe),ie instanceof kU.SchemaEnv&&(ie=ie.schema),ie===void 0)throw new ibe.default(o.opts.uriResolver,o.baseId,Fe)}let Pe=(h=ie?.properties)===null||h===void 0?void 0:h[s];if(typeof Pe!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${s}"`);D=D&&(b||E(ie)),P(Pe,ce)}if(!D)throw new Error(`discriminator: "${s}" must be required`);return p;function E({required:ce}){return Array.isArray(ce)&&ce.includes(s)}function P(ce,ie){if(ce.const)G(ce.const,ie);else if(ce.enum)for(let Pe of ce.enum)G(Pe,ie);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function G(ce,ie){if(typeof ce!="string"||ce in p)throw new Error(`discriminator: "${s}" values must be unique strings`);p[ce]=ie}}}};NT.default=abe});var AU=g((xtt,sbe)=>{sbe.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 Nf=g((an,LT)=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.MissingRefError=an.ValidationError=an.CodeGen=an.Name=an.nil=an.stringify=an.str=an._=an.KeywordCxt=an.Ajv=void 0;var lbe=TH(),cbe=xU(),dbe=MU(),RU=AU(),ube=["/properties"],Vy="http://json-schema.org/draft-07/schema",Rd=class extends lbe.default{_addVocabularies(){super._addVocabularies(),cbe.default.forEach(n=>this.addVocabulary(n)),this.opts.discriminator&&this.addKeyword(dbe.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let n=this.opts.$data?this.$dataMetaSchema(RU,ube):RU;this.addMetaSchema(n,Vy,!1),this.refs["http://json-schema.org/schema"]=Vy}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(Vy)?Vy:void 0)}};an.Ajv=Rd;LT.exports=an=Rd;LT.exports.Ajv=Rd;Object.defineProperty(an,"__esModule",{value:!0});an.default=Rd;var mbe=Cf();Object.defineProperty(an,"KeywordCxt",{enumerable:!0,get:function(){return mbe.KeywordCxt}});var Pd=ot();Object.defineProperty(an,"_",{enumerable:!0,get:function(){return Pd._}});Object.defineProperty(an,"str",{enumerable:!0,get:function(){return Pd.str}});Object.defineProperty(an,"stringify",{enumerable:!0,get:function(){return Pd.stringify}});Object.defineProperty(an,"nil",{enumerable:!0,get:function(){return Pd.nil}});Object.defineProperty(an,"Name",{enumerable:!0,get:function(){return Pd.Name}});Object.defineProperty(an,"CodeGen",{enumerable:!0,get:function(){return Pd.CodeGen}});var fbe=gy();Object.defineProperty(an,"ValidationError",{enumerable:!0,get:function(){return fbe.default}});var hbe=wf();Object.defineProperty(an,"MissingRefError",{enumerable:!0,get:function(){return hbe.default}})});var VU=g(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.formatNames=No.fastFormats=No.fullFormats=void 0;function Fd(t,n){return{validate:t,compare:n}}No.fullFormats={date:Fd(OU,BT),time:Fd(NU,zT),"date-time":Fd(ybe,LU),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:Cbe,"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:Ibe,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:wbe,int32:{type:"number",validate:Sbe},int64:{type:"number",validate:xbe},float:{type:"number",validate:FU},double:{type:"number",validate:FU},password:!0,binary:!0};No.fastFormats=de(M({},No.fullFormats),{date:Fd(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,BT),time:Fd(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,zT),"date-time":Fd(/^\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,LU),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});No.formatNames=Object.keys(No.fullFormats);function pbe(t){return t%4===0&&(t%100!==0||t%400===0)}var gbe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,_be=[0,31,28,31,30,31,30,31,31,30,31,30,31];function OU(t){let n=gbe.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&&pbe(e)?29:_be[i])}function BT(t,n){if(t&&n)return t>n?1:t<n?-1:0}var VT=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function NU(t,n){let e=VT.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 zT(t,n){if(!(t&&n))return;let e=VT.exec(t),i=VT.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 jT=/t|\s/i;function ybe(t){let n=t.split(jT);return n.length===2&&OU(n[0])&&NU(n[1],!0)}function LU(t,n){if(!(t&&n))return;let[e,i]=t.split(jT),[r,o]=n.split(jT),a=BT(e,r);if(a!==void 0)return a||zT(i,o)}var bbe=/\/|:/,vbe=/^(?:[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 Cbe(t){return bbe.test(t)&&vbe.test(t)}var PU=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function wbe(t){return PU.lastIndex=0,PU.test(t)}var Dbe=-(2**31),Ebe=2**31-1;function Sbe(t){return Number.isInteger(t)&&t<=Ebe&&t>=Dbe}function xbe(t){return Number.isInteger(t)}function FU(){return!0}var Tbe=/[^\\]\\Z/;function Ibe(t){if(Tbe.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var jU=g(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.formatLimitDefinition=void 0;var kbe=Nf(),oo=ot(),Ds=oo.operators,jy={formatMaximum:{okStr:"<=",ok:Ds.LTE,fail:Ds.GT},formatMinimum:{okStr:">=",ok:Ds.GTE,fail:Ds.LT},formatExclusiveMaximum:{okStr:"<",ok:Ds.LT,fail:Ds.GTE},formatExclusiveMinimum:{okStr:">",ok:Ds.GT,fail:Ds.LTE}},Mbe={message:({keyword:t,schemaCode:n})=>oo.str`should be ${jy[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>oo._`{comparison: ${jy[t].okStr}, limit: ${n}}`};Od.formatLimitDefinition={keyword:Object.keys(jy),type:"string",schemaType:"string",$data:!0,error:Mbe,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 kbe.KeywordCxt(o,s.RULES.all.format.definition,"format");l.$data?c():d();function c(){let f=n.scopeValue("formats",{ref:s.formats,code:a.code.formats}),h=n.const("fmt",oo._`${f}[${l.schemaCode}]`);t.fail$data(oo.or(oo._`typeof ${h} != "object"`,oo._`${h} instanceof RegExp`,oo._`typeof ${h}.compare != "function"`,m(h)))}function d(){let f=l.schema,h=s.formats[f];if(!h||h===!0)return;if(typeof h!="object"||h instanceof RegExp||typeof h.compare!="function")throw new Error(`"${r}": format "${f}" does not define "compare" function`);let p=n.scopeValue("formats",{key:f,ref:h,code:a.code.formats?oo._`${a.code.formats}${oo.getProperty(f)}`:void 0});t.fail$data(m(p))}function m(f){return oo._`${f}.compare(${e}, ${i}) ${jy[r].fail} 0`}},dependencies:["format"]};var Abe=t=>(t.addKeyword(Od.formatLimitDefinition),t);Od.default=Abe});var HU=g((Lf,$U)=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});var Nd=VU(),Rbe=jU(),$T=ot(),BU=new $T.Name("fullFormats"),Pbe=new $T.Name("fastFormats"),HT=(t,n={keywords:!0})=>{if(Array.isArray(n))return zU(t,n,Nd.fullFormats,BU),t;let[e,i]=n.mode==="fast"?[Nd.fastFormats,Pbe]:[Nd.fullFormats,BU],r=n.formats||Nd.formatNames;return zU(t,r,e,i),n.keywords&&Rbe.default(t),t};HT.get=(t,n="full")=>{let i=(n==="fast"?Nd.fastFormats:Nd.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function zU(t,n,e,i){var r,o;(r=(o=t.opts.code).formats)!==null&&r!==void 0||(o.formats=$T._`require("ajv-formats/dist/formats").${i}`);for(let a of n)t.addFormat(a,e[a])}$U.exports=Lf=HT;Object.defineProperty(Lf,"__esModule",{value:!0});Lf.default=HT});var qU=g((Mtt,UU)=>{"use strict";function Fbe(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}}UU.exports=Fbe});var UT=g((Att,GU)=>{"use strict";var Obe=qU(),Nbe=Obe();GU.exports=Nbe});var YU=g((Rtt,WU)=>{"use strict";var Lbe=UT(),Vbe=Ao();function jbe(t,n){return t&&Lbe(t,n,Vbe)}WU.exports=jbe});var QU=g((Ptt,KU)=>{"use strict";var Bbe=ba();function zbe(t,n){return function(e,i){if(e==null)return e;if(!Bbe(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}}KU.exports=zbe});var By=g((Ftt,ZU)=>{"use strict";var $be=YU(),Hbe=QU(),Ube=Hbe($be);ZU.exports=Ube});var JU=g((Ott,XU)=>{"use strict";var qbe=By();function Gbe(t,n){var e=[];return qbe(t,function(i,r,o){n(i,r,o)&&e.push(i)}),e}XU.exports=Gbe});var t3=g((Ntt,e3)=>{"use strict";var Wbe=qS(),Ybe=JU(),Kbe=va(),Qbe=vn();function Zbe(t,n){var e=Qbe(t)?Wbe:Ybe;return e(t,Kbe(n,3))}e3.exports=Zbe});var qT=g((Ltt,n3)=>{"use strict";var Xbe=ty();function Jbe(t,n){return Xbe(t,n)}n3.exports=Jbe});var GT=g((Vtt,i3)=>{"use strict";var eve=fs(),tve=(function(){try{var t=eve(Object,"defineProperty");return t({},"",{}),t}catch{}})();i3.exports=tve});var zy=g((jtt,o3)=>{"use strict";var r3=GT();function nve(t,n,e){n=="__proto__"&&r3?r3(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}o3.exports=nve});var WT=g((Btt,a3)=>{"use strict";var ive=zy(),rve=pd();function ove(t,n,e){(e!==void 0&&!rve(t[n],e)||e===void 0&&!(n in t))&&ive(t,n,e)}a3.exports=ove});var YT=g((Vf,Ld)=>{"use strict";var ave=vi(),d3=typeof Vf=="object"&&Vf&&!Vf.nodeType&&Vf,s3=d3&&typeof Ld=="object"&&Ld&&!Ld.nodeType&&Ld,sve=s3&&s3.exports===d3,l3=sve?ave.Buffer:void 0,c3=l3?l3.allocUnsafe:void 0;function lve(t,n){if(n)return t.slice();var e=t.length,i=c3?c3(e):new t.constructor(e);return t.copy(i),i}Ld.exports=lve});var $y=g((ztt,m3)=>{"use strict";var u3=zS();function cve(t){var n=new t.constructor(t.byteLength);return new u3(n).set(new u3(t)),n}m3.exports=cve});var KT=g(($tt,f3)=>{"use strict";var dve=$y();function uve(t,n){var e=n?dve(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}f3.exports=uve});var Vd=g((Htt,h3)=>{"use strict";function mve(t,n){var e=-1,i=t.length;for(n||(n=Array(i));++e<i;)n[e]=t[e];return n}h3.exports=mve});var jf=g((Utt,g3)=>{"use strict";var fve=Xi(),p3=Object.create,hve=(function(){function t(){}return function(n){if(!fve(n))return{};if(p3)return p3(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}})();g3.exports=hve});var Hy=g((qtt,_3)=>{"use strict";var pve=hS(),gve=pve(Object.getPrototypeOf,Object);_3.exports=gve});var QT=g((Gtt,y3)=>{"use strict";var _ve=jf(),yve=Hy(),bve=Qm();function vve(t){return typeof t.constructor=="function"&&!bve(t)?_ve(yve(t)):{}}y3.exports=vve});var v3=g((Wtt,b3)=>{"use strict";var Cve=ba(),wve=Ri();function Dve(t){return wve(t)&&Cve(t)}b3.exports=Dve});var ZT=g((Ytt,w3)=>{"use strict";var Eve=ya(),Sve=Hy(),xve=Ri(),Tve="[object Object]",Ive=Function.prototype,kve=Object.prototype,C3=Ive.toString,Mve=kve.hasOwnProperty,Ave=C3.call(Object);function Rve(t){if(!xve(t)||Eve(t)!=Tve)return!1;var n=Sve(t);if(n===null)return!0;var e=Mve.call(n,"constructor")&&n.constructor;return typeof e=="function"&&e instanceof e&&C3.call(e)==Ave}w3.exports=Rve});var XT=g((Ktt,D3)=>{"use strict";function Pve(t,n){if(!(n==="constructor"&&typeof t[n]=="function")&&n!="__proto__")return t[n]}D3.exports=Pve});var Uy=g((Qtt,E3)=>{"use strict";var Fve=zy(),Ove=pd(),Nve=Object.prototype,Lve=Nve.hasOwnProperty;function Vve(t,n,e){var i=t[n];(!(Lve.call(t,n)&&Ove(i,e))||e===void 0&&!(n in t))&&Fve(t,n,e)}E3.exports=Vve});var jd=g((Ztt,S3)=>{"use strict";var jve=Uy(),Bve=zy();function zve(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?Bve(e,s,l):jve(e,s,l)}return e}S3.exports=zve});var T3=g((Xtt,x3)=>{"use strict";function $ve(t){var n=[];if(t!=null)for(var e in Object(t))n.push(e);return n}x3.exports=$ve});var k3=g((Jtt,I3)=>{"use strict";var Hve=Xi(),Uve=Qm(),qve=T3(),Gve=Object.prototype,Wve=Gve.hasOwnProperty;function Yve(t){if(!Hve(t))return qve(t);var n=Uve(t),e=[];for(var i in t)i=="constructor"&&(n||!Wve.call(t,i))||e.push(i);return e}I3.exports=Yve});var Bd=g((ent,M3)=>{"use strict";var Kve=PS(),Qve=k3(),Zve=ba();function Xve(t){return Zve(t)?Kve(t,!0):Qve(t)}M3.exports=Xve});var R3=g((tnt,A3)=>{"use strict";var Jve=jd(),e0e=Bd();function t0e(t){return Jve(t,e0e(t))}A3.exports=t0e});var V3=g((nnt,L3)=>{"use strict";var P3=WT(),n0e=YT(),i0e=KT(),r0e=Vd(),o0e=QT(),F3=dd(),O3=vn(),a0e=v3(),s0e=md(),l0e=ld(),c0e=Xi(),d0e=ZT(),u0e=tf(),N3=XT(),m0e=R3();function f0e(t,n,e,i,r,o,a){var s=N3(t,e),l=N3(n,e),c=a.get(l);if(c){P3(t,e,c);return}var d=o?o(s,l,e+"",t,n,a):void 0,m=d===void 0;if(m){var f=O3(l),h=!f&&s0e(l),p=!f&&!h&&u0e(l);d=l,f||h||p?O3(s)?d=s:a0e(s)?d=r0e(s):h?(m=!1,d=n0e(l,!0)):p?(m=!1,d=i0e(l,!0)):d=[]:d0e(l)||F3(l)?(d=s,F3(s)?d=m0e(s):(!c0e(s)||l0e(s))&&(d=o0e(l))):m=!1}m&&(a.set(l,d),r(d,l,i,o,a),a.delete(l)),P3(t,e,d)}L3.exports=f0e});var z3=g((int,B3)=>{"use strict";var h0e=df(),p0e=WT(),g0e=UT(),_0e=V3(),y0e=Xi(),b0e=Bd(),v0e=XT();function j3(t,n,e,i,r){t!==n&&g0e(n,function(o,a){if(r||(r=new h0e),y0e(o))_0e(t,n,a,e,j3,i,r);else{var s=i?i(v0e(t,a),o,a+"",t,n,r):void 0;s===void 0&&(s=o),p0e(t,a,s)}},b0e)}B3.exports=j3});var qy=g((rnt,$3)=>{"use strict";function C0e(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)}$3.exports=C0e});var JT=g((ont,U3)=>{"use strict";var w0e=qy(),H3=Math.max;function D0e(t,n,e){return n=H3(n===void 0?t.length-1:n,0),function(){for(var i=arguments,r=-1,o=H3(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),w0e(t,this,s)}}U3.exports=D0e});var G3=g((ant,q3)=>{"use strict";function E0e(t){return function(){return t}}q3.exports=E0e});var K3=g((snt,Y3)=>{"use strict";var S0e=G3(),W3=GT(),x0e=uf(),T0e=W3?function(t,n){return W3(t,"toString",{configurable:!0,enumerable:!1,value:S0e(n),writable:!0})}:x0e;Y3.exports=T0e});var eI=g((lnt,Q3)=>{"use strict";var I0e=800,k0e=16,M0e=Date.now;function A0e(t){var n=0,e=0;return function(){var i=M0e(),r=k0e-(i-e);if(e=i,r>0){if(++n>=I0e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}Q3.exports=A0e});var Gy=g((cnt,Z3)=>{"use strict";var R0e=K3(),P0e=eI(),F0e=P0e(R0e);Z3.exports=F0e});var J3=g((dnt,X3)=>{"use strict";var O0e=uf(),N0e=JT(),L0e=Gy();function V0e(t,n){return L0e(N0e(t,n,O0e),t+"")}X3.exports=V0e});var tq=g((unt,eq)=>{"use strict";var j0e=J3(),B0e=W_();function z0e(t){return j0e(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&&B0e(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})}eq.exports=z0e});var Wy=g((mnt,nq)=>{"use strict";var $0e=z3(),H0e=tq(),U0e=H0e(function(t,n,e){$0e(t,n,e)});nq.exports=U0e});var Yy=g((fnt,iq)=>{"use strict";function q0e(t,n){for(var e=-1,i=t==null?0:t.length;++e<i&&n(t[e],e,t)!==!1;);return t}iq.exports=q0e});var tI=g((hnt,rq)=>{"use strict";var G0e=jd(),W0e=Ao();function Y0e(t,n){return t&&G0e(n,W0e(n),t)}rq.exports=Y0e});var aq=g((pnt,oq)=>{"use strict";var K0e=jd(),Q0e=Bd();function Z0e(t,n){return t&&K0e(n,Q0e(n),t)}oq.exports=Z0e});var lq=g((gnt,sq)=>{"use strict";var X0e=jd(),J0e=J_();function eCe(t,n){return X0e(t,J0e(t),n)}sq.exports=eCe});var nI=g((_nt,cq)=>{"use strict";var tCe=X_(),nCe=Hy(),iCe=J_(),rCe=GS(),oCe=Object.getOwnPropertySymbols,aCe=oCe?function(t){for(var n=[];t;)tCe(n,iCe(t)),t=nCe(t);return n}:rCe;cq.exports=aCe});var uq=g((ynt,dq)=>{"use strict";var sCe=jd(),lCe=nI();function cCe(t,n){return sCe(t,lCe(t),n)}dq.exports=cCe});var fq=g((bnt,mq)=>{"use strict";var dCe=US(),uCe=nI(),mCe=Bd();function fCe(t){return dCe(t,mCe,uCe)}mq.exports=fCe});var pq=g((vnt,hq)=>{"use strict";var hCe=Object.prototype,pCe=hCe.hasOwnProperty;function gCe(t){var n=t.length,e=new t.constructor(n);return n&&typeof t[0]=="string"&&pCe.call(t,"index")&&(e.index=t.index,e.input=t.input),e}hq.exports=gCe});var _q=g((Cnt,gq)=>{"use strict";var _Ce=$y();function yCe(t,n){var e=n?_Ce(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}gq.exports=yCe});var bq=g((wnt,yq)=>{"use strict";var bCe=/\w*$/;function vCe(t){var n=new t.constructor(t.source,bCe.exec(t));return n.lastIndex=t.lastIndex,n}yq.exports=vCe});var Eq=g((Dnt,Dq)=>{"use strict";var vq=Pl(),Cq=vq?vq.prototype:void 0,wq=Cq?Cq.valueOf:void 0;function CCe(t){return wq?Object(wq.call(t)):{}}Dq.exports=CCe});var xq=g((Ent,Sq)=>{"use strict";var wCe=$y(),DCe=_q(),ECe=bq(),SCe=Eq(),xCe=KT(),TCe="[object Boolean]",ICe="[object Date]",kCe="[object Map]",MCe="[object Number]",ACe="[object RegExp]",RCe="[object Set]",PCe="[object String]",FCe="[object Symbol]",OCe="[object ArrayBuffer]",NCe="[object DataView]",LCe="[object Float32Array]",VCe="[object Float64Array]",jCe="[object Int8Array]",BCe="[object Int16Array]",zCe="[object Int32Array]",$Ce="[object Uint8Array]",HCe="[object Uint8ClampedArray]",UCe="[object Uint16Array]",qCe="[object Uint32Array]";function GCe(t,n,e){var i=t.constructor;switch(n){case OCe:return wCe(t);case TCe:case ICe:return new i(+t);case NCe:return DCe(t,e);case LCe:case VCe:case jCe:case BCe:case zCe:case $Ce:case HCe:case UCe:case qCe:return xCe(t,e);case kCe:return new i;case MCe:case PCe:return new i(t);case ACe:return ECe(t);case RCe:return new i;case FCe:return SCe(t)}}Sq.exports=GCe});var Iq=g((Snt,Tq)=>{"use strict";var WCe=hs(),YCe=Ri(),KCe="[object Map]";function QCe(t){return YCe(t)&&WCe(t)==KCe}Tq.exports=QCe});var Rq=g((xnt,Aq)=>{"use strict";var ZCe=Iq(),XCe=q_(),kq=G_(),Mq=kq&&kq.isMap,JCe=Mq?XCe(Mq):ZCe;Aq.exports=JCe});var Fq=g((Tnt,Pq)=>{"use strict";var ewe=hs(),twe=Ri(),nwe="[object Set]";function iwe(t){return twe(t)&&ewe(t)==nwe}Pq.exports=iwe});var Vq=g((Int,Lq)=>{"use strict";var rwe=Fq(),owe=q_(),Oq=G_(),Nq=Oq&&Oq.isSet,awe=Nq?owe(Nq):rwe;Lq.exports=awe});var Qy=g((knt,$q)=>{"use strict";var swe=df(),lwe=Yy(),cwe=Uy(),dwe=tI(),uwe=aq(),mwe=YT(),fwe=Vd(),hwe=lq(),pwe=uq(),gwe=WS(),_we=fq(),ywe=hs(),bwe=pq(),vwe=xq(),Cwe=QT(),wwe=vn(),Dwe=md(),Ewe=Rq(),Swe=Xi(),xwe=Vq(),Twe=Ao(),Iwe=Bd(),kwe=1,Mwe=2,Awe=4,jq="[object Arguments]",Rwe="[object Array]",Pwe="[object Boolean]",Fwe="[object Date]",Owe="[object Error]",Bq="[object Function]",Nwe="[object GeneratorFunction]",Lwe="[object Map]",Vwe="[object Number]",zq="[object Object]",jwe="[object RegExp]",Bwe="[object Set]",zwe="[object String]",$we="[object Symbol]",Hwe="[object WeakMap]",Uwe="[object ArrayBuffer]",qwe="[object DataView]",Gwe="[object Float32Array]",Wwe="[object Float64Array]",Ywe="[object Int8Array]",Kwe="[object Int16Array]",Qwe="[object Int32Array]",Zwe="[object Uint8Array]",Xwe="[object Uint8ClampedArray]",Jwe="[object Uint16Array]",eDe="[object Uint32Array]",Xt={};Xt[jq]=Xt[Rwe]=Xt[Uwe]=Xt[qwe]=Xt[Pwe]=Xt[Fwe]=Xt[Gwe]=Xt[Wwe]=Xt[Ywe]=Xt[Kwe]=Xt[Qwe]=Xt[Lwe]=Xt[Vwe]=Xt[zq]=Xt[jwe]=Xt[Bwe]=Xt[zwe]=Xt[$we]=Xt[Zwe]=Xt[Xwe]=Xt[Jwe]=Xt[eDe]=!0;Xt[Owe]=Xt[Bq]=Xt[Hwe]=!1;function Ky(t,n,e,i,r,o){var a,s=n&kwe,l=n&Mwe,c=n&Awe;if(e&&(a=r?e(t,i,r,o):e(t)),a!==void 0)return a;if(!Swe(t))return t;var d=wwe(t);if(d){if(a=bwe(t),!s)return fwe(t,a)}else{var m=ywe(t),f=m==Bq||m==Nwe;if(Dwe(t))return mwe(t,s);if(m==zq||m==jq||f&&!r){if(a=l||f?{}:Cwe(t),!s)return l?pwe(t,uwe(a,t)):hwe(t,dwe(a,t))}else{if(!Xt[m])return r?t:{};a=vwe(t,m,s)}}o||(o=new swe);var h=o.get(t);if(h)return h;o.set(t,a),xwe(t)?t.forEach(function(D){a.add(Ky(D,n,e,D,t,o))}):Ewe(t)&&t.forEach(function(D,E){a.set(E,Ky(D,n,e,E,t,o))});var p=c?l?_we:gwe:l?Iwe:Twe,b=d?void 0:p(t);return lwe(b||t,function(D,E){b&&(E=D,D=t[E]),cwe(a,E,Ky(D,n,e,E,t,o))}),a}$q.exports=Ky});var Zy=g((Mnt,Hq)=>{"use strict";var tDe=Qy(),nDe=1,iDe=4;function rDe(t){return tDe(t,nDe|iDe)}Hq.exports=rDe});var Uq=g(Li=>{"use strict";Li.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"};Li.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"]};Li.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]};Li.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};Li.iterateeRearg={mapKeys:[1],reduceRight:[1,0]};Li.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]};Li.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}};Li.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}};Li.realToAlias=(function(){var t=Object.prototype.hasOwnProperty,n=Li.aliasToReal,e={};for(var i in n){var r=n[i];t.call(e,r)?e[r].push(i):e[r]=[i]}return e})();Li.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"};Li.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0};Li.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 Xy=g((Rnt,qq)=>{"use strict";qq.exports={}});var Kq=g((Pnt,Yq)=>{"use strict";var In=Uq(),oDe=Xy(),Gq=Array.prototype.push;function aDe(t,n){return n==2?function(e,i){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function iI(t,n){return n==2?function(e,i){return t(e,i)}:function(e){return t(e)}}function Wq(t){for(var n=t?t.length:0,e=Array(n);n--;)e[n]=t[n];return e}function sDe(t){return function(n){return t({},n)}}function lDe(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&&Gq.apply(a,o),n!=i&&Gq.apply(a,r.slice(n+1)),t.apply(this,a)}}function rI(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 oI(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:oDe,l="curry"in i&&i.curry,c="fixed"in i&&i.fixed,d="rearg"in i&&i.rearg,m=r?e.runInContext():void 0,f=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},h=f.ary,p=f.assign,b=f.clone,D=f.curry,E=f.forEach,P=f.isArray,G=f.isError,ce=f.isFunction,ie=f.isWeakMap,Pe=f.keys,Fe=f.rearg,Me=f.toInteger,Ne=f.toPath,gt=Pe(In.aryMethod),Ut={castArray:function(Se){return function(){var te=arguments[0];return P(te)?Se(Wq(te)):Se.apply(void 0,arguments)}},iteratee:function(Se){return function(){var te=arguments[0],Z=arguments[1],ne=Se(te,Z),ge=ne.length;return a.cap&&typeof Z=="number"?(Z=Z>2?Z-2:1,ge&&ge<=Z?ne:iI(ne,Z)):ne}},mixin:function(Se){return function(te){var Z=this;if(!ce(Z))return Se(Z,Object(te));var ne=[];return E(Pe(te),function(ge){ce(te[ge])&&ne.push([ge,Z.prototype[ge]])}),Se(Z,Object(te)),E(ne,function(ge){var Dt=ge[1];ce(Dt)?Z.prototype[ge[0]]=Dt:delete Z.prototype[ge[0]]}),Z}},nthArg:function(Se){return function(te){var Z=te<0?1:Me(te)+1;return D(Se(te),Z)}},rearg:function(Se){return function(te,Z){var ne=Z?Z.length:0;return D(Se(te,Z),ne)}},runInContext:function(Se){return function(te){return oI(t,Se(te),i)}}};function we(Se,te){if(a.cap){var Z=In.iterateeRearg[Se];if(Z)return Qe(te,Z);var ne=!r&&In.iterateeAry[Se];if(ne)return he(te,ne)}return te}function se(Se,te,Z){return l||a.curry&&Z>1?D(te,Z):te}function re(Se,te,Z){if(a.fixed&&(c||!In.skipFixed[Se])){var ne=In.methodSpread[Se],ge=ne&&ne.start;return ge===void 0?h(te,Z):lDe(te,ge)}return te}function Ie(Se,te,Z){return a.rearg&&Z>1&&(d||!In.skipRearg[Se])?Fe(te,In.methodRearg[Se]||In.aryRearg[Z]):te}function R(Se,te){te=Ne(te);for(var Z=-1,ne=te.length,ge=ne-1,Dt=b(Object(Se)),jt=Dt;jt!=null&&++Z<ne;){var ln=te[Z],pn=jt[ln];pn!=null&&!(ce(pn)||G(pn)||ie(pn))&&(jt[ln]=b(Z==ge?pn:Object(pn))),jt=jt[ln]}return Dt}function H(Se){return at.runInContext.convert(Se)(void 0)}function q(Se,te){var Z=In.aliasToReal[Se]||Se,ne=In.remap[Z]||Z,ge=i;return function(Dt){var jt=r?m:f,ln=r?m[ne]:te,pn=p(p({},ge),Dt);return oI(jt,Z,ln,pn)}}function he(Se,te){return Je(Se,function(Z){return typeof Z=="function"?iI(Z,te):Z})}function Qe(Se,te){return Je(Se,function(Z){var ne=te.length;return aDe(Fe(iI(Z,ne),te),ne)})}function Je(Se,te){return function(){var Z=arguments.length;if(!Z)return Se();for(var ne=Array(Z);Z--;)ne[Z]=arguments[Z];var ge=a.rearg?0:Z-1;return ne[ge]=te(ne[ge]),Se.apply(void 0,ne)}}function vt(Se,te,Z){var ne,ge=In.aliasToReal[Se]||Se,Dt=te,jt=Ut[ge];return jt?Dt=jt(te):a.immutable&&(In.mutate.array[ge]?Dt=rI(te,Wq):In.mutate.object[ge]?Dt=rI(te,sDe(te)):In.mutate.set[ge]&&(Dt=rI(te,R))),E(gt,function(ln){return E(In.aryMethod[ln],function(pn){if(ge==pn){var ar=In.methodSpread[ge],Yn=ar&&ar.afterRearg;return ne=Yn?re(ge,Ie(ge,Dt,ln),ln):Ie(ge,re(ge,Dt,ln),ln),ne=we(ge,ne),ne=se(ge,ne,ln),!1}}),!ne}),ne||(ne=Dt),ne==te&&(ne=l?D(ne,1):function(){return te.apply(this,arguments)}),ne.convert=q(ge,te),ne.placeholder=te.placeholder=Z,ne}if(!o)return vt(n,e,s);var at=e,ut=[];return E(gt,function(Se){E(In.aryMethod[Se],function(te){var Z=at[In.remap[te]||te];Z&&ut.push([te,vt(te,Z,at)])})}),E(Pe(at),function(Se){var te=at[Se];if(typeof te=="function"){for(var Z=ut.length;Z--;)if(ut[Z][0]==Se)return;te.convert=q(Se,te),ut.push([Se,te])}}),E(ut,function(Se){at[Se[0]]=Se[1]}),at.convert=H,at.placeholder=at,E(Pe(at),function(Se){E(In.realToAlias[Se]||[],function(te){at[te]=at[Se]})}),at}Yq.exports=oI});var aI=g((Fnt,Zq)=>{"use strict";var Qq=yS(),cDe=Qq&&new Qq;Zq.exports=cDe});var sI=g((Ont,Jq)=>{"use strict";var dDe=uf(),Xq=aI(),uDe=Xq?function(t,n){return Xq.set(t,n),t}:dDe;Jq.exports=uDe});var Bf=g((Nnt,e5)=>{"use strict";var mDe=jf(),fDe=Xi();function hDe(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=mDe(t.prototype),i=t.apply(e,n);return fDe(i)?i:e}}e5.exports=hDe});var n5=g((Lnt,t5)=>{"use strict";var pDe=Bf(),gDe=vi(),_De=1;function yDe(t,n,e){var i=n&_De,r=pDe(t);function o(){var a=this&&this!==gDe&&this instanceof o?r:t;return a.apply(i?e:this,arguments)}return o}t5.exports=yDe});var lI=g((Vnt,i5)=>{"use strict";var bDe=Math.max;function vDe(t,n,e,i){for(var r=-1,o=t.length,a=e.length,s=-1,l=n.length,c=bDe(o-a,0),d=Array(l+c),m=!i;++s<l;)d[s]=n[s];for(;++r<a;)(m||r<o)&&(d[e[r]]=t[r]);for(;c--;)d[s++]=t[r++];return d}i5.exports=vDe});var cI=g((jnt,r5)=>{"use strict";var CDe=Math.max;function wDe(t,n,e,i){for(var r=-1,o=t.length,a=-1,s=e.length,l=-1,c=n.length,d=CDe(o-s,0),m=Array(d+c),f=!i;++r<d;)m[r]=t[r];for(var h=r;++l<c;)m[h+l]=n[l];for(;++a<s;)(f||r<o)&&(m[h+e[a]]=t[r++]);return m}r5.exports=wDe});var a5=g((Bnt,o5)=>{"use strict";function DDe(t,n){for(var e=t.length,i=0;e--;)t[e]===n&&++i;return i}o5.exports=DDe});var Jy=g((znt,s5)=>{"use strict";function EDe(){}s5.exports=EDe});var tb=g(($nt,l5)=>{"use strict";var SDe=jf(),xDe=Jy(),TDe=4294967295;function eb(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=TDe,this.__views__=[]}eb.prototype=SDe(xDe.prototype);eb.prototype.constructor=eb;l5.exports=eb});var d5=g((Hnt,c5)=>{"use strict";function IDe(){}c5.exports=IDe});var dI=g((Unt,m5)=>{"use strict";var u5=aI(),kDe=d5(),MDe=u5?function(t){return u5.get(t)}:kDe;m5.exports=MDe});var h5=g((qnt,f5)=>{"use strict";var ADe={};f5.exports=ADe});var _5=g((Gnt,g5)=>{"use strict";var p5=h5(),RDe=Object.prototype,PDe=RDe.hasOwnProperty;function FDe(t){for(var n=t.name+"",e=p5[n],i=PDe.call(p5,n)?e.length:0;i--;){var r=e[i],o=r.func;if(o==null||o==t)return r.name}return n}g5.exports=FDe});var uI=g((Wnt,y5)=>{"use strict";var ODe=jf(),NDe=Jy();function nb(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}nb.prototype=ODe(NDe.prototype);nb.prototype.constructor=nb;y5.exports=nb});var v5=g((Ynt,b5)=>{"use strict";var LDe=tb(),VDe=uI(),jDe=Vd();function BDe(t){if(t instanceof LDe)return t.clone();var n=new VDe(t.__wrapped__,t.__chain__);return n.__actions__=jDe(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}b5.exports=BDe});var D5=g((Knt,w5)=>{"use strict";var zDe=tb(),C5=uI(),$De=Jy(),HDe=vn(),UDe=Ri(),qDe=v5(),GDe=Object.prototype,WDe=GDe.hasOwnProperty;function ib(t){if(UDe(t)&&!HDe(t)&&!(t instanceof zDe)){if(t instanceof C5)return t;if(WDe.call(t,"__wrapped__"))return qDe(t)}return new C5(t)}ib.prototype=$De.prototype;ib.prototype.constructor=ib;w5.exports=ib});var S5=g((Qnt,E5)=>{"use strict";var YDe=tb(),KDe=dI(),QDe=_5(),ZDe=D5();function XDe(t){var n=QDe(t),e=ZDe[n];if(typeof e!="function"||!(n in YDe.prototype))return!1;if(t===e)return!0;var i=KDe(e);return!!i&&t===i[0]}E5.exports=XDe});var mI=g((Znt,x5)=>{"use strict";var JDe=sI(),eEe=eI(),tEe=eEe(JDe);x5.exports=tEe});var I5=g((Xnt,T5)=>{"use strict";var nEe=/\{\n\/\* \[wrapped with (.+)\] \*/,iEe=/,? & /;function rEe(t){var n=t.match(nEe);return n?n[1].split(iEe):[]}T5.exports=rEe});var M5=g((Jnt,k5)=>{"use strict";var oEe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function aEe(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(oEe,`{
|
|
9
|
-
/* [wrapped with `+n+`] */
|
|
10
|
-
`)}k5.exports=aEe});var R5=g((eit,A5)=>{"use strict";var sEe=XS();function lEe(t,n){var e=t==null?0:t.length;return!!e&&sEe(t,n,0)>-1}A5.exports=lEe});var F5=g((tit,P5)=>{"use strict";var cEe=Yy(),dEe=R5(),uEe=1,mEe=2,fEe=8,hEe=16,pEe=32,gEe=64,_Ee=128,yEe=256,bEe=512,vEe=[["ary",_Ee],["bind",uEe],["bindKey",mEe],["curry",fEe],["curryRight",hEe],["flip",bEe],["partial",pEe],["partialRight",gEe],["rearg",yEe]];function CEe(t,n){return cEe(vEe,function(e){var i="_."+e[0];n&e[1]&&!dEe(t,i)&&t.push(i)}),t.sort()}P5.exports=CEe});var fI=g((nit,O5)=>{"use strict";var wEe=I5(),DEe=M5(),EEe=Gy(),SEe=F5();function xEe(t,n,e){var i=n+"";return EEe(t,DEe(i,SEe(wEe(i),e)))}O5.exports=xEe});var hI=g((iit,V5)=>{"use strict";var TEe=S5(),IEe=mI(),kEe=fI(),MEe=1,AEe=2,REe=4,PEe=8,N5=32,L5=64;function FEe(t,n,e,i,r,o,a,s,l,c){var d=n&PEe,m=d?a:void 0,f=d?void 0:a,h=d?o:void 0,p=d?void 0:o;n|=d?N5:L5,n&=~(d?L5:N5),n&REe||(n&=~(MEe|AEe));var b=[t,n,r,h,m,p,f,s,l,c],D=e.apply(void 0,b);return TEe(t)&&IEe(D,b),D.placeholder=i,kEe(D,t,n)}V5.exports=FEe});var pI=g((rit,j5)=>{"use strict";function OEe(t){var n=t;return n.placeholder}j5.exports=OEe});var z5=g((oit,B5)=>{"use strict";var NEe=Vd(),LEe=Ll(),VEe=Math.min;function jEe(t,n){for(var e=t.length,i=VEe(n.length,e),r=NEe(t);i--;){var o=n[i];t[i]=LEe(o,e)?r[o]:void 0}return t}B5.exports=jEe});var rb=g((ait,H5)=>{"use strict";var $5="__lodash_placeholder__";function BEe(t,n){for(var e=-1,i=t.length,r=0,o=[];++e<i;){var a=t[e];(a===n||a===$5)&&(t[e]=$5,o[r++]=e)}return o}H5.exports=BEe});var gI=g((sit,G5)=>{"use strict";var zEe=lI(),$Ee=cI(),HEe=a5(),U5=Bf(),UEe=hI(),qEe=pI(),GEe=z5(),WEe=rb(),YEe=vi(),KEe=1,QEe=2,ZEe=8,XEe=16,JEe=128,eSe=512;function q5(t,n,e,i,r,o,a,s,l,c){var d=n&JEe,m=n&KEe,f=n&QEe,h=n&(ZEe|XEe),p=n&eSe,b=f?void 0:U5(t);function D(){for(var E=arguments.length,P=Array(E),G=E;G--;)P[G]=arguments[G];if(h)var ce=qEe(D),ie=HEe(P,ce);if(i&&(P=zEe(P,i,r,h)),o&&(P=$Ee(P,o,a,h)),E-=ie,h&&E<c){var Pe=WEe(P,ce);return UEe(t,n,q5,D.placeholder,e,P,Pe,s,l,c-E)}var Fe=m?e:this,Me=f?Fe[t]:t;return E=P.length,s?P=GEe(P,s):p&&E>1&&P.reverse(),d&&l<E&&(P.length=l),this&&this!==YEe&&this instanceof D&&(Me=b||U5(Me)),Me.apply(Fe,P)}return D}G5.exports=q5});var Y5=g((lit,W5)=>{"use strict";var tSe=qy(),nSe=Bf(),iSe=gI(),rSe=hI(),oSe=pI(),aSe=rb(),sSe=vi();function lSe(t,n,e){var i=nSe(t);function r(){for(var o=arguments.length,a=Array(o),s=o,l=oSe(r);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:aSe(a,l);if(o-=c.length,o<e)return rSe(t,n,iSe,r.placeholder,void 0,a,c,void 0,void 0,e-o);var d=this&&this!==sSe&&this instanceof r?i:t;return tSe(d,this,a)}return r}W5.exports=lSe});var Q5=g((cit,K5)=>{"use strict";var cSe=qy(),dSe=Bf(),uSe=vi(),mSe=1;function fSe(t,n,e,i){var r=n&mSe,o=dSe(t);function a(){for(var s=-1,l=arguments.length,c=-1,d=i.length,m=Array(d+l),f=this&&this!==uSe&&this instanceof a?o:t;++c<d;)m[c]=i[c];for(;l--;)m[c++]=arguments[++s];return cSe(f,r?e:this,m)}return a}K5.exports=fSe});var n4=g((dit,t4)=>{"use strict";var hSe=lI(),pSe=cI(),Z5=rb(),X5="__lodash_placeholder__",_I=1,gSe=2,_Se=4,J5=8,zf=128,e4=256,ySe=Math.min;function bSe(t,n){var e=t[1],i=n[1],r=e|i,o=r<(_I|gSe|zf),a=i==zf&&e==J5||i==zf&&e==e4&&t[7].length<=n[8]||i==(zf|e4)&&n[7].length<=n[8]&&e==J5;if(!(o||a))return t;i&_I&&(t[2]=n[2],r|=e&_I?0:_Se);var s=n[3];if(s){var l=t[3];t[3]=l?hSe(l,s,n[4]):s,t[4]=l?Z5(t[3],X5):n[4]}return s=n[5],s&&(l=t[5],t[5]=l?pSe(l,s,n[6]):s,t[6]=l?Z5(t[5],X5):n[6]),s=n[7],s&&(t[7]=s),i&zf&&(t[8]=t[8]==null?n[8]:ySe(t[8],n[8])),t[9]==null&&(t[9]=n[9]),t[0]=n[0],t[1]=r,t}t4.exports=bSe});var ob=g((uit,s4)=>{"use strict";var vSe=sI(),CSe=n5(),wSe=Y5(),DSe=gI(),ESe=Q5(),SSe=dI(),xSe=n4(),TSe=mI(),ISe=fI(),i4=vd(),kSe="Expected a function",r4=1,MSe=2,yI=8,bI=16,vI=32,o4=64,a4=Math.max;function ASe(t,n,e,i,r,o,a,s){var l=n&MSe;if(!l&&typeof t!="function")throw new TypeError(kSe);var c=i?i.length:0;if(c||(n&=~(vI|o4),i=r=void 0),a=a===void 0?a:a4(i4(a),0),s=s===void 0?s:i4(s),c-=r?r.length:0,n&o4){var d=i,m=r;i=r=void 0}var f=l?void 0:SSe(t),h=[t,n,e,i,r,d,m,o,a,s];if(f&&xSe(h,f),t=h[0],n=h[1],e=h[2],i=h[3],r=h[4],s=h[9]=h[9]===void 0?l?0:t.length:a4(h[9]-c,0),!s&&n&(yI|bI)&&(n&=~(yI|bI)),!n||n==r4)var p=CSe(t,n,e);else n==yI||n==bI?p=wSe(t,n,s):(n==vI||n==(r4|vI))&&!r.length?p=ESe(t,n,e,i):p=DSe.apply(void 0,h);var b=f?vSe:TSe;return ISe(b(p,h),t,n)}s4.exports=ASe});var c4=g((mit,l4)=>{"use strict";var RSe=ob(),PSe=128;function FSe(t,n,e){return n=e?void 0:n,n=t&&n==null?t.length:n,RSe(t,PSe,void 0,void 0,void 0,void 0,n)}l4.exports=FSe});var u4=g((fit,d4)=>{"use strict";var OSe=Qy(),NSe=4;function LSe(t){return OSe(t,NSe)}d4.exports=LSe});var f4=g((hit,m4)=>{"use strict";var VSe=ob(),jSe=8;function CI(t,n,e){n=e?void 0:n;var i=VSe(t,jSe,void 0,void 0,void 0,void 0,void 0,n);return i.placeholder=CI.placeholder,i}CI.placeholder={};m4.exports=CI});var p4=g((pit,h4)=>{"use strict";var BSe=ya(),zSe=Ri(),$Se=ZT(),HSe="[object DOMException]",USe="[object Error]";function qSe(t){if(!zSe(t))return!1;var n=BSe(t);return n==USe||n==HSe||typeof t.message=="string"&&typeof t.name=="string"&&!$Se(t)}h4.exports=qSe});var _4=g((git,g4)=>{"use strict";var GSe=hs(),WSe=Ri(),YSe="[object WeakMap]";function KSe(t){return WSe(t)&&GSe(t)==YSe}g4.exports=KSe});var b4=g((_it,y4)=>{"use strict";var QSe=Qy(),ZSe=va(),XSe=1;function JSe(t){return ZSe(typeof t=="function"?t:QSe(t,XSe))}y4.exports=JSe});var D4=g((yit,w4)=>{"use strict";var v4=Pl(),exe=dd(),txe=vn(),C4=v4?v4.isConcatSpreadable:void 0;function nxe(t){return txe(t)||exe(t)||!!(C4&&t&&t[C4])}w4.exports=nxe});var x4=g((bit,S4)=>{"use strict";var ixe=X_(),rxe=D4();function E4(t,n,e,i,r){var o=-1,a=t.length;for(e||(e=rxe),r||(r=[]);++o<a;){var s=t[o];n>0&&e(s)?n>1?E4(s,n-1,e,i,r):ixe(r,s):i||(r[r.length]=s)}return r}S4.exports=E4});var I4=g((vit,T4)=>{"use strict";var oxe=x4();function axe(t){var n=t==null?0:t.length;return n?oxe(t,1):[]}T4.exports=axe});var M4=g((Cit,k4)=>{"use strict";var sxe=I4(),lxe=JT(),cxe=Gy();function dxe(t){return cxe(lxe(t,void 0,sxe),t+"")}k4.exports=dxe});var R4=g((wit,A4)=>{"use strict";var uxe=ob(),mxe=M4(),fxe=256,hxe=mxe(function(t,n){return uxe(t,fxe,void 0,void 0,void 0,n)});A4.exports=hxe});var F4=g((Dit,P4)=>{"use strict";var pxe=nf(),gxe=Vd(),_xe=vn(),yxe=Ol(),bxe=LS(),vxe=ps(),Cxe=Nl();function wxe(t){return _xe(t)?pxe(t,vxe):yxe(t)?[t]:gxe(bxe(Cxe(t)))}P4.exports=wxe});var N4=g((Eit,O4)=>{"use strict";O4.exports={ary:c4(),assign:tI(),clone:u4(),curry:f4(),forEach:Yy(),isArray:vn(),isError:p4(),isFunction:ld(),isWeakMap:_4(),iteratee:b4(),keys:$_(),rearg:R4(),toInteger:vd(),toPath:F4()}});var wI=g((Sit,L4)=>{"use strict";var Dxe=Kq(),Exe=N4();function Sxe(t,n,e){return Dxe(Exe,t,n,e)}L4.exports=Sxe});var B4=g((xit,j4)=>{"use strict";var xxe=Uy(),Txe=lf(),Ixe=Ll(),V4=Xi(),kxe=ps();function Mxe(t,n,e,i){if(!V4(t))return t;n=Txe(n,t);for(var r=-1,o=n.length,a=o-1,s=t;s!=null&&++r<o;){var l=kxe(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=V4(d)?d:Ixe(n[r+1])?[]:{})}xxe(s,l,c),s=s[l]}return t}j4.exports=Mxe});var $4=g((Tit,z4)=>{"use strict";var Axe=B4();function Rxe(t,n,e){return t==null?t:Axe(t,n,e)}z4.exports=Rxe});var q4=g((Iit,U4)=>{"use strict";var Pxe=wI(),H4=Pxe("set",$4());H4.placeholder=Xy();U4.exports=H4});var DI=g((kit,G4)=>{"use strict";function Fxe(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}G4.exports=Fxe});var Y4=g((Mit,W4)=>{"use strict";var Oxe=Q_(),Nxe=IS();function Lxe(t,n){return n.length<2?t:Oxe(t,Nxe(n,0,-1))}W4.exports=Lxe});var EI=g((Ait,K4)=>{"use strict";var Vxe=lf(),jxe=DI(),Bxe=Y4(),zxe=ps();function $xe(t,n){return n=Vxe(n,t),t=Bxe(t,n),t==null||delete t[zxe(jxe(n))]}K4.exports=$xe});var Z4=g((Rit,Q4)=>{"use strict";var Hxe=EI();function Uxe(t,n){return t==null?!0:Hxe(t,n)}Q4.exports=Uxe});var eG=g((Pit,J4)=>{"use strict";var qxe=wI(),X4=qxe("unset",Z4());X4.placeholder=Xy();J4.exports=X4});var nG=g((Fit,tG)=>{"use strict";var Gxe=Ol();function Wxe(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&&!Gxe(a):e(a,s)))var s=a,l=o}return l}tG.exports=Wxe});var rG=g((Oit,iG)=>{"use strict";function Yxe(t,n){return t>n}iG.exports=Yxe});var SI=g((Nit,oG)=>{"use strict";var Kxe=nG(),Qxe=rG(),Zxe=va();function Xxe(t,n){return t&&t.length?Kxe(t,Zxe(n,2),Qxe):void 0}oG.exports=Xxe});var sG=g((Lit,aG)=>{"use strict";var Jxe=EI(),eTe=Ll(),tTe=Array.prototype,nTe=tTe.splice;function iTe(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;eTe(r)?nTe.call(t,r,1):Jxe(t,r)}}return t}aG.exports=iTe});var cG=g((Vit,lG)=>{"use strict";var rTe=va(),oTe=sG();function aTe(t,n){var e=[];if(!(t&&t.length))return e;var i=-1,r=[],o=t.length;for(n=rTe(n,3);++i<o;){var a=t[i];n(a,i,t)&&(e.push(a),r.push(i))}return oTe(t,r),e}lG.exports=aTe});var uG=g((jit,dG)=>{"use strict";function sTe(t,n,e){return t===t&&(e!==void 0&&(t=t<=e?t:e),n!==void 0&&(t=t>=n?t:n)),t}dG.exports=sTe});var fG=g((Bit,mG)=>{"use strict";var lTe=uG(),cTe=TS(),dTe=vd(),uTe=Nl();function mTe(t,n,e){t=uTe(t),n=cTe(n);var i=t.length;e=e===void 0?i:lTe(dTe(e),0,i);var r=e;return e-=n.length,e>=0&&t.slice(e,r)==n}mG.exports=mTe});var pG=g((zit,hG)=>{"use strict";function fTe(t,n,e,i,r){return r(t,function(o,a,s){e=i?(i=!1,o):n(e,o,a,s)}),e}hG.exports=fTe});var _G=g(($it,gG)=>{"use strict";var hTe=xS(),pTe=By(),gTe=va(),_Te=pG(),yTe=vn();function bTe(t,n,e){var i=yTe(t)?hTe:_Te,r=arguments.length<3;return i(t,gTe(n,4),e,r,pTe)}gG.exports=bTe});var bG=g((Hit,yG)=>{"use strict";var vTe=nf();function CTe(t,n){return vTe(n,function(e){return[e,t[e]]})}yG.exports=CTe});var CG=g((Uit,vG)=>{"use strict";function wTe(t){var n=-1,e=Array(t.size);return t.forEach(function(i){e[++n]=[i,i]}),e}vG.exports=wTe});var DG=g((qit,wG)=>{"use strict";var DTe=bG(),ETe=hs(),STe=$S(),xTe=CG(),TTe="[object Map]",ITe="[object Set]";function kTe(t){return function(n){var e=ETe(n);return e==TTe?STe(n):e==ITe?xTe(n):DTe(n,t(n))}}wG.exports=kTe});var SG=g((Git,EG)=>{"use strict";var MTe=DG(),ATe=Ao(),RTe=MTe(ATe);EG.exports=RTe});var TG=g((Wit,xG)=>{"use strict";function PTe(t){return t===void 0}xG.exports=PTe});var fW=g(($rt,Vb)=>{"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(_,y,S){return setTimeout(P(_,S),y)}function m(_,y,S){return Array.isArray(_)?(f(_,S[y],S),!0):!1}function f(_,y,S){var I;if(_)if(_.forEach)_.forEach(y,S);else if(_.length!==i)for(I=0;I<_.length;)y.call(S,_[I],I,_),I++;else for(I in _)_.hasOwnProperty(I)&&y.call(S,_[I],I,_)}function h(_,y,S){var I="DEPRECATED METHOD: "+y+`
|
|
11
|
-
`+S+` AT
|
|
12
|
-
`;return function(){var Q=new Error("get-stack-trace"),xe=Q&&Q.stack?Q.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Ct=t.console&&(t.console.warn||t.console.log);return Ct&&Ct.call(t.console,I,xe),_.apply(this,arguments)}}var p;typeof Object.assign!="function"?p=function(y){if(y===i||y===null)throw new TypeError("Cannot convert undefined or null to object");for(var S=Object(y),I=1;I<arguments.length;I++){var Q=arguments[I];if(Q!==i&&Q!==null)for(var xe in Q)Q.hasOwnProperty(xe)&&(S[xe]=Q[xe])}return S}:p=Object.assign;var b=h(function(y,S,I){for(var Q=Object.keys(S),xe=0;xe<Q.length;)(!I||I&&y[Q[xe]]===i)&&(y[Q[xe]]=S[Q[xe]]),xe++;return y},"extend","Use `assign`."),D=h(function(y,S){return b(y,S,!0)},"merge","Use `assign`.");function E(_,y,S){var I=y.prototype,Q;Q=_.prototype=Object.create(I),Q.constructor=_,Q._super=I,S&&p(Q,S)}function P(_,y){return function(){return _.apply(y,arguments)}}function G(_,y){return typeof _==a?_.apply(y&&y[0]||i,y):_}function ce(_,y){return _===i?y:_}function ie(_,y,S){f(Ne(y),function(I){_.addEventListener(I,S,!1)})}function Pe(_,y,S){f(Ne(y),function(I){_.removeEventListener(I,S,!1)})}function Fe(_,y){for(;_;){if(_==y)return!0;_=_.parentNode}return!1}function Me(_,y){return _.indexOf(y)>-1}function Ne(_){return _.trim().split(/\s+/g)}function gt(_,y,S){if(_.indexOf&&!S)return _.indexOf(y);for(var I=0;I<_.length;){if(S&&_[I][S]==y||!S&&_[I]===y)return I;I++}return-1}function Ut(_){return Array.prototype.slice.call(_,0)}function we(_,y,S){for(var I=[],Q=[],xe=0;xe<_.length;){var Ct=y?_[xe][y]:_[xe];gt(Q,Ct)<0&&I.push(_[xe]),Q[xe]=Ct,xe++}return S&&(y?I=I.sort(function(jn,mi){return jn[y]>mi[y]}):I=I.sort()),I}function se(_,y){for(var S,I,Q=y[0].toUpperCase()+y.slice(1),xe=0;xe<r.length;){if(S=r[xe],I=S?S+Q:y,I in _)return I;xe++}return i}var re=1;function Ie(){return re++}function R(_){var y=_.ownerDocument||_;return y.defaultView||y.parentWindow||t}var H=/mobile|tablet|ip(ad|hone|od)|android/i,q="ontouchstart"in t,he=se(t,"PointerEvent")!==i,Qe=q&&H.test(navigator.userAgent),Je="touch",vt="pen",at="mouse",ut="kinect",Se=25,te=1,Z=2,ne=4,ge=8,Dt=1,jt=2,ln=4,pn=8,ar=16,Yn=jt|ln,Fr=pn|ar,ic=Yn|Fr,Zv=["x","y"],Ih=["clientX","clientY"];function sr(_,y){var S=this;this.manager=_,this.callback=y,this.element=_.element,this.target=_.options.inputTarget,this.domHandler=function(I){G(_.options.enable,[_])&&S.handler(I)},this.init()}sr.prototype={handler:function(){},init:function(){this.evEl&&ie(this.element,this.evEl,this.domHandler),this.evTarget&&ie(this.target,this.evTarget,this.domHandler),this.evWin&&ie(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&Pe(this.element,this.evEl,this.domHandler),this.evTarget&&Pe(this.target,this.evTarget,this.domHandler),this.evWin&&Pe(R(this.element),this.evWin,this.domHandler)}};function rK(_){var y,S=_.options.inputClass;return S?y=S:he?y=Jv:Qe?y=Ah:q?y=e0:y=Mh,new y(_,oK)}function oK(_,y,S){var I=S.pointers.length,Q=S.changedPointers.length,xe=y&te&&I-Q===0,Ct=y&(ne|ge)&&I-Q===0;S.isFirst=!!xe,S.isFinal=!!Ct,xe&&(_.session={}),S.eventType=y,aK(_,S),_.emit("hammer.input",S),_.recognize(S),_.session.prevInput=S}function aK(_,y){var S=_.session,I=y.pointers,Q=I.length;S.firstInput||(S.firstInput=gA(y)),Q>1&&!S.firstMultiple?S.firstMultiple=gA(y):Q===1&&(S.firstMultiple=!1);var xe=S.firstInput,Ct=S.firstMultiple,kn=Ct?Ct.center:xe.center,jn=y.center=_A(I);y.timeStamp=c(),y.deltaTime=y.timeStamp-xe.timeStamp,y.angle=Xv(kn,jn),y.distance=kh(kn,jn),sK(S,y),y.offsetDirection=bA(y.deltaX,y.deltaY);var mi=yA(y.deltaTime,y.deltaX,y.deltaY);y.overallVelocityX=mi.x,y.overallVelocityY=mi.y,y.overallVelocity=l(mi.x)>l(mi.y)?mi.x:mi.y,y.scale=Ct?dK(Ct.pointers,I):1,y.rotation=Ct?cK(Ct.pointers,I):0,y.maxPointers=S.prevInput?y.pointers.length>S.prevInput.maxPointers?y.pointers.length:S.prevInput.maxPointers:y.pointers.length,lK(S,y);var fo=_.element;Fe(y.srcEvent.target,fo)&&(fo=y.srcEvent.target),y.target=fo}function sK(_,y){var S=y.center,I=_.offsetDelta||{},Q=_.prevDelta||{},xe=_.prevInput||{};(y.eventType===te||xe.eventType===ne)&&(Q=_.prevDelta={x:xe.deltaX||0,y:xe.deltaY||0},I=_.offsetDelta={x:S.x,y:S.y}),y.deltaX=Q.x+(S.x-I.x),y.deltaY=Q.y+(S.y-I.y)}function lK(_,y){var S=_.lastInterval||y,I=y.timeStamp-S.timeStamp,Q,xe,Ct,kn;if(y.eventType!=ge&&(I>Se||S.velocity===i)){var jn=y.deltaX-S.deltaX,mi=y.deltaY-S.deltaY,fo=yA(I,jn,mi);xe=fo.x,Ct=fo.y,Q=l(fo.x)>l(fo.y)?fo.x:fo.y,kn=bA(jn,mi),_.lastInterval=y}else Q=S.velocity,xe=S.velocityX,Ct=S.velocityY,kn=S.direction;y.velocity=Q,y.velocityX=xe,y.velocityY=Ct,y.direction=kn}function gA(_){for(var y=[],S=0;S<_.pointers.length;)y[S]={clientX:s(_.pointers[S].clientX),clientY:s(_.pointers[S].clientY)},S++;return{timeStamp:c(),pointers:y,center:_A(y),deltaX:_.deltaX,deltaY:_.deltaY}}function _A(_){var y=_.length;if(y===1)return{x:s(_[0].clientX),y:s(_[0].clientY)};for(var S=0,I=0,Q=0;Q<y;)S+=_[Q].clientX,I+=_[Q].clientY,Q++;return{x:s(S/y),y:s(I/y)}}function yA(_,y,S){return{x:y/_||0,y:S/_||0}}function bA(_,y){return _===y?Dt:l(_)>=l(y)?_<0?jt:ln:y<0?pn:ar}function kh(_,y,S){S||(S=Zv);var I=y[S[0]]-_[S[0]],Q=y[S[1]]-_[S[1]];return Math.sqrt(I*I+Q*Q)}function Xv(_,y,S){S||(S=Zv);var I=y[S[0]]-_[S[0]],Q=y[S[1]]-_[S[1]];return Math.atan2(Q,I)*180/Math.PI}function cK(_,y){return Xv(y[1],y[0],Ih)+Xv(_[1],_[0],Ih)}function dK(_,y){return kh(y[0],y[1],Ih)/kh(_[0],_[1],Ih)}var uK={mousedown:te,mousemove:Z,mouseup:ne},mK="mousedown",fK="mousemove mouseup";function Mh(){this.evEl=mK,this.evWin=fK,this.pressed=!1,sr.apply(this,arguments)}E(Mh,sr,{handler:function(y){var S=uK[y.type];S&te&&y.button===0&&(this.pressed=!0),S&Z&&y.which!==1&&(S=ne),this.pressed&&(S&ne&&(this.pressed=!1),this.callback(this.manager,S,{pointers:[y],changedPointers:[y],pointerType:at,srcEvent:y}))}});var hK={pointerdown:te,pointermove:Z,pointerup:ne,pointercancel:ge,pointerout:ge},pK={2:Je,3:vt,4:at,5:ut},vA="pointerdown",CA="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(vA="MSPointerDown",CA="MSPointerMove MSPointerUp MSPointerCancel");function Jv(){this.evEl=vA,this.evWin=CA,sr.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}E(Jv,sr,{handler:function(y){var S=this.store,I=!1,Q=y.type.toLowerCase().replace("ms",""),xe=hK[Q],Ct=pK[y.pointerType]||y.pointerType,kn=Ct==Je,jn=gt(S,y.pointerId,"pointerId");xe&te&&(y.button===0||kn)?jn<0&&(S.push(y),jn=S.length-1):xe&(ne|ge)&&(I=!0),!(jn<0)&&(S[jn]=y,this.callback(this.manager,xe,{pointers:S,changedPointers:[y],pointerType:Ct,srcEvent:y}),I&&S.splice(jn,1))}});var gK={touchstart:te,touchmove:Z,touchend:ne,touchcancel:ge},_K="touchstart",yK="touchstart touchmove touchend touchcancel";function wA(){this.evTarget=_K,this.evWin=yK,this.started=!1,sr.apply(this,arguments)}E(wA,sr,{handler:function(y){var S=gK[y.type];if(S===te&&(this.started=!0),!!this.started){var I=bK.call(this,y,S);S&(ne|ge)&&I[0].length-I[1].length===0&&(this.started=!1),this.callback(this.manager,S,{pointers:I[0],changedPointers:I[1],pointerType:Je,srcEvent:y})}}});function bK(_,y){var S=Ut(_.touches),I=Ut(_.changedTouches);return y&(ne|ge)&&(S=we(S.concat(I),"identifier",!0)),[S,I]}var vK={touchstart:te,touchmove:Z,touchend:ne,touchcancel:ge},CK="touchstart touchmove touchend touchcancel";function Ah(){this.evTarget=CK,this.targetIds={},sr.apply(this,arguments)}E(Ah,sr,{handler:function(y){var S=vK[y.type],I=wK.call(this,y,S);I&&this.callback(this.manager,S,{pointers:I[0],changedPointers:I[1],pointerType:Je,srcEvent:y})}});function wK(_,y){var S=Ut(_.touches),I=this.targetIds;if(y&(te|Z)&&S.length===1)return I[S[0].identifier]=!0,[S,S];var Q,xe,Ct=Ut(_.changedTouches),kn=[],jn=this.target;if(xe=S.filter(function(mi){return Fe(mi.target,jn)}),y===te)for(Q=0;Q<xe.length;)I[xe[Q].identifier]=!0,Q++;for(Q=0;Q<Ct.length;)I[Ct[Q].identifier]&&kn.push(Ct[Q]),y&(ne|ge)&&delete I[Ct[Q].identifier],Q++;if(kn.length)return[we(xe.concat(kn),"identifier",!0),kn]}var DK=2500,DA=25;function e0(){sr.apply(this,arguments);var _=P(this.handler,this);this.touch=new Ah(this.manager,_),this.mouse=new Mh(this.manager,_),this.primaryTouch=null,this.lastTouches=[]}E(e0,sr,{handler:function(y,S,I){var Q=I.pointerType==Je,xe=I.pointerType==at;if(!(xe&&I.sourceCapabilities&&I.sourceCapabilities.firesTouchEvents)){if(Q)EK.call(this,S,I);else if(xe&&SK.call(this,I))return;this.callback(y,S,I)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function EK(_,y){_&te?(this.primaryTouch=y.changedPointers[0].identifier,EA.call(this,y)):_&(ne|ge)&&EA.call(this,y)}function EA(_){var y=_.changedPointers[0];if(y.identifier===this.primaryTouch){var S={x:y.clientX,y:y.clientY};this.lastTouches.push(S);var I=this.lastTouches,Q=function(){var xe=I.indexOf(S);xe>-1&&I.splice(xe,1)};setTimeout(Q,DK)}}function SK(_){for(var y=_.srcEvent.clientX,S=_.srcEvent.clientY,I=0;I<this.lastTouches.length;I++){var Q=this.lastTouches[I],xe=Math.abs(y-Q.x),Ct=Math.abs(S-Q.y);if(xe<=DA&&Ct<=DA)return!0}return!1}var SA=se(o.style,"touchAction"),xA=SA!==i,TA="compute",IA="auto",t0="manipulation",js="none",Tu="pan-x",Iu="pan-y",Rh=TK();function n0(_,y){this.manager=_,this.set(y)}n0.prototype={set:function(_){_==TA&&(_=this.compute()),xA&&this.manager.element.style&&Rh[_]&&(this.manager.element.style[SA]=_),this.actions=_.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var _=[];return f(this.manager.recognizers,function(y){G(y.options.enable,[y])&&(_=_.concat(y.getTouchAction()))}),xK(_.join(" "))},preventDefaults:function(_){var y=_.srcEvent,S=_.offsetDirection;if(this.manager.session.prevented){y.preventDefault();return}var I=this.actions,Q=Me(I,js)&&!Rh[js],xe=Me(I,Iu)&&!Rh[Iu],Ct=Me(I,Tu)&&!Rh[Tu];if(Q){var kn=_.pointers.length===1,jn=_.distance<2,mi=_.deltaTime<250;if(kn&&jn&&mi)return}if(!(Ct&&xe)&&(Q||xe&&S&Yn||Ct&&S&Fr))return this.preventSrc(y)},preventSrc:function(_){this.manager.session.prevented=!0,_.preventDefault()}};function xK(_){if(Me(_,js))return js;var y=Me(_,Tu),S=Me(_,Iu);return y&&S?js:y||S?y?Tu:Iu:Me(_,t0)?t0:IA}function TK(){if(!xA)return!1;var _={},y=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(S){_[S]=y?t.CSS.supports("touch-action",S):!0}),_}var Ph=1,lr=2,rc=4,Va=8,Wo=Va,ku=16,mo=32;function Yo(_){this.options=p({},this.defaults,_||{}),this.id=Ie(),this.manager=null,this.options.enable=ce(this.options.enable,!0),this.state=Ph,this.simultaneous={},this.requireFail=[]}Yo.prototype={defaults:{},set:function(_){return p(this.options,_),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(_){if(m(_,"recognizeWith",this))return this;var y=this.simultaneous;return _=Fh(_,this),y[_.id]||(y[_.id]=_,_.recognizeWith(this)),this},dropRecognizeWith:function(_){return m(_,"dropRecognizeWith",this)?this:(_=Fh(_,this),delete this.simultaneous[_.id],this)},requireFailure:function(_){if(m(_,"requireFailure",this))return this;var y=this.requireFail;return _=Fh(_,this),gt(y,_)===-1&&(y.push(_),_.requireFailure(this)),this},dropRequireFailure:function(_){if(m(_,"dropRequireFailure",this))return this;_=Fh(_,this);var y=gt(this.requireFail,_);return y>-1&&this.requireFail.splice(y,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(_){return!!this.simultaneous[_.id]},emit:function(_){var y=this,S=this.state;function I(Q){y.manager.emit(Q,_)}S<Va&&I(y.options.event+kA(S)),I(y.options.event),_.additionalEvent&&I(_.additionalEvent),S>=Va&&I(y.options.event+kA(S))},tryEmit:function(_){if(this.canEmit())return this.emit(_);this.state=mo},canEmit:function(){for(var _=0;_<this.requireFail.length;){if(!(this.requireFail[_].state&(mo|Ph)))return!1;_++}return!0},recognize:function(_){var y=p({},_);if(!G(this.options.enable,[this,y])){this.reset(),this.state=mo;return}this.state&(Wo|ku|mo)&&(this.state=Ph),this.state=this.process(y),this.state&(lr|rc|Va|ku)&&this.tryEmit(y)},process:function(_){},getTouchAction:function(){},reset:function(){}};function kA(_){return _&ku?"cancel":_&Va?"end":_&rc?"move":_&lr?"start":""}function MA(_){return _==ar?"down":_==pn?"up":_==jt?"left":_==ln?"right":""}function Fh(_,y){var S=y.manager;return S?S.get(_):_}function Or(){Yo.apply(this,arguments)}E(Or,Yo,{defaults:{pointers:1},attrTest:function(_){var y=this.options.pointers;return y===0||_.pointers.length===y},process:function(_){var y=this.state,S=_.eventType,I=y&(lr|rc),Q=this.attrTest(_);return I&&(S&ge||!Q)?y|ku:I||Q?S&ne?y|Va:y&lr?y|rc:lr:mo}});function Oh(){Or.apply(this,arguments),this.pX=null,this.pY=null}E(Oh,Or,{defaults:{event:"pan",threshold:10,pointers:1,direction:ic},getTouchAction:function(){var _=this.options.direction,y=[];return _&Yn&&y.push(Iu),_&Fr&&y.push(Tu),y},directionTest:function(_){var y=this.options,S=!0,I=_.distance,Q=_.direction,xe=_.deltaX,Ct=_.deltaY;return Q&y.direction||(y.direction&Yn?(Q=xe===0?Dt:xe<0?jt:ln,S=xe!=this.pX,I=Math.abs(_.deltaX)):(Q=Ct===0?Dt:Ct<0?pn:ar,S=Ct!=this.pY,I=Math.abs(_.deltaY))),_.direction=Q,S&&I>y.threshold&&Q&y.direction},attrTest:function(_){return Or.prototype.attrTest.call(this,_)&&(this.state&lr||!(this.state&lr)&&this.directionTest(_))},emit:function(_){this.pX=_.deltaX,this.pY=_.deltaY;var y=MA(_.direction);y&&(_.additionalEvent=this.options.event+y),this._super.emit.call(this,_)}});function i0(){Or.apply(this,arguments)}E(i0,Or,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[js]},attrTest:function(_){return this._super.attrTest.call(this,_)&&(Math.abs(_.scale-1)>this.options.threshold||this.state&lr)},emit:function(_){if(_.scale!==1){var y=_.scale<1?"in":"out";_.additionalEvent=this.options.event+y}this._super.emit.call(this,_)}});function r0(){Yo.apply(this,arguments),this._timer=null,this._input=null}E(r0,Yo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[IA]},process:function(_){var y=this.options,S=_.pointers.length===y.pointers,I=_.distance<y.threshold,Q=_.deltaTime>y.time;if(this._input=_,!I||!S||_.eventType&(ne|ge)&&!Q)this.reset();else if(_.eventType&te)this.reset(),this._timer=d(function(){this.state=Wo,this.tryEmit()},y.time,this);else if(_.eventType&ne)return Wo;return mo},reset:function(){clearTimeout(this._timer)},emit:function(_){this.state===Wo&&(_&&_.eventType&ne?this.manager.emit(this.options.event+"up",_):(this._input.timeStamp=c(),this.manager.emit(this.options.event,this._input)))}});function o0(){Or.apply(this,arguments)}E(o0,Or,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[js]},attrTest:function(_){return this._super.attrTest.call(this,_)&&(Math.abs(_.rotation)>this.options.threshold||this.state&lr)}});function a0(){Or.apply(this,arguments)}E(a0,Or,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Yn|Fr,pointers:1},getTouchAction:function(){return Oh.prototype.getTouchAction.call(this)},attrTest:function(_){var y=this.options.direction,S;return y&(Yn|Fr)?S=_.overallVelocity:y&Yn?S=_.overallVelocityX:y&Fr&&(S=_.overallVelocityY),this._super.attrTest.call(this,_)&&y&_.offsetDirection&&_.distance>this.options.threshold&&_.maxPointers==this.options.pointers&&l(S)>this.options.velocity&&_.eventType&ne},emit:function(_){var y=MA(_.offsetDirection);y&&this.manager.emit(this.options.event+y,_),this.manager.emit(this.options.event,_)}});function Nh(){Yo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}E(Nh,Yo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[t0]},process:function(_){var y=this.options,S=_.pointers.length===y.pointers,I=_.distance<y.threshold,Q=_.deltaTime<y.time;if(this.reset(),_.eventType&te&&this.count===0)return this.failTimeout();if(I&&Q&&S){if(_.eventType!=ne)return this.failTimeout();var xe=this.pTime?_.timeStamp-this.pTime<y.interval:!0,Ct=!this.pCenter||kh(this.pCenter,_.center)<y.posThreshold;this.pTime=_.timeStamp,this.pCenter=_.center,!Ct||!xe?this.count=1:this.count+=1,this._input=_;var kn=this.count%y.taps;if(kn===0)return this.hasRequireFailures()?(this._timer=d(function(){this.state=Wo,this.tryEmit()},y.interval,this),lr):Wo}return mo},failTimeout:function(){return this._timer=d(function(){this.state=mo},this.options.interval,this),mo},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Wo&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Ko(_,y){return y=y||{},y.recognizers=ce(y.recognizers,Ko.defaults.preset),new s0(_,y)}Ko.VERSION="2.0.7",Ko.defaults={domEvents:!1,touchAction:TA,enable:!0,inputTarget:null,inputClass:null,preset:[[o0,{enable:!1}],[i0,{enable:!1},["rotate"]],[a0,{direction:Yn}],[Oh,{direction:Yn},["swipe"]],[Nh],[Nh,{event:"doubletap",taps:2},["tap"]],[r0]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var IK=1,AA=2;function s0(_,y){this.options=p({},Ko.defaults,y||{}),this.options.inputTarget=this.options.inputTarget||_,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=_,this.input=rK(this),this.touchAction=new n0(this,this.options.touchAction),RA(this,!0),f(this.options.recognizers,function(S){var I=this.add(new S[0](S[1]));S[2]&&I.recognizeWith(S[2]),S[3]&&I.requireFailure(S[3])},this)}s0.prototype={set:function(_){return p(this.options,_),_.touchAction&&this.touchAction.update(),_.inputTarget&&(this.input.destroy(),this.input.target=_.inputTarget,this.input.init()),this},stop:function(_){this.session.stopped=_?AA:IK},recognize:function(_){var y=this.session;if(!y.stopped){this.touchAction.preventDefaults(_);var S,I=this.recognizers,Q=y.curRecognizer;(!Q||Q&&Q.state&Wo)&&(Q=y.curRecognizer=null);for(var xe=0;xe<I.length;)S=I[xe],y.stopped!==AA&&(!Q||S==Q||S.canRecognizeWith(Q))?S.recognize(_):S.reset(),!Q&&S.state&(lr|rc|Va)&&(Q=y.curRecognizer=S),xe++}},get:function(_){if(_ instanceof Yo)return _;for(var y=this.recognizers,S=0;S<y.length;S++)if(y[S].options.event==_)return y[S];return null},add:function(_){if(m(_,"add",this))return this;var y=this.get(_.options.event);return y&&this.remove(y),this.recognizers.push(_),_.manager=this,this.touchAction.update(),_},remove:function(_){if(m(_,"remove",this))return this;if(_=this.get(_),_){var y=this.recognizers,S=gt(y,_);S!==-1&&(y.splice(S,1),this.touchAction.update())}return this},on:function(_,y){if(_!==i&&y!==i){var S=this.handlers;return f(Ne(_),function(I){S[I]=S[I]||[],S[I].push(y)}),this}},off:function(_,y){if(_!==i){var S=this.handlers;return f(Ne(_),function(I){y?S[I]&&S[I].splice(gt(S[I],y),1):delete S[I]}),this}},emit:function(_,y){this.options.domEvents&&kK(_,y);var S=this.handlers[_]&&this.handlers[_].slice();if(!(!S||!S.length)){y.type=_,y.preventDefault=function(){y.srcEvent.preventDefault()};for(var I=0;I<S.length;)S[I](y),I++}},destroy:function(){this.element&&RA(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function RA(_,y){var S=_.element;if(S.style){var I;f(_.options.cssProps,function(Q,xe){I=se(S.style,xe),y?(_.oldCssProps[I]=S.style[I],S.style[I]=Q):S.style[I]=_.oldCssProps[I]||""}),y||(_.oldCssProps={})}}function kK(_,y){var S=n.createEvent("Event");S.initEvent(_,!0,!0),S.gesture=y,y.target.dispatchEvent(S)}p(Ko,{INPUT_START:te,INPUT_MOVE:Z,INPUT_END:ne,INPUT_CANCEL:ge,STATE_POSSIBLE:Ph,STATE_BEGAN:lr,STATE_CHANGED:rc,STATE_ENDED:Va,STATE_RECOGNIZED:Wo,STATE_CANCELLED:ku,STATE_FAILED:mo,DIRECTION_NONE:Dt,DIRECTION_LEFT:jt,DIRECTION_RIGHT:ln,DIRECTION_UP:pn,DIRECTION_DOWN:ar,DIRECTION_HORIZONTAL:Yn,DIRECTION_VERTICAL:Fr,DIRECTION_ALL:ic,Manager:s0,Input:sr,TouchAction:n0,TouchInput:Ah,MouseInput:Mh,PointerEventInput:Jv,TouchMouseInput:e0,SingleTouchInput:wA,Recognizer:Yo,AttrRecognizer:Or,Tap:Nh,Pan:Oh,Swipe:a0,Pinch:i0,Rotate:o0,Press:r0,on:ie,off:Pe,each:f,merge:D,extend:b,assign:p,inherit:E,bindFn:P,prefixed:se});var MK=typeof t<"u"?t:typeof self<"u"?self:{};MK.Hammer=Ko,typeof define=="function"&&define.amd?define(function(){return Ko}):typeof Vb<"u"&&Vb.exports?Vb.exports=Ko:t[e]=Ko})(window,document,"Hammer")});var W6=g((yM,bM)=>{"use strict";(function(t,n){typeof yM=="object"&&typeof bM<"u"?bM.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=n()})(yM,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",m="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|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,D={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(we){var se=["th","st","nd","rd"],re=we%100;return"["+we+(se[(re-20)%10]||se[re]||se[0])+"]"}},E=function(we,se,re){var Ie=String(we);return!Ie||Ie.length>=se?we:""+Array(se+1-Ie.length).join(re)+we},P={s:E,z:function(we){var se=-we.utcOffset(),re=Math.abs(se),Ie=Math.floor(re/60),R=re%60;return(se<=0?"+":"-")+E(Ie,2,"0")+":"+E(R,2,"0")},m:function we(se,re){if(se.date()<re.date())return-we(re,se);var Ie=12*(re.year()-se.year())+(re.month()-se.month()),R=se.clone().add(Ie,c),H=re-R<0,q=se.clone().add(Ie+(H?-1:1),c);return+(-(Ie+(re-R)/(H?R-q:q-R))||0)},a:function(we){return we<0?Math.ceil(we)||0:Math.floor(we)},p:function(we){return{M:c,y:m,w:l,d:s,D:f,h:a,m:o,s:r,ms:i,Q:d}[we]||String(we||"").toLowerCase().replace(/s$/,"")},u:function(we){return we===void 0}},G="en",ce={};ce[G]=D;var ie="$isDayjsObject",Pe=function(we){return we instanceof gt||!(!we||!we[ie])},Fe=function we(se,re,Ie){var R;if(!se)return G;if(typeof se=="string"){var H=se.toLowerCase();ce[H]&&(R=H),re&&(ce[H]=re,R=H);var q=se.split("-");if(!R&&q.length>1)return we(q[0])}else{var he=se.name;ce[he]=se,R=he}return!Ie&&R&&(G=R),R||!Ie&&G},Me=function(we,se){if(Pe(we))return we.clone();var re=typeof se=="object"?se:{};return re.date=we,re.args=arguments,new gt(re)},Ne=P;Ne.l=Fe,Ne.i=Pe,Ne.w=function(we,se){return Me(we,{locale:se.$L,utc:se.$u,x:se.$x,$offset:se.$offset})};var gt=(function(){function we(re){this.$L=Fe(re.locale,null,!0),this.parse(re),this.$x=this.$x||re.x||{},this[ie]=!0}var se=we.prototype;return se.parse=function(re){this.$d=(function(Ie){var R=Ie.date,H=Ie.utc;if(R===null)return new Date(NaN);if(Ne.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var q=R.match(p);if(q){var he=q[2]-1||0,Qe=(q[7]||"0").substring(0,3);return H?new Date(Date.UTC(q[1],he,q[3]||1,q[4]||0,q[5]||0,q[6]||0,Qe)):new Date(q[1],he,q[3]||1,q[4]||0,q[5]||0,q[6]||0,Qe)}}return new Date(R)})(re),this.init()},se.init=function(){var re=this.$d;this.$y=re.getFullYear(),this.$M=re.getMonth(),this.$D=re.getDate(),this.$W=re.getDay(),this.$H=re.getHours(),this.$m=re.getMinutes(),this.$s=re.getSeconds(),this.$ms=re.getMilliseconds()},se.$utils=function(){return Ne},se.isValid=function(){return this.$d.toString()!==h},se.isSame=function(re,Ie){var R=Me(re);return this.startOf(Ie)<=R&&R<=this.endOf(Ie)},se.isAfter=function(re,Ie){return Me(re)<this.startOf(Ie)},se.isBefore=function(re,Ie){return this.endOf(Ie)<Me(re)},se.$g=function(re,Ie,R){return Ne.u(re)?this[Ie]:this.set(R,re)},se.unix=function(){return Math.floor(this.valueOf()/1e3)},se.valueOf=function(){return this.$d.getTime()},se.startOf=function(re,Ie){var R=this,H=!!Ne.u(Ie)||Ie,q=Ne.p(re),he=function(Z,ne){var ge=Ne.w(R.$u?Date.UTC(R.$y,ne,Z):new Date(R.$y,ne,Z),R);return H?ge:ge.endOf(s)},Qe=function(Z,ne){return Ne.w(R.toDate()[Z].apply(R.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(ne)),R)},Je=this.$W,vt=this.$M,at=this.$D,ut="set"+(this.$u?"UTC":"");switch(q){case m:return H?he(1,0):he(31,11);case c:return H?he(1,vt):he(0,vt+1);case l:var Se=this.$locale().weekStart||0,te=(Je<Se?Je+7:Je)-Se;return he(H?at-te:at+(6-te),vt);case s:case f:return Qe(ut+"Hours",0);case a:return Qe(ut+"Minutes",1);case o:return Qe(ut+"Seconds",2);case r:return Qe(ut+"Milliseconds",3);default:return this.clone()}},se.endOf=function(re){return this.startOf(re,!1)},se.$set=function(re,Ie){var R,H=Ne.p(re),q="set"+(this.$u?"UTC":""),he=(R={},R[s]=q+"Date",R[f]=q+"Date",R[c]=q+"Month",R[m]=q+"FullYear",R[a]=q+"Hours",R[o]=q+"Minutes",R[r]=q+"Seconds",R[i]=q+"Milliseconds",R)[H],Qe=H===s?this.$D+(Ie-this.$W):Ie;if(H===c||H===m){var Je=this.clone().set(f,1);Je.$d[he](Qe),Je.init(),this.$d=Je.set(f,Math.min(this.$D,Je.daysInMonth())).$d}else he&&this.$d[he](Qe);return this.init(),this},se.set=function(re,Ie){return this.clone().$set(re,Ie)},se.get=function(re){return this[Ne.p(re)]()},se.add=function(re,Ie){var R,H=this;re=Number(re);var q=Ne.p(Ie),he=function(vt){var at=Me(H);return Ne.w(at.date(at.date()+Math.round(vt*re)),H)};if(q===c)return this.set(c,this.$M+re);if(q===m)return this.set(m,this.$y+re);if(q===s)return he(1);if(q===l)return he(7);var Qe=(R={},R[o]=n,R[a]=e,R[r]=t,R)[q]||1,Je=this.$d.getTime()+re*Qe;return Ne.w(Je,this)},se.subtract=function(re,Ie){return this.add(-1*re,Ie)},se.format=function(re){var Ie=this,R=this.$locale();if(!this.isValid())return R.invalidDate||h;var H=re||"YYYY-MM-DDTHH:mm:ssZ",q=Ne.z(this),he=this.$H,Qe=this.$m,Je=this.$M,vt=R.weekdays,at=R.months,ut=R.meridiem,Se=function(ne,ge,Dt,jt){return ne&&(ne[ge]||ne(Ie,H))||Dt[ge].slice(0,jt)},te=function(ne){return Ne.s(he%12||12,ne,"0")},Z=ut||function(ne,ge,Dt){var jt=ne<12?"AM":"PM";return Dt?jt.toLowerCase():jt};return H.replace(b,function(ne,ge){return ge||(function(Dt){switch(Dt){case"YY":return String(Ie.$y).slice(-2);case"YYYY":return Ne.s(Ie.$y,4,"0");case"M":return Je+1;case"MM":return Ne.s(Je+1,2,"0");case"MMM":return Se(R.monthsShort,Je,at,3);case"MMMM":return Se(at,Je);case"D":return Ie.$D;case"DD":return Ne.s(Ie.$D,2,"0");case"d":return String(Ie.$W);case"dd":return Se(R.weekdaysMin,Ie.$W,vt,2);case"ddd":return Se(R.weekdaysShort,Ie.$W,vt,3);case"dddd":return vt[Ie.$W];case"H":return String(he);case"HH":return Ne.s(he,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return Z(he,Qe,!0);case"A":return Z(he,Qe,!1);case"m":return String(Qe);case"mm":return Ne.s(Qe,2,"0");case"s":return String(Ie.$s);case"ss":return Ne.s(Ie.$s,2,"0");case"SSS":return Ne.s(Ie.$ms,3,"0");case"Z":return q}return null})(ne)||q.replace(":","")})},se.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},se.diff=function(re,Ie,R){var H,q=this,he=Ne.p(Ie),Qe=Me(re),Je=(Qe.utcOffset()-this.utcOffset())*n,vt=this-Qe,at=function(){return Ne.m(q,Qe)};switch(he){case m:H=at()/12;break;case c:H=at();break;case d:H=at()/3;break;case l:H=(vt-Je)/6048e5;break;case s:H=(vt-Je)/864e5;break;case a:H=vt/e;break;case o:H=vt/n;break;case r:H=vt/t;break;default:H=vt}return R?H:Ne.a(H)},se.daysInMonth=function(){return this.endOf(c).$D},se.$locale=function(){return ce[this.$L]},se.locale=function(re,Ie){if(!re)return this.$L;var R=this.clone(),H=Fe(re,Ie,!0);return H&&(R.$L=H),R},se.clone=function(){return Ne.w(this.$d,this)},se.toDate=function(){return new Date(this.valueOf())},se.toJSON=function(){return this.isValid()?this.toISOString():null},se.toISOString=function(){return this.$d.toISOString()},se.toString=function(){return this.$d.toUTCString()},we})(),Ut=gt.prototype;return Me.prototype=Ut,[["$ms",i],["$s",r],["$m",o],["$H",a],["$W",s],["$M",c],["$y",m],["$D",f]].forEach(function(we){Ut[we[1]]=function(se){return this.$g(se,we[0],we[1])}}),Me.extend=function(we,se){return we.$i||(we(se,gt,Me),we.$i=!0),Me},Me.locale=Fe,Me.isDayjs=Pe,Me.unix=function(we){return Me(1e3*we)},Me.en=ce[G],Me.Ls=ce,Me.p={},Me})});var Y6=g((vM,CM)=>{"use strict";(function(t,n){typeof vM=="object"&&typeof CM<"u"?CM.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=n()})(vM,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(b){this[p]=+b}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=(function(b){if(!b||b==="Z")return 0;var D=b.match(/([+-]|\d\d)/g),E=60*D[1]+(+D[2]||0);return E===0?0:D[0]==="+"?-E:E})(p)}],d=function(p){var b=a[p];return b&&(b.indexOf?b:b.s.concat(b.f))},m=function(p,b){var D,E=a.meridiem;if(E){for(var P=1;P<=24;P+=1)if(p.indexOf(E(P,0,b))>-1){D=P>12;break}}else D=p===(b?"pm":"PM");return D},f={A:[o,function(p){this.afternoon=m(p,!1)}],a:[o,function(p){this.afternoon=m(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 b=a.ordinal,D=p.match(/\d+/);if(this.day=D[0],b)for(var E=1;E<=31;E+=1)b(E).replace(/\[|\]/g,"")===p&&(this.day=E)}],w:[r,l("week")],ww:[i,l("week")],M:[r,l("month")],MM:[i,l("month")],MMM:[o,function(p){var b=d("months"),D=(d("monthsShort")||b.map(function(E){return E.slice(0,3)})).indexOf(p)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[o,function(p){var b=d("months").indexOf(p)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,l("year")],YY:[i,function(p){this.year=s(p)}],YYYY:[/\d{4}/,l("year")],Z:c,ZZ:c};function h(p){var b,D;b=p,D=a&&a.formats;for(var E=(p=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(Me,Ne,gt){var Ut=gt&>.toUpperCase();return Ne||D[gt]||t[gt]||D[Ut].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(we,se,re){return se||re.slice(1)})})).match(n),P=E.length,G=0;G<P;G+=1){var ce=E[G],ie=f[ce],Pe=ie&&ie[0],Fe=ie&&ie[1];E[G]=Fe?{regex:Pe,parser:Fe}:ce.replace(/^\[|\]$/g,"")}return function(Me){for(var Ne={},gt=0,Ut=0;gt<P;gt+=1){var we=E[gt];if(typeof we=="string")Ut+=we.length;else{var se=we.regex,re=we.parser,Ie=Me.slice(Ut),R=se.exec(Ie)[0];re.call(Ne,R),Me=Me.replace(R,"")}}return(function(H){var q=H.afternoon;if(q!==void 0){var he=H.hours;q?he<12&&(H.hours+=12):he===12&&(H.hours=0),delete H.afternoon}})(Ne),Ne}}return function(p,b,D){D.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(s=p.parseTwoDigitYear);var E=b.prototype,P=E.parse;E.parse=function(G){var ce=G.date,ie=G.utc,Pe=G.args;this.$u=ie;var Fe=Pe[1];if(typeof Fe=="string"){var Me=Pe[2]===!0,Ne=Pe[3]===!0,gt=Me||Ne,Ut=Pe[2];Ne&&(Ut=Pe[2]),a=this.$locale(),!Me&&Ut&&(a=D.Ls[Ut]),this.$d=(function(Ie,R,H,q){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*Ie);var he=h(R)(Ie),Qe=he.year,Je=he.month,vt=he.day,at=he.hours,ut=he.minutes,Se=he.seconds,te=he.milliseconds,Z=he.zone,ne=he.week,ge=new Date,Dt=vt||(Qe||Je?1:ge.getDate()),jt=Qe||ge.getFullYear(),ln=0;Qe&&!Je||(ln=Je>0?Je-1:ge.getMonth());var pn,ar=at||0,Yn=ut||0,Fr=Se||0,ic=te||0;return Z?new Date(Date.UTC(jt,ln,Dt,ar,Yn,Fr,ic+60*Z.offset*1e3)):H?new Date(Date.UTC(jt,ln,Dt,ar,Yn,Fr,ic)):(pn=new Date(jt,ln,Dt,ar,Yn,Fr,ic),ne&&(pn=q(pn).week(ne).toDate()),pn)}catch{return new Date("")}})(ce,Fe,ie,D),this.init(),Ut&&Ut!==!0&&(this.$L=this.locale(Ut).$L),gt&&ce!=this.format(Fe)&&(this.$d=new Date("")),a={}}else if(Fe instanceof Array)for(var we=Fe.length,se=1;se<=we;se+=1){Pe[1]=Fe[se-1];var re=D.apply(this,Pe);if(re.isValid()){this.$d=re.$d,this.$L=re.$L,this.init();break}se===we&&(this.$d=new Date(""))}else P.call(this,G)}}})});var Q6=g((Pmt,K6)=>{"use strict";var _1e=By();function y1e(t,n){var e;return _1e(t,function(i,r,o){return e=n(i,r,o),!e}),!!e}K6.exports=y1e});var X6=g((Fmt,Z6)=>{"use strict";var b1e=jS(),v1e=va(),C1e=Q6(),w1e=vn(),D1e=W_();function E1e(t,n,e){var i=w1e(t)?b1e:C1e;return e&&D1e(t,n,e)&&(n=void 0),i(t,v1e(n,3))}Z6.exports=E1e});var G9=g(qo=>{"use strict";Object.defineProperty(qo,"__esModule",{value:!0});qo.formatNames=qo.fastFormats=qo.fullFormats=void 0;function Uo(t,n){return{validate:t,compare:n}}qo.fullFormats={date:Uo($9,OM),time:Uo(PM(!0),NM),"date-time":Uo(j9(!0),U9),"iso-time":Uo(PM(),H9),"iso-date-time":Uo(j9(),q9),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:BFe,"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:WFe,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:zFe,int32:{type:"number",validate:UFe},int64:{type:"number",validate:qFe},float:{type:"number",validate:z9},double:{type:"number",validate:z9},password:!0,binary:!0};qo.fastFormats=de(M({},qo.fullFormats),{date:Uo(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,OM),time:Uo(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,NM),"date-time":Uo(/^\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,U9),"iso-time":Uo(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,H9),"iso-date-time":Uo(/^\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,q9),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});qo.formatNames=Object.keys(qo.fullFormats);function OFe(t){return t%4===0&&(t%100!==0||t%400===0)}var NFe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,LFe=[0,31,28,31,30,31,30,31,31,30,31,30,31];function $9(t){let n=NFe.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&&OFe(e)?29:LFe[i])}function OM(t,n){if(t&&n)return t>n?1:t<n?-1:0}var RM=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function PM(t){return function(e){let i=RM.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 m=o-d*l,f=r-c*l-(m<0?1:0);return(f===23||f===-1)&&(m===59||m===-1)&&a<61}}function NM(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 H9(t,n){if(!(t&&n))return;let e=RM.exec(t),i=RM.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 FM=/t|\s/i;function j9(t){let n=PM(t);return function(i){let r=i.split(FM);return r.length===2&&$9(r[0])&&n(r[1])}}function U9(t,n){if(!(t&&n))return;let e=new Date(t).valueOf(),i=new Date(n).valueOf();if(e&&i)return e-i}function q9(t,n){if(!(t&&n))return;let[e,i]=t.split(FM),[r,o]=n.split(FM),a=OM(e,r);if(a!==void 0)return a||NM(i,o)}var VFe=/\/|:/,jFe=/^(?:[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 BFe(t){return VFe.test(t)&&jFe.test(t)}var B9=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function zFe(t){return B9.lastIndex=0,B9.test(t)}var $Fe=-(2**31),HFe=2**31-1;function UFe(t){return Number.isInteger(t)&&t<=HFe&&t>=$Fe}function qFe(t){return Number.isInteger(t)}function z9(){return!0}var GFe=/[^\\]\\Z/;function WFe(t){if(GFe.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var W9=g(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});vu.formatLimitDefinition=void 0;var YFe=Nf(),so=ot(),Ls=so.operators,bv={formatMaximum:{okStr:"<=",ok:Ls.LTE,fail:Ls.GT},formatMinimum:{okStr:">=",ok:Ls.GTE,fail:Ls.LT},formatExclusiveMaximum:{okStr:"<",ok:Ls.LT,fail:Ls.GTE},formatExclusiveMinimum:{okStr:">",ok:Ls.GT,fail:Ls.LTE}},KFe={message:({keyword:t,schemaCode:n})=>(0,so.str)`should be ${bv[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>(0,so._)`{comparison: ${bv[t].okStr}, limit: ${n}}`};vu.formatLimitDefinition={keyword:Object.keys(bv),type:"string",schemaType:"string",$data:!0,error:KFe,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 YFe.KeywordCxt(o,s.RULES.all.format.definition,"format");l.$data?c():d();function c(){let f=n.scopeValue("formats",{ref:s.formats,code:a.code.formats}),h=n.const("fmt",(0,so._)`${f}[${l.schemaCode}]`);t.fail$data((0,so.or)((0,so._)`typeof ${h} != "object"`,(0,so._)`${h} instanceof RegExp`,(0,so._)`typeof ${h}.compare != "function"`,m(h)))}function d(){let f=l.schema,h=s.formats[f];if(!h||h===!0)return;if(typeof h!="object"||h instanceof RegExp||typeof h.compare!="function")throw new Error(`"${r}": format "${f}" does not define "compare" function`);let p=n.scopeValue("formats",{key:f,ref:h,code:a.code.formats?(0,so._)`${a.code.formats}${(0,so.getProperty)(f)}`:void 0});t.fail$data(m(p))}function m(f){return(0,so._)`${f}.compare(${e}, ${i}) ${bv[r].fail} 0`}},dependencies:["format"]};var QFe=t=>(t.addKeyword(vu.formatLimitDefinition),t);vu.default=QFe});var Z9=g((bh,Q9)=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});var Cu=G9(),ZFe=W9(),LM=ot(),Y9=new LM.Name("fullFormats"),XFe=new LM.Name("fastFormats"),VM=(t,n={keywords:!0})=>{if(Array.isArray(n))return K9(t,n,Cu.fullFormats,Y9),t;let[e,i]=n.mode==="fast"?[Cu.fastFormats,XFe]:[Cu.fullFormats,Y9],r=n.formats||Cu.formatNames;return K9(t,r,e,i),n.keywords&&(0,ZFe.default)(t),t};VM.get=(t,n="full")=>{let i=(n==="fast"?Cu.fastFormats:Cu.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function K9(t,n,e,i){var r,o;(r=(o=t.opts.code).formats)!==null&&r!==void 0||(o.formats=(0,LM._)`require("ajv-formats/dist/formats").${i}`);for(let a of n)t.addFormat(a,e[a])}Q9.exports=bh=VM;Object.defineProperty(bh,"__esModule",{value:!0});bh.default=VM});function VK(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 Vh=function(t,...n){if(Vh.translate){let i=Vh.translate(t,n);t=i[0],n=i[1]}let e=OA(t[0],t.raw[0]);for(let i=1;i<t.length;i++)e+=n[i-1]+OA(t[i],t.raw[i]);return e},jK=":";function OA(t,n){return n.charAt(0)===jK?t.substring(VK(t,n)+1):t}globalThis.$localize=Vh;var d0;function jh(){return d0}function ho(t){let n=d0;return d0=t,n}var NA=Symbol("NotFound");function oc(t){return t===NA||t?.name==="\u0275NotFound"}function Uh(t,n){return Object.is(t,n)}var Kn=null,Bh=!1,u0=1,BK=null,Dn=Symbol("SIGNAL");function Ge(t){let n=Kn;return Kn=t,n}function qh(){return Kn}var zs={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 $s(t){if(Bh)throw new Error("");if(Kn===null)return;Kn.consumerOnSignalRead(t);let n=Kn.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Kn.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Kn.producers,e!==void 0&&e.producer===t)){Kn.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Kn&&(!i||$K(r,Kn)))return;let o=ac(Kn),a={producer:t,consumer:Kn,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Kn.producersTail=a,n!==void 0?n.nextProducer=a:Kn.producers=a,o&&VA(t,a)}function LA(){u0++}function Gh(t){if(!(ac(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===u0)){if(!t.producerMustRecompute(t)&&!Us(t)){Hh(t);return}t.producerRecomputeValue(t),Hh(t)}}function m0(t){if(t.consumers===void 0)return;let n=Bh;Bh=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||zK(i)}}finally{Bh=n}}function f0(){return Kn?.consumerAllowSignalWrites!==!1}function zK(t){t.dirty=!0,m0(t),t.consumerMarkedDirty?.(t)}function Hh(t){t.dirty=!1,t.lastCleanEpoch=u0}function ja(t){return t&&(t.producersTail=void 0,t.recomputing=!0),Ge(t)}function Hs(t,n){if(Ge(n),!t)return;t.recomputing=!1;let e=t.producersTail,i=e!==void 0?e.nextProducer:t.producers;if(i!==void 0){if(ac(t))do i=h0(i);while(i!==void 0);e!==void 0?e.nextProducer=void 0:t.producers=void 0}}function Us(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(Gh(e),i!==e.version))return!0}return!1}function Ba(t){if(ac(t)){let n=t.producers;for(;n!==void 0;)n=h0(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function VA(t,n){let e=t.consumersTail,i=ac(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)VA(r.producer,r)}function h0(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,!ac(n)){let o=n.producers;for(;o!==void 0;)o=h0(o)}return e}function ac(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Wh(t){BK?.(t)}function $K(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 Au(t,n){let e=Object.create(HK);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(Gh(e),$s(e),e.value===Mu)throw e.error;return e.value};return i[Dn]=e,Wh(e),i}var zh=Symbol("UNSET"),$h=Symbol("COMPUTING"),Mu=Symbol("ERRORED"),HK=de(M({},zs),{value:zh,dirty:!0,error:null,equal:Uh,kind:"computed",producerMustRecompute(t){return t.value===zh||t.value===$h},producerRecomputeValue(t){if(t.value===$h)throw new Error("");let n=t.value;t.value=$h;let e=ja(t),i,r=!1;try{i=t.computation(),Ge(null),r=n!==zh&&n!==Mu&&i!==Mu&&t.equal(n,i)}catch(o){i=Mu,t.error=o}finally{Hs(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function UK(){throw new Error}var jA=UK;function BA(t){jA(t)}function p0(t){jA=t}var qK=null;function g0(t,n){let e=Object.create(Ru);e.value=t,n!==void 0&&(e.equal=n);let i=()=>zA(e);return i[Dn]=e,Wh(e),[i,a=>sc(e,a),a=>_0(e,a)]}function zA(t){return $s(t),t.value}function sc(t,n){f0()||BA(t),t.equal(t.value,n)||(t.value=n,GK(t))}function _0(t,n){f0()||BA(t),sc(t,n(t.value))}var Ru=de(M({},zs),{equal:Uh,value:void 0,kind:"signal"});function GK(t){t.version++,LA(),m0(t),qK?.(t)}function Ue(t){return typeof t=="function"}function Yh(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 Kh=Yh(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 qs(t,n){if(t){let e=t.indexOf(n);0<=e&&t.splice(e,1)}}var be=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(Ue(i))try{i()}catch(o){n=o instanceof Kh?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{$A(o)}catch(a){n=n??[],a instanceof Kh?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Kh(n)}}add(n){var e;if(n&&n!==this)if(this.closed)$A(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)&&qs(e,n)}remove(n){let{_finalizers:e}=this;e&&qs(e,n),n instanceof t&&n._removeParent(this)}};be.EMPTY=(()=>{let t=new be;return t.closed=!0,t})();var y0=be.EMPTY;function Qh(t){return t instanceof be||t&&"closed"in t&&Ue(t.remove)&&Ue(t.add)&&Ue(t.unsubscribe)}function $A(t){Ue(t)?t():t.unsubscribe()}var Nr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var lc={setTimeout(t,n,...e){let{delegate:i}=lc;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=lc;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function Zh(t){lc.setTimeout(()=>{let{onUnhandledError:n}=Nr;if(n)n(t);else throw t})}function Gs(){}var HA=b0("C",void 0,void 0);function UA(t){return b0("E",void 0,t)}function qA(t){return b0("N",t,void 0)}function b0(t,n,e){return{kind:t,value:n,error:e}}var Ws=null;function cc(t){if(Nr.useDeprecatedSynchronousErrorHandling){let n=!Ws;if(n&&(Ws={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Ws;if(Ws=null,e)throw i}}else t()}function GA(t){Nr.useDeprecatedSynchronousErrorHandling&&Ws&&(Ws.errorThrown=!0,Ws.error=t)}var Ys=class extends be{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,Qh(n)&&n.add(this)):this.destination=KK}static create(n,e,i){return new Qo(n,e,i)}next(n){this.isStopped?C0(qA(n),this):this._next(n)}error(n){this.isStopped?C0(UA(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?C0(HA,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()}}},WK=Function.prototype.bind;function v0(t,n){return WK.call(t,n)}var w0=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){Xh(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){Xh(i)}else Xh(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){Xh(e)}}},Qo=class extends Ys{constructor(n,e,i){super();let r;if(Ue(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Nr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&v0(n.next,o),error:n.error&&v0(n.error,o),complete:n.complete&&v0(n.complete,o)}):r=n}this.destination=new w0(r)}};function Xh(t){Nr.useDeprecatedSynchronousErrorHandling?GA(t):Zh(t)}function YK(t){throw t}function C0(t,n){let{onStoppedNotification:e}=Nr;e&&lc.setTimeout(()=>e(t,n))}var KK={closed:!0,next:Gs,error:YK,complete:Gs};var dc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Lr(t){return t}function WA(t){return t.length===0?Lr:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Le=(()=>{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=ZK(e)?e:new Qo(e,i,r);return cc(()=>{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=YA(i),new i((r,o)=>{let a=new Qo({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)}[dc](){return this}pipe(...e){return WA(e)(this)}toPromise(e){return e=YA(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 YA(t){var n;return(n=t??Nr.Promise)!==null&&n!==void 0?n:Promise}function QK(t){return t&&Ue(t.next)&&Ue(t.error)&&Ue(t.complete)}function ZK(t){return t&&t instanceof Ys||QK(t)&&Qh(t)}function D0(t){return Ue(t?.lift)}function mt(t){return n=>{if(D0(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 lt(t,n,e,i,r){return new E0(t,n,e,i,r)}var E0=class extends Ys{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 KA(){return mt((t,n)=>{let e=null;t._refCount++;let i=lt(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 Pu=class extends Le{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,D0(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 be;let e=this.getSubject();n.add(this.source.subscribe(lt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=be.EMPTY)}return n}refCount(){return KA()(this)}};var uc={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=uc;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);let r=n(o=>{e=void 0,t(o)});return new be(()=>e?.(r))},requestAnimationFrame(...t){let{delegate:n}=uc;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=uc;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var QA=Yh(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var L=(()=>{class t extends Le{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new Jh(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new QA}next(e){cc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){cc(()=>{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(){cc(()=>{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?y0:(this.currentObservers=null,o.push(e),new be(()=>{this.currentObservers=null,qs(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Le;return e.source=this,e}}return t.create=(n,e)=>new Jh(n,e),t})(),Jh=class extends L{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:y0}};var xi=class extends L{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 Fu={now(){return(Fu.delegate||Date).now()},delegate:void 0};var Ks=class extends L{constructor(n=1/0,e=1/0,i=Fu){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 ep=class extends be{constructor(n,e){super()}schedule(n,e=0){return this}};var Ou={setInterval(t,n,...e){let{delegate:i}=Ou;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Ou;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var mc=class extends ep{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 Ou.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&&Ou.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,qs(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var fc=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)}};fc.now=Fu.now;var hc=class extends fc{constructor(n,e=fc.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 Zo=new hc(mc),ZA=Zo;var tp=class extends mc{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=uc.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&&(uc.cancelAnimationFrame(e),n._scheduled=void 0)}};var np=class extends hc{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 ip=new np(tp);var Vr=new Le(t=>t.complete());function rp(t){return t&&Ue(t.schedule)}function S0(t){return t[t.length-1]}function op(t){return Ue(S0(t))?t.pop():void 0}function po(t){return rp(S0(t))?t.pop():void 0}function XA(t,n){return typeof S0(t)=="number"?t.pop():n}function eR(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(m){a(m)}}function l(d){try{c(i.throw(d))}catch(m){a(m)}}function c(d){d.done?o(d.value):r(d.value).then(s,l)}c((i=i.apply(t,n||[])).next())})}function JA(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 Qs(t){return this instanceof Qs?(this.v=t,this):new Qs(t)}function tR(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(h){return function(p){return Promise.resolve(p).then(h,m)}}function s(h,p){i[h]&&(r[h]=function(b){return new Promise(function(D,E){o.push([h,b,D,E])>1||l(h,b)})},p&&(r[h]=p(r[h])))}function l(h,p){try{c(i[h](p))}catch(b){f(o[0][3],b)}}function c(h){h.value instanceof Qs?Promise.resolve(h.value.v).then(d,m):f(o[0][2],h)}function d(h){l("next",h)}function m(h){l("throw",h)}function f(h,p){h(p),o.shift(),o.length&&l(o[0][0],o[0][1])}}function nR(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 JA=="function"?JA(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 pc=t=>t&&typeof t.length=="number"&&typeof t!="function";function ap(t){return Ue(t?.then)}function sp(t){return Ue(t[dc])}function lp(t){return Symbol.asyncIterator&&Ue(t?.[Symbol.asyncIterator])}function cp(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 XK(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var dp=XK();function up(t){return Ue(t?.[dp])}function mp(t){return tR(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Qs(e.read());if(r)return yield Qs(void 0);yield yield Qs(i)}}finally{e.releaseLock()}})}function fp(t){return Ue(t?.getReader)}function Rt(t){if(t instanceof Le)return t;if(t!=null){if(sp(t))return JK(t);if(pc(t))return e7(t);if(ap(t))return t7(t);if(lp(t))return iR(t);if(up(t))return n7(t);if(fp(t))return i7(t)}throw cp(t)}function JK(t){return new Le(n=>{let e=t[dc]();if(Ue(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function e7(t){return new Le(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function t7(t){return new Le(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,Zh)})}function n7(t){return new Le(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function iR(t){return new Le(n=>{r7(t,n).catch(e=>n.error(e))})}function i7(t){return iR(mp(t))}function r7(t,n){var e,i,r,o;return eR(this,void 0,void 0,function*(){try{for(e=nR(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 Ti(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 hp(t,n=0){return mt((e,i)=>{e.subscribe(lt(i,r=>Ti(i,t,()=>i.next(r),n),()=>Ti(i,t,()=>i.complete(),n),r=>Ti(i,t,()=>i.error(r),n)))})}function pp(t,n=0){return mt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function rR(t,n){return Rt(t).pipe(pp(n),hp(n))}function oR(t,n){return Rt(t).pipe(pp(n),hp(n))}function aR(t,n){return new Le(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function sR(t,n){return new Le(e=>{let i;return Ti(e,n,()=>{i=t[dp](),Ti(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)}),()=>Ue(i?.return)&&i.return()})}function gp(t,n){if(!t)throw new Error("Iterable cannot be null");return new Le(e=>{Ti(e,n,()=>{let i=t[Symbol.asyncIterator]();Ti(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function lR(t,n){return gp(mp(t),n)}function cR(t,n){if(t!=null){if(sp(t))return rR(t,n);if(pc(t))return aR(t,n);if(ap(t))return oR(t,n);if(lp(t))return gp(t,n);if(up(t))return sR(t,n);if(fp(t))return lR(t,n)}throw cp(t)}function dr(t,n){return n?cR(t,n):Rt(t)}function en(...t){let n=po(t);return dr(t,n)}function x0(t,n){let e=Ue(t)?t:()=>t,i=r=>r.error(e());return new Le(n?r=>n.schedule(i,0,r):i)}function _p(t){return!!t&&(t instanceof Le||Ue(t.lift)&&Ue(t.subscribe))}function dR(t){return t instanceof Date&&!isNaN(t)}function et(t,n){return mt((e,i)=>{let r=0;e.subscribe(lt(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:o7}=Array;function a7(t,n){return o7(n)?t(...n):t(n)}function gc(t){return et(n=>a7(t,n))}var{isArray:s7}=Array,{getPrototypeOf:l7,prototype:c7,keys:d7}=Object;function yp(t){if(t.length===1){let n=t[0];if(s7(n))return{args:n,keys:null};if(u7(n)){let e=d7(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function u7(t){return t&&typeof t=="object"&&l7(t)===c7}function bp(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function T0(...t){let n=po(t),e=op(t),{args:i,keys:r}=yp(t);if(i.length===0)return dr([],n);let o=new Le(m7(i,n,r?a=>bp(r,a):Lr));return e?o.pipe(gc(e)):o}function m7(t,n,e=Lr){return i=>{uR(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)uR(n,()=>{let c=dr(t[l],n),d=!1;c.subscribe(lt(i,m=>{o[l]=m,d||(d=!0,s--),s||i.next(e(o.slice()))},()=>{--a||i.complete()}))},i)},i)}}function uR(t,n,e){t?Ti(e,t,n):n()}function mR(t,n,e,i,r,o,a,s){let l=[],c=0,d=0,m=!1,f=()=>{m&&!l.length&&!c&&n.complete()},h=b=>c<i?p(b):l.push(b),p=b=>{o&&n.next(b),c++;let D=!1;Rt(e(b,d++)).subscribe(lt(n,E=>{r?.(E),o?h(E):n.next(E)},()=>{D=!0},void 0,()=>{if(D)try{for(c--;l.length&&c<i;){let E=l.shift();a?Ti(n,a,()=>p(E)):p(E)}f()}catch(E){n.error(E)}}))};return t.subscribe(lt(n,h,()=>{m=!0,f()})),()=>{s?.()}}function go(t,n,e=1/0){return Ue(n)?go((i,r)=>et((o,a)=>n(i,o,r,a))(Rt(t(i,r))),e):(typeof n=="number"&&(e=n),mt((i,r)=>mR(i,r,t,e)))}function vp(t=1/0){return go(Lr,t)}function fR(){return vp(1)}function za(...t){return fR()(dr(t,po(t)))}function Nu(t){return new Le(n=>{Rt(t()).subscribe(n)})}function Lu(...t){let n=op(t),{args:e,keys:i}=yp(t),r=new Le(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 m=!1;Rt(e[d]).subscribe(lt(o,f=>{m||(m=!0,c--),s[d]=f},()=>l--,void 0,()=>{(!l||!m)&&(c||o.next(i?bp(i,s):s),o.complete())}))}});return n?r.pipe(gc(n)):r}var f7=["addListener","removeListener"],h7=["addEventListener","removeEventListener"],p7=["on","off"];function Vu(t,n,e,i){if(Ue(e)&&(i=e,e=void 0),i)return Vu(t,n,e).pipe(gc(i));let[r,o]=y7(t)?h7.map(a=>s=>t[a](n,s,e)):g7(t)?f7.map(hR(t,n)):_7(t)?p7.map(hR(t,n)):[];if(!r&&pc(t))return go(a=>Vu(a,n,e))(Rt(t));if(!r)throw new TypeError("Invalid event target");return new Le(a=>{let s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function hR(t,n){return e=>i=>t[e](n,i)}function g7(t){return Ue(t.addListener)&&Ue(t.removeListener)}function _7(t){return Ue(t.on)&&Ue(t.off)}function y7(t){return Ue(t.addEventListener)&&Ue(t.removeEventListener)}function Xo(t=0,n,e=ZA){let i=-1;return n!=null&&(rp(n)?e=n:i=n),new Le(r=>{let o=dR(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 I0(t=0,n=Zo){return t<0&&(t=0),Xo(t,t,n)}function Pt(...t){let n=po(t),e=XA(t,1/0),i=t;return i.length?i.length===1?Rt(i[0]):vp(e)(dr(i,n)):Vr}function _t(t,n){return mt((e,i)=>{let r=0;e.subscribe(lt(i,o=>t.call(n,o,r++)&&i.next(o)))})}function pR(t){return mt((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(lt(e,c=>{i=!0,r=c,o||Rt(t(c)).subscribe(o=lt(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function Cp(t,n=Zo){return pR(()=>Xo(t,n))}function wp(t){return mt((n,e)=>{let i=null,r=!1,o;i=n.subscribe(lt(e,void 0,void 0,a=>{o=Rt(t(a,wp(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function k0(t,n){return Ue(n)?go(t,n,1):go(t,1)}function jr(t,n=Zo){return mt((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(lt(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 wn(t){return t<=0?()=>Vr:mt((n,e)=>{let i=0;n.subscribe(lt(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function gR(){return mt((t,n)=>{t.subscribe(lt(n,Gs))})}function _c(t){return et(()=>t)}function M0(t,n){return n?e=>za(n.pipe(wn(1),gR()),e.pipe(M0(t))):go((e,i)=>Rt(t(e,i)).pipe(wn(1),_c(e)))}function A0(t,n=Zo){let e=Xo(t,n);return M0(()=>e)}function Dp(t,n=Lr){return t=t??b7,mt((e,i)=>{let r,o=!0;e.subscribe(lt(i,a=>{let s=n(a);(o||!t(r,s))&&(o=!1,r=s,i.next(a))}))})}function b7(t,n){return t===n}function Ep(t){return mt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function Sp(){return mt((t,n)=>{let e,i=!1;t.subscribe(lt(n,r=>{let o=e;e=r,i&&n.next([o,r]),i=!0}))})}function ju(t={}){let{connector:n=()=>new L,resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:r=!0}=t;return o=>{let a,s,l,c=0,d=!1,m=!1,f=()=>{s?.unsubscribe(),s=void 0},h=()=>{f(),a=l=void 0,d=m=!1},p=()=>{let b=a;h(),b?.unsubscribe()};return mt((b,D)=>{c++,!m&&!d&&f();let E=l=l??n();D.add(()=>{c--,c===0&&!m&&!d&&(s=R0(p,r))}),E.subscribe(D),!a&&c>0&&(a=new Qo({next:P=>E.next(P),error:P=>{m=!0,f(),s=R0(h,e,P),E.error(P)},complete:()=>{d=!0,f(),s=R0(h,i),E.complete()}}),Rt(b).subscribe(a))})(o)}}function R0(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Qo({next:()=>{i.unsubscribe(),t()}});return Rt(n(...e)).subscribe(i)}function xp(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,ju({connector:()=>new Ks(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Zs(t){return _t((n,e)=>t<=e)}function Ot(...t){let n=po(t);return mt((e,i)=>{(n?za(t,e,n):za(t,e)).subscribe(i)})}function Qn(t,n){return mt((e,i)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&i.complete();e.subscribe(lt(i,l=>{r?.unsubscribe();let c=0,d=o++;Rt(t(l,d)).subscribe(r=lt(i,m=>i.next(n?n(l,m,d,c++):m),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function We(t){return mt((n,e)=>{Rt(t).subscribe(lt(e,()=>e.complete(),Gs)),!e.closed&&n.subscribe(e)})}function P0(t,n=!1){return mt((e,i)=>{let r=0;e.subscribe(lt(i,o=>{let a=t(o,r++);(a||n)&&i.next(o),!a&&i.complete()}))})}function Br(t,n,e){let i=Ue(t)||n||e?{next:t,error:n,complete:e}:t;return i?mt((r,o)=>{var a;(a=i.subscribe)===null||a===void 0||a.call(i);let s=!0;r.subscribe(lt(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)}))}):Lr}function _R(t){let n=Ge(null);try{return t()}finally{Ge(n)}}var yR=de(M({},zs),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,kind:"effect"});function bR(t){if(t.dirty=!1,t.hasRun&&!Us(t))return;t.hasRun=!0;let n=ja(t);try{t.cleanup(),t.fn()}finally{Hs(t,n)}}var Ap="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",X=class extends Error{code;constructor(n,e){super(ea(n,e)),this.code=n}};function v7(t){return`NG0${Math.abs(t)}`}function ea(t,n){return`${v7(t)}${n?": "+n:""}`}var bc=globalThis;function qt(t){for(let n in t)if(t[n]===qt)return n;throw Error("")}function wR(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function $a(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map($a).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 Rp(t,n){return t?n?`${t} ${n}`:t:n||""}var C7=qt({__forward_ref__:qt});function cn(t){return t.__forward_ref__=cn,t.toString=function(){return $a(this())},t}function Bn(t){return q0(t)?t():t}function q0(t){return typeof t=="function"&&t.hasOwnProperty(C7)&&t.__forward_ref__===cn}function DR(t,n,e){t!=n&&Pp(e,t,n,"==")}function ER(t,n){t==null&&Pp(n,t,null,"!=")}function Pp(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(i==null?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}function z(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function ye(t){return{providers:t.providers||[],imports:t.imports||[]}}function Fp(t){return w7(t,Op)}function w7(t,n){return t.hasOwnProperty(n)&&t[n]||null}function D7(t){let n=t?.[Op]??null;return n||null}function O0(t){return t&&t.hasOwnProperty(Ip)?t[Ip]:null}var Op=qt({\u0275prov:qt}),Ip=qt({\u0275inj:qt}),A=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=z({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function G0(t){return t&&!!t.\u0275providers}var W0=qt({\u0275cmp:qt}),Y0=qt({\u0275dir:qt}),K0=qt({\u0275pipe:qt});var $u=qt({\u0275fac:qt}),nl=qt({__NG_ELEMENT_ID__:qt}),vR=qt({__NG_ENV_ID__:qt});function il(t){return typeof t=="string"?t:t==null?"":String(t)}function kp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():il(t)}var Q0=qt({ngErrorCode:qt}),SR=qt({ngErrorMessage:qt}),zu=qt({ngTokenPath:qt});function Z0(t,n){return xR("",-200,n)}function Np(t,n){throw new X(-201,!1)}function E7(t,n){t[zu]??=[];let e=t[zu],i;typeof n=="object"&&"multi"in n&&n?.multi===!0?(ER(n.provide,"Token with multi: true should have a provide property"),i=kp(n.provide)):i=kp(n),e[0]!==i&&t[zu].unshift(i)}function S7(t,n){let e=t[zu],i=t[Q0],r=t[SR]||t.message;return t.message=T7(r,i,e,n),t}function xR(t,n,e){let i=new X(n,t);return i[Q0]=n,i[SR]=t,e&&(i[zu]=e),i}function x7(t){return t[Q0]}function T7(t,n,e=[],i=null){let r="";e&&e.length>1&&(r=` Path: ${e.join(" -> ")}.`);let o=i?` Source: ${i}.`:"";return ea(n,`${t}${o}${r}`)}var N0;function TR(){return N0}function fi(t){let n=N0;return N0=t,n}function X0(t,n,e){let i=Fp(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;Np(t,"Injector")}var I7={},Xs=I7,L0="__NG_DI_FLAG__",V0=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=Js(e)||0;try{return this.injector.get(n,i&8?null:Xs,i)}catch(r){if(oc(r))return r;throw r}}};function k7(t,n=0){let e=jh();if(e===void 0)throw new X(-203,!1);if(e===null)return X0(t,void 0,n);{let i=M7(n),r=e.retrieve(t,i);if(oc(r)){if(i.optional)return null;throw r}return r}}function ze(t,n=0){return(TR()||k7)(Bn(t),n)}function u(t,n){return ze(t,Js(n))}function Js(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function M7(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function j0(t){let n=[];for(let e=0;e<t.length;e++){let i=Bn(t[e]);if(Array.isArray(i)){if(i.length===0)throw new X(900,!1);let r,o=0;for(let a=0;a<i.length;a++){let s=i[a],l=A7(s);typeof l=="number"?l===-1?r=s.token:o|=l:r=s}n.push(ze(r,o))}else n.push(ze(i))}return n}function J0(t,n){return t[L0]=n,t.prototype[L0]=n,t}function A7(t){return t[L0]}function Ha(t,n){let e=t.hasOwnProperty($u);return e?t[$u]:null}function IR(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 kR(t){return t.flat(Number.POSITIVE_INFINITY)}function Lp(t,n){t.forEach(e=>Array.isArray(e)?Lp(e,n):n(e))}function eC(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function qu(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function MR(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function AR(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 Vp(t,n,e){let i=vc(t,n);return i>=0?t[i|1]=e:(i=~i,AR(t,i,n,e)),i}function jp(t,n){let e=vc(t,n);if(e>=0)return t[e|1]}function vc(t,n){return R7(t,n,1)}function R7(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 qa={},zn=[],ta=new A(""),tC=new A("",-1),nC=new A(""),Hu=class{get(n,e=Xs){if(e===Xs){let r=xR("",-201);throw r.name="\u0275NotFound",r}return e}};function Ga(t){return t[W0]||null}function iC(t){return t[Y0]||null}function RR(t){return t[K0]||null}function rl(t){return{\u0275providers:t}}function PR(t){return rl([{provide:ta,multi:!0,useValue:t}])}function FR(...t){return{\u0275providers:rC(!0,t),\u0275fromNgModule:!0}}function rC(t,...n){let e=[],i=new Set,r,o=a=>{e.push(a)};return Lp(n,a=>{let s=a;Mp(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&OR(r,o),e}function OR(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];oC(r,o=>{n(o,i)})}}function Mp(t,n,e,i){if(t=Bn(t),!t)return!1;let r=null,o=O0(t),a=!o&&Ga(t);if(!o&&!a){let l=t.ngModule;if(o=O0(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)Mp(c,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let c;try{Lp(o.imports,d=>{Mp(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&OR(c,n)}if(!s){let c=Ha(r)||(()=>new r);n({provide:r,useFactory:c,deps:zn},r),n({provide:nC,useValue:r,multi:!0},r),n({provide:ta,useValue:()=>ze(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let c=t;oC(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function oC(t,n){for(let e of t)G0(e)&&(e=e.\u0275providers),Array.isArray(e)?oC(e,n):n(e)}var P7=qt({provide:String,useValue:qt});function NR(t){return t!==null&&typeof t=="object"&&P7 in t}function F7(t){return!!(t&&t.useExisting)}function O7(t){return!!(t&&t.useFactory)}function el(t){return typeof t=="function"}function LR(t){return!!t.useClass}var Gu=new A(""),Tp={},CR={},F0;function Cc(){return F0===void 0&&(F0=new Hu),F0}var gn=class{},tl=class extends gn{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,z0(n,a=>this.processProvider(a)),this.records.set(tC,yc(void 0,this)),r.has("environment")&&this.records.set(gn,yc(void 0,this));let o=this.records.get(Gu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(nC,zn,{self:!0}))}retrieve(n,e){let i=Js(e)||0;try{return this.get(n,Xs,i)}catch(r){if(oc(r))return r;throw r}}destroy(){Bu(this),this._destroyed=!0;let n=Ge(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(),Ge(n)}}onDestroy(n){return Bu(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){Bu(this);let e=ho(this),i=fi(void 0),r;try{return n()}finally{ho(e),fi(i)}}get(n,e=Xs,i){if(Bu(this),n.hasOwnProperty(vR))return n[vR](this);let r=Js(i),o,a=ho(this),s=fi(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=B7(n)&&Fp(n);d&&this.injectableDefInScope(d)?c=yc(B0(n),Tp):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?Cc():this.parent;return e=r&8&&e===Xs?null:e,l.get(n,e)}catch(l){let c=x7(l);throw c===-200||c===-201?new X(c,null):l}finally{fi(s),ho(a)}}resolveInjectorInitializers(){let n=Ge(null),e=ho(this),i=fi(void 0),r;try{let o=this.get(ta,zn,{self:!0});for(let a of o)a()}finally{ho(e),fi(i),Ge(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push($a(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Bn(n);let e=el(n)?n:Bn(n&&n.provide),i=L7(n);if(!el(n)&&n.multi===!0){let r=this.records.get(e);r||(r=yc(void 0,Tp,!0),r.factory=()=>j0(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=Ge(null);try{if(e.value===CR)throw Z0($a(n));return e.value===Tp&&(e.value=CR,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&j7(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{Ge(r)}}injectableDefInScope(n){if(!n.providedIn)return!1;let e=Bn(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 B0(t){let n=Fp(t),e=n!==null?n.factory:Ha(t);if(e!==null)return e;if(t instanceof A)throw new X(204,!1);if(t instanceof Function)return N7(t);throw new X(204,!1)}function N7(t){if(t.length>0)throw new X(204,!1);let e=D7(t);return e!==null?()=>e.factory(t):()=>new t}function L7(t){if(NR(t))return yc(void 0,t.useValue);{let n=aC(t);return yc(n,Tp)}}function aC(t,n,e){let i;if(el(t)){let r=Bn(t);return Ha(r)||B0(r)}else if(NR(t))i=()=>Bn(t.useValue);else if(O7(t))i=()=>t.useFactory(...j0(t.deps||[]));else if(F7(t))i=(r,o)=>ze(Bn(t.useExisting),o!==void 0&&o&8?8:void 0);else{let r=Bn(t&&(t.useClass||t.provide));if(V7(t))i=()=>new r(...j0(t.deps));else return Ha(r)||B0(r)}return i}function Bu(t){if(t.destroyed)throw new X(205,!1)}function yc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function V7(t){return!!t.deps}function j7(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function B7(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function z0(t,n){for(let e of t)Array.isArray(e)?z0(e,n):e&&G0(e)?z0(e.\u0275providers,n):n(e)}function Wu(t,n){let e;t instanceof tl?(Bu(t),e=t):e=new V0(t);let i,r=ho(e),o=fi(void 0);try{return n()}finally{ho(r),fi(o)}}function VR(){return TR()!==void 0||jh()!=null}var zr=0,$e=1,qe=2,En=3,ur=4,Zn=5,ol=6,wc=7,_n=8,al=9,na=10,Nt=11,Dc=12,sC=13,sl=14,Xn=15,Wa=16,ll=17,_o=18,Yu=19,lC=20,Jo=21,Bp=22,ia=23,Ui=24,cl=25,Gt=26,jR=1,cC=6,Ya=7,Ku=8,dl=9,An=10;function yo(t){return Array.isArray(t)&&typeof t[jR]=="object"}function $r(t){return Array.isArray(t)&&t[jR]===!0}function dC(t){return(t.flags&4)!==0}function ra(t){return t.componentOffset>-1}function Ec(t){return(t.flags&1)===1}function bo(t){return!!t.template}function Sc(t){return(t[qe]&512)!==0}function ul(t){return(t[qe]&256)===256}var uC="svg",BR="math";function qi(t){for(;Array.isArray(t);)t=t[zr];return t}function mC(t,n){return qi(n[t])}function mr(t,n){return qi(n[t.index])}function Qu(t,n){return t.data[n]}function Zu(t,n){return t[n]}function fC(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}function fr(t,n){let e=n[t];return yo(e)?e:e[zr]}function zR(t){return(t[qe]&4)===4}function zp(t){return(t[qe]&128)===128}function $R(t){return $r(t[En])}function ki(t,n){return n==null?null:t[n]}function hC(t){t[ll]=0}function $p(t){t[qe]&1024||(t[qe]|=1024,zp(t)&&Ka(t))}function HR(t,n){for(;t>0;)n=n[sl],t--;return n}function xc(t){return!!(t[qe]&9216||t[Ui]?.dirty)}function Hp(t){t[na].changeDetectionScheduler?.notify(8),t[qe]&64&&(t[qe]|=1024),xc(t)&&Ka(t)}function Ka(t){t[na].changeDetectionScheduler?.notify(0);let n=Ua(t);for(;n!==null&&!(n[qe]&8192||(n[qe]|=8192,!zp(n)));)n=Ua(n)}function pC(t,n){if(ul(t))throw new X(911,!1);t[Jo]===null&&(t[Jo]=[]),t[Jo].push(n)}function UR(t,n){if(t[Jo]===null)return;let e=t[Jo].indexOf(n);e!==-1&&t[Jo].splice(e,1)}function Ua(t){let n=t[En];return $r(n)?n[En]:n}function gC(t){return t[wc]??=[]}function _C(t){return t.cleanup??=[]}function qR(t,n,e,i){let r=gC(n);r.push(e),t.firstCreatePass&&_C(t).push(i,r.length-1)}var tt={lFrame:n1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},Xu=(function(t){return t[t.Off=0]="Off",t[t.Exhaustive=1]="Exhaustive",t[t.OnlyDirtyViews=2]="OnlyDirtyViews",t})(Xu||{}),z7=0,$0=!1;function GR(){return tt.lFrame.elementDepthCount}function WR(){tt.lFrame.elementDepthCount++}function yC(){tt.lFrame.elementDepthCount--}function Up(){return tt.bindingsEnabled}function bC(){return tt.skipHydrationRootTNode!==null}function vC(t){return tt.skipHydrationRootTNode===t}function CC(){tt.skipHydrationRootTNode=null}function je(){return tt.lFrame.lView}function Yt(){return tt.lFrame.tView}function Y(t){return tt.lFrame.contextLView=t,t[_n]}function K(t){return tt.lFrame.contextLView=null,t}function Sn(){let t=wC();for(;t!==null&&t.type===64;)t=t.parent;return t}function wC(){return tt.lFrame.currentTNode}function Tc(){let t=tt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function oa(t,n){let e=tt.lFrame;e.currentTNode=t,e.isParent=n}function DC(){return tt.lFrame.isParent}function EC(){tt.lFrame.isParent=!1}function YR(){return tt.lFrame.contextLView}function SC(t){Pp("Must never be called in production mode"),z7=t}function xC(){return $0}function Ic(t){let n=$0;return $0=t,n}function kc(){let t=tt.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function KR(){return tt.lFrame.bindingIndex}function QR(t){return tt.lFrame.bindingIndex=t}function vo(){return tt.lFrame.bindingIndex++}function qp(t){let n=tt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function ZR(){return tt.lFrame.inI18n}function TC(t){tt.lFrame.inI18n=t}function XR(t,n){let e=tt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Gp(n)}function JR(){return tt.lFrame.currentDirectiveIndex}function Gp(t){tt.lFrame.currentDirectiveIndex=t}function e1(t){let n=tt.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Wp(){return tt.lFrame.currentQueryIndex}function Ju(t){tt.lFrame.currentQueryIndex=t}function $7(t){let n=t[$e];return n.type===2?n.declTNode:n.type===1?t[Zn]:null}function IC(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=$7(o),r===null||(o=o[sl],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=tt.lFrame=t1();return i.currentTNode=n,i.lView=t,!0}function Yp(t){let n=t1(),e=t[$e];tt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function t1(){let t=tt.lFrame,n=t===null?null:t.child;return n===null?n1(t):n}function n1(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 i1(){let t=tt.lFrame;return tt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var kC=i1;function Kp(){let t=i1();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 r1(t){return(tt.lFrame.contextLView=HR(t,tt.lFrame.contextLView))[_n]}function Co(){return tt.lFrame.selectedIndex}function Qa(t){tt.lFrame.selectedIndex=t}function Mc(){let t=tt.lFrame;return Qu(t.tView,t.selectedIndex)}function Jn(){tt.lFrame.currentNamespace=uC}function Za(){H7()}function H7(){tt.lFrame.currentNamespace=null}function o1(){return tt.lFrame.currentNamespace}var a1=!0;function em(){return a1}function Ac(t){a1=t}var U7={elements:void 0};function Qp(){return U7}function H0(t,n=null,e=null,i){let r=s1(t,n,e,i);return r.resolveInjectorInitializers(),r}function s1(t,n=null,e=null,i,r=new Set){let o=[e||zn,FR(t)];return i=i||(typeof t=="object"?void 0:$a(t)),new tl(o,n||Cc(),i||null,r)}var Re=class t{static THROW_IF_NOT_FOUND=Xs;static NULL=new Hu;static create(n,e){if(Array.isArray(n))return H0({name:""},e,n,"");{let i=n.name??"";return H0({name:i},n.parent,n.providers,i)}}static \u0275prov=z({token:t,providedIn:"any",factory:()=>ze(tC)});static __NG_ELEMENT_ID__=-1},ke=new A(""),hi=(()=>{class t{static __NG_ELEMENT_ID__=q7;static __NG_ENV_ID__=e=>e}return t})(),Uu=class extends hi{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ul(this._lView)}onDestroy(n){let e=this._lView;return pC(e,n),()=>UR(e,n)}};function q7(){return new Uu(je())}var Mn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},Hr=new A("",{providedIn:"root",factory:()=>{let t=u(gn),n;return e=>{t.destroyed&&!n?setTimeout(()=>{throw e}):(n??=t.get(Mn),n.handleError(e))}}}),l1={provide:ta,useValue:()=>void u(Mn),multi:!0},G7=new A("",{providedIn:"root",factory:()=>{let t=u(ke).defaultView;if(!t)return;let n=u(Hr),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(),u(hi).onDestroy(()=>{t.removeEventListener("error",i),t.removeEventListener("unhandledrejection",e)})}});function MC(){return rl([PR(()=>void u(G7))])}function wo(t){return typeof t=="function"&&t[Dn]!==void 0}function pe(t,n){let[e,i,r]=g0(t,n?.equal),o=e,a=o[Dn];return o.set=i,o.update=r,o.asReadonly=AC.bind(o),o}function AC(){let t=this[Dn];if(t.readonlyFn===void 0){let n=()=>this();n[Dn]=t,t.readonlyFn=n}return t.readonlyFn}function RC(t){return wo(t)&&typeof t.set=="function"}var Ii=class{},Rc=new A("",{providedIn:"root",factory:()=>!1});var PC=new A(""),Zp=new A("");var ml=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=W7}return t})();function W7(){return new ml(je(),Sn())}var fl=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new xi(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Le(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=z({token:t,providedIn:"root",factory:()=>new t})}return t})();function hl(...t){}var tm=(()=>{class t{static \u0275prov=z({token:t,providedIn:"root",factory:()=>new U0})}return t})(),U0=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 $c(t){return{toString:t}.toString()}var Xp="__parameters__";function tQ(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function V1(t,n,e){return $c(()=>{let i=tQ(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 m=l.hasOwnProperty(Xp)?l[Xp]:Object.defineProperty(l,Xp,{value:[]})[Xp];for(;m.length<=d;)m.push(null);return(m[d]=m[d]||[]).push(a),l}}return r.prototype.ngMetadataName=t,r.annotationCls=r,r})}var Hc=J0(V1("Optional"),8);var Cg=J0(V1("SkipSelf"),4);function nQ(t){return typeof t=="function"}var sg=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function j1(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var nt=(()=>{let t=()=>B1;return t.ngInherit=!0,t})();function B1(t){return t.type.prototype.ngOnChanges&&(t.setInput=rQ),iQ}function iQ(){let t=$1(this),n=t?.current;if(n){let e=t.previous;if(e===qa)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function rQ(t,n,e,i,r){let o=this.declaredInputs[i],a=$1(t)||oQ(t,{previous:qa,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new sg(c&&c.currentValue,e,l===qa),j1(t,n,r,e)}var z1="__ngSimpleChanges__";function $1(t){return t[z1]||null}function oQ(t,n){return t[z1]=n}var c1=[];var Bt=function(t,n=null,e){for(let i=0;i<c1.length;i++){let r=c1[i];r(t,n,e)}};function aQ(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=B1(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 H1(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 ng(t,n,e){U1(t,n,3,e)}function ig(t,n,e,i){(t[qe]&3)===e&&U1(t,n,e,i)}function FC(t,n){let e=t[qe];(e&3)===n&&(e&=16383,e+=1,t[qe]=e)}function U1(t,n,e,i){let r=i!==void 0?t[ll]&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[ll]+=65536),(s<o||o==-1)&&(sQ(t,e,n,l),t[ll]=(t[ll]&4294901760)+l+2),l++}function d1(t,n){Bt(4,t,n);let e=Ge(null);try{n.call(t)}finally{Ge(e),Bt(5,t,n)}}function sQ(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[qe]>>14<t[ll]>>16&&(t[qe]&3)===n&&(t[qe]+=16384,d1(s,o)):d1(s,o)}var Fc=-1,gl=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 lQ(t){return(t.flags&8)!==0}function cQ(t){return(t.flags&16)!==0}function dQ(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];uQ(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}return i}function q1(t){return t===3||t===4||t===6}function uQ(t){return t.charCodeAt(0)===64}function Oc(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?u1(t,e,r,null,n[++i]):u1(t,e,r,null,null))}}return t}function u1(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 G1(t){return t!==Fc}function lg(t){return t&32767}function mQ(t){return t>>16}function cg(t,n){let e=mQ(t),i=n;for(;e>0;)i=i[sl],e--;return i}var WC=!0;function dg(t){let n=WC;return WC=t,n}var fQ=256,W1=fQ-1,Y1=5,hQ=0,Do={};function pQ(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(nl)&&(i=e[nl]),i==null&&(i=e[nl]=hQ++);let r=i&W1,o=1<<r;n.data[t+(r>>Y1)]|=o}function ug(t,n){let e=K1(t,n);if(e!==-1)return e;let i=n[$e];i.firstCreatePass&&(t.injectorIndex=n.length,OC(i.data,t),OC(n,null),OC(i.blueprint,null));let r=jw(t,n),o=t.injectorIndex;if(G1(r)){let a=lg(r),s=cg(r,n),l=s[$e].data;for(let c=0;c<8;c++)n[o+c]=s[a+c]|l[a+c]}return n[o+8]=r,o}function OC(t,n){t.push(0,0,0,0,0,0,0,0,n)}function K1(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function jw(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=eP(r),i===null)return Fc;if(e++,r=r[sl],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Fc}function YC(t,n,e){pQ(t,n,e)}function gQ(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(q1(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 Q1(t,n,e){if(e&8||t!==void 0)return t;Np(n,"NodeInjector")}function Z1(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[al],o=fi(void 0);try{return r?r.get(n,i,e&8):X0(n,i,e&8)}finally{fi(o)}}return Q1(i,n,e)}function X1(t,n,e,i=0,r){if(t!==null){if(n[qe]&2048&&!(i&2)){let a=vQ(t,n,e,i,Do);if(a!==Do)return a}let o=J1(t,n,e,i,Do);if(o!==Do)return o}return Z1(n,e,i,r)}function J1(t,n,e,i,r){let o=yQ(e);if(typeof o=="function"){if(!IC(n,t,i))return i&1?Q1(r,e,i):Z1(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&8))Np(e);else return a}finally{kC()}}else if(typeof o=="number"){let a=null,s=K1(t,n),l=Fc,c=i&1?n[Xn][Zn]:null;for((s===-1||i&4)&&(l=s===-1?jw(t,n):n[s+8],l===Fc||!f1(i,!1)?s=-1:(a=n[$e],s=lg(l),n=cg(l,n)));s!==-1;){let d=n[$e];if(m1(o,s,d.data)){let m=_Q(s,n,e,a,i,c);if(m!==Do)return m}l=n[s+8],l!==Fc&&f1(i,n[$e].data[s+8]===c)&&m1(o,s,n)?(a=d,s=lg(l),n=cg(l,n)):s=-1}}return r}function _Q(t,n,e,i,r,o){let a=n[$e],s=a.data[t+8],l=i==null?ra(s)&&WC:i!=a&&(s.type&3)!==0,c=r&1&&o===s,d=rg(s,a,e,l,c);return d!==null?om(n,a,d,s,r):Do}function rg(t,n,e,i,r){let o=t.providerIndexes,a=n.data,s=o&1048575,l=t.directiveStart,c=t.directiveEnd,d=o>>20,m=i?s:s+d,f=r?s+d:c;for(let h=m;h<f;h++){let p=a[h];if(h<l&&e===p||h>=l&&p.type===e)return h}if(r){let h=a[l];if(h&&bo(h)&&h.type===e)return l}return null}function om(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof gl){let s=o;if(s.resolving){let h=kp(a[e]);throw Z0(h)}let l=dg(s.canSeeViewProviders);s.resolving=!0;let c=a[e].type||a[e],d,m=s.injectImpl?fi(s.injectImpl):null,f=IC(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&aQ(e,a[e],n)}finally{m!==null&&fi(m),dg(l),s.resolving=!1,kC()}}return o}function yQ(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(nl)?t[nl]:void 0;return typeof n=="number"?n>=0?n&W1:bQ:n}function m1(t,n,e){let i=1<<t;return!!(e[n+(t>>Y1)]&i)}function f1(t,n){return!(t&2)&&!(t&1&&n)}var pl=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return X1(this._tNode,this._lView,n,Js(i),e)}};function bQ(){return new pl(Sn(),je())}function Ye(t){return $c(()=>{let n=t.prototype.constructor,e=n[$u]||KC(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[$u]||KC(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function KC(t){return q0(t)?()=>{let n=KC(Bn(t));return n&&n()}:Ha(t)}function vQ(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[qe]&2048&&!Sc(a);){let s=J1(o,a,e,i|2,Do);if(s!==Do)return s;let l=o.parent;if(!l){let c=a[lC];if(c){let d=c.get(e,Do,i);if(d!==Do)return d}l=eP(a),a=a[sl]}o=l}return r}function eP(t){let n=t[$e],e=n.type;return e===2?n.declTNode:e===1?t[Zn]:null}function Bw(t){return gQ(Sn(),t)}function CQ(){return Uc(Sn(),je())}function Uc(t,n){return new W(mr(t,n))}var W=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=CQ}return t})();function tP(t){return t instanceof W?t.nativeElement:t}function wQ(){return this._results[Symbol.iterator]()}var Gi=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 L}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=kR(n);(this._changesDetected=!IR(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]=wQ};function nP(t){return(t.flags&128)===128}var zw=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(zw||{}),iP=new Map,DQ=0;function EQ(){return DQ++}function SQ(t){iP.set(t[Yu],t)}function QC(t){iP.delete(t[Yu])}var h1="__ngContext__";function Nc(t,n){yo(n)?(t[h1]=n[Yu],SQ(n)):t[h1]=n}function rP(t){return aP(t[Dc])}function oP(t){return aP(t[ur])}function aP(t){for(;t!==null&&!$r(t);)t=t[ur];return t}var ZC;function $w(t){ZC=t}function Hw(){if(ZC!==void 0)return ZC;if(typeof document<"u")return document;throw new X(210,!1)}var es=new A("",{providedIn:"root",factory:()=>xQ}),xQ="ng",wg=new A(""),ts=new A("",{providedIn:"platform",factory:()=>"unknown"});var ns=new A(""),qc=new A("",{providedIn:"root",factory:()=>Hw().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var TQ="h",IQ="b";var sP="r";var lP="di";var cP=!1,dP=new A("",{providedIn:"root",factory:()=>cP});var kQ=(t,n,e,i)=>{};function MQ(t,n,e,i){kQ(t,n,e,i)}function Dg(t){return(t.flags&32)===32}var AQ=()=>null;function uP(t,n,e=!1){return AQ(t,n,e)}function mP(t,n){let e=t.contentQueries;if(e!==null){let i=Ge(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];Ju(o),s.contentQueries(2,n[a],a)}}}finally{Ge(i)}}}function XC(t,n,e){Ju(0);let i=Ge(null);try{n(t,e)}finally{Ge(i)}}function Uw(t,n,e){if(dC(n)){let i=Ge(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{Ge(i)}}}var sa=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t})(sa||{}),Jp;function RQ(){if(Jp===void 0&&(Jp=null,bc.trustedTypes))try{Jp=bc.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Jp}function Eg(t){return RQ()?.createHTML(t)||t}var la=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ap})`}},JC=class extends la{getTypeName(){return"HTML"}},ew=class extends la{getTypeName(){return"Style"}},tw=class extends la{getTypeName(){return"Script"}},nw=class extends la{getTypeName(){return"URL"}},iw=class extends la{getTypeName(){return"ResourceURL"}};function ca(t){return t instanceof la?t.changingThisBreaksApplicationSecurity:t}function yl(t,n){let e=fP(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Ap})`)}return e===n}function fP(t){return t instanceof la&&t.getTypeName()||null}function qw(t){return new JC(t)}function Gw(t){return new ew(t)}function Ww(t){return new tw(t)}function Yw(t){return new nw(t)}function Kw(t){return new iw(t)}function hP(t){let n=new ow(t);return PQ()?new rw(n):n}var rw=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Eg(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},ow=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=Eg(n),e}};function PQ(){try{return!!new window.DOMParser().parseFromString(Eg(""),"text/html")}catch{return!1}}var FQ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function mm(t){return t=String(t),t.match(FQ)?t:"unsafe:"+t}function da(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function fm(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var pP=da("area,br,col,hr,img,wbr"),gP=da("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_P=da("rp,rt"),OQ=fm(_P,gP),NQ=fm(gP,da("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")),LQ=fm(_P,da("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")),aw=fm(pP,NQ,LQ,OQ),Qw=da("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),VQ=da("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"),jQ=da("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"),yP=fm(Qw,VQ,jQ),BQ=da("script,style,template"),sw=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=HQ(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=$Q(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=p1(n).toLowerCase();if(!aw.hasOwnProperty(e))return this.sanitizedSomething=!0,!BQ.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(!yP.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;Qw[s]&&(l=mm(l)),this.buf.push(" ",a,'="',g1(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=p1(n).toLowerCase();aw.hasOwnProperty(e)&&!pP.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(g1(n))}};function zQ(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function $Q(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw bP(n);return n}function HQ(t){let n=t.firstChild;if(n&&zQ(t,n))throw bP(n);return n}function p1(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function bP(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var UQ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qQ=/([^\#-~ |!])/g;function g1(t){return t.replace(/&/g,"&").replace(UQ,function(n){let e=n.charCodeAt(0),i=n.charCodeAt(1);return"&#"+((e-55296)*1024+(i-56320)+65536)+";"}).replace(qQ,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}var eg;function Zw(t,n){let e=null;try{eg=eg||hP(t);let i=n?String(n):"";e=eg.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=eg.getInertBodyElement(i)}while(i!==o);let s=new sw().sanitizeChildren(lw(e)||e);return Eg(s)}finally{if(e){let i=lw(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function lw(t){return"content"in t&&GQ(t)?t.content:null}function GQ(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var gi=(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})(gi||{});var WQ=/^>|^->|<!--|-->|--!>|<!-$/g,YQ=/(<|>)/g,KQ="\u200B$1\u200B";function QQ(t){return t.replace(WQ,n=>n.replace(YQ,KQ))}function ZQ(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 vP="ng-template";function XQ(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&ZQ(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(Xw(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 Xw(t){return t.type===4&&t.value!==vP}function JQ(t,n,e){let i=t.type===4&&!e?vP:t.value;return n===i}function eZ(t,n,e){let i=4,r=t.attrs,o=r!==null?iZ(r):0,a=!1;for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number"){if(!a&&!Ur(i)&&!Ur(l))return!1;if(a&&Ur(l))continue;a=!1,i=l|i&1;continue}if(!a)if(i&4){if(i=2|i&1,l!==""&&!JQ(t,l,e)||l===""&&n.length===1){if(Ur(i))return!1;a=!0}}else if(i&8){if(r===null||!XQ(t,r,l,e)){if(Ur(i))return!1;a=!0}}else{let c=n[++s],d=tZ(l,r,Xw(t),e);if(d===-1){if(Ur(i))return!1;a=!0;continue}if(c!==""){let m;if(d>o?m="":m=r[d+1].toLowerCase(),i&2&&c!==m){if(Ur(i))return!1;a=!0}}}}return Ur(i)||a}function Ur(t){return(t&1)===0}function tZ(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 rZ(n,t)}function CP(t,n,e=!1){for(let i=0;i<n.length;i++)if(eZ(t,n[i],e))return!0;return!1}function nZ(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function iZ(t){for(let n=0;n<t.length;n++){let e=t[n];if(q1(e))return n}return t.length}function rZ(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 oZ(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 _1(t,n){return t?":not("+n.trim()+")":n}function aZ(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!==""&&!Ur(a)&&(n+=_1(o,r),r=""),i=a,o=o||!Ur(i);e++}return r!==""&&(n+=_1(o,r)),n}function sZ(t){return t.map(aZ).join(",")}function lZ(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(!Ur(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var ei={};function wP(t,n){return t.createText(n)}function cZ(t,n,e){t.setValue(n,e)}function DP(t,n){return t.createComment(QQ(n))}function Jw(t,n,e){return t.createElement(n,e)}function Lc(t,n,e,i,r){t.insertBefore(n,e,i,r)}function EP(t,n,e){t.appendChild(n,e)}function y1(t,n,e,i,r){i!==null?Lc(t,n,e,i,r):EP(t,n,e)}function SP(t,n,e){t.removeChild(null,n,e)}function dZ(t,n,e){t.setAttribute(n,"style",e)}function uZ(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function xP(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&dQ(t,n,i),r!==null&&uZ(t,n,r),o!==null&&dZ(t,n,o)}function eD(t,n,e,i,r,o,a,s,l,c,d){let m=Gt+i,f=m+r,h=mZ(m,f),p=typeof c=="function"?c():c;return h[$e]={type:t,blueprint:h,template:e,queries:null,viewQuery:s,declTNode:n,data:h.slice().fill(null,m),bindingStartIndex:m,expandoStartIndex:f,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:typeof o=="function"?o():o,pipeRegistry:typeof a=="function"?a():a,firstChild:null,schemas:l,consts:p,incompleteFirstPass:!1,ssrId:d}}function mZ(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:ei);return e}function fZ(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=eD(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function tD(t,n,e,i,r,o,a,s,l,c,d){let m=n.blueprint.slice();return m[zr]=r,m[qe]=i|4|128|8|64|1024,(c!==null||t&&t[qe]&2048)&&(m[qe]|=2048),hC(m),m[En]=m[sl]=t,m[_n]=e,m[na]=a||t&&t[na],m[Nt]=s||t&&t[Nt],m[al]=l||t&&t[al]||null,m[Zn]=o,m[Yu]=EQ(),m[ol]=d,m[lC]=c,m[Xn]=n.type==2?t[Xn]:m,m}function hZ(t,n,e){let i=mr(n,t),r=fZ(e),o=t[na].rendererFactory,a=nD(t,tD(t,r,null,TP(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a}function TP(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function hm(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 nD(t,n){return t[Dc]?t[sC][ur]=n:t[Dc]=n,t[sC]=n,n}function C(t=1){IP(Yt(),je(),Co()+t,!1)}function IP(t,n,e,i){if(!i)if((n[qe]&3)===3){let o=t.preOrderCheckHooks;o!==null&&ng(n,o,e)}else{let o=t.preOrderHooks;o!==null&&ig(n,o,0,e)}Qa(e)}var Sg=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(Sg||{});function cw(t,n,e,i){let r=Ge(null);try{let[o,a,s]=t.inputs[e],l=null;(a&Sg.SignalBased)!==0&&(l=n[o][Dn]),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):j1(n,l,o,i)}finally{Ge(r)}}var Gr=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Gr||{}),dw;function iD(t,n){return dw(t,n)}function pZ(t){dw===void 0&&(dw=t())}function Pc(t,n,e,i,r){if(i!=null){let o,a=!1;$r(i)?o=i:yo(i)&&(a=!0,i=i[zr]);let s=qi(i);t===0&&e!==null?r==null?EP(n,e,s):Lc(n,e,s,r||null,!0):t===1&&e!==null?Lc(n,e,s,r||null,!0):t===2?SP(n,s,a):t===3&&n.destroyNode(s),o!=null&&wZ(n,t,o,e,r)}}function gZ(t,n){kP(t,n),n[zr]=null,n[Zn]=null}function _Z(t,n,e,i,r,o){i[zr]=r,i[Zn]=n,Tg(t,i,e,1,r,o)}function kP(t,n){n[na].changeDetectionScheduler?.notify(9),Tg(t,n,n[Nt],2,null,null)}function yZ(t){let n=t[Dc];if(!n)return NC(t[$e],t);for(;n;){let e=null;if(yo(n))e=n[Dc];else{let i=n[An];i&&(e=i)}if(!e){for(;n&&!n[ur]&&n!==t;)yo(n)&&NC(n[$e],n),n=n[En];n===null&&(n=t),yo(n)&&NC(n[$e],n),e=n&&n[ur]}n=e}}function rD(t,n){let e=t[dl],i=e.indexOf(n);e.splice(i,1)}function xg(t,n){if(ul(n))return;let e=n[Nt];e.destroyNode&&Tg(t,n,e,3,null,null),yZ(n)}function NC(t,n){if(ul(n))return;let e=Ge(null);try{n[qe]&=-129,n[qe]|=256,n[Ui]&&Ba(n[Ui]),vZ(t,n),bZ(t,n),n[$e].type===1&&n[Nt].destroy();let i=n[Wa];if(i!==null&&$r(n[En])){i!==n[En]&&rD(i,n);let r=n[_o];r!==null&&r.detachView(t)}QC(n)}finally{Ge(e)}}function bZ(t,n){let e=t.cleanup,i=n[wc];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[wc]=null);let r=n[Jo];if(r!==null){n[Jo]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=n[ia];if(o!==null){n[ia]=null;for(let a of o)a.destroy()}}function vZ(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 gl)){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];Bt(4,s,l);try{l.call(s)}finally{Bt(5,s,l)}}else{Bt(4,r,o);try{o.call(r)}finally{Bt(5,r,o)}}}}}function MP(t,n,e){return AP(t,n.parent,e)}function AP(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[zr];if(ra(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===sa.None||r===sa.Emulated)return null}return mr(i,e)}function RP(t,n,e){return FP(t,n,e)}function PP(t,n,e){return t.type&40?mr(t,e):null}var FP=PP,uw;function OP(t,n){FP=t,uw=n}function oD(t,n,e,i){let r=MP(t,i,n),o=n[Nt],a=i.parent||n[Zn],s=RP(a,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)y1(o,r,e[l],s,!1);else y1(o,r,e,s,!1);uw!==void 0&&uw(o,i,n,e,r)}function nm(t,n){if(n!==null){let e=n.type;if(e&3)return mr(n,t);if(e&4)return mw(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return nm(t,i);{let r=t[n.index];return $r(r)?mw(-1,r):qi(r)}}else{if(e&128)return nm(t,n.next);if(e&32)return iD(n,t)()||qi(t[n.index]);{let i=NP(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Ua(t[Xn]);return nm(r,i)}else return nm(t,n.next)}}}return null}function NP(t,n){if(n!==null){let i=t[Xn][Zn],r=n.projection;return i.projection[r]}return null}function mw(t,n){let e=An+t+1;if(e<n.length){let i=n[e],r=i[$e].firstChild;if(r!==null)return nm(i,r)}return n[Ya]}function aD(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&&Nc(qi(s),i),e.flags|=2),!Dg(e))if(l&8)aD(t,n,e.child,i,r,o,!1),Pc(n,t,r,s,o);else if(l&32){let c=iD(e,i),d;for(;d=c();)Pc(n,t,r,d,o);Pc(n,t,r,s,o)}else l&16?LP(t,n,i,e,r,o):Pc(n,t,r,s,o);e=a?e.projectionNext:e.next}}function Tg(t,n,e,i,r,o){aD(e,i,t.firstChild,n,r,o,!1)}function CZ(t,n,e){let i=n[Nt],r=MP(t,e,n),o=e.parent||n[Zn],a=RP(o,e,n);LP(i,0,n,e,r,a)}function LP(t,n,e,i,r,o){let a=e[Xn],l=a[Zn].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Pc(n,t,r,d,o)}else{let c=l,d=a[En];nP(i)&&(c.flags|=128),aD(t,n,c,d,r,o,!0)}}function wZ(t,n,e,i,r){let o=e[Ya],a=qi(e);o!==a&&Pc(n,t,i,o,r);for(let s=An;s<e.length;s++){let l=e[s];Tg(l[$e],l,t,n,i,o)}}function DZ(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:Gr.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Gr.Important),t.setStyle(e,i,r,o))}}function VP(t,n,e,i,r){let o=Co(),a=i&2;try{Qa(-1),a&&n.length>Gt&&IP(t,n,Gt,!1),Bt(a?2:0,r,e),e(i,r)}finally{Qa(o),Bt(a?3:1,r,e)}}function Ig(t,n,e){IZ(t,n,e),(e.flags&64)===64&&kZ(t,n,e)}function pm(t,n,e=mr){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 EZ(t,n,e,i){let o=i.get(dP,cP)||e===sa.ShadowDom,a=t.selectRootElement(n,o);return SZ(a),a}function SZ(t){xZ(t)}var xZ=()=>null;function TZ(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function jP(t,n,e,i,r,o){let a=n[$e];if(kg(t,a,n,e,i)){ra(t)&&zP(n,t.index);return}t.type&3&&(e=TZ(e)),BP(t,n,e,i,r,o)}function BP(t,n,e,i,r,o){if(t.type&3){let a=mr(t,n);i=o!=null?o(i,t.value||"",e):i,r.setProperty(a,e,i)}else t.type&12}function zP(t,n){let e=fr(n,t);e[qe]&16||(e[qe]|=64)}function IZ(t,n,e){let i=e.directiveStart,r=e.directiveEnd;ra(e)&&hZ(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||ug(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],l=om(n,t,a,e);if(Nc(l,n),o!==null&&RZ(n,a-i,l,s,e,o),bo(s)){let c=fr(e.index,n);c[_n]=om(n,t,a,e)}}}function kZ(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=JR();try{Qa(o);for(let s=i;s<r;s++){let l=t.data[s],c=n[s];Gp(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&MZ(l,c)}}finally{Qa(-1),Gp(a)}}function MZ(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function sD(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];CP(n,o.selectors,!1)&&(i??=[],bo(o)?i.unshift(o):i.push(o))}return i}function AZ(t,n,e,i,r,o){let a=mr(t,n);$P(n[Nt],a,o,t.value,e,i,r)}function $P(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?il(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}function RZ(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];cw(i,e,l,c)}}function lD(t,n,e,i,r){let o=Gt+e,a=n[$e],s=r(a,n,t,i,e);n[o]=s,oa(t,!0);let l=t.type===2;return l?(xP(n[Nt],s,t),(GR()===0||Ec(t))&&Nc(s,n),WR()):Nc(s,n),em()&&(!l||!Dg(t))&&oD(a,n,s,t),t}function cD(t){let n=t;return DC()?EC():(n=n.parent,oa(n,!1)),n}function PZ(t,n){let e=t[al];if(!e)return;let i;try{i=e.get(Hr,null)}catch{i=null}i?.(n)}function kg(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],m=n.data[c];cw(m,e[c],d,r),s=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];cw(d,c,i,r),s=!0}return s}function FZ(t,n){let e=fr(n,t),i=e[$e];OZ(i,e);let r=e[zr];r!==null&&e[ol]===null&&(e[ol]=uP(r,e[al])),Bt(18),dD(i,e,e[_n]),Bt(19,e[_n])}function OZ(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function dD(t,n,e){Yp(n);try{let i=t.viewQuery;i!==null&&XC(1,i,e);let r=t.template;r!==null&&VP(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[_o]?.finishViewCreation(t),t.staticContentQueries&&mP(t,n),t.staticViewQueries&&XC(2,t.viewQuery,e);let o=t.components;o!==null&&NZ(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[qe]&=-5,Kp()}}function NZ(t,n){for(let e=0;e<n.length;e++)FZ(t,n[e])}function gm(t,n,e,i){let r=Ge(null);try{let o=n.tView,s=t[qe]&4096?4096:16,l=tD(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Wa]=c;let d=t[_o];return d!==null&&(l[_o]=d.createEmbeddedView(o)),dD(o,l,e),l}finally{Ge(r)}}function Vc(t,n){return!n||n.firstChild===null||nP(t)}var b1=!1,LZ=new A("");function am(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(qi(o)),$r(o)&&HP(o,i);let a=e.type;if(a&8)am(t,n,e.child,i);else if(a&32){let s=iD(e,n),l;for(;l=s();)i.push(l)}else if(a&16){let s=NP(n,e);if(Array.isArray(s))i.push(...s);else{let l=Ua(n[Xn]);am(l[$e],l,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function HP(t,n){for(let e=An;e<t.length;e++){let i=t[e],r=i[$e].firstChild;r!==null&&am(i[$e],i,r,n)}t[Ya]!==t[zr]&&n.push(t[Ya])}function UP(t){if(t[cl]!==null){for(let n of t[cl])n.impl.addSequence(n);t[cl].length=0}}var qP=[];function VZ(t){return t[Ui]??jZ(t)}function jZ(t){let n=qP.pop()??Object.create(zZ);return n.lView=t,n}function BZ(t){t.lView[Ui]!==t&&(t.lView=null,qP.push(t))}var zZ=de(M({},zs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Ka(t.lView)},consumerOnSignalRead(){this.lView[Ui]=this}});function $Z(t){let n=t[Ui]??Object.create(HZ);return n.lView=t,n}var HZ=de(M({},zs),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Ua(t.lView);for(;n&&!GP(n[$e]);)n=Ua(n);n&&$p(n)},consumerOnSignalRead(){this.lView[Ui]=this}});function GP(t){return t.type!==2}function WP(t){if(t[ia]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[ia])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[qe]&8192)}}var UZ=100;function uD(t,n=0){let i=t[na].rendererFactory,r=!1;r||i.begin?.();try{qZ(t,n)}finally{r||i.end?.()}}function qZ(t,n){let e=xC();try{Ic(!0),fw(t,n);let i=0;for(;xc(t);){if(i===UZ)throw new X(103,!1);i++,fw(t,1)}}finally{Ic(e)}}function YP(t,n){SC(n?Xu.Exhaustive:Xu.OnlyDirtyViews);try{uD(t)}finally{SC(Xu.Off)}}function GZ(t,n,e,i){if(ul(n))return;let r=n[qe],o=!1,a=!1;Yp(n);let s=!0,l=null,c=null;o||(GP(t)?(c=VZ(n),l=ja(c)):qh()===null?(s=!1,c=$Z(n),l=ja(c)):n[Ui]&&(Ba(n[Ui]),n[Ui]=null));try{hC(n),QR(t.bindingStartIndex),e!==null&&VP(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&ng(n,h,null)}else{let h=t.preOrderHooks;h!==null&&ig(n,h,0,null),FC(n,0)}if(a||WZ(n),WP(n),KP(n,0),t.contentQueries!==null&&mP(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&ng(n,h)}else{let h=t.contentHooks;h!==null&&ig(n,h,1),FC(n,1)}KZ(t,n);let m=t.components;m!==null&&ZP(n,m,0);let f=t.viewQuery;if(f!==null&&XC(2,f,i),!o)if(d){let h=t.viewCheckHooks;h!==null&&ng(n,h)}else{let h=t.viewHooks;h!==null&&ig(n,h,2),FC(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Bp]){for(let h of n[Bp])h();n[Bp]=null}o||(UP(n),n[qe]&=-73)}catch(d){throw o||Ka(n),d}finally{c!==null&&(Hs(c,l),s&&BZ(c)),Kp()}}function KP(t,n){for(let e=rP(t);e!==null;e=oP(e))for(let i=An;i<e.length;i++){let r=e[i];QP(r,n)}}function WZ(t){for(let n=rP(t);n!==null;n=oP(n)){if(!(n[qe]&2))continue;let e=n[dl];for(let i=0;i<e.length;i++){let r=e[i];$p(r)}}}function YZ(t,n,e){Bt(18);let i=fr(n,t);QP(i,e),Bt(19,i[_n])}function QP(t,n){zp(t)&&fw(t,n)}function fw(t,n){let i=t[$e],r=t[qe],o=t[Ui],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&Us(o)),a||=!1,o&&(o.dirty=!1),t[qe]&=-9217,a)GZ(i,t,i.template,t[_n]);else if(r&8192){let s=Ge(null);try{WP(t),KP(t,1);let l=i.components;l!==null&&ZP(t,l,1),UP(t)}finally{Ge(s)}}}function ZP(t,n,e){for(let i=0;i<n.length;i++)YZ(t,n[i],e)}function KZ(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)Qa(~r);else{let o=r,a=e[++i],s=e[++i];XR(a,o);let l=n[o];Bt(24,l),s(2,l),Bt(25,l)}}}finally{Qa(-1)}}function mD(t,n){let e=xC()?64:1088;for(t[na].changeDetectionScheduler?.notify(n);t;){t[qe]|=e;let i=Ua(t);if(Sc(t)&&!i)return t;t=i}return null}function XP(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function JP(t,n){let e=An+n;if(e<t.length)return t[e]}function _m(t,n,e,i=!0){let r=n[$e];if(QZ(r,n,t,e),i){let a=mw(e,t),s=n[Nt],l=s.parentNode(t[Ya]);l!==null&&_Z(r,t[Zn],s,n,l,a)}let o=n[ol];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function eF(t,n){let e=sm(t,n);return e!==void 0&&xg(e[$e],e),e}function sm(t,n){if(t.length<=An)return;let e=An+n,i=t[e];if(i){let r=i[Wa];r!==null&&r!==t&&rD(r,i),n>0&&(t[e-1][ur]=i[ur]);let o=qu(t,An+n);gZ(i[$e],i);let a=o[_o];a!==null&&a.detachView(o[$e]),i[En]=null,i[ur]=null,i[qe]&=-129}return i}function QZ(t,n,e,i){let r=An+i,o=e.length;i>0&&(e[r-1][ur]=n),i<o-An?(n[ur]=e[r],eC(e,An+i,n)):(e.push(n),n[ur]=null),n[En]=e;let a=n[Wa];a!==null&&e!==a&&tF(a,n);let s=n[_o];s!==null&&s.insertView(t),Hp(n),n[qe]|=128}function tF(t,n){let e=t[dl],i=n[En];if(yo(i))t[qe]|=2;else{let r=i[En][Xn];n[Xn]!==r&&(t[qe]|=2)}e===null?t[dl]=[n]:e.push(n)}var Xa=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[$e];return am(e,n,e.firstChild,[])}constructor(n,e){this._lView=n,this._cdRefInjectingView=e}get context(){return this._lView[_n]}set context(n){this._lView[_n]=n}get destroyed(){return ul(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[En];if($r(n)){let e=n[Ku],i=e?e.indexOf(this):-1;i>-1&&(sm(n,i),qu(e,i))}this._attachedToViewContainer=!1}xg(this._lView[$e],this._lView)}onDestroy(n){pC(this._lView,n)}markForCheck(){mD(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[qe]&=-129}reattach(){Hp(this._lView),this._lView[qe]|=128}detectChanges(){this._lView[qe]|=1024,uD(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Sc(this._lView),e=this._lView[Wa];e!==null&&!n&&rD(e,this._lView),kP(this._lView[$e],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=n;let e=Sc(this._lView),i=this._lView[Wa];i!==null&&!e&&tF(i,this._lView),Hp(this._lView)}};function fD(t){return xc(t._lView)||!!(t._lView[qe]&64)}function hD(t){$p(t._lView)}var At=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=ZZ;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=gm(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new Xa(o)}}return t})();function ZZ(){return Mg(Sn(),je())}function Mg(t,n){return t.type&4?new At(n,t,Uc(t,n)):null}function nF(t,n,e){let i=n.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return r===null?PP(t,n,e):qi(e[r])}function iF(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]];Lc(t,a,c,s,!1)}}}function Gc(t,n,e,i,r){let o=t.data[n];if(o===null)o=pD(t,n,e,i,r),ZR()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=Tc();o.injectorIndex=a===null?-1:a.injectorIndex}return oa(o,!0),o}function pD(t,n,e,i,r){let o=wC(),a=DC(),s=a?o:o&&o.parent,l=t.data[n]=JZ(t,s,e,n,i,r);return XZ(t,l,o,a),l}function XZ(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 JZ(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return bC()&&(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 rF(t,n){if(t.push(n),t.length>1)for(let e=t.length-2;e>=0;e--){let i=t[e];oF(i)||eX(i,n)&&tX(i)===null&&nX(i,n.index)}}function oF(t){return!(t.type&64)}function eX(t,n){return oF(n)||t.index>n.index}function tX(t){let n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function nX(t,n){let e=t.insertBeforeIndex;Array.isArray(e)?e[0]=n:(OP(nF,iF),t.insertBeforeIndex=n)}function iX(t,n,e){let i=t.data[n];i===null?t.data[n]=e:i.value=e}function rX(t,n){let e=t.insertBeforeIndex;e===null?(OP(nF,iF),e=t.insertBeforeIndex=[null,n]):(DR(Array.isArray(e),!0,"Expecting array here"),e.push(n))}function oX(t,n,e){let i=pD(t,e,64,null,null);return rF(n,i),i}function aX(t,n){let e=n[t.currentCaseLViewIndex];return e===null?e:e<0?~e:e}function sX(t,n,e){return t|n<<17|e<<1}function lX(t){return t===-1}function aF(t,n,e){t.index=0;let i=aX(n,e);i!==null?t.removes=n.remove[i]:t.removes=zn}function hw(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[$e].data[e];return aF(t,i,t.lView),hw(t)}}else return t.stack.length===0?null:(t.removes=t.stack.pop(),t.index=t.stack.pop(),hw(t))}function cX(){let t={stack:[],index:-1};function n(e,i){for(t.lView=i;t.stack.length;)t.stack.pop();return aF(t,e.value,i),hw.bind(null,t)}return n}var eUe=new RegExp(`^(\\d+)*(${IQ}|${TQ})*(.*)`);var dX=()=>{};function uX(t,n,e,i){dX(t,n,e,i)}function mX(t){let n=t[cC]??[],i=t[En][Nt],r=[];for(let o of n)o.data[lP]!==void 0?r.push(o):fX(o,i);t[cC]=r}function fX(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[sP];for(;e<r;){let o=i.nextSibling;SP(n,i,!1),i=o,e++}}}var hX=()=>null,pX=()=>null;function mg(t,n){return hX(t,n)}function sF(t,n,e){return pX(t,n,e)}var lF=class{},Ag=class{},pw=class{resolveComponentFactory(n){throw new X(917,!1)}},ua=class{static NULL=new pw},tn=class{},yt=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>gX()}return t})();function gX(){let t=je(),n=Sn(),e=fr(n.index,t);return(yo(e)?e:t)[Nt]}var cF=(()=>{class t{static \u0275prov=z({token:t,providedIn:"root",factory:()=>null})}return t})();var og={},gw=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,og,i);return r!==og||e===og?r:this.parentInjector.get(n,e,i)}};function fg(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=Rp(r,s);else if(o==2){let l=s,c=n[++a];i=Rp(i,l+": "+c+";")}}e?t.styles=i:t.stylesWithoutHost=i,e?t.classes=r:t.classesWithoutHost=r}function me(t,n=0){let e=je();if(e===null)return ze(t,n);let i=Sn();return X1(i,e,Bn(t),n)}function gD(){let t="invalid";throw new Error(t)}function dF(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}bX(t,n,e,s,o,l,c)}o!==null&&i!==null&&_X(e,i,o)}function _X(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 X(-301,!1);i.push(n[r],o)}}function yX(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function bX(t,n,e,i,r,o,a){let s=i.length,l=!1;for(let f=0;f<s;f++){let h=i[f];!l&&bo(h)&&(l=!0,yX(t,e,f)),YC(ug(e,n),t,h.type)}SX(e,t.data.length,s);for(let f=0;f<s;f++){let h=i[f];h.providersResolver&&h.providersResolver(h)}let c=!1,d=!1,m=hm(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let f=0;f<s;f++){let h=i[f];if(e.mergedAttrs=Oc(e.mergedAttrs,h.hostAttrs),CX(t,e,n,m,h),EX(m,h,r),a!==null&&a.has(h)){let[b,D]=a.get(h);e.directiveToIndex.set(h.type,[m,b+e.directiveStart,D+e.directiveStart])}else(o===null||!o.has(h))&&e.directiveToIndex.set(h.type,m);h.contentQueries!==null&&(e.flags|=4),(h.hostBindings!==null||h.hostAttrs!==null||h.hostVars!==0)&&(e.flags|=64);let p=h.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),m++}vX(t,e,o)}function vX(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))v1(0,n,r,i),v1(1,n,r,i),w1(n,i,!1);else{let o=e.get(r);C1(0,n,o,i),C1(1,n,o,i),w1(n,i,!0)}}}function v1(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),uF(n,o)}}function C1(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),uF(n,a)}}function uF(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function w1(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||Xw(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 CX(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=Ha(r.type,!0)),a=new gl(o,bo(r),me,null);t.blueprint[i]=a,e[i]=a,wX(t,n,i,hm(t,e,r.hostVars,ei),r)}function wX(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;DX(a)!=s&&a.push(s),a.push(e,i,o)}}function DX(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function EX(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;bo(n)&&(e[""]=t)}}function SX(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function _D(t,n,e,i,r,o,a,s){let l=n[$e],c=l.consts,d=ki(c,a),m=Gc(l,t,e,i,d);return o&&dF(l,n,m,ki(c,s),r),m.mergedAttrs=Oc(m.mergedAttrs,m.attrs),m.attrs!==null&&fg(m,m.attrs,!1),m.mergedAttrs!==null&&fg(m,m.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,m),m}function yD(t,n){H1(t,n),dC(n)&&t.queries.elementEnd(n)}function xX(t,n,e,i,r,o){let a=n.consts,s=ki(a,r),l=Gc(n,t,e,i,s);if(l.mergedAttrs=Oc(l.mergedAttrs,l.attrs),o!=null){let c=ki(a,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&fg(l,l.attrs,!1),l.mergedAttrs!==null&&fg(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function bD(t){return Rg(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function mF(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 Rg(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Pg(t,n,e){return t[n]=e}function TX(t,n){return t[n]}function pi(t,n,e){if(e===ei)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function vD(t,n,e,i){let r=pi(t,n,e);return pi(t,n+1,i)||r}function IX(t,n,e,i,r){let o=vD(t,n,e,i);return pi(t,n+2,r)||o}function LC(t,n,e){return function i(r){let o=ra(t)?fr(t.index,n):n;mD(o,5);let a=n[_n],s=D1(n,a,e,r),l=i.__ngNextListenerFn__;for(;l;)s=D1(n,a,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function D1(t,n,e,i){let r=Ge(null);try{return Bt(6,n,e),e(i)!==!1}catch(o){return PZ(t,o),!1}finally{Bt(7,n,e),Ge(r)}}function kX(t,n,e,i,r,o,a,s){let l=Ec(t),c=!1,d=null;if(!i&&l&&(d=MX(n,e,o,t.index)),d!==null){let m=d.__ngLastListenerFn__||d;m.__ngNextListenerFn__=a,d.__ngLastListenerFn__=a,c=!0}else{let m=mr(t,e),f=i?i(m):m;MQ(e,f,o,s);let h=r.listen(f,o,s),p=i?b=>i(qi(b[t.index])):t.index;fF(p,n,e,o,s,h,!1)}return c}function MX(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[wc],l=r[o+2];return s&&s.length>l?s[l]:null}typeof a=="string"&&(o+=2)}return null}function fF(t,n,e,i,r,o,a){let s=n.firstCreatePass?_C(n):null,l=gC(e),c=l.length;l.push(r,o),s&&s.push(i,t,c,(c+1)*(a?-1:1))}function E1(t,n,e,i,r,o){let a=n[e],s=n[$e],c=s.data[e].outputs[i],m=a[c].subscribe(o);fF(t.index,s,n,r,o,m,!0)}var _w=Symbol("BINDING");var yw=class extends ua{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Ga(n);return new jc(e,this.ngModule)}};function AX(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&Sg.SignalBased)!==0};return r&&(o.transform=r),o})}function RX(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function PX(t,n,e){let i=n instanceof gn?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new gw(e,i):e}function FX(t){let n=t.get(tn,null);if(n===null)throw new X(407,!1);let e=t.get(cF,null),i=t.get(Ii,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function OX(t,n){let e=hF(t);return Jw(n,e,e==="svg"?uC:e==="math"?BR:null)}function hF(t){return(t.selectors[0][0]||"div").toLowerCase()}var jc=class extends Ag{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=AX(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=RX(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=sZ(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a){Bt(22);let s=Ge(null);try{let l=this.componentDef,c=NX(i,l,a,o),d=PX(l,r||this.ngModule,n),m=FX(d),f=m.rendererFactory.createRenderer(null,l),h=i?EZ(f,i,l.encapsulation,d):OX(l,f),p=a?.some(S1)||o?.some(E=>typeof E!="function"&&E.bindings.some(S1)),b=tD(null,c,null,512|TP(l),null,null,m,f,d,null,uP(h,d,!0));b[Gt]=h,Yp(b);let D=null;try{let E=_D(Gt,b,2,"#host",()=>c.directiveRegistry,!0,0);h&&(xP(f,h,E),Nc(h,b)),Ig(c,b,E),Uw(c,E,b),yD(c,E),e!==void 0&&VX(E,this.ngContentSelectors,e),D=fr(E.index,b),b[_n]=D[_n],dD(c,b,null)}catch(E){throw D!==null&&QC(D),QC(b),E}finally{Bt(23),Kp()}return new hg(this.componentType,b,!!p)}finally{Ge(s)}}};function NX(t,n,e,i){let r=t?["ng-version","20.2.4"]:lZ(n.selectors[0]),o=null,a=null,s=0;if(e)for(let d of e)s+=d[_w].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 m=i[d];if(typeof m!="function")for(let f of m.bindings){s+=f[_w].requiredVars;let h=d+1;f.create&&(f.targetIdx=h,(o??=[]).push(f)),f.update&&(f.targetIdx=h,(a??=[]).push(f))}}let l=[n];if(i)for(let d of i){let m=typeof d=="function"?d:d.type,f=iC(m);l.push(f)}return eD(0,null,LX(o,a),1,s,l,null,null,null,[r],null)}function LX(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 S1(t){let n=t[_w].kind;return n==="input"||n==="twoWay"}var hg=class extends lF{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=Qu(e[$e],Gt),this.location=Uc(this._tNode,e),this.instance=fr(this._tNode.index,e)[_n],this.hostView=this.changeDetectorRef=new Xa(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=kg(i,r[$e],r,n,e);this.previousInputValues.set(n,e);let a=fr(i.index,r);mD(a,1)}get injector(){return new pl(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function VX(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 rt=(()=>{class t{static __NG_ELEMENT_ID__=jX}return t})();function jX(){let t=Sn();return gF(t,je())}var BX=rt,pF=class extends BX{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Uc(this._hostTNode,this._hostLView)}get injector(){return new pl(this._hostTNode,this._hostLView)}get parentInjector(){let n=jw(this._hostTNode,this._hostLView);if(G1(n)){let e=cg(n,this._hostLView),i=lg(n),r=e[$e].data[i+8];return new pl(r,e)}else return new pl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=x1(this._lContainer);return e!==null&&e[n]||null}get length(){return this._lContainer.length-An}createEmbeddedView(n,e,i){let r,o;typeof i=="number"?r=i:i!=null&&(r=i.index,o=i.injector);let a=mg(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,Vc(this._hostTNode,a)),s}createComponent(n,e,i,r,o,a,s){let l=n&&!nQ(n),c;if(l)c=e;else{let D=e||{};c=D.index,i=D.injector,r=D.projectableNodes,o=D.environmentInjector||D.ngModuleRef,a=D.directives,s=D.bindings}let d=l?n:new jc(Ga(n)),m=i||this.parentInjector;if(!o&&d.ngModule==null){let E=(l?m:this.parentInjector).get(gn,null);E&&(o=E)}let f=Ga(d.componentType??{}),h=mg(this._lContainer,f?.id??null),p=h?.firstChild??null,b=d.create(m,r,p,o,a,s);return this.insertImpl(b.hostView,c,Vc(this._hostTNode,h)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if($R(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[En],c=new pF(l,l[Zn],l[En]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return _m(a,r,o,i),n.attachToViewContainerRef(),eC(VC(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=x1(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=sm(this._lContainer,e);i&&(qu(VC(this._lContainer),e),xg(i[$e],i))}detach(n){let e=this._adjustIndex(n,-1),i=sm(this._lContainer,e);return i&&qu(VC(this._lContainer),e)!=null?new Xa(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function x1(t){return t[Ku]}function VC(t){return t[Ku]||(t[Ku]=[])}function gF(t,n){let e,i=n[t.index];return $r(i)?e=i:(e=XP(i,n,null,t),n[t.index]=e,nD(n,e)),$X(e,n,t,i),new pF(e,t,n)}function zX(t,n){let e=t[Nt],i=e.createComment(""),r=mr(n,t),o=e.parentNode(r);return Lc(e,o,i,e.nextSibling(r),!1),i}var $X=qX,HX=()=>!1;function UX(t,n,e){return HX(t,n,e)}function qX(t,n,e,i){if(t[Ya])return;let r;e.type&8?r=qi(i):r=zX(n,e),t[Ya]=r}var bw=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},vw=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++)wD(n,e).matches!==null&&this.queries[e].setDirty()}},pg=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=QX(n):this.predicate=n}},Cw=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)}},ww=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,GX(e,o)),this.matchTNodeWithReadOption(n,e,rg(e,n,o,!1,!1))}else i===At?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,rg(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===W||r===rt||r===At&&e.type&4)this.addMatch(e.index,-2);else{let o=rg(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 GX(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 WX(t,n){return t.type&11?Uc(t,n):t.type&4?Mg(t,n):null}function YX(t,n,e,i){return e===-1?WX(n,t):e===-2?KX(t,n,i):om(t,t[$e],e,n)}function KX(t,n,e){if(e===W)return Uc(n,t);if(e===At)return Mg(n,t);if(e===rt)return gF(n,t)}function _F(t,n,e,i){let r=n[_o].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(YX(n,d,a[l+1],e.metadata.read))}}r.matches=s}return r.matches}function Dw(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=_F(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 m=An;m<d.length;m++){let f=d[m];f[Wa]===f[En]&&Dw(f[$e],f,c,i)}if(d[dl]!==null){let m=d[dl];for(let f=0;f<m.length;f++){let h=m[f];Dw(h[$e],h,c,i)}}}}}return i}function CD(t,n){return t[_o].queries[n].queryList}function yF(t,n,e){let i=new Gi((e&4)===4);return qR(t,n,i,i.destroy),(n[_o]??=new vw).queries.push(new bw(i))-1}function bF(t,n,e){let i=Yt();return i.firstCreatePass&&(CF(i,new pg(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),yF(i,je(),n)}function vF(t,n,e,i){let r=Yt();if(r.firstCreatePass){let o=Sn();CF(r,new pg(n,e,i),o.index),ZX(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return yF(r,je(),e)}function QX(t){return t.split(",").map(n=>n.trim())}function CF(t,n,e){t.queries===null&&(t.queries=new Cw),t.queries.track(new ww(n,e))}function ZX(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 wD(t,n){return t.queries.getByIndex(n)}function wF(t,n){let e=t[$e],i=wD(e,n);return i.crossesNgTemplate?Dw(e,t,n,[]):_F(e,t,i,n)}function DF(t,n,e){let i,r=Au(()=>{i._dirtyCounter();let o=XX(i,t);if(n&&o===void 0)throw new X(-951,!1);return o});return i=r[Dn],i._dirtyCounter=pe(0),i._flatValue=void 0,r}function DD(t){return DF(!0,!1,t)}function ED(t){return DF(!0,!0,t)}function EF(t,n){let e=t[Dn];e._lView=je(),e._queryIndex=n,e._queryList=CD(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function XX(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[qe]&4)return n?void 0:zn;let r=CD(e,i),o=wF(e,i);return r.reset(o,tP),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var T1=new Set;function Eo(t){T1.has(t)||(T1.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var Ja=class{};var lm=class extends Ja{injector;componentFactoryResolver=new yw(this);instance=null;constructor(n){super();let e=new tl([...n.providers,{provide:Ja,useValue:this},{provide:ua,useValue:this.componentFactoryResolver}],n.parent||Cc(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function SF(t,n,e=null){return new lm({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var JX=(()=>{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=rC(!1,e.type),r=i.length>0?SF([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=z({token:t,providedIn:"environment",factory:()=>new t(ze(gn))})}return t})();function k(t){return $c(()=>{let n=xF(t),e=de(M({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===zw.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(JX).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||sa.Emulated,styles:t.styles||zn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&Eo("NgStandalone"),TF(e);let i=t.dependencies;return e.directiveDefs=I1(i,eJ),e.pipeDefs=I1(i,RR),e.id=iJ(e),e})}function eJ(t){return Ga(t)||iC(t)}function ve(t){return $c(()=>({type:t.type,bootstrap:t.bootstrap||zn,declarations:t.declarations||zn,imports:t.imports||zn,exports:t.exports||zn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function tJ(t,n){if(t==null)return qa;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=Sg.None,l=null),e[o]=[i,s,l],n[o]=a}return e}function nJ(t){if(t==null)return qa;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function N(t){return $c(()=>{let n=xF(t);return TF(n),n})}function ma(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 xF(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||qa,exportAs:t.exportAs||null,standalone:t.standalone??!0,signals:t.signals===!0,selectors:t.selectors||zn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:tJ(t.inputs,n),outputs:nJ(t.outputs),debugInfo:null}}function TF(t){t.features?.forEach(n=>n(t))}function I1(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 iJ(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 rJ(t){return Object.getPrototypeOf(t.prototype).constructor}function ee(t){let n=rJ(t.type),e=!0,i=[t];for(;n;){let r;if(bo(t))r=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new X(903,!1);r=n.\u0275dir}if(r){if(e){i.push(r);let a=t;a.inputs=jC(t.inputs),a.declaredInputs=jC(t.declaredInputs),a.outputs=jC(t.outputs);let s=r.hostBindings;s&&cJ(t,s);let l=r.viewQuery,c=r.contentQueries;if(l&&sJ(t,l),c&&lJ(t,c),oJ(t,r),wR(t.outputs,r.outputs),bo(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===ee&&(e=!1)}}n=Object.getPrototypeOf(n)}aJ(i)}function oJ(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 aJ(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=Oc(r.hostAttrs,e=Oc(e,r.hostAttrs))}}function jC(t){return t===qa?{}:t===zn?[]:t}function sJ(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function lJ(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function cJ(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function IF(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Oc(t.mergedAttrs,t.attrs);let d=t.tView=eD(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),oa(t,!1);let l=uJ(e,n,t,i);em()&&oD(e,n,l,t),Nc(l,n);let c=XP(l,n,l,t);n[i+Gt]=c,nD(n,c),UX(c,t,n)}function dJ(t,n,e,i,r,o,a,s,l,c,d){let m=e+Gt,f;return n.firstCreatePass?(f=Gc(n,m,4,a||null,s||null),Up()&&dF(n,t,f,ki(n.consts,c),sD),H1(n,f)):f=n.data[m],IF(f,t,n,e,i,r,o,l),Ec(f)&&Ig(n,t,f),c!=null&&pm(t,f,d),f}function Bc(t,n,e,i,r,o,a,s,l,c,d){let m=e+Gt,f;if(n.firstCreatePass){if(f=Gc(n,m,4,a||null,s||null),c!=null){let h=ki(n.consts,c);f.localNames=[];for(let p=0;p<h.length;p+=2)f.localNames.push(h[p],-1)}}else f=n.data[m];return IF(f,t,n,e,i,r,o,l),c!=null&&pm(t,f,d),f}function Te(t,n,e,i,r,o,a,s){let l=je(),c=Yt(),d=ki(c.consts,o);return dJ(l,c,t,n,e,i,r,d,void 0,a,s),Te}function Wr(t,n,e,i,r,o,a,s){let l=je(),c=Yt(),d=ki(c.consts,o);return Bc(l,c,t,n,e,i,r,d,void 0,a,s),Wr}var uJ=mJ;function mJ(t,n,e,i){return Ac(!0),n[Nt].createComment("")}var Fg=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Fg||{}),is=new A(""),kF=!1,Ew=class extends L{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,VR()&&(this.destroyRef=u(hi,{optional:!0})??void 0,this.pendingTasks=u(fl,{optional:!0})??void 0)}emit(n){let e=Ge(null);try{super.next(n)}finally{Ge(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 be&&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)}})}}},F=Ew;function MF(t){let n,e;function i(){t=hl;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 k1(t){return queueMicrotask(()=>t()),()=>{t=hl}}var SD="isAngularZone",gg=SD+"_ID",fJ=0,J=class t{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new F(!1);onMicrotaskEmpty=new F(!1);onStable=new F(!1);onError=new F(!1);constructor(n){let{enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=kF}=n;if(typeof Zone>"u")throw new X(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,gJ(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(SD)===!0}static assertInAngularZone(){if(!t.isInAngularZone())throw new X(909,!1)}static assertNotInAngularZone(){if(t.isInAngularZone())throw new X(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,hJ,hl,hl);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)}},hJ={};function xD(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 pJ(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){MF(()=>{t.callbackScheduled=!1,Sw(t),t.isCheckStableRunning=!0,xD(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Sw(t)}function gJ(t){let n=()=>{pJ(t)},e=fJ++;t._inner=t._inner.fork({name:"angular",properties:{[SD]:!0,[gg]:e,[gg+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(_J(l))return i.invokeTask(o,a,s,l);try{return M1(t),i.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),A1(t)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return M1(t),i.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!yJ(l)&&n(),A1(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,Sw(t),xD(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 Sw(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function M1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function A1(t){t._nesting--,xD(t)}var cm=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new F;onMicrotaskEmpty=new F;onStable=new F;onError=new F;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 _J(t){return AF(t,"__ignore_ng_zone__")}function yJ(t){return AF(t,"__scheduler_tick__")}function AF(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var Og=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=z({token:t,providedIn:"root",factory:()=>new t})}return t})(),TD=[0,1,2,3],ID=(()=>{class t{ngZone=u(J);scheduler=u(Ii);errorHandler=u(Mn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(is,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Bt(16),this.executing=!0;for(let i of TD)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&&Bt(17)}register(e){let{view:i}=e;i!==void 0?((i[cl]??=[]).push(e),Ka(i),i[qe]|=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(Fg.AFTER_NEXT_RENDER,e):e()}static \u0275prov=z({token:t,providedIn:"root",factory:()=>new t})}return t})(),dm=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?.[cl];n&&(this.view[cl]=n.filter(e=>e!==this))}};function Lt(t,n){let e=n?.injector??u(Re);return Eo("NgAfterNextRender"),vJ(t,e,n,!0)}function bJ(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function vJ(t,n,e,i){let r=n.get(Og);r.impl??=n.get(ID);let o=n.get(is,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(hi):null,s=n.get(ml,null,{optional:!0}),l=new dm(r.impl,bJ(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}var kD=new A("");function bl(t){return!!t&&typeof t.then=="function"}function Ng(t){return!!t&&typeof t.subscribe=="function"}var RF=new A("");var MD=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(RF,{optional:!0})??[];injector=u(Re);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Wu(this.injector,r);if(bl(o))e.push(o);else if(Ng(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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),PF=new A("");function FF(){p0(()=>{let t="";throw new X(600,t)})}function OF(t){return t.isBoundToModule}var CJ=10;var Mi=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(Hr);afterRenderManager=u(Og);zonelessEnabled=u(Rc);rootEffectScheduler=u(tm);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new L;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(fl);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(et(e=>!e))}constructor(){u(is,{optional:!0})}whenStable(){let e;return new Promise(i=>{e=this.isStable.subscribe({next:r=>{r&&i()}})}).finally(()=>{e.unsubscribe()})}_injector=u(gn);_rendererFactory=null;get injector(){return this._injector}bootstrap(e,i){return this.bootstrapImpl(e,i)}bootstrapImpl(e,i,r=Re.NULL){return this._injector.get(J).run(()=>{Bt(10);let a=e instanceof Ag;if(!this._injector.get(MD).done){let p="";throw new X(405,p)}let l;a?l=e:l=this._injector.get(ua).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=OF(l)?void 0:this._injector.get(Ja),d=i||l.selector,m=l.create(r,[],d,c),f=m.location.nativeElement,h=m.injector.get(kD,null);return h?.registerApplication(f),m.onDestroy(()=>{this.detachView(m.hostView),im(this.components,m),h?.unregisterApplication(f)}),this._loadComponent(m),Bt(11,m),m})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){Bt(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(Fg.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new X(101,!1);let e=Ge(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,Ge(e),this.afterTick.next(),Bt(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(tn,null,{optional:!0}));let e=0;for(;this.dirtyFlags!==0&&e++<CJ;)Bt(14),this.synchronizeOnce(),Bt(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&&!xc(r))continue;let o=i&&!this.zonelessEnabled?0:1;uD(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})=>xc(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;im(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(PF,[]).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),()=>im(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new X(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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function im(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var BC="aria";function Lg(t,n){let e=je(),i=vo();if(pi(e,i,n)){let r=Yt(),o=Mc();if(kg(o,r,e,t,n))ra(o)&&zP(e,o.index);else{let s=mr(o,e),l=wJ(t);$P(e[Nt],s,null,o.value,l,n,null)}}return Lg}function wJ(t){return t.charAt(BC.length)!=="-"?BC+"-"+t.slice(BC.length).toLowerCase():t}function fe(t,n,e,i){let r=je(),o=vo();if(pi(r,o,n)){let a=Yt(),s=Mc();AZ(s,r,t,n,e,i)}return fe}var AD=new A("",{providedIn:"root",factory:()=>!1}),RD=new A("",{providedIn:"root",factory:()=>DJ}),DJ=4e3;var aUe=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var xw=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 zC(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function EJ(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],m=zC(o,c,o,d,e);if(m!==0){m<0&&t.updateValue(o,d),o++;continue}let f=t.at(a),h=n[l],p=zC(a,f,l,h,e);if(p!==0){p<0&&t.updateValue(a,h),a--,l--;continue}let b=e(o,c),D=e(a,f),E=e(o,d);if(Object.is(E,D)){let P=e(l,h);Object.is(P,b)?(t.swap(o,a),t.updateValue(a,h),l--,a--):t.move(a,o),t.updateValue(o,d),o++;continue}if(i??=new _g,r??=P1(t,o,a,e),Tw(t,i,o,E))t.updateValue(o,d),o++,a++;else if(r.has(E))i.set(b,t.detach(o)),a--;else{let P=t.create(o,n[o]);t.attach(o,P),o++,a++}}for(;o<=l;)R1(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),m=c.value,f=zC(o,d,o,m,e);if(f!==0)f<0&&t.updateValue(o,m),o++,c=l.next();else{i??=new _g,r??=P1(t,o,a,e);let h=e(o,m);if(Tw(t,i,o,h))t.updateValue(o,m),o++,a++,c=l.next();else if(!r.has(h))t.attach(o,t.create(o,m)),o++,a++,c=l.next();else{let p=e(o,d);i.set(p,t.detach(o)),a--}}}for(;!c.done;)R1(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 Tw(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function R1(t,n,e,i,r){if(Tw(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function P1(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 _g=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 De(t,n,e,i,r,o,a,s){Eo("NgControlFlow");let l=je(),c=Yt(),d=ki(c.consts,o);return Bc(l,c,t,n,e,i,r,d,256,a,s),PD}function PD(t,n,e,i,r,o,a,s){Eo("NgControlFlow");let l=je(),c=Yt(),d=ki(c.consts,o);return Bc(l,c,t,n,e,i,r,d,512,a,s),PD}function Ee(t,n){Eo("NgControlFlow");let e=je(),i=vo(),r=e[i]!==ei?e[i]:-1,o=r!==-1?yg(e,Gt+r):void 0,a=0;if(pi(e,i,t)){let s=Ge(null);try{if(o!==void 0&&eF(o,a),t!==-1){let l=Gt+t,c=yg(e,l),d=Aw(e[$e],l),m=sF(c,d,e),f=gm(e,d,n,{dehydratedView:m});_m(c,f,a,Vc(d,m))}}finally{Ge(s)}}else if(o!==void 0){let s=JP(o,a);s!==void 0&&(s[_n]=n)}}var Iw=class{lContainer;$implicit;$index;constructor(n,e,i){this.lContainer=n,this.$implicit=e,this.$index=i}get $count(){return this.lContainer.length-An}};function ym(t){return t}function Vg(t,n){return n}var kw=class{hasEmptyBlock;trackByFn;liveCollection;constructor(n,e,i){this.hasEmptyBlock=n,this.trackByFn=e,this.liveCollection=i}};function hr(t,n,e,i,r,o,a,s,l,c,d,m,f){Eo("NgControlFlow");let h=je(),p=Yt(),b=l!==void 0,D=je(),E=s?a.bind(D[Xn][_n]):a,P=new kw(b,E);D[Gt+t]=P,Bc(h,p,t+1,n,e,i,r,ki(p.consts,o),256),b&&Bc(h,p,t+2,l,c,d,m,ki(p.consts,f),512)}var Mw=class extends xw{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-An}at(n){return this.getLView(n)[_n].$implicit}attach(n,e){let i=e[ol];this.needsIndexUpdate||=n!==this.length,_m(this.lContainer,e,n,Vc(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,SJ(this.lContainer,n)}create(n,e){let i=mg(this.lContainer,this.templateTNode.tView.ssrId),r=gm(this.hostLView,this.templateTNode,new Iw(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){xg(n[$e],n),this.operationsCounter?.recordDestroy()}updateValue(n,e){this.getLView(n)[_n].$implicit=e}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let n=0;n<this.length;n++)this.getLView(n)[_n].$index=n}getLView(n){return xJ(this.lContainer,n)}};function pr(t){let n=Ge(null),e=Co();try{let i=je(),r=i[$e],o=i[e],a=e+1,s=yg(i,a);if(o.liveCollection===void 0){let c=Aw(r,a);o.liveCollection=new Mw(s,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(EJ(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=vo(),d=l.length===0;if(pi(i,c,d)){let m=e+2,f=yg(i,m);if(d){let h=Aw(r,m),p=sF(f,h,i),b=gm(i,h,void 0,{dehydratedView:p});_m(f,b,0,Vc(h,p))}else r.firstUpdatePass&&mX(f),eF(f,0)}}}finally{Ge(n)}}function yg(t,n){return t[n]}function SJ(t,n){return sm(t,n)}function xJ(t,n){return JP(t,n)}function Aw(t,n){return Qu(t,n)}function x(t,n,e){let i=je(),r=vo();if(pi(i,r,n)){let o=Yt(),a=Mc();jP(a,i,t,n,i[Nt],e)}return x}function Rw(t,n,e,i,r){kg(n,t,e,r?"class":"style",i)}function v(t,n,e,i){let r=je(),o=r[$e],a=t+Gt,s=o.firstCreatePass?_D(a,r,2,n,sD,Up(),e,i):o.data[a];if(lD(s,r,t,n,NF),Ec(s)){let l=r[$e];Ig(l,r,s),Uw(l,s,r)}return i!=null&&pm(r,s),v}function w(){let t=Yt(),n=Sn(),e=cD(n);return t.firstCreatePass&&yD(t,e),vC(e)&&CC(),yC(),e.classesWithoutHost!=null&&lQ(e)&&Rw(t,e,je(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&cQ(e)&&Rw(t,e,je(),e.stylesWithoutHost,!1),w}function ue(t,n,e,i){return v(t,n,e,i),w(),ue}function xn(t,n,e,i){let r=je(),o=r[$e],a=t+Gt,s=o.firstCreatePass?xX(a,o,2,n,e,i):o.data[a];return lD(s,r,t,n,NF),i!=null&&pm(r,s),xn}function Rn(){let t=Sn(),n=cD(t);return vC(n)&&CC(),yC(),Rn}function ti(t,n,e,i){return xn(t,n,e,i),Rn(),ti}var NF=(t,n,e,i,r)=>(Ac(!0),Jw(n[Nt],i,o1()));function Wi(t,n,e){let i=je(),r=i[$e],o=t+Gt,a=r.firstCreatePass?_D(o,i,8,"ng-container",sD,Up(),n,e):r.data[o];if(lD(a,i,t,"ng-container",TJ),Ec(a)){let s=i[$e];Ig(s,i,a),Uw(s,a,i)}return e!=null&&pm(i,a),Wi}function Yi(){let t=Yt(),n=Sn(),e=cD(n);return t.firstCreatePass&&yD(t,e),Yi}function ni(t,n,e){return Wi(t,n,e),Yi(),ni}var TJ=(t,n,e,i,r)=>(Ac(!0),DP(n[Nt],""));function Ve(){return je()}function $n(t,n,e){let i=je(),r=vo();if(pi(i,r,n)){let o=Yt(),a=Mc();BP(a,i,t,n,i[Nt],e)}return $n}var bm="en-US";var IJ={marker:"element"},kJ={marker:"ICU"},aa=(function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t})(aa||{}),MJ=bm;function LF(t){typeof t=="string"&&(MJ=t.toLowerCase().replace(/_/g,"-"))}function AJ(t,n,e){let i=t[Nt];switch(e){case Node.COMMENT_NODE:return DP(i,n);case Node.TEXT_NODE:return wP(i,n);case Node.ELEMENT_NODE:return Jw(i,n,null)}}var RJ=(t,n,e,i)=>(Ac(!0),AJ(t,e,i));function PJ(t,n,e,i){let r=t[Nt];for(let o=0;o<n.length;o++){let a=n[o++],s=n[o],l=(a&aa.COMMENT)===aa.COMMENT,c=(a&aa.APPEND_EAGERLY)===aa.APPEND_EAGERLY,d=a>>>aa.SHIFT,m=t[d],f=!1;m===null&&(m=t[d]=RJ(t,d,s,l?Node.COMMENT_NODE:Node.TEXT_NODE),f=em()),c&&e!==null&&f&&Lc(r,e,m,i,!1)}}var bg=/�(\d+):?\d*�/gi;var FJ=/�(\d+)�/,VF=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,rm="\uFFFD",OJ=/�\/?\*(\d+:\d+)�/gi,NJ=/�(\/?[#*]\d+):?\d*�/gi,LJ=/\uE500/g;function VJ(t){return t.replace(LJ," ")}function jJ(t,n,e,i,r,o){let a=Tc(),s=[],l=[],c=[[]],d=[[]];r=zJ(r,o);let m=VJ(r).split(NJ);for(let f=0;f<m.length;f++){let h=m[f];if((f&1)===0){let p=Pw(h);for(let b=0;b<p.length;b++){let D=p[b];if((b&1)===0){let E=D;E!==""&&BJ(d[0],t,a,c[0],s,l,e,E)}else{let E=D;if(typeof E!="object")throw new Error(`Unable to parse ICU expression in "${r}" message.`);let G=jF(t,a,c[0],e,s,"",!0).index;zF(d[0],t,e,l,n,E,G)}}}else{let p=h.charCodeAt(0)===47,b=h.charCodeAt(p?1:0),D=Gt+Number.parseInt(h.substring(p?2:1));if(p)c.shift(),d.shift(),oa(Tc(),!1);else{let E=oX(t,c[0],D);c.unshift([]),oa(E,!0);let P={kind:2,index:D,children:[],type:b===35?0:1};d[0].push(P),d.unshift(P.children)}}}t.data[i]={create:s,update:l,ast:d[0],parentTNodeIndex:n}}function jF(t,n,e,i,r,o,a){let s=hm(t,i,1,null),l=s<<aa.SHIFT,c=Tc();n===c&&(c=null),c===null&&(l|=aa.APPEND_EAGERLY),a&&(l|=aa.COMMENT,pZ(cX)),r.push(l,o===null?"":o);let d=pD(t,s,a?32:1,o===null?"":o,null);rF(e,d);let m=d.index;return oa(d,!1),c!==null&&n!==c&&rX(c,m),d}function BJ(t,n,e,i,r,o,a,s){let l=s.match(bg),d=jF(n,e,i,a,r,l?null:s,!1).index;l&&ag(o,s,d,null,0,null),t.push({kind:0,index:d})}function ag(t,n,e,i,r,o){let a=t.length,s=a+1;t.push(null,null);let l=a+2,c=n.split(bg),d=0;for(let m=0;m<c.length;m++){let f=c[m];if(m&1){let h=r+parseInt(f,10);t.push(-1-h),d=d|BF(h)}else f!==""&&t.push(f)}return t.push(e<<2|(i?1:0)),i&&t.push(i,o),t[a]=d,t[s]=t.length-l,d}function BF(t){return 1<<Math.min(t,31)}function F1(t){let n,e="",i=0,r=!1,o;for(;(n=OJ.exec(t))!==null;)r?n[0]===`${rm}/*${o}${rm}`&&(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 zJ(t,n){if(lX(n))return F1(t);{let e=t.indexOf(`:${n}${rm}`)+2+n.toString().length,i=t.search(new RegExp(`${rm}\\/\\*\\d+:${n}${rm}`));return F1(t.substring(e,i))}}function zF(t,n,e,i,r,o,a){let s=0,l={type:o.type,currentCaseLViewIndex:hm(n,e,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};qJ(i,o,a),iX(n,a,l);let c=o.values,d=[];for(let m=0;m<c.length;m++){let f=c[m],h=[];for(let b=0;b<f.length;b++){let D=f[b];if(typeof D!="string"){let E=h.push(D)-1;f[b]=`<!--\uFFFD${E}\uFFFD-->`}}let p=[];d.push(p),s=HJ(p,n,l,e,i,r,o.cases[m],f.join(""),h)|s}s&&GJ(i,s,a),t.push({kind:3,index:a,cases:d,currentCaseLViewIndex:l.currentCaseLViewIndex})}function $J(t){let n=[],e=[],i=1,r=0;t=t.replace(VF,function(a,s,l){return l==="select"?i=0:i=1,r=parseInt(s.slice(1),10),""});let o=Pw(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=Pw(o[a++]);n.length>e.length&&e.push(l)}return{type:i,mainBinding:r,cases:n,values:e}}function Pw(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);VF.test(l)?i.push($J(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 HJ(t,n,e,i,r,o,a,s,l){let c=[],d=[],m=[];e.cases.push(a),e.create.push(c),e.remove.push(d),e.update.push(m);let h=hP(Hw()).getInertBodyElement(s),p=lw(h)||h;return p?$F(t,n,e,i,r,c,d,m,p,o,l,0):0}function $F(t,n,e,i,r,o,a,s,l,c,d,m){let f=0,h=l.firstChild;for(;h;){let p=hm(n,i,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:let b=h,D=b.tagName.toLowerCase();if(aw.hasOwnProperty(D)){$C(o,IJ,D,c,p),n.data[p]=D;let ce=b.attributes;for(let Pe=0;Pe<ce.length;Pe++){let Fe=ce.item(Pe),Me=Fe.name.toLowerCase();!!Fe.value.match(bg)?yP.hasOwnProperty(Me)&&(Qw[Me]?ag(s,Fe.value,p,Fe.name,0,mm):ag(s,Fe.value,p,Fe.name,0,null)):WJ(o,p,Fe)}let ie={kind:1,index:p,children:[]};t.push(ie),f=$F(ie.children,n,e,i,r,o,a,s,h,p,d,m+1)|f,O1(a,p,m)}break;case Node.TEXT_NODE:let E=h.textContent||"",P=E.match(bg);$C(o,null,P?"":E,c,p),O1(a,p,m),P&&(f=ag(s,E,p,null,0,null)|f),t.push({kind:0,index:p});break;case Node.COMMENT_NODE:let G=FJ.exec(h.textContent||"");if(G){let ce=parseInt(G[1],10),ie=d[ce];$C(o,kJ,"",c,p),zF(t,n,i,r,c,ie,p),UJ(a,p,m)}break}h=h.nextSibling}return f}function O1(t,n,e){e===0&&t.push(n)}function UJ(t,n,e){e===0&&(t.push(~n),t.push(n))}function qJ(t,n,e){t.push(BF(n.mainBinding),2,-1-n.mainBinding,e<<2|2)}function GJ(t,n,e){t.push(n,1,e<<2|3)}function $C(t,n,e,i,r){n!==null&&t.push(n),t.push(e,r,sX(0,i,r))}function WJ(t,n,e){t.push(n<<1|1,e.name,e.value)}function HF(t,n,e=-1){let i=Yt(),r=je(),o=Gt+t,a=ki(i.consts,n),s=Tc();if(i.firstCreatePass&&jJ(i,s===null?0:s.index,r,o,a,e),i.type===2){let f=r[Xn];f[qe]|=32}else r[qe]|=32;let l=i.data[o],c=s===r[Zn]?null:s,d=AP(i,c,r),m=s&&s.type&8?r[s.index]:null;uX(r,o,s,e),PJ(r,l.create,d,m),TC(!0)}function UF(){TC(!1)}function vm(t,n,e){HF(t,n,e),UF()}function V(t,n,e){let i=je(),r=Yt(),o=Sn();return qF(r,i,i[Nt],o,t,n,e),V}function qF(t,n,e,i,r,o,a){let s=!0,l=null;if((i.type&3||a)&&(l??=LC(i,n,o),kX(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 m=0;m<d.length;m+=2){let f=d[m],h=d[m+1];l??=LC(i,n,o),E1(i,n,f,h,r,l)}if(c&&c.length)for(let m of c)l??=LC(i,n,o),E1(i,n,m,r,r,l)}}function T(t=1){return r1(t)}function YJ(t,n){let e=null,i=nZ(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?CP(t,o,!0):oZ(i,o))return r}return e}function Be(t){let n=je()[Xn][Zn];if(!n.projection){let e=t?t.length:1,i=n.projection=MR(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?YJ(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function oe(t,n=0,e,i,r,o){let a=je(),s=Yt(),l=i?t+1:null;l!==null&&Bc(a,s,l,i,r,o,null,e);let c=Gc(s,Gt+t,16,null,e||null);c.projection===null&&(c.projection=n),EC();let m=!a[ol]||bC();a[Xn][Zn].projection[c.projection]===null&&l!==null?KJ(a,s,l):m&&!Dg(c)&&CZ(s,a,c)}function KJ(t,n,e){let i=Gt+e,r=n.data[i],o=t[i],a=mg(o,r.tView.ssrId),s=gm(t,r,void 0,{dehydratedView:a});_m(o,s,0,Vc(r,a))}function Ke(t,n,e,i){vF(t,n,e,i)}function _e(t,n,e){bF(t,n,e)}function j(t){let n=je(),e=Yt(),i=Wp();Ju(i+1);let r=wD(e,i);if(t.dirty&&zR(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=wF(n,i);t.reset(o,tP),t.notifyOnChanges()}return!0}return!1}function B(){return CD(je(),Wp())}function FD(t,n,e,i,r){EF(n,vF(t,e,i,r))}function Wc(t,n,e,i){EF(t,bF(n,e,i))}function jg(t=1){Ju(Wp()+t)}function Tn(t){let n=YR();return Zu(n,Gt+t)}function tg(t,n){return t<<17|n<<2}function _l(t){return t>>17&32767}function QJ(t){return(t&2)==2}function ZJ(t,n){return t&131071|n<<17}function Fw(t){return t|2}function zc(t){return(t&131068)>>2}function HC(t,n){return t&-131069|n<<2}function XJ(t){return(t&1)===1}function Ow(t){return t|1}function JJ(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=_l(a),l=zc(a);t[i]=e;let c=!1,d;if(Array.isArray(e)){let m=e;d=m[1],(d===null||vc(m,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let f=_l(t[s+1]);t[i+1]=tg(f,s),f!==0&&(t[f+1]=HC(t[f+1],i)),t[s+1]=ZJ(t[s+1],i)}else t[i+1]=tg(s,0),s!==0&&(t[s+1]=HC(t[s+1],i)),s=i;else t[i+1]=tg(l,0),s===0?s=i:t[l+1]=HC(t[l+1],i),l=i;c&&(t[i+1]=Fw(t[i+1])),N1(t,d,i,!0),N1(t,d,i,!1),eee(n,d,t,i,o),a=tg(s,l),o?n.classBindings=a:n.styleBindings=a}function eee(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&vc(o,n)>=0&&(e[i+1]=Ow(e[i+1]))}function N1(t,n,e,i){let r=t[e+1],o=n===null,a=i?_l(r):zc(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];tee(l,n)&&(s=!0,t[a+1]=i?Ow(c):Fw(c)),a=i?_l(c):zc(c)}s&&(t[e+1]=i?Fw(r):Ow(r))}function tee(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?vc(t,n)>=0:!1}var qr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function nee(t){return t.substring(qr.key,qr.keyEnd)}function iee(t){return ree(t),GF(t,WF(t,0,qr.textEnd))}function GF(t,n){let e=qr.textEnd;return e===n?-1:(n=qr.keyEnd=oee(t,qr.key=n,e),WF(t,n,e))}function ree(t){qr.key=0,qr.keyEnd=0,qr.value=0,qr.valueEnd=0,qr.textEnd=t.length}function WF(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function oee(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function zt(t,n,e){return YF(t,n,e,!1),zt}function U(t,n){return YF(t,n,null,!0),U}function nn(t){see(fee,aee,t,!0)}function aee(t,n){for(let e=iee(n);e>=0;e=GF(n,e))Vp(t,nee(n),!0)}function YF(t,n,e,i){let r=je(),o=Yt(),a=qp(2);if(o.firstUpdatePass&&QF(o,t,a,i),n!==ei&&pi(r,a,n)){let s=o.data[Co()];ZF(o,s,r,r[Nt],t,r[a+1]=pee(n,e),i,a)}}function see(t,n,e,i){let r=Yt(),o=qp(2);r.firstUpdatePass&&QF(r,null,o,i);let a=je();if(e!==ei&&pi(a,o,e)){let s=r.data[Co()];if(XF(s,i)&&!KF(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=Rp(l,e||"")),Rw(r,s,a,e,i)}else hee(r,s,a,a[Nt],a[o+1],a[o+1]=mee(t,n,e),i,o)}}function KF(t,n){return n>=t.expandoStartIndex}function QF(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Co()],a=KF(t,e);XF(o,i)&&n===null&&!a&&(n=!1),n=lee(r,o,n,i),JJ(r,o,n,e,a,i)}}function lee(t,n,e,i){let r=e1(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=UC(null,t,n,e,i),e=um(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=UC(r,t,n,e,i),o===null){let l=cee(t,n,i);l!==void 0&&Array.isArray(l)&&(l=UC(null,t,n,l[1],i),l=um(l,n.attrs,i),dee(t,n,i,l))}else o=uee(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function cee(t,n,e){let i=e?n.classBindings:n.styleBindings;if(zc(i)!==0)return t[_l(i)]}function dee(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[_l(r)]=i}function uee(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=um(i,a,e)}return um(i,n.attrs,e)}function UC(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=um(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function um(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]),Vp(t,a,e?!0:n[++o]))}return t===void 0?null:t}function mee(t,n,e){if(e==null||e==="")return zn;let i=[],r=ca(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 fee(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&Vp(t,i,e)}function hee(t,n,e,i,r,o,a,s){r===ei&&(r=zn);let l=0,c=0,d=0<r.length?r[0]:null,m=0<o.length?o[0]:null;for(;d!==null||m!==null;){let f=l<r.length?r[l+1]:void 0,h=c<o.length?o[c+1]:void 0,p=null,b;d===m?(l+=2,c+=2,f!==h&&(p=m,b=h)):m===null||d!==null&&d<m?(l+=2,p=d):(c+=2,p=m,b=h),p!==null&&ZF(t,n,e,i,p,b,a,s),d=l<r.length?r[l]:null,m=c<o.length?o[c]:null}}function ZF(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let l=t.data,c=l[s+1],d=XJ(c)?L1(l,n,e,r,zc(c),a):void 0;if(!vg(d)){vg(o)||QJ(c)&&(o=L1(l,null,e,r,s,a));let m=mC(Co(),e);DZ(i,a,m,r,o)}}function L1(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,m=d===null,f=e[r+1];f===ei&&(f=m?zn:void 0);let h=m?jp(f,i):d===i?f:void 0;if(c&&!vg(h)&&(h=jp(l,i)),vg(h)&&(s=h,a))return s;let p=t[r+1];r=a?_l(p):zc(p)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(s=jp(l,i))}return s}function vg(t){return t!==void 0}function pee(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=$a(ca(t)))),t}function XF(t,n){return(t.flags&(n?8:16))!==0}function O(t,n=""){let e=je(),i=Yt(),r=t+Gt,o=i.firstCreatePass?Gc(i,r,1,n,null):i.data[r],a=gee(i,e,o,n,t);e[r]=a,em()&&oD(i,e,a,o),oa(o,!1)}var gee=(t,n,e,i,r)=>(Ac(!0),wP(n[Nt],i));function JF(t,n,e,i=""){return pi(t,vo(),e)?n+il(e)+i:ei}function _ee(t,n,e,i,r,o=""){let a=KR(),s=vD(t,a,e,r);return qp(2),s?n+il(e)+i+il(r)+o:ei}function ae(t){return dn("",t),ae}function dn(t,n,e){let i=je(),r=JF(i,t,n,e);return r!==ei&&eO(i,Co(),r),dn}function Cm(t,n,e,i,r){let o=je(),a=_ee(o,t,n,e,i,r);return a!==ei&&eO(o,Co(),a),Cm}function eO(t,n,e){let i=mC(n,t);cZ(t[Nt],i,e)}function Yc(t,n,e){RC(n)&&(n=n());let i=je(),r=vo();if(pi(i,r,n)){let o=Yt(),a=Mc();jP(a,i,t,n,i[Nt],e)}return Yc}function wm(t,n){let e=RC(t);return e&&t.set(n),e}function Kc(t,n){let e=je(),i=Yt(),r=Sn();return qF(i,e,e[Nt],r,t,n),Kc}function fa(t){return pi(je(),vo(),t)?il(t):ei}function OD(t,n,e=""){return JF(je(),t,n,e)}function yee(t,n,e){let i=Yt();if(i.firstCreatePass){let r=bo(t);Nw(e,i.data,i.blueprint,r,!0),Nw(n,i.data,i.blueprint,r,!1)}}function Nw(t,n,e,i,r){if(t=Bn(t),Array.isArray(t))for(let o=0;o<t.length;o++)Nw(t[o],n,e,i,r);else{let o=Yt(),a=je(),s=Sn(),l=el(t)?t:Bn(t.provide),c=aC(t),d=s.providerIndexes&1048575,m=s.directiveStart,f=s.providerIndexes>>20;if(el(t)||!t.multi){let h=new gl(c,r,me,null),p=GC(l,n,r?d:d+f,m);p===-1?(YC(ug(s,a),o,l),qC(o,t,n.length),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(h),a.push(h)):(e[p]=h,a[p]=h)}else{let h=GC(l,n,d+f,m),p=GC(l,n,d,d+f),b=h>=0&&e[h],D=p>=0&&e[p];if(r&&!D||!r&&!b){YC(ug(s,a),o,l);let E=Cee(r?vee:bee,e.length,r,i,c,t);!r&&D&&(e[p].providerFactory=E),qC(o,t,n.length,0),n.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),e.push(E),a.push(E)}else{let E=tO(e[r?p:h],c,!r&&i);qC(o,t,h>-1?h:p,E)}!r&&i&&D&&e[p].componentProviders++}}}function qC(t,n,e,i){let r=el(n),o=LR(n);if(r||o){let l=(o?Bn(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 tO(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function GC(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function bee(t,n,e,i,r){return Lw(this.multi,[])}function vee(t,n,e,i,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=om(i,i[$e],this.providerFactory.index,r);a=l.slice(0,s),Lw(o,a);for(let c=s;c<l.length;c++)a.push(l[c])}else a=[],Lw(o,a);return a}function Lw(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function Cee(t,n,e,i,r,o){let a=new gl(t,e,me,null);return a.multi=[],a.index=n,a.componentProviders=0,tO(a,r,i&&!e),a}function Ce(t,n=[]){return e=>{e.providersResolver=(i,r)=>yee(i,r?r(t):t,n)}}function ND(t,n,e){let i=kc()+t,r=je();return r[i]===ei?Pg(r,i,e?n.call(e):n()):TX(r,i)}function yn(t,n,e,i){return nO(je(),kc(),t,n,e,i)}function LD(t,n){let e=t[n];return e===ei?void 0:e}function nO(t,n,e,i,r,o){let a=n+e;return pi(t,a,r)?Pg(t,a+1,o?i.call(o,r):i(r)):LD(t,a+1)}function wee(t,n,e,i,r,o,a){let s=n+e;return vD(t,s,r,o)?Pg(t,s+2,a?i.call(a,r,o):i(r,o)):LD(t,s+2)}function Dee(t,n,e,i,r,o,a,s){let l=n+e;return IX(t,l,r,o,a)?Pg(t,l+3,s?i.call(s,r,o,a):i(r,o,a)):LD(t,l+3)}function Vt(t,n){let e=Yt(),i,r=t+Gt;e.firstCreatePass?(i=Eee(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=Ha(i.type,!0)),a,s=fi(me);try{let l=dg(!1),c=o();return dg(l),fC(e,je(),r,c),c}finally{fi(s)}}function Eee(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function Qt(t,n,e){let i=t+Gt,r=je(),o=Zu(r,i);return jD(r,i)?nO(r,kc(),n,o.transform,e,o):o.transform(e)}function VD(t,n,e,i){let r=t+Gt,o=je(),a=Zu(o,r);return jD(o,r)?wee(o,kc(),n,a.transform,e,i,a):a.transform(e,i)}function Dm(t,n,e,i,r){let o=t+Gt,a=je(),s=Zu(a,o);return jD(a,o)?Dee(a,kc(),n,s.transform,e,i,r,s):s.transform(e,i,r)}function jD(t,n){return t[$e].data[n].pure}function So(t,n){return Mg(t,n)}var See=(()=>{class t{zone=u(J);changeDetectionScheduler=u(Ii);applicationRef=u(Mi);applicationErrorHandler=u(Hr);_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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function iO({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new J(de(M({},rO()),{scheduleInRootZone:e})),[{provide:J,useFactory:t},{provide:ta,multi:!0,useFactory:()=>{let i=u(See,{optional:!0});return()=>i.initialize()}},{provide:ta,multi:!0,useFactory:()=>{let i=u(xee);return()=>{i.initialize()}}},n===!0?{provide:PC,useValue:!0}:[],{provide:Zp,useValue:e??kF},{provide:Hr,useFactory:()=>{let i=u(J),r=u(gn),o;return a=>{i.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(Mn),o.handleError(a))})}}}]}function rO(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var xee=(()=>{class t{subscription=new be;initialized=!1;zone=u(J);pendingTasks=u(fl);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(()=>{J.assertNotInAngularZone(),queueMicrotask(()=>{e!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(e),e=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{J.assertInAngularZone(),e??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var BD=(()=>{class t{applicationErrorHandler=u(Hr);appRef=u(Mi);taskService=u(fl);ngZone=u(J);zonelessEnabled=u(Rc);tracing=u(is,{optional:!0});disableScheduling=u(PC,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new be;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(gg):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(Zp,{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 cm||!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?k1:MF;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(gg+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,k1(()=>{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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zD(){return Eo("NgZoneless"),rl([{provide:Ii,useExisting:BD},{provide:J,useClass:cm},{provide:Rc,useValue:!0},{provide:Zp,useValue:!1},[]])}function Tee(){return typeof $localize<"u"&&$localize.locale||bm}var Qc=new A("",{providedIn:"root",factory:()=>u(Qc,{optional:!0,skipSelf:!0})||Tee()});var Bg=class{destroyed=!1;listeners=null;errorHandler=u(Mn,{optional:!0});destroyRef=u(hi);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(n){if(this.destroyed)throw new X(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(ea(953,!1));return}if(this.listeners===null)return;let e=Ge(null);try{for(let i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{Ge(e)}}};function ii(t){return _R(t)}function it(t,n){return Au(t,n?.equal)}var $D=class{[Dn];constructor(n){this[Dn]=n}destroy(){this[Dn].destroy()}};function un(t,n){let e=n?.injector??u(Re),i=n?.manualCleanup!==!0?e.get(hi):null,r,o=e.get(ml,null,{optional:!0}),a=e.get(Ii);return o!==null?(r=Mee(o.view,a,t),i instanceof Uu&&i._lView===o.view&&(i=null)):r=Aee(t,e.get(tm),a),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new $D(r)}var oO=de(M({},yR),{cleanupFns:void 0,zone:null,onDestroyFn:hl,run(){let t=Ic(!1);try{bR(this)}finally{Ic(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=Ge(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],Ge(t)}}}),Iee=de(M({},oO),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){Ba(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),kee=de(M({},oO),{consumerMarkedDirty(){this.view[qe]|=8192,Ka(this.view),this.notifier.notify(13)},destroy(){Ba(this),this.onDestroyFn(),this.cleanup(),this.view[ia]?.delete(this)}});function Mee(t,n,e){let i=Object.create(kee);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=aO(i,e),t[ia]??=new Set,t[ia].add(i),i.consumerMarkedDirty(i),i}function Aee(t,n,e){let i=Object.create(Iee);return i.fn=aO(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 aO(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var fO=Symbol("InputSignalNode#UNSET"),Gee=de(M({},Ru),{transformFn:void 0,applyValueToInputSignal(t,n){sc(t,n)}});function hO(t,n){let e=Object.create(Gee);e.value=t,e.transformFn=n?.transform;function i(){if($s(e),e.value===fO){let r=null;throw new X(-950,r)}return e.value}return i[Dn]=e,i}var Hn=class{attributeName;constructor(n){this.attributeName=n}__NG_ELEMENT_ID__=()=>Bw(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Wee=new A("");Wee.__NG_ELEMENT_ID__=t=>{let n=Sn();if(n===null)throw new X(204,!1);if(n.type&2)return n.value;if(t&8)return null;throw new X(204,!1)};function Hg(t){return new Bg}function sO(t,n){return hO(t,n)}function Yee(t){return hO(fO,t)}var Ki=(sO.required=Yee,sO);function lO(t,n){return DD(n)}function Kee(t,n){return ED(n)}var Sm=(lO.required=Kee,lO);function cO(t,n){return DD(n)}function Qee(t,n){return ED(n)}var pO=(cO.required=Qee,cO);var UD=new A(""),Zee=new A("");function Em(t){return!t.moduleRef}function Xee(t){let n=Em(t)?t.r3Injector:t.moduleRef.injector,e=n.get(J);return e.run(()=>{Em(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(Hr),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),Em(t)){let o=()=>n.destroy(),a=t.platformInjector.get(UD);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(UD);a.add(o),t.moduleRef.onDestroy(()=>{im(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return ete(i,e,()=>{let o=n.get(fl),a=o.add(),s=n.get(MD);return s.runInitializers(),s.donePromise.then(()=>{let l=n.get(Qc,bm);if(LF(l||bm),!n.get(Zee,!0))return Em(t)?n.get(Mi):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(Em(t)){let d=n.get(Mi);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return Jee?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>void o.remove(a))})})}var Jee;function ete(t,n,e){try{let i=e();return bl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var zg=null;function tte(t=[],n){return Re.create({name:n,providers:[{provide:Gu,useValue:"platform"},{provide:UD,useValue:new Set([()=>zg=null])},...t]})}function nte(t=[]){if(zg)return zg;let n=tte(t);return zg=n,FF(),ite(n),n}function ite(t){let n=t.get(wg,null);Wu(t,()=>{n?.forEach(e=>e())})}var Ae=(()=>{class t{static __NG_ELEMENT_ID__=rte}return t})();function rte(t){return ote(Sn(),je(),(t&16)===16)}function ote(t,n,e){if(ra(t)&&!e){let i=fr(t.index,n);return new Xa(i,i)}else if(t.type&175){let i=n[Xn];return new Xa(i,n)}return null}var qD=class{constructor(){}supports(n){return bD(n)}create(n){return new GD(n)}},ate=(t,n)=>n,GD=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||ate}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<dO(i,r,o)?e:i,s=dO(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 f=0;f<c;f++){let h=f<o.length?o[f]:o[f]=0,p=h+f;d<=p&&p<c&&(o[f]=h+1)}let m=a.previousIndex;o[m]=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=[]),!bD(n))throw new X(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,mF(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 WD(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 $g),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 $g),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}},WD=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}},YD=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}},$g=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new YD,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 dO(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 KD=class{constructor(){}supports(n){return n instanceof Map||Rg(n)}create(){return new QD}},QD=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||Rg(n)))throw new X(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 ZD(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))}},ZD=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function uO(){return new xo([new qD])}var xo=(()=>{class t{factories;static \u0275prov=z({token:t,providedIn:"root",factory:uO});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=u(t,{optional:!0,skipSelf:!0});return t.create(e,i||uO())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new X(901,!1)}}return t})();function mO(){return new JD([new KD])}var JD=(()=>{class t{static \u0275prov=z({token:t,providedIn:"root",factory:mO});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=u(t,{optional:!0,skipSelf:!0});return t.create(e,i||mO())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new X(901,!1)}}return t})();function gO(t){Bt(8);try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=nte(i),o=[iO({}),{provide:Ii,useExisting:BD},l1,...e||[]],a=new lm({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return Xee({r3Injector:a.injector,platformInjector:r,rootComponent:n})}catch(n){return Promise.reject(n)}finally{Bt(9)}}function $(t){return typeof t=="boolean"?t:t!=null&&t!=="false"}function Zt(t,n=NaN){return!isNaN(parseFloat(t))&&!isNaN(Number(t))?Number(t):n}var HD=Symbol("NOT_SET"),_O=new Set,ste=de(M({},Ru),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:HD,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!==HD&&!Us(this))return this.signal;try{for(let r of this.cleanup??_O)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=ja(this),i;try{i=this.userFn.apply(null,n)}finally{Hs(this,e)}return(this.value===HD||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),XD=class extends dm{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(hi),a),this.scheduler=r;for(let s of TD){let l=e[s];if(l===void 0)continue;let c=Object.create(ste);c.sequence=this,c.phase=s,c.userFn=l,c.dirty=!0,c.signal=()=>($s(c),c.value),c.signal[Dn]=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??_O)e()}finally{Ba(n)}}};function yO(t,n){let e=n?.injector??u(Re),i=e.get(Ii),r=e.get(Og),o=e.get(is,null,{optional:!0});r.impl??=e.get(ID);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(ml,null,{optional:!0}),l=new XD(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null));return r.impl.register(l),l}function Ug(t,n){let e=Ga(t),i=n.elementInjector||Cc();return new jc(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var CO=null;function gr(){return CO}function eE(t){CO??=t}var xm=class{},tE=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:()=>u(wO),providedIn:"platform"})}return t})();var wO=(()=>{class t extends tE{_location;_history;_doc=u(ke);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return gr().getBaseHref(this._doc)}onPopState(e){let i=gr().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){let i=gr().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=z({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function DO(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function bO(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function rs(t){return t&&t[0]!=="?"?`?${t}`:t}var qg=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:()=>u(SO),providedIn:"root"})}return t})(),EO=new A(""),SO=(()=>{class t extends qg{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,i){super(),this._platformLocation=e,this._baseHref=i??this._platformLocation.getBaseHrefFromDOM()??u(ke).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 DO(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+rs(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+rs(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+rs(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)(ze(tE),ze(EO,8))};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Gg=(()=>{class t{_subject=new L;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=dte(bO(vO(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+rs(i))}normalize(e){return t.stripTrailingSlash(cte(this._basePath,vO(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+rs(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+rs(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=rs;static joinWithSlash=DO;static stripTrailingSlash=bO;static \u0275fac=function(i){return new(i||t)(ze(qg))};static \u0275prov=z({token:t,factory:()=>lte(),providedIn:"root"})}return t})();function lte(){return new Gg(ze(qg))}function cte(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function vO(t){return t.replace(/\/index.html$/,"")}function dte(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var nE=/\s+/,xO=[],To=(()=>{class t{_ngEl;_renderer;initialClasses=xO;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(nE):xO}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(nE):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(nE).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)(me(W),me(yt))};static \u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Wg=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}},Un=(()=>{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 Wg(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),TO(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);TO(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(me(rt),me(At),me(xo))};static \u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function TO(t,n){t.context.$implicit=n.item}var Pn=(()=>{class t{_viewContainer;_context=new Yg;_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){IO(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){IO(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)(me(rt),me(At))};static \u0275dir=N({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Yg=class{$implicit=null;ngIf=null};function IO(t,n){if(t&&!t.createEmbeddedView)throw new X(2020,!1)}var Fn=(()=>{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:Gr.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)(me(W),me(JD),me(yt))};static \u0275dir=N({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),oE=(()=>{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)(me(rt))};static \u0275dir=N({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[nt]})}return t})();function ute(t,n){return new X(2100,!1)}var iE=class{createSubscription(n,e,i){return ii(()=>n.subscribe({next:e,error:i}))}dispose(n){ii(()=>n.unsubscribe())}},rE=class{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}},mte=new rE,fte=new iE,aE=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=u(Hr);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(bl(e))return mte;if(Ng(e))return fte;throw ute(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)(me(Ae,16))};static \u0275pipe=ma({name:"async",type:t,pure:!1})}return t})();var sE=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=ma({name:"json",type:t,pure:!1})}return t})();function lE(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 Tm=class{};var cE="browser";function kO(t){return t===cE}var Qg=new A(""),hE=(()=>{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 X(5101,!1);return this._eventNameToPlugin.set(e,i),i}static \u0275fac=function(i){return new(i||t)(ze(Qg),ze(J))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),Im=class{_doc;constructor(n){this._doc=n}manager},dE="ng-app-id";function MO(t){for(let n of t)n.remove()}function AO(t,n){let e=n.createElement("style");return e.textContent=t,e}function gte(t,n,e,i){let r=t.head?.querySelectorAll(`style[${dE}="${n}"],link[${dE}="${n}"]`);if(r)for(let o of r)o.removeAttribute(dE),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 mE(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var pE=(()=>{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,gte(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,AO);i?.forEach(r=>this.addUsage(r,this.external,mE))}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&&(MO(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])MO(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,AO(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,mE(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)(ze(ke),ze(es),ze(qc,8),ze(ts))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),uE={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"},gE=/%COMP%/g;var PO="%COMP%",_te=`_nghost-${PO}`,yte=`_ngcontent-${PO}`,bte=!0,vte=new A("",{providedIn:"root",factory:()=>bte});function Cte(t){return yte.replace(gE,t)}function wte(t){return _te.replace(gE,t)}function FO(t,n){return n.map(e=>e.replace(gE,t))}var Am=(()=>{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,m,f=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=m,this.tracingService=f,this.platformIsServer=!1,this.defaultRenderer=new km(e,a,l,this.platformIsServer,this.tracingService,this.registry=Qp(),this.maxAnimationTimeout)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof Kg?r.applyToHost(e):r instanceof Mm&&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,m=this.platformIsServer,f=this.tracingService;switch(i.encapsulation){case sa.Emulated:o=new Kg(l,c,i,this.appId,d,a,s,m,f,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case sa.ShadowDom:return new fE(l,c,e,i,a,s,this.nonce,m,f,this.registry,this.maxAnimationTimeout);default:o=new Mm(l,c,i,d,a,s,m,f,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)(ze(hE),ze(pE),ze(es),ze(vte),ze(ke),ze(ts),ze(J),ze(qc),ze(AD),ze(RD),ze(is,8))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),km=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(uE[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(RO(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(RO(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 X(-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=uE[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=uE[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&(Gr.DashCase|Gr.Important)?n.style.setProperty(e,i,r&Gr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Gr.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=gr().getGlobalEventTarget(this.doc,n),!n))throw new X(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 RO(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var fE=class extends km{sharedStylesHost;hostEl;shadowRoot;constructor(n,e,i,r,o,a,s,l,c,d,m){super(n,o,a,l,c,d,m),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let f=r.styles;f=FO(r.id,f);for(let p of f){let b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=p,this.shadowRoot.appendChild(b)}let h=r.getExternalStyles?.();if(h)for(let p of h){let b=mE(p,o);s&&b.setAttribute("nonce",s),this.shadowRoot.appendChild(b)}}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)}},Mm=class extends km{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;_animationDisabled;constructor(n,e,i,r,o,a,s,l,c,d,m,f){super(n,o,a,s,l,c,m),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r,this._animationDisabled=d;let h=i.styles;this.styles=f?FO(f,h):h,this.styleUrls=i.getExternalStyles?.(f)}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)}}},Kg=class extends Mm{contentAttr;hostAttr;constructor(n,e,i,r,o,a,s,l,c,d,m,f){let h=r+"-"+i.id;super(n,e,i,o,a,s,l,c,d,m,f,h),this.contentAttr=Cte(h),this.hostAttr=wte(h)}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 Zg=class t extends xm{supportsDOMEvents=!0;static makeCurrent(){eE(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=Dte();return e==null?null:Ete(e)}resetBaseElement(){Rm=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return lE(document.cookie,n)}},Rm=null;function Dte(){return Rm=Rm||document.head.querySelector("base"),Rm?Rm.getAttribute("href"):null}function Ete(t){return new URL(t,document.baseURI).pathname}var Ste=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),NO=(()=>{class t extends Im{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)(ze(ke))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),OO=["alt","control","meta","shift"],xte={"\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"},Tte={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},LO=(()=>{class t extends Im{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(()=>gr().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."),OO.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=xte[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"),OO.forEach(a=>{if(a!==r){let s=Tte[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)(ze(ke))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();function _E(t){return gO(Ite(t))}function Ite(t){return{appProviders:[...Pte,...t?.providers??[]],platformProviders:Rte}}function kte(){Zg.makeCurrent()}function Mte(){return new Mn}function Ate(){return $w(document),document}var Rte=[{provide:ts,useValue:cE},{provide:wg,useValue:kte,multi:!0},{provide:ke,useFactory:Ate}];var Pte=[{provide:Gu,useValue:"root"},{provide:Mn,useFactory:Mte},{provide:Qg,useClass:NO,multi:!0,deps:[ke]},{provide:Qg,useClass:LO,multi:!0,deps:[ke]},Am,pE,hE,{provide:tn,useExisting:Am},{provide:Tm,useClass:Ste},[]];var bE=class{};var vl=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 vE=class{encodeKey(n){return VO(n)}encodeValue(n){return VO(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function Fte(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 Ote=/%(\d[a-f0-9])/gi,Nte={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function VO(t){return encodeURIComponent(t).replace(Ote,(n,e)=>Nte[e]??n)}function Xg(t){return`${t}`}var ha=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new vE,n.fromString){if(n.fromObject)throw new X(2805,!1);this.map=Fte(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(Xg):[Xg(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(Xg(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(Xg(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 CE=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 Lte(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function jO(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function BO(t){return typeof Blob<"u"&&t instanceof Blob}function zO(t){return typeof FormData<"u"&&t instanceof FormData}function Vte(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var jte="X-Request-URL",$O="text/plain",HO="application/json",XWe=`${HO}, ${$O}, */*`,Zc=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(Lte(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 X(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 vl,this.context??=new CE,!this.params)this.params=new ha,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"||jO(this.body)||BO(this.body)||zO(this.body)||Vte(this.body)?this.body:this.body instanceof ha?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||zO(this.body)?null:BO(this.body)?this.body.type||null:jO(this.body)?null:typeof this.body=="string"?$O:this.body instanceof ha?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?HO: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,m=n.referrer||this.referrer,f=n.integrity||this.integrity,h=n.transferCache??this.transferCache,p=n.timeout??this.timeout,b=n.body!==void 0?n.body:this.body,D=n.withCredentials??this.withCredentials,E=n.reportProgress??this.reportProgress,P=n.headers||this.headers,G=n.params||this.params,ce=n.context??this.context;return n.setHeaders!==void 0&&(P=Object.keys(n.setHeaders).reduce((ie,Pe)=>ie.set(Pe,n.setHeaders[Pe]),P)),n.setParams&&(G=Object.keys(n.setParams).reduce((ie,Pe)=>ie.set(Pe,n.setParams[Pe]),G)),new t(e,i,b,{params:G,headers:P,context:ce,reportProgress:E,responseType:r,withCredentials:D,transferCache:h,keepalive:o,cache:s,priority:a,timeout:p,mode:l,redirect:c,credentials:d,referrer:m,integrity:f})}},DE=(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})(DE||{}),wE=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new vl,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 Jg=class t extends wE{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=DE.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 yE(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 EE=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof Zc)o=e;else{let l;r.headers instanceof vl?l=r.headers:l=new vl(r.headers);let c;r.params&&(r.params instanceof ha?c=r.params:c=new ha({fromObject:r.params})),o=new Zc(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=en(o).pipe(k0(l=>this.handler.handle(l)));if(e instanceof Zc||r.observe==="events")return a;let s=a.pipe(_t(l=>l instanceof Jg));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(et(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new X(2806,!1);return l.body}));case"blob":return s.pipe(et(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new X(2807,!1);return l.body}));case"text":return s.pipe(et(l=>{if(l.body!==null&&typeof l.body!="string")throw new X(2808,!1);return l.body}));case"json":default:return s.pipe(et(l=>l.body))}case"response":return s;default:throw new X(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 ha().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,yE(r,i))}post(e,i,r={}){return this.request("POST",e,yE(r,i))}put(e,i,r={}){return this.request("PUT",e,yE(r,i))}static \u0275fac=function(i){return new(i||t)(ze(bE))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();var JWe=RegExp(`^${jte}:`,"m");var xE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:function(i){let r=null;return i?r=new(i||t):r=ze(zte),r},providedIn:"root"})}return t})(),zte=(()=>{class t extends xE{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case gi.NONE:return i;case gi.HTML:return yl(i,"HTML")?ca(i):Zw(this._doc,String(i)).toString();case gi.STYLE:return yl(i,"Style")?ca(i):i;case gi.SCRIPT:if(yl(i,"Script"))return ca(i);throw new X(5200,!1);case gi.URL:return yl(i,"URL")?ca(i):mm(String(i));case gi.RESOURCE_URL:if(yl(i,"ResourceURL"))return ca(i);throw new X(5201,!1);default:throw new X(5202,!1)}}bypassSecurityTrustHtml(e){return qw(e)}bypassSecurityTrustStyle(e){return Gw(e)}bypassSecurityTrustScript(e){return Ww(e)}bypassSecurityTrustUrl(e){return Yw(e)}bypassSecurityTrustResourceUrl(e){return Kw(e)}static \u0275fac=function(i){return new(i||t)(ze(ke))};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Hte={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};function Ute(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function qte(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var TE;function Gte(t,n){if(!TE){let e=Element.prototype;TE=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?TE.call(t,n):!1}function Wte(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[Ute(i)]=[e,r]}),n}function Yte(t,n){return n.get(ua).resolveComponentFactory(t).inputs}function Kte(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=Qte(s,n,r);l!==-1&&i[l].push(s)}return i}function Qte(t,n,e){let i=e;return qte(t)&&n.some((r,o)=>r!=="*"&&Gte(t,r)?(i=o,!0):!1),i}var Zte=10,IE=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(ua).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new kE(this.componentFactory,n,this.inputMap)}},kE=class{componentFactory;injector;inputMap;eventEmitters=new Ks(1);events=this.eventEmitters.pipe(Qn(n=>Pt(...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(J),this.appRef=this.injector.get(Mi),this.cdScheduler=e.get(Ii),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=Hte.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},Zte))})}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),fD(this.componentRef.hostView)&&(hD(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=Re.create({providers:[],parent:this.injector}),i=Kte(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 Le(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()}},ME=class extends HTMLElement{ngElementEventsSubscription=null};function UO(t,n){let e=Yte(t,n.injector),i=n.strategyFactory||new IE(t,n.injector),r=Wte(e);class o extends ME{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[m,f]=r[s];this.ngElementStrategy.setInputValue(m,c,f)}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 AE={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,proportionAppliedAfter6PM:75,dragHoseAreaSize:1e4},manure:{applicationIncorporationTime:2,proportionAppliedSummerMonths:40},fertiliser:[{fertiliserProductCategory:"UREA",quantity:500,transactionUnit:"kg",ingredient:[{molecularFormula:"Ntot",quantity:46,unit:"%"}]}],recycling:[{typeOfManureRecyclingProduct:"COMPOST",quantity:2,transactionUnit:"t",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}};var Io=class t{_data=pe(AE);data=this._data.asReadonly();_calculationMode=pe("SuiBi");calculationMode=this._calculationMode.asReadonly();setData(n){this._data()!==n&&this._data.set(n)}setCalculationMode(n){this._calculationMode.set(n)}reset(){this._data.set(AE)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})};var qO={Orders:"Orders",Data:"Data",Language:"Language",Contracts:"Contracts",Customer:"Customer","Choose preferred locale":"Choose preferred locale","nav.home":"Start","nav.animalStock":"Animal Stock","nav.dataPreview":"Data Preview","nav.unknownPage":"Unknown page","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","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","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 GO={Orders:"Bestellungen",Data:"Daten",Language:"Sprache",Contracts:"Vertr\xE4ge",Customer:"Kunde","Choose preferred locale":"Sprache ausw\xE4hlen","nav.home":"Start","nav.animalStock":"Tierbestand","nav.dataPreview":"Daten\xFCbersicht","nav.unknownPage":"Unbekannte Seite","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","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","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 ene={en:qO,de:GO},_i=class t{_locale=pe("en");locale=this._locale.asReadonly();translator=(n,e)=>ene[this._locale()][n]??e??n;jsonFormsI18n=it(()=>({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=z({token:t,factory:t.\u0275fac,providedIn:"root"})},Ai=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=it(()=>this.i18n.t(n,e)),this.cache.set(i,r)),r}static \u0275fac=function(e){return new(e||t)(me(_i,16))};static \u0275pipe=ma({name:"t",type:t,pure:!0})};function e_(t){return t&&typeof t.connect=="function"&&!(t instanceof Pu)}var os=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(os||{}),Xc=new A("_ViewRepeater");var Cl=class{applyChanges(n,e,i,r,o){n.forEachOperation((a,s,l)=>{let c,d;if(a.previousIndex==null){let m=i(a,s,l);c=e.createEmbeddedView(m.templateRef,m.context,m.index),d=os.INSERTED}else l==null?(e.remove(s),d=os.REMOVED):(c=e.get(s),e.move(c,l),d=os.MOVED);o&&o({context:c?.context,operation:d,record:a})})}detach(){}};var tne=new A("cdk-dir-doc",{providedIn:"root",factory:nne});function nne(){return u(ke)}var ine=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function WO(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?ine.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ft=(()=>{class t{get value(){return this.valueSignal()}valueSignal=pe("ltr");change=new F;constructor(){let e=u(tne,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(WO(i||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var RE;try{RE=typeof Intl<"u"&&Intl.v8BreakIterator}catch{RE=!1}var He=(()=>{class t{_platformId=u(ts);isBrowser=this._platformId?kO(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||RE)&&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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function oi(t,n=0){return YO(t)?Number(t):arguments.length===2?n:0}function YO(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function sn(t){return t instanceof W?t.nativeElement:t}var Yr=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Yr||{}),t_,wl;function n_(){if(wl==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return wl=!1,wl;if("scrollBehavior"in document.documentElement.style)wl=!0;else{let t=Element.prototype.scrollTo;t?wl=!/\{\s*\[native code\]\s*\}/.test(t.toString()):wl=!1}}return wl}function Jc(){if(typeof document!="object"||!document)return Yr.NORMAL;if(t_==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),t_=Yr.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,t_=t.scrollLeft===0?Yr.NEGATED:Yr.INVERTED),t.remove()}return t_}var as=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var rne=20,Kr=(()=>{class t{_ngZone=u(J);_platform=u(He);_renderer=u(tn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new L;_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=rne){return this._platform.isBrowser?new Le(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Cp(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):en()}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(_t(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=sn(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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pa=(()=>{class t{elementRef=u(W);scrollDispatcher=u(Kr);ngZone=u(J);dir=u(Ft,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new L;_renderer=u(yt);_cleanupScroll;_elementScrolled=new L;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&&Jc()!=Yr.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),Jc()==Yr.INVERTED?e.left=e.right:Jc()==Yr.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;n_()?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&&Jc()==Yr.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&Jc()==Yr.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=N({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return t})(),one=20,On=(()=>{class t{_platform=u(He);_listeners;_viewportSize;_change=new L;_document=u(ke);constructor(){let e=u(J),i=u(tn).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=one){return e>0?this._change.pipe(Cp(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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var ss=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})(),Pm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[as,ss,as,ss]})}return t})();var ane=[[["caption"]],[["colgroup"],["col"]],"*"],sne=["caption","colgroup, col","*"];function lne(t,n){t&1&&oe(0,2)}function cne(t,n){t&1&&(v(0,"thead",0),ni(1,1),w(),v(2,"tbody",0),ni(3,2)(4,3),w(),v(5,"tfoot",0),ni(6,4),w())}function dne(t,n){t&1&&ni(0,1)(1,2)(2,3)(3,4)}var Qr=new A("CDK_TABLE");var a_=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),s_=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),XO=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),ed=(()=>{class t{_table=u(Qr,{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=N({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,o){if(i&1&&(Ke(o,a_,5),Ke(o,s_,5),Ke(o,XO,5)),i&2){let a;j(a=B())&&(r.cell=a.first),j(a=B())&&(r.headerCell=a.first),j(a=B())&&(r.footerCell=a.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",$],stickyEnd:[2,"stickyEnd","stickyEnd",$]},features:[Ce([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),r_=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},JO=(()=>{class t extends r_{constructor(){super(u(ed),u(W))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[ee]})}return t})();var eN=(()=>{class t extends r_{constructor(){let e=u(ed),i=u(W);super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[ee]})}return t})();var FE=(()=>{class t{template=u(At);_differs=u(xo);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 Fm?e.headerCell.template:this instanceof OE?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,features:[nt]})}return t})(),Fm=(()=>{class t extends FE{_table=u(Qr,{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(u(At),u(xo))}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=N({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",$]},features:[ee,nt]})}return t})(),OE=(()=>{class t extends FE{_table=u(Qr,{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(u(At),u(xo))}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=N({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",$]},features:[ee,nt]})}return t})(),l_=(()=>{class t extends FE{_table=u(Qr,{optional:!0});when;constructor(){super(u(At),u(xo))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},features:[ee]})}return t})(),Dl=(()=>{class t{_viewContainer=u(rt);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=N({type:t,selectors:[["","cdkCellOutlet",""]]})}return t})(),NE=(()=>{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&&ni(0,0)},dependencies:[Dl],encapsulation:2})}return t})();var LE=(()=>{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&&ni(0,0)},dependencies:[Dl],encapsulation:2})}return t})(),tN=(()=>{class t{templateRef=u(At);_contentClassName="cdk-no-data-row";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["ng-template","cdkNoDataRow",""]]})}return t})(),KO=["top","bottom","left","right"],PE=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));Lt({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(D=>D)||i.some(D=>D))){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",m=e.lastIndexOf(!0),f=i.indexOf(!0),h,p,b;o&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),Lt({earlyRead:()=>{h=this._getCellWidths(a,r),p=this._getStickyStartColumnPositions(h,e),b=this._getStickyEndColumnPositions(h,i)},write:()=>{for(let D of n)for(let E=0;E<s;E++){let P=D.children[E];e[E]&&this._addStickyStyle(P,c,p[E],E===m),i[E]&&this._addStickyStyle(P,d,b[E],E===f)}this._positionListener&&h.some(D=>!!D)&&(this._positionListener.stickyColumnsUpdated({sizes:m===-1?[]:h.slice(0,m+1).map((D,E)=>e[E]?D:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:f===-1?[]:h.slice(f).map((D,E)=>i[E+f]?D: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=[];Lt({earlyRead:()=>{for(let c=0,d=0;c<r.length;c++){if(!o[c])continue;a[c]=d;let m=r[c];l[c]=this._isNativeHtmlTable?Array.from(m.children):[m];let f=this._retrieveElementSize(m).height;d+=f,s[c]=f}},write:()=>{let c=o.lastIndexOf(!0);for(let d=0;d<r.length;d++){if(!o[d])continue;let m=a[d],f=d===c;for(let h of l[d])this._addStickyStyle(h,i,m,f)}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&&Lt({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]);KO.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 KO)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&&une(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 une(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var o_=new A("CDK_SPL");var VE=(()=>{class t{viewContainer=u(rt);elementRef=u(W);constructor(){let e=u(Qr);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","rowOutlet",""]]})}return t})(),jE=(()=>{class t{viewContainer=u(rt);elementRef=u(W);constructor(){let e=u(Qr);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),BE=(()=>{class t{viewContainer=u(rt);elementRef=u(W);constructor(){let e=u(Qr);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),zE=(()=>{class t{viewContainer=u(rt);elementRef=u(W);constructor(){let e=u(Qr);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),$E=(()=>{class t{_differs=u(xo);_changeDetectorRef=u(Ae);_elementRef=u(W);_dir=u(Ft,{optional:!0});_platform=u(He);_viewRepeater=u(Xc);_viewportRuler=u(On);_stickyPositioningListener=u(o_,{optional:!0,skipSelf:!0});_document=u(ke);_data;_onDestroy=new L;_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 F;viewChange=new xi({start:0,end:Number.MAX_VALUE});_rowOutlet;_headerRowOutlet;_footerRowOutlet;_noDataRowOutlet;_contentColumnDefs;_contentRowDefs;_contentHeaderRowDefs;_contentFooterRowDefs;_noDataRow;_injector=u(Re);constructor(){u(new Hn("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(We(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(),e_(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===os.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=QO(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=QO(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(),i_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=i_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=i_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=i_(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=[],e_(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;e_(this.dataSource)?e=this.dataSource.connect(this):_p(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=en(this.dataSource)),this._renderChangeSubscription=e.pipe(We(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))Dl.mostRecentCellOutlet&&Dl.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 PE(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:en()).pipe(We(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&&(Ke(o,tN,5),Ke(o,ed,5),Ke(o,l_,5),Ke(o,Fm,5),Ke(o,OE,5)),i&2){let a;j(a=B())&&(r._noDataRow=a.first),j(a=B())&&(r._contentColumnDefs=a),j(a=B())&&(r._contentRowDefs=a),j(a=B())&&(r._contentHeaderRowDefs=a),j(a=B())&&(r._contentFooterRowDefs=a)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&U("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",$],fixedLayout:[2,"fixedLayout","fixedLayout",$]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[Ce([{provide:Qr,useExisting:t},{provide:Xc,useClass:Cl},{provide:o_,useValue:null}])],ngContentSelectors:sne,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Be(ane),oe(0),oe(1,1),De(2,lne,1,0),De(3,cne,7,0)(4,dne,4,0)),i&2&&(C(2),Ee(r._isServer?2:-1),C(),Ee(r._isNativeHtmlTable?3:4))},dependencies:[jE,VE,zE,BE],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
|
|
17
|
-
`],encapsulation:2})}return t})();function i_(t,n){return t.concat(Array.from(n))}function QO(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 nN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[Pm]})}return t})();var Om=(()=>{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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nm=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 L;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 El(t){return t.buttons===0||t.detail===0}function Sl(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 HE;function iN(){if(HE==null){let t=typeof document<"u"?document.head:null;HE=!!(t&&(t.createShadowRoot||t.attachShadow))}return HE}function xl(t){if(iN()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function ga(){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 mn(t){return t.composedPath?t.composedPath()[0]:t.target}var Lm;function rN(){if(Lm==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>Lm=!0}))}finally{Lm=Lm||!1}return Lm}function ls(t){return rN()?t:!!t.capture}var oN=new A("cdk-input-modality-detector-options"),aN={ignoreKeys:[18,17,224,91,16]},sN=650,UE={passive:!0,capture:!0},lN=(()=>{class t{_platform=u(He);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new xi(null);_options;_lastTouchMs=0;_onKeydown=e=>{this._options?.ignoreKeys?.some(i=>i===e.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=mn(e))};_onMousedown=e=>{Date.now()-this._lastTouchMs<sN||(this._modality.next(El(e)?"keyboard":"mouse"),this._mostRecentTarget=mn(e))};_onTouchstart=e=>{if(Sl(e)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=mn(e)};constructor(){let e=u(J),i=u(ke),r=u(oN,{optional:!0});if(this._options=M(M({},aN),r),this.modalityDetected=this._modality.pipe(Zs(1)),this.modalityChanged=this.modalityDetected.pipe(Dp()),this._platform.isBrowser){let o=u(tn).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,UE),o.listen(i,"mousedown",this._onMousedown,UE),o.listen(i,"touchstart",this._onTouchstart,UE)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(e=>e())}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Vm=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Vm||{}),cN=new A("cdk-focus-monitor-default-options"),c_=ls({passive:!0,capture:!0}),Qi=(()=>{class t{_ngZone=u(J);_platform=u(He);_inputModalityDetector=u(lN);_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=u(ke);_stopInputModalityDetector=new L;constructor(){let e=u(cN,{optional:!0});this._detectionMode=e?.detectionMode||Vm.IMMEDIATE}_rootNodeFocusAndBlurListener=e=>{let i=mn(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=sn(e);if(!this._platform.isBrowser||r.nodeType!==1)return en();let o=xl(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new L,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=sn(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=sn(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===Vm.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===Vm.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?sN:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(e,i){let r=this._elementInfo.get(i),o=mn(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,c_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,c_)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(We(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,c_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,c_),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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jm=(()=>{class t{_elementRef=u(W);_focusMonitor=u(Qi);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new F;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=N({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return t})();var d_=new WeakMap,wt=(()=>{class t{_appRef;_injector=u(Re);_environmentInjector=u(gn);load(e){let i=this._appRef=this._appRef||this._injector.get(Mi),r=d_.get(i);r||(r={loaders:new Set,refs:[]},d_.set(i,r),i.onDestroy(()=>{d_.get(i)?.refs.forEach(o=>o.destroy()),d_.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Ug(e,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var _r=(()=>{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 Zr(t){return Array.isArray(t)?t:[t]}var dN=new Set,Tl,u_=(()=>{class t{_platform=u(He);_nonce=u(qc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):fne}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&mne(e,this._nonce),this._matchMedia(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mne(t,n){if(!dN.has(t))try{Tl||(Tl=document.createElement("style"),n&&Tl.setAttribute("nonce",n),Tl.setAttribute("type","text/css"),document.head.appendChild(Tl)),Tl.sheet&&(Tl.sheet.insertRule(`@media ${t} {body{ }}`,0),dN.add(t))}catch(e){console.error(e)}}function fne(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var Bm=(()=>{class t{_mediaMatcher=u(u_);_zone=u(J);_queries=new Map;_destroySubject=new L;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return uN(Zr(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=uN(Zr(e)).map(a=>this._registerQuery(a).observable),o=T0(r);return o=za(o.pipe(wn(1)),o.pipe(Zs(1),jr(0))),o.pipe(et(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 Le(a=>{let s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Ot(i),et(({matches:a})=>({query:e,matches:a})),We(this._destroySubject)),mql:i};return this._queries.set(e,o),o}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function uN(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function hne(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 mN=(()=>{class t{create(e){return typeof MutationObserver>"u"?null:new MutationObserver(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),pne=(()=>{class t{_mutationObserverFactory=u(mN);_observedElements=new Map;_ngZone=u(J);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=sn(e);return new Le(r=>{let a=this._observeElement(i).pipe(et(s=>s.filter(l=>!hne(l))),_t(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 L,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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),m_=(()=>{class t{_contentObserver=u(pne);_elementRef=u(W);event=new F;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=oi(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(jr(this.debounce)):e).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return t})(),f_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({providers:[mN]})}return t})();var td=(()=>{class t{_platform=u(He);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return _ne(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=gne(Sne(e));if(i&&(fN(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=fN(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Dne(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 Ene(e)&&!this.isDisabled(e)&&(i?.ignoreVisibility||this.isVisible(e))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gne(t){try{return t.frameElement}catch{return null}}function _ne(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function yne(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function bne(t){return Cne(t)&&t.type=="hidden"}function vne(t){return wne(t)&&t.hasAttribute("href")}function Cne(t){return t.nodeName.toLowerCase()=="input"}function wne(t){return t.nodeName.toLowerCase()=="a"}function gN(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function fN(t){if(!gN(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Dne(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function Ene(t){return bne(t)?!1:yne(t)||vne(t)||t.hasAttribute("contenteditable")||gN(t)}function Sne(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var h_=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?Lt(n,{injector:this._injector}):setTimeout(n)}},p_=(()=>{class t{_checker=u(td);_ngZone=u(J);_document=u(ke);_injector=u(Re);constructor(){u(wt).load(_r)}create(e,i=!1){return new h_(e,this._checker,this._ngZone,this._document,i,this._injector)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),GE=(()=>{class t{_elementRef=u(W);_focusTrapFactory=u(p_);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){u(He).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=ga(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",$],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",$]},exportAs:["cdkTrapFocus"],features:[nt]})}return t})(),_N=new A("liveAnnouncerElement",{providedIn:"root",factory:yN});function yN(){return null}var bN=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),xne=0,WE=(()=>{class t{_ngZone=u(J);_defaultOptions=u(bN,{optional:!0});_liveElement;_document=u(ke);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(_N,{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-${xne++}`,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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var cs=(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})(cs||{}),hN="cdk-high-contrast-black-on-white",pN="cdk-high-contrast-white-on-black",qE="cdk-high-contrast-active",YE=(()=>{class t{_platform=u(He);_hasCheckedHighContrastMode;_document=u(ke);_breakpointSubscription;constructor(){this._breakpointSubscription=u(Bm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return cs.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 cs.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return cs.BLACK_ON_WHITE}return cs.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(qE,hN,pN),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===cs.BLACK_ON_WHITE?e.add(qE,hN):i===cs.WHITE_ON_BLACK&&e.add(qE,pN)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var KE={},Tt=(()=>{class t{_appId=u(es);getId(e){return this._appId!=="ng"&&(e+=this._appId),KE.hasOwnProperty(e)||(KE[e]=0),`${e}${KE[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Tne=200,g_=class{_letterKeyStream=new L;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new L;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:Tne;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(Br(e=>this._pressedLetters.push(e)),jr(n),_t(()=>this._pressedLetters.length>0),et(()=>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 $t(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}var nd=class{_items;_activeItemIndex=pe(-1);_activeItem=pe(null);_wrap=!1;_typeaheadSubscription=be.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 Gi?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):wo(n)&&(this._effectRef=un(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new L;change=new L;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 g_(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||$t(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 wo(this._items)?this._items():this._items instanceof Gi?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 Ml=class extends nd{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Al=class extends nd{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var EN=" ";function id(t,n,e){let i=v_(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(EN)))}function ds(t,n,e){let i=v_(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(EN)):t.removeAttribute(n)}function v_(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var SN="cdk-describedby-message",b_="cdk-describedby-host",ZE=0,C_=(()=>{class t{_platform=u(He);_document=u(ke);_messageRegistry=new Map;_messagesContainer=null;_id=`${ZE++}`;constructor(){u(wt).load(_r),this._id=u(es)+"-"+ZE++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=QE(i,r);typeof i!="string"?(wN(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=QE(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(`[${b_}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(b_);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");wN(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(QE(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=v_(e,"aria-describedby").filter(r=>r.indexOf(SN)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);id(e,"aria-describedby",r.messageElement.id),e.setAttribute(b_,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,ds(e,"aria-describedby",r.messageElement.id),e.removeAttribute(b_)}_isElementDescribedByMessage(e,i){let r=v_(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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function QE(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function wN(t,n){t.id||(t.id=`${SN}-${n}-${ZE++}`)}var ct=(()=>{class t{constructor(){u(YE)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[as,as]})}return t})();function bn(t){return t==null?"":typeof t=="string"?t:`${t}px`}function fn(t){return t!=null&&`${t}`!="false"}function xN(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 Ine=[[["caption"]],[["colgroup"],["col"]],"*"],kne=["caption","colgroup, col","*"];function Mne(t,n){t&1&&oe(0,2)}function Ane(t,n){t&1&&(v(0,"thead",0),ni(1,1),w(),v(2,"tbody",2),ni(3,3)(4,4),w(),v(5,"tfoot",0),ni(6,5),w())}function Rne(t,n){t&1&&ni(0,1)(1,3)(2,4)(3,5)}var rd=(()=>{class t extends $E{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(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&&U("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],features:[Ce([{provide:$E,useExisting:t},{provide:Qr,useExisting:t},{provide:Xc,useClass:Cl},{provide:o_,useValue:null}]),ee],ngContentSelectors:kne,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Be(Ine),oe(0),oe(1,1),De(2,Mne,1,0),De(3,Ane,7,0)(4,Rne,4,0)),i&2&&(C(2),Ee(r._isServer?2:-1),C(),Ee(r._isNativeHtmlTable?3:4))},dependencies:[jE,VE,zE,BE],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})(),w_=(()=>{class t extends a_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matCellDef",""]],features:[Ce([{provide:a_,useExisting:t}]),ee]})}return t})(),D_=(()=>{class t extends s_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderCellDef",""]],features:[Ce([{provide:s_,useExisting:t}]),ee]})}return t})();var E_=(()=>{class t extends ed{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=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[Ce([{provide:ed,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ee]})}return t})(),S_=(()=>{class t extends JO{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[ee]})}return t})();var x_=(()=>{class t extends eN{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[ee]})}return t})();var T_=(()=>{class t extends Fm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",$]},features:[Ce([{provide:Fm,useExisting:t}]),ee]})}return t})();var I_=(()=>{class t extends l_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[Ce([{provide:l_,useExisting:t}]),ee]})}return t})(),k_=(()=>{class t extends NE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(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:[Ce([{provide:NE,useExisting:t}]),ee],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ni(0,0)},dependencies:[Dl],encapsulation:2})}return t})();var M_=(()=>{class t extends LE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(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:[Ce([{provide:LE,useExisting:t}]),ee],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ni(0,0)},dependencies:[Dl],encapsulation:2})}return t})();var TN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,nN,ct]})}return t})();function XE(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var od,kN=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function JE(){if(od)return od;if(typeof document!="object"||!document)return od=new Set(kN),od;let t=document.createElement("input");return od=new Set(kN.filter(n=>(t.setAttribute("type",n),t.type===n))),od}var MN={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 Pne=new A("MATERIAL_ANIMATIONS");var AN=null;function Fne(){return u(Pne,{optional:!0})?.animationsDisabled||u(ns,{optional:!0})==="NoopAnimations"?"di-disabled":(AN??=u(u_).matchMedia("(prefers-reduced-motion)").matches,AN?"reduced-motion":"enabled")}function ft(){return Fne()!=="enabled"}var yi=(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})(yi||{}),eS=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=yi.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},RN=ls({passive:!0,capture:!0}),tS=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,RN)})}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,RN)))}_delegateEventHandler=n=>{let e=mn(n);e&&this._events.get(n.type)?.forEach((i,r)=>{(r===e||r.contains(e))&&i.forEach(o=>o.handleEvent(n))})}},Hm={enterDuration:225,exitDuration:150},One=800,PN=ls({passive:!0,capture:!0}),FN=["mousedown","touchstart"],ON=["mouseup","mouseleave","touchend","touchcancel"],Nne=(()=>{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})(),Rl=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new tS;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=sn(i)),o&&o.get(wt).load(Nne)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=M(M({},Hm),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||Lne(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 m=window.getComputedStyle(d),f=m.transitionProperty,h=m.transitionDuration,p=f==="none"||h==="0s"||h==="0s, 0s"||r.width===0&&r.height===0,b=new eS(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",b.state=yi.FADING_IN,i.persistent||(this._mostRecentTransientRipple=b);let D=null;return!p&&(c||o.exitDuration)&&this._ngZone.runOutsideAngular(()=>{let E=()=>{D&&(D.fallbackTimer=null),clearTimeout(G),this._finishRippleTransition(b)},P=()=>this._destroyRipple(b),G=setTimeout(P,c+100);d.addEventListener("transitionend",E),d.addEventListener("transitioncancel",P),D={onTransitionEnd:E,onTransitionCancel:P,fallbackTimer:G}}),this._activeRipples.set(b,D),(p||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===yi.FADING_OUT||n.state===yi.HIDDEN)return;let e=n.element,i=M(M({},Hm),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=yi.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=sn(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,FN.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(()=>{ON.forEach(e=>{this._triggerElement.addEventListener(e,this,PN)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===yi.FADING_IN?this._startFadeOutTransition(n):n.state===yi.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=yi.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=yi.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=El(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+One;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!Sl(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===yi.VISIBLE||n.config.terminateOnPointerUp&&n.state===yi.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(FN.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(ON.forEach(e=>n.removeEventListener(e,this,PN)),this._pointerUpEventsRegistered=!1))}};function Lne(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 us=new A("mat-ripple-global-options"),br=(()=>{class t{_elementRef=u(W);_animationsDisabled=ft();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=u(J),i=u(He),r=u(us,{optional:!0}),o=u(Re);this._globalOptions=r||{},this._rippleRenderer=new Rl(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:M(M(M({},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,M(M({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,M(M({},this.rippleConfig),e))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(i,r){i&2&&U("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 Vne={capture:!0},jne=["focus","mousedown","mouseenter","touchstart"],nS="mat-ripple-loader-uninitialized",iS="mat-ripple-loader-class-name",NN="mat-ripple-loader-centered",A_="mat-ripple-loader-disabled",LN=(()=>{class t{_document=u(ke);_animationsDisabled=ft();_globalRippleOptions=u(us,{optional:!0});_platform=u(He);_ngZone=u(J);_injector=u(Re);_eventCleanups;_hosts=new Map;constructor(){let e=u(tn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>jne.map(i=>e.listen(this._document,i,this._onInteraction,Vne)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(nS,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(iS))&&e.setAttribute(iS,i.className||""),i.centered&&e.setAttribute(NN,""),i.disabled&&e.setAttribute(A_,"")}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(A_,""):e.removeAttribute(A_)}_onInteraction=e=>{let i=mn(e);if(i instanceof HTMLElement){let r=i.closest(`[${nS}="${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(iS)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Hm.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Hm.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(A_),rippleConfig:{centered:e.hasAttribute(NN),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},l=new Rl(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(nS)}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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Nn=(()=>{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 Bne=["mat-icon-button",""],zne=["*"],$ne=new A("MAT_BUTTON_CONFIG");function VN(t){return t==null?void 0:Zt(t)}var R_=(()=>{class t{_elementRef=u(W);_ngZone=u(J);_animationsDisabled=ft();_config=u($ne,{optional:!0});_focusMonitor=u(Qi);_cleanupClick;_renderer=u(yt);_rippleLoader=u(LN);_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(){u(wt).load(Nn);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=N({type:t,hostAttrs:[1,"mat-mdc-button-base"],hostVars:13,hostBindings:function(i,r){i&2&&(fe("disabled",r._getDisabledAttribute())("aria-disabled",r._getAriaDisabled())("tabindex",r._getTabIndex()),nn(r.color?"mat-"+r.color:""),U("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",$],disabled:[2,"disabled","disabled",$],ariaDisabled:[2,"aria-disabled","ariaDisabled",$],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$],tabIndex:[2,"tabIndex","tabIndex",VN],_tabindex:[2,"tabindex","_tabindex",VN]}})}return t})(),Jr=(()=>{class t extends R_{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:[ee],attrs:Bne,ngContentSelectors:zne,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&&(Be(),ti(0,"span",0),oe(1),ti(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 ad=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var Hne=["matButton",""],zN=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],$N=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Une=["mat-fab",""];var jN=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"]]]),vr=(()=>{class t extends R_{get appearance(){return this._appearance}set appearance(e){this.setAppearance(e||this._config?.defaultAppearance||"text")}_appearance=null;constructor(){super();let e=qne(this._elementRef.nativeElement);e&&this.setAppearance(e)}setAppearance(e){if(e===this._appearance)return;let i=this._elementRef.nativeElement.classList,r=this._appearance?jN.get(this._appearance):null,o=jN.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:[ee],attrs:Hne,ngContentSelectors:$N,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&&(Be(zN),ti(0,"span",0),oe(1),xn(2,"span",1),oe(3,1),Rn(),oe(4,2),ti(5,"span",2)(6,"span",3)),i&2&&U("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 qne(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 Gne=new A("mat-mdc-fab-default-options",{providedIn:"root",factory:HN});function HN(){return{color:"accent"}}var BN=HN(),UN=(()=>{class t extends R_{_options=u(Gne,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||BN,this.color=this._options.color||BN.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&&U("mdc-fab--extended",r.extended)("mat-mdc-extended-fab",r.extended)},inputs:{extended:[2,"extended","extended",$]},exportAs:["matButton","matAnchor"],features:[ee],attrs:Une,ngContentSelectors:$N,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&&(Be(zN),ti(0,"span",0),oe(1),xn(2,"span",1),oe(3,1),Rn(),oe(4,2),ti(5,"span",2)(6,"span",3)),i&2&&U("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 Zi=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ad,ct]})}return t})();var P_;function Wne(){if(P_===void 0&&(P_=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(P_=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return P_}function qm(t){return Wne()?.createHTML(t)||t}function qN(t){return Error(`Unable to find icon with the name "${t}"`)}function Yne(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function GN(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function WN(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var _a=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},KN=(()=>{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 _a(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(gi.HTML,r);if(!a)throw WN(r);let s=qm(a);return this._addSvgIconConfig(e,i,new _a("",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 _a(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(gi.HTML,i);if(!o)throw WN(i);let a=qm(o);return this._addSvgIconSetConfig(e,new _a("",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(gi.RESOURCE_URL,e);if(!i)throw GN(e);let r=this._cachedIconsByUrl.get(i);return r?en(F_(r)):this._loadSvgIconFromConfig(new _a(e,null)).pipe(Br(o=>this._cachedIconsByUrl.set(i,o)),et(o=>F_(o)))}getNamedSvgIcon(e,i=""){let r=YN(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):x0(qN(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?en(F_(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(et(i=>F_(i)))}_getSvgFromIconSetConfigs(e,i){let r=this._extractIconWithNameFromAnySet(e,i);if(r)return en(r);let o=i.filter(a=>!a.svgText).map(a=>this._loadSvgIconSetFromConfig(a).pipe(wp(s=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(gi.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),en(null)})));return Lu(o).pipe(et(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw qN(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(Br(i=>e.svgText=i),et(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?en(null):this._fetchIcon(e).pipe(Br(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(qm("<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(qm("<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 Yne();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(gi.RESOURCE_URL,i);if(!a)throw GN(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let l=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(et(c=>qm(c)),Ep(()=>this._inProgressUrlFetches.delete(a)),ju());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(YN(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 Kne(o)?new _a(o.url,null,o.options):new _a(o,null)}}static \u0275fac=function(i){return new(i||t)(ze(EE,8),ze(xE),ze(ke,8),ze(Mn))};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function F_(t){return t.cloneNode(!0)}function YN(t,n){return t+":"+n}function Kne(t){return!!(t.url&&t.options)}var Qne=["*"],Zne=new A("MAT_ICON_DEFAULT_OPTIONS"),Xne=new A("mat-icon-location",{providedIn:"root",factory:Jne});function Jne(){let t=u(ke),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var QN=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],eie=QN.map(t=>`[${t}]`).join(", "),tie=/^url\(['"]?#(.*?)['"]?\)$/,ko=(()=>{class t{_elementRef=u(W);_iconRegistry=u(KN);_location=u(Xne);_errorHandler=u(Mn);_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=be.EMPTY;constructor(){let e=u(new Hn("aria-hidden"),{optional:!0}),i=u(Zne,{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(eie),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)QN.forEach(a=>{let s=i[o],l=s.getAttribute(a),c=l?l.match(tie):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(wn(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&&(fe("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),nn(r.color?"mat-"+r.color:""),U("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",$],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],ngContentSelectors:Qne,decls:1,vars:0,template:function(i,r){i&1&&(Be(),oe(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})(),ms=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();function aS(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"?JN(t,n):(i==="input"||i==="select"||i==="textarea")&&XN(t,n),ZN("canvas",t,n,JN),ZN("input, textarea, select",t,n,XN),n}function ZN(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 nie=0;function XN(t,n){n.type!=="file"&&(n.value=t.value),n.type==="radio"&&n.name&&(n.name=`mat-clone-${n.name}-${nie++}`)}function JN(t,n){let e=n.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch{}}function mS(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 sS(t,n,e){let{top:i,bottom:r,left:o,right:a}=t;return e>=i&&e<=r&&n>=o&&n<=a}function iie(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 Ym(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function eL(t,n,e,i){let{top:r,right:o,bottom:a,left:s,width:l,height:c}=t,d=l*n,m=c*n;return i>r-m&&i<a+m&&e>s-d&&e<o+d}var N_=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:mS(e)})})}handleScroll(n){let e=mn(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)&&Ym(c.clientRect,s,l)}),r.top=o,r.left=a,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function fL(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 fS(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 sd(t,n){let e=n?"":"none";fS(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 tL(t,n,e){fS(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function L_(t,n){return n&&n!="none"?t+" "+n:t}function nL(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=Km(n.left,n.top)}function Km(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}function iL(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function rie(t){let n=getComputedStyle(t),e=rS(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),o=rS(n,"transition-duration"),a=rS(n,"transition-delay");return iL(o[r])+iL(a[r])}function rS(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var oie=new Set(["position"]),lS=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),rL(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 rie(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=fL(a,this._document),this._previewEmbeddedView=a,n.matchSize?nL(r,o):r.style.transform=Km(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=aS(this._rootElement),nL(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return fS(r.style,{"pointer-events":"none",margin:rL(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},oie),sd(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 rL(t){return"showPopover"in t}var aie={passive:!0},oL={passive:!1},sie={passive:!1,capture:!0},lie=800,aL="cdk-drag-placeholder",sL=new Set(["position"]),cS=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=pe(!1);_hasMoved;_initialContainer;_initialIndex;_parentPositions;_moveEvents=new L;_pointerDirectionDelta;_pointerPositionAtLastDirectionChange;_lastKnownPointerPosition;_rootElement;_ownerSVGElement;_rootElementTapHighlight;_pointerMoveSubscription=be.EMPTY;_pointerUpSubscription=be.EMPTY;_scrollSubscription=be.EMPTY;_resizeSubscription=be.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=>sd(e,n)))}_disabled=!1;beforeStarted=new L;started=new L;released=new L;ended=new L;entered=new L;exited=new L;dropped=new L;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 N_(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=>sn(i)),this._handles.forEach(i=>sd(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=sn(n);if(e!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"mousedown",this._pointerDown,oL),i.listen(e,"touchstart",this._pointerDown,aie),i.listen(e,"dragstart",this._nativeDragStart,oL)]),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?sn(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&&iie(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=Km(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),sd(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),sd(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){Gm(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",cie,sie)}),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 lS(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)),tL(r,!1,sL),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=Gm(e),o=!r&&e.button!==0,a=this._rootElement,s=mn(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+lie>Date.now(),c=r?Sl(e):El(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),i||o||l||c)return;if(this._handles.length){let f=a.style;this._rootElementTapHighlight=f.webkitTapHighlightColor||"",f.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(f=>this._updateOnScroll(f)),this._boundaryElement&&(this._boundaryRect=mS(this._boundaryElement));let d=this._previewTemplate;this._pickupPositionInElement=d&&d.template&&!d.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,e);let m=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:m.x,y:m.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){tL(this._rootElement,!0,sL),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&&mn(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=fL(this._placeholderRef,this._document)):i=aS(this._rootElement),i.style.pointerEvents="none",i.classList.add(aL),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():n,a=Gm(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=Gm(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,m=s.bottom-(c-a),f=s.left+o,h=s.right-(l-o);i=lL(i,f,h),r=lL(r,d,m)}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,sd(this._rootElement,n))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(n=>n()),this._rootElementCleanups=void 0}_applyRootElementTransform(n,e){let i=1/this.scale,r=Km(n*i,e*i),o=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=o.transform&&o.transform!="none"?o.transform:""),o.transform=L_(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=Km(n,e);this._preview.setTransform(L_(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:Gm(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){let e=this._parentPositions.handleScroll(n);if(e){let i=mn(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&Ym(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=xl(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 sn(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??=aS(this._placeholder);r.classList.remove(aL),r.classList.add("cdk-drag-anchor"),r.style.transform="",i?i.before(r):sn(e.element).appendChild(r)}}};function lL(t,n,e){return Math.max(n,Math.min(e,t))}function Gm(t){return t.type[0]==="t"}function cie(t){t.preventDefault()}function j_(t,n,e){let i=cL(n,t.length-1),r=cL(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 cL(t,n){return Math.max(0,Math.min(n,t))}var V_=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(D=>D.drag===n),c=o[a],d=o[l].clientRect,m=c.clientRect,f=l>a?1:-1,h=this._getItemOffsetPx(d,m,f),p=this._getSiblingOffsetPx(l,o,f),b=o.slice();return j_(o,l,a),o.forEach((D,E)=>{if(b[E]===D)return;let P=D.drag===n,G=P?h:p,ce=P?n.getPlaceholderElement():D.drag.getRootElement();D.offset+=G;let ie=Math.round(D.offset*(1/D.drag.scale));s?(ce.style.transform=L_(`translate3d(${ie}px, 0, 0)`,D.initialTransform),Ym(D.clientRect,0,G)):(ce.style.transform=L_(`translate3d(0, ${ie}px, 0)`,D.initialTransform),Ym(D.clientRect,G,0))}),this._previousSwap.overlaps=sS(m,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})=>{Ym(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:mS(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}},dS=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),j_(this._activeItems,l,o);let m=this._getRootNode().elementFromPoint(e,i);return a.deltaX=r.x,a.deltaY=r.y,a.drag=s,a.overlaps=d===m||d.contains(m),{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=xl(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}},dL=.05,hL=.05,Cr=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(Cr||{}),bi=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(bi||{}),uS=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new L;entered=new L;exited=new L;dropped=new L;sorted=new L;receivingStarted=new L;receivingStopped=new L;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=be.EMPTY;_verticalScrollDirection=Cr.NONE;_horizontalScrollDirection=bi.NONE;_scrollNode;_stopScrollTimers=new L;_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=sn(n);this._document=i,this.withOrientation("vertical").withElementContainer(a),e.registerDropContainer(this),this._parentPositions=new N_(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 V_&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new dS(this._document,this._dragDropRegistry);else{let e=new V_(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=sn(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||!eL(this._domRect,dL,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=Cr.NONE,o=bi.NONE;if(this._parentPositions.positions.forEach((a,s)=>{s===this._document||!a.clientRect||i||eL(a.clientRect,dL,n,e)&&([r,o]=die(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=pL(l,e),o=gL(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(),I0(0,ip).pipe(We(this._stopScrollTimers)).subscribe(()=>{let n=this._scrollNode,e=this.autoScrollStep;this._verticalScrollDirection===Cr.UP?n.scrollBy(0,-e):this._verticalScrollDirection===Cr.DOWN&&n.scrollBy(0,e),this._horizontalScrollDirection===bi.LEFT?n.scrollBy(-e,0):this._horizontalScrollDirection===bi.RIGHT&&n.scrollBy(e,0)})};_isOverContainer(n,e){return this._domRect!=null&&sS(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||!sS(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=xl(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 pL(t,n){let{top:e,bottom:i,height:r}=t,o=r*hL;return n>=e-o&&n<=e+o?Cr.UP:n>=i-o&&n<=i+o?Cr.DOWN:Cr.NONE}function gL(t,n){let{left:e,right:i,width:r}=t,o=r*hL;return n>=e-o&&n<=e+o?bi.LEFT:n>=i-o&&n<=i+o?bi.RIGHT:bi.NONE}function die(t,n,e,i,r){let o=pL(n,r),a=gL(n,i),s=Cr.NONE,l=bi.NONE;if(o){let c=t.scrollTop;o===Cr.UP?c>0&&(s=Cr.UP):t.scrollHeight-c>t.clientHeight&&(s=Cr.DOWN)}if(a){let c=t.scrollLeft;e==="rtl"?a===bi.RIGHT?c<0&&(l=bi.RIGHT):t.scrollWidth+c>t.clientWidth&&(l=bi.LEFT):a===bi.LEFT?c>0&&(l=bi.LEFT):t.scrollWidth-c>t.clientWidth&&(l=bi.RIGHT)}return[s,l]}var Wm={capture:!0},oS={passive:!1,capture:!0},uie=(()=>{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})(),_L=(()=>{class t{_ngZone=u(J);_document=u(ke);_styleLoader=u(wt);_renderer=u(tn).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new L;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=pe([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new L;pointerUp=new L;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,oS)})}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(uie),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),Wm],["selectstart",this._preventDefaultWhileDragging,oS]];r?a.push(["touchend",o,Wm],["touchcancel",o,Wm]):a.push(["mouseup",o,Wm]),r||a.push(["mousemove",s=>this.pointerMove.next(s),oS]),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 Le(r=>this._ngZone.runOutsideAngular(()=>{let o=this._renderer.listen(e,"scroll",a=>{this._activeDragInstances().length&&r.next(a)},Wm);return()=>{o()}}))),Pt(...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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),mie={dragStartThreshold:5,pointerDirectionChangeThreshold:5},yL=(()=>{class t{_document=u(ke);_ngZone=u(J);_viewportRuler=u(On);_dragDropRegistry=u(_L);_renderer=u(tn).createRenderer(null,null);constructor(){}createDrag(e,i=mie){return new cS(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(e){return new uS(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),uL=new A("CDK_DRAG_PARENT");var fie=new A("CdkDragHandle");var bL=new A("CDK_DRAG_CONFIG"),vL=new A("CdkDropList"),CL=(()=>{class t{element=u(W);dropContainer=u(vL,{optional:!0,skipSelf:!0});_ngZone=u(J);_viewContainerRef=u(rt);_dir=u(Ft,{optional:!0});_changeDetectorRef=u(Ae);_selfHandle=u(fie,{optional:!0,self:!0});_parentDrag=u(uL,{optional:!0,skipSelf:!0});_dragDropRegistry=u(_L);_destroyed=new L;_handles=new xi([]);_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 F;released=new F;ended=new F;entered=new F;exited=new F;dropped=new F;moved=new Le(e=>{let i=this._dragRef.moved.pipe(et(r=>({source:this,pointerPosition:r.pointerPosition,event:r.event,delta:r.delta,distance:r.distance}))).subscribe(e);return()=>{i.unsubscribe()}});_injector=u(Re);constructor(){let e=this.dropContainer,i=u(bL,{optional:!0}),r=u(yL);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(We(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(){Lt(()=>{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):sn(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:oi(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(wn(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(Br(e=>{let i=e.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Qn(e=>Pt(...e.map(i=>i._stateChanges.pipe(Ot(i))))),We(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=N({type:t,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,r){i&2&&U("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",$],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",Zt]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[Ce([{provide:uL,useExisting:t}]),nt]})}return t})(),mL=new A("CdkDropListGroup");var wL=(()=>{class t{element=u(W);_changeDetectorRef=u(Ae);_scrollDispatcher=u(Kr);_dir=u(Ft,{optional:!0});_group=u(mL,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new L;_scrollableParentsResolved;static _dropLists=[];_dropListRef;connectedTo=[];data;orientation;id=u(Tt).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 F;entered=new F;exited=new F;sorted=new F;_unsortedItems=new Set;constructor(){let e=u(yL),i=u(bL,{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(Ot(this._dir.value),We(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=Zr(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=oi(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()}),Pt(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=N({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,r){i&2&&(fe("id",r.id),U("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",$],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",$],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",$],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"],hasAnchor:[2,"cdkDropListHasAnchor","hasAnchor",$]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[Ce([{provide:mL,useValue:void 0},{provide:vL,useExisting:t}])]})}return t})();var eo=[{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 B_=[{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 gie={animalCategoryPRIF:eo,utilisation:B_},Mo=class t{i18n=u(_i);locale=this.i18n.locale;indices=Object.fromEntries(Object.entries(gie).map(([n,e])=>[n,new Map(e.map(i=>[i.id,i]))]));entry(n,e){if(e!=null)return this.indices[n]?.get(Number(e))}designation(n,e,i){if(e==null)return"";let r=this.indices[n]?.get(Number(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)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})};function _ie(t,n){t&1&&ue(0,"th",19)}function yie(t,n){t&1&&(v(0,"td",20)(1,"mat-icon",21),O(2,"drag_handle"),w()())}function bie(t,n){t&1&&(v(0,"th",22),O(1),Vt(2,"t"),w()),t&2&&(C(),ae(Qt(2,1,"animalStock.table.header.animalCategory")()))}function vie(t,n){if(t&1&&(v(0,"td",23)(1,"div",24)(2,"span",25),O(3),w()()()),t&2){let e=n.$implicit,i=T(2);C(3),ae(i.resolveAnimalCategory(e.animalCategoryPRIF))}}function Cie(t,n){t&1&&(v(0,"th",22),O(1),Vt(2,"t"),w()),t&2&&(C(),ae(Qt(2,1,"animalStock.table.header.utilisation")()))}function wie(t,n){if(t&1&&(v(0,"td",23),O(1),w()),t&2){let e=n.$implicit,i=T(2);C(),ae(i.resolveUtilisation(e.utilisation))}}function Die(t,n){t&1&&(v(0,"th",26),O(1),Vt(2,"t"),w()),t&2&&(C(),ae(Qt(2,1,"animalStock.table.header.actions")()))}function Eie(t,n){if(t&1){let e=Ve();v(0,"td",27)(1,"div",28)(2,"button",29),V("click",function(r){let o=Y(e).index,a=T(2);return K(a.onDelete(o,r))}),v(3,"mat-icon"),O(4,"delete"),w()()()()}}function Sie(t,n){t&1&&ue(0,"tr",30)}function xie(t,n){if(t&1){let e=Ve();v(0,"tr",31),V("click",function(){let r=Y(e).index,o=T(2);return K(o.select.emit(r))}),w()}if(t&2){let e=n.$implicit;x("cdkDragData",e)}}function Tie(t,n){if(t&1){let e=Ve();v(0,"table",6),V("cdkDropListDropped",function(r){Y(e);let o=T();return K(o.drop(r))}),Wi(1,7),Te(2,_ie,1,0,"th",8)(3,yie,3,0,"td",9),Yi(),Wi(4,10),Te(5,bie,3,3,"th",11)(6,vie,4,1,"td",12),Yi(),Wi(7,13),Te(8,Cie,3,3,"th",11)(9,wie,2,1,"td",12),Yi(),Wi(10,14),Te(11,Die,3,3,"th",15)(12,Eie,5,0,"td",16),Yi(),Te(13,Sie,1,0,"tr",17)(14,xie,1,1,"tr",18),w()}if(t&2){let e=T();x("dataSource",e.rows())("cdkDropListData",e.rows()),C(13),x("matHeaderRowDef",e.displayedColumns),C(),x("matRowDefColumns",e.displayedColumns)}}function Iie(t,n){t&1&&(v(0,"p"),O(1,"No animal stock entries yet."),w())}var z_=class t{masterData=u(Mo);table;rows;select=new F;add=new F;delete=new F;reorder=new F;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&&_e(rd,5),e&2){let r;j(r=B())&&(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&&(v(0,"div",0)(1,"header",1)(2,"h2",2),O(3),Vt(4,"t"),w()(),De(5,Tie,15,4,"table",3)(6,Iie,2,0,"p"),v(7,"div",4)(8,"button",5),V("click",function(){return i.add.emit()}),v(9,"mat-icon"),O(10,"add"),w(),O(11),Vt(12,"t"),w()()()),e&2&&(C(3),ae(Qt(4,3,"animalStock.list.title")()),C(2),Ee(i.rows().length?5:6),C(6),dn(" ",Qt(12,5,"animalStock.list.add")()))},dependencies:[TN,rd,D_,T_,E_,w_,I_,S_,x_,k_,M_,Zi,vr,Jr,ms,ko,wL,CL,Ai],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 St=st(SS()),OI=st(RS()),PG=st(Ao()),FG=st(fj()),Ln=st(cf()),NI=st(gB()),LI=st(Hz()),VI=st(vn()),jI=st(n$()),OG=st(Nf()),NG=st(HU()),II=st(t3()),BI=st(qT()),LG=st(Wy()),zd=st(Zy()),VG=st(q4()),jG=st(eG()),BG=st(ld()),zG=st(SI()),$G=st(cG()),FTe=st(fG()),OTe=st(DI()),kI=st(_G()),HG=st(SG()),NTe=st(TG());var sb="additionalProperties",lb="required",LTe=(t,n)=>{let e={};return t.filter(i=>{let r=n(i);return Object.prototype.hasOwnProperty.call(e,r)?!1:(e[r]=!0,!0)})},MI=class{constructor(n){this.findOption=n,this.schemaObject=e=>{let i=this.properties(e),r={type:"object",properties:i,additionalProperties:this.findOption(i)(sb)},o=this.findOption(i)(lb);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=LTe(i,o=>JSON.stringify(o));return r.length===1?{type:"array",items:r[0]}:{type:"array",items:{oneOf:r}}}else return{type:"array",items:{}}}}},$d=(t,n={})=>{let e=r=>o=>{switch(o){case sb:return Object.prototype.hasOwnProperty.call(n,sb)?n[sb]:!0;case lb:return Object.prototype.hasOwnProperty.call(n,lb)?n[lb](r):Object.keys(r);default:return}};return new MI(e).schemaObject(t)},zI=new Set,UG=(t,n)=>n<=1?t:t+n.toString(),VTe=(t,n)=>{let e=UG(t,n);return!zI.has(e)},qG=t=>{t===void 0&&(t="undefined");let n=0;for(;!VTe(t,n);)n++;let e=UG(t,n);return zI.add(e),e},GG=t=>zI.delete(t);var WG=(t,n)=>{let e=t;return!(0,St.default)(t)&&!(0,St.default)(n)&&!n.startsWith("[")&&(e=t+"."),(0,St.default)(e)?n:(0,St.default)(n)?e:`${e}${n}`},YG=t=>{let i=t.replace(/(anyOf|allOf|oneOf)\/[\d]+\//g,"").replace(/(then|else)\//g,"").split("/").map(Wl),o=i[0]==="#"||i[0]===""?2:1;return(0,FG.default)(o,i.length,2).map(a=>i[a])};var $I=t=>t?.replace(/~/g,"~0").replace(/\//g,"~1"),Wl=t=>t?.replace(/~1/g,"/").replace(/~0/,"~");var xI=(t,n)=>{if(n&&typeof n.title=="string")return n.title;if(typeof t.scope=="string"){let e=t.scope,i=Wl(e.substr(e.lastIndexOf("/")+1));return(0,OI.default)(i)}return""};var jTe=(t,n)=>{let e=t.label;if(typeof e=="boolean")return ab(xI(t,n),e);if(typeof e=="string")return ab(e,!0);if(typeof e=="object"){let i=typeof e.text=="string"?e.text:xI(t,n),r=typeof e.show=="boolean"?e.show:!0;return ab(i,r)}return ab(xI(t,n),!0)},ab=(t,n)=>({text:t,show:n});var cb=(t,n)=>(0,St.default)(n)?t:n.split(".").reduce((i,r)=>{if(!(!i||!Object.prototype.hasOwnProperty.call(i,r)))return i[r]},t);var BTe=t=>t==="#"||t===void 0||t==="",Tr=(t,n,e)=>{let i=n?.split("/").map(Wl);return db(t,i,e)},db=(t,n,e)=>{if(typeof t?.$ref=="string"&&(t=Tr(e,t.$ref,e)),!n||n.length===0)return t;if((0,St.default)(t))return;let[i,...r]=n;if(BTe(i))return db(t,r,e);let o=(0,Ln.default)(t,i),a=db(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=db(c,[i,...r],e),s)break;return s}};var Ia=(function(t){return t.HIDE="HIDE",t.SHOW="SHOW",t.ENABLE="ENABLE",t.DISABLE="DISABLE",t})(Ia||{}),KG=t=>n=>{n.options||(n.options={}),n.options.readonly=t},qf=t=>{HI(t,KG(!0))},QG=t=>{HI(t,KG(!1))},HI=(t,n)=>{if(!(0,St.default)(t)){if(XG(t)){t.elements.forEach(e=>HI(e,n));return}n(t)}};var Hd=(t,n)=>{if(!HTe(t))return n??"";let e=YG(t.scope);return(0,St.default)(e)?n??"":WG(n,e.join("."))},ZG=t=>typeof t=="object"&&t!==null&&typeof t.i18n=="string",zTe=t=>t.type==="Group",XG=t=>t.elements!==void 0,$Te=t=>!!t&&typeof t=="object",HTe=t=>$Te(t)&&typeof t.scope=="string",UTe=t=>!!t&&typeof t=="object";var qTe=t=>t.type==="OR",GTe=t=>t.type==="AND",WTe=t=>t.type==="LEAF",YTe=t=>(0,NI.default)(t,"schema"),KTe=t=>(0,NI.default)(t,"validate")&&typeof t.validate=="function",TI=(t,n)=>Hd(t,n),AI=(t,n,e,i,r)=>{if(GTe(e))return e.conditions.reduce((o,a)=>o&&AI(t,n,a,i,r),!0);if(qTe(e))return e.conditions.reduce((o,a)=>o||AI(t,n,a,i,r),!1);if(WTe(e))return cb(t,TI(e,i))===e.expectedValue;if(YTe(e)){let o=cb(t,TI(e,i));return e.failWhenUndefined&&o===void 0?!1:r.validate(e.schema,o)}else if(KTe(e)){let a={data:cb(t,TI(e,i)),fullData:t,path:i,uischemaElement:n};return e.validate(a)}else return!0},JG=(t,n,e,i)=>{let r=t.rule.condition;return AI(n,t,r,e,i)},QTe=(t,n,e=void 0,i)=>{let r=JG(t,n,e,i);switch(t.rule.effect){case Ia.HIDE:return!r;case Ia.SHOW:return r;default:return!0}},ZTe=(t,n,e=void 0,i)=>{let r=JG(t,n,e,i);switch(t.rule.effect){case Ia.DISABLE:return!r;case Ia.ENABLE:return r;default:return!0}},UI=t=>!!(t.rule&&(t.rule.effect===Ia.SHOW||t.rule.effect===Ia.HIDE)),XTe=t=>!!(t.rule&&(t.rule.effect===Ia.ENABLE||t.rule.effect===Ia.DISABLE)),Yl=(t,n,e=void 0,i)=>t.rule?QTe(t,n,e,i):!0,JTe=(t,n,e=void 0,i)=>t.rule?ZTe(t,n,e,i):!0,e8=t=>{if(t&&typeof t=="object"&&"properties"in t&&t.properties)return(0,LI.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")})},mb=t=>!!t&&Object.prototype.hasOwnProperty.call(t,"oneOf")&&t.oneOf&&t.oneOf.every(n=>n.const!==void 0),eIe=t=>!!t&&typeof t=="object"&&(Object.prototype.hasOwnProperty.call(t,"enum")||Object.prototype.hasOwnProperty.call(t,"const")),tIe=(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 ci=(t,n)=>(0,jI.default)(Ta(t),n),Ta=t=>{if((0,St.default)(t))return[];if(!(0,St.default)(t.type)&&typeof t.type=="string")return[t.type];if((0,VI.default)(t.type))return t.type;if(!(0,St.default)(t.properties)||!(0,St.default)(t.additionalProperties))return["object"];if(!(0,St.default)(t.items))return["array"];if(!(0,St.default)(t.enum)){let n=new Set;return t.enum.forEach(e=>{typeof e=="string"?n.add("string"):Ta(e).forEach(i=>n.add(i))}),Array.from(n)}if(!(0,St.default)(t.allOf)){let n=(0,LI.default)(t.allOf,e=>Ta(e).length!==0);if(n)return Ta(n)}return[]},ka={schema:Tr,data:cb},nIe=t=>YG(t.scope).join("."),qI={compose:WG,fromScoped:nIe};var iIe=t=>{let n=new OG.default(M({allErrors:!0,verbose:!0,strict:!1,addUsedSchema:!1},t));return(0,NG.default)(n),n},xa=(t,n)=>t===void 0?[]:t(n)?[]:t.errors,GI="YYYY-MM-DD";var rIe=t=>{switch(t.keyword){case"required":case"dependencies":return t.params.missingProperty;case"additionalProperties":return t.params.additionalProperty;default:return}},RI=t=>{let n=t.dataPath||t.instancePath||"";n=n.replace(/\//g,".");let e=rIe(t);return e!==void 0&&!n.endsWith(e)&&(n=`${n}.${e}`),n=n.replace(/^./,""),n=Wl(n),n},oIe=(t,n,e)=>i=>{let r=(0,II.default)(i,o=>o.keyword==="oneOf"||o.keyword==="anyOf").map(o=>RI(o));return(0,II.default)(i,o=>{if(sIe.indexOf(o.keyword)!==-1&&!mb(o.parentSchema))return!1;let a=RI(o),s=e(a),l=o.parentSchema;return s&&!aIe(l)&&!mb(l)&&r.findIndex(c=>t.startsWith(c))!==-1&&(s=s&&(0,BI.default)(l,n)),s})},aIe=t=>t?.type==="object"||!!t?.properties,sIe=["additionalProperties","allOf","anyOf","oneOf"],lIe=t=>t==null?"":t.join(`
|
|
29
|
-
`);var t8=t=>({type:t,elements:[]}),ub=t=>({type:"Control",scope:t}),cIe=(t,n)=>{if(!(0,St.default)(t)&&!XG(t)){let e=t8(n);return e.elements.push(t),e}return t},dIe=(t,n)=>{if(!(0,St.default)(n)){let e=(0,OI.default)(n);if(zTe(t))t.label=e;else{let i={type:"Label",text:e};t.elements.push(i)}}},uIe=t=>!(0,St.default)(t)&&(!(0,St.default)(t.oneOf)||!(0,St.default)(t.anyOf)||!(0,St.default)(t.allOf)),PI=(t,n,e,i,r,o)=>{if(!(0,St.default)(t)&&t.$ref!==void 0)return PI(Tr(o,t.$ref,o),n,e,i,r,o);if(uIe(t)){let s=ub(e);return n.push(s),s}let a=Ta(t);if(a.length===0)return null;if(a.length>1){let s=ub(e);return n.push(s),s}if(e==="#"&&a[0]==="object"){let s=t8(r);if(n.push(s),t.properties&&(0,PG.default)(t.properties).length>1&&dIe(s,i),!(0,St.default)(t.properties)){let l=e+"/properties";Object.keys(t.properties).map(c=>{let d=t.properties[c],m=`${l}/${$I(c)}`;d.$ref!==void 0&&(d=Tr(o,d.$ref,o)),PI(d,s.elements,m,c,r,o)})}return s}switch(a[0]){case"object":case"array":case"string":case"number":case"integer":case"null":case"boolean":{let s=ub(e);return n.push(s),s}default:throw new Error("Unknown type: "+JSON.stringify(t))}},Ud=(t,n="VerticalLayout",e="#",i=t)=>cIe(PI(t,[],e,"",n,i),n),fb={jsonSchema:$d,uiSchema:Ud,controlElement:ub},WI="jsonforms/INIT",YI="jsonforms/UPDATE_CORE",KI="jsonforms/SET_AJV",QI="jsonforms/UPDATE",ZI="jsonforms/UPDATE_ERRORS",mIe="jsonforms/VALIDATE",n8="jsonforms/ADD_RENDERER",i8="jsonforms/REMOVE_RENDERER",r8="jsonforms/ADD_CELL",o8="jsonforms/REMOVE_CELL",XI="jsonforms/SET_CONFIG",JI="jsonforms/ADD_UI_SCHEMA",ek="jsonforms/REMOVE_UI_SCHEMA",tk="jsonforms/SET_SCHEMA",nk="jsonforms/SET_UISCHEMA",ik="jsonforms/SET_VALIDATION_MODE",rk="jsonforms/SET_LOCALE",ok="jsonforms/SET_TRANSLATOR",ak="jsonforms/UPDATE_I18N",a8="jsonforms/ADD_DEFAULT_DATA",s8="jsonforms/REMOVE_DEFAULT_DATA",fIe=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}},hIe=(t,n=$d(t),e,i)=>({type:WI,data:t,schema:n,uischema:typeof e=="object"?e:Ud(n),options:i}),pIe=(t,n,e,i)=>({type:YI,data:t,schema:n,uischema:e,options:i}),gIe=(t,n)=>({type:a8,schemaPath:t,data:n}),_Ie=t=>({type:s8,schemaPath:t}),yIe=t=>({type:KI,ajv:t}),$f=(t,n,e)=>({type:QI,path:t,updater:n,context:e}),bIe=t=>({type:ZI,errors:t}),vIe=(t,n)=>({type:n8,tester:t,renderer:n}),CIe=(t,n)=>({type:r8,tester:t,cell:n}),wIe=(t,n)=>({type:o8,tester:t,cell:n}),DIe=(t,n)=>({type:i8,tester:t,renderer:n}),sk=t=>({type:XI,config:t}),EIe=t=>({type:ik,validationMode:t}),SIe=(t,n)=>({type:JI,tester:t,uischema:n}),xIe=t=>({type:ek,tester:t}),TIe=t=>({type:rk,locale:t}),IIe=t=>({type:tk,schema:t}),kIe=(t,n)=>({type:ok,translator:t,errorTranslator:n}),lk=(t,n,e)=>({type:ak,locale:t,translator:n,errorTranslator:e}),MIe=t=>({type:nk,uischema:t}),Ei=Object.freeze({__proto__:null,INIT:WI,UPDATE_CORE:YI,SET_AJV:KI,UPDATE_DATA:QI,UPDATE_ERRORS:ZI,VALIDATE:mIe,ADD_RENDERER:n8,REMOVE_RENDERER:i8,ADD_CELL:r8,REMOVE_CELL:o8,SET_CONFIG:XI,ADD_UI_SCHEMA:JI,REMOVE_UI_SCHEMA:ek,SET_SCHEMA:tk,SET_UISCHEMA:nk,SET_VALIDATION_MODE:ik,SET_LOCALE:rk,SET_TRANSLATOR:ok,UPDATE_I18N:ak,ADD_DEFAULT_DATA:a8,REMOVE_DEFAULT_DATA:s8,isUpdateArrayContext:fIe,init:hIe,updateCore:pIe,registerDefaultData:gIe,unregisterDefaultData:_Ie,setAjv:yIe,update:$f,updateErrors:bIe,registerRenderer:vIe,registerCell:CIe,unregisterCell:wIe,unregisterRenderer:DIe,setConfig:sk,setValidationMode:EIe,registerUISchema:SIe,unregisterUISchema:xIe,setLocale:TIe,setSchema:IIe,setTranslator:kIe,updateI18n:lk,setUISchema:MIe});var AIe={restrict:!1,trim:!1,showUnfocusedDescription:!1,hideRequiredAsterisk:!1},IG=(t={})=>(0,LG.default)({},AIe,t),ck=(t=IG(),n)=>{switch(n.type){case XI:return IG(n.config);default:return t}},RIe={data:{},schema:{},uischema:void 0,errors:[],validator:void 0,ajv:void 0,validationMode:"ValidateAndShow",additionalErrors:[]},kG=(t,n)=>n&&PIe(n.options)?n.options.validationMode:t.validationMode,PIe=t=>t?t.validationMode!==void 0:!1,FIe=t=>t?t.additionalErrors!==void 0:!1,MG=(t,n)=>n&&FIe(n.options)?n.options.additionalErrors:t.additionalErrors,AG=(t,n)=>{if(n){if(OIe(n.options))return n.options.ajv;if(n.options!==void 0&&(0,BG.default)(n.options.compile))return n.options}return t.ajv?t.ajv:iIe()},OIe=t=>t?t.ajv!==void 0:!1,qd=(t=RIe,n)=>{switch(n.type){case WI:{let e=AG(t,n),i=kG(t,n),r=i==="NoValidation"?void 0:e.compile(n.schema),o=xa(r,n.data),a=MG(t,n);return de(M({},t),{data:n.data,schema:n.schema,uischema:n.uischema,additionalErrors:a,errors:o,validator:r,ajv:e,validationMode:i})}case YI:{let e=AG(t,n),i=kG(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=xa(r,n.data)):t.data!==n.data&&(o=xa(r,n.data));let a=MG(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?de(M({},t),{data:n.data,schema:n.schema,uischema:n.uischema,ajv:e,errors:(0,BI.default)(o,t.errors)?t.errors:o,validator:r,validationMode:i,additionalErrors:a}):t}case KI:{let e=n.ajv,i=t.validationMode==="NoValidation"?void 0:e.compile(t.schema),r=xa(i,t.data);return de(M({},t),{validator:i,errors:r})}case tk:{let i=n.schema&&t.ajv&&t.validationMode!=="NoValidation"?t.ajv.compile(n.schema):t.validator,r=xa(i,t.data);return de(M({},t),{validator:i,schema:n.schema,errors:r})}case nk:return de(M({},t),{uischema:n.uischema});case QI:{if(n.path===void 0||n.path===null)return t;if(n.path===""){let e=n.updater((0,zd.default)(t.data)),i=xa(t.validator,e);return de(M({},t),{data:e,errors:i})}else{let e=(0,Ln.default)(t.data,n.path),i=n.updater((0,zd.default)(e)),r;i!==void 0?r=(0,VG.default)(n.path,i,t.data===void 0?{}:t.data):r=(0,jG.default)(n.path,t.data===void 0?{}:t.data);let o=xa(t.validator,r);return de(M({},t),{data:r,errors:o})}}case ZI:return de(M({},t),{errors:n.errors});case ik:{if(t.validationMode===n.validationMode)return t;if(n.validationMode==="NoValidation"){let e=xa(void 0,t.data);return de(M({},t),{errors:e,validationMode:n.validationMode})}if(t.validationMode==="NoValidation"){let e=t.ajv.compile(t.schema),i=xa(e,t.data);return de(M({},t),{validator:e,errors:i,validationMode:n.validationMode})}return de(M({},t),{validationMode:n.validationMode})}default:return t}};var Di=(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})(Di||{}),Gf=[{key:Di.addTooltip,default:t=>t?`Add to ${t}`:"Add"},{key:Di.addAriaLabel,default:t=>t?`Add to ${t} button`:"Add button"},{key:Di.removeTooltip,default:()=>"Delete"},{key:Di.removeAriaLabel,default:()=>"Delete button"},{key:Di.upAriaLabel,default:()=>"Move item up"},{key:Di.up,default:()=>"Up"},{key:Di.down,default:()=>"Down"},{key:Di.downAriaLabel,default:()=>"Move item down"},{key:Di.noDataMessage,default:()=>"No data"},{key:Di.noSelection,default:()=>"No selection"},{key:Di.deleteDialogTitle,default:()=>"Confirm Deletion"},{key:Di.deleteDialogMessage,default:()=>"Are you sure you want to delete the selected entry?"},{key:Di.deleteDialogAccept,default:()=>"Yes"},{key:Di.deleteDialogDecline,default:()=>"No"}],Hf=(function(t){return t.clearDialogTitle="clearDialogTitle",t.clearDialogMessage="clearDialogMessage",t.clearDialogAccept="clearDialogAccept",t.clearDialogDecline="clearDialogDecline",t})(Hf||{}),Yit=[{key:Hf.clearDialogTitle,default:()=>"Clear form?"},{key:Hf.clearDialogMessage,default:()=>"Your data will be cleared. Do you want to proceed?"},{key:Hf.clearDialogAccept,default:()=>"Yes"},{key:Hf.clearDialogDecline,default:()=>"No"}],dk=(t,n)=>ZG(n)?n.i18n:t?.i18n??void 0,NIe=t=>t?.split(".").filter(n=>!/^\d+$/.test(n)).join(".")||"root",l8=(t,n,e)=>dk(t,n)??NIe(e),hb=(t,n,e,i)=>`${l8(t,n,e)}.${i}`,LIe=(t,n)=>`${t}.${n}`,uk=(t,n)=>n,mk=(t,n,e)=>{let i=hb(t.parentSchema,e,RI(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},c8=(t,n,e,i,r,o)=>{if(t.length>0&&e){let a=hb(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 lIe(t.map(a=>n(a,e,r)))},Wf=(t,n)=>{if(t.label===!1||(t.label===void 0||t.label===null||t.label===!0)&&!ZG(t))return;let e=typeof t.label=="string"?t.label:JSON.stringify(t.label),i=dk(void 0,t),r=typeof i=="string"?`${i}.label`:e;return n(r,e,{uischema:t})},Yf=(t,n,e,i)=>{let r={};return n.forEach(o=>{let a=LIe(e,o.key);r[o.key]=t(a,o.default(i))}),r};var VIe=t=>t===void 0?uk:t.translate,jIe=t=>t===void 0?mk:t.translateError;var pb=()=>t=>VIe((0,Ln.default)(t,"jsonforms.i18n")),d8=()=>t=>jIe((0,Ln.default)(t,"jsonforms.i18n")),xr={locale:"en",translate:uk,translateError:mk},fk=(t=xr,n)=>{switch(n.type){case ak:{let e=n.locale??xr.locale,i=n.translator??xr.translate,r=n.errorTranslator??xr.translateError;return e!==t.locale||i!==t.translate||r!==t.translateError?de(M({},t),{locale:e,translate:i,translateError:r}):t}case ok:return de(M({},t),{translate:n.translator??uk,translateError:n.errorTranslator??mk});case rk:return de(M({},t),{locale:n.locale??navigator.languages[0]});default:return t}};var u8=-1,Gd=t=>!(0,St.default)(t)&&t.scope!==void 0,Lo=t=>(n,e,i)=>{if((0,St.default)(n)||!Gd(n)||(0,St.default)(e))return!1;let r=n.scope;if((0,St.default)(r))return!1;let o=e;return ci(e,"object")&&(o=Tr(e,r,i?.rootSchema)),o===void 0?!1:t(o,i?.rootSchema)},m8=(t,n)=>(e,i,r)=>{if((0,St.default)(e)||!Gd(e))return!1;let o=e.scope,a=i;return ci(i,"object")&&(a=Tr(i,o,r?.rootSchema)),a=(0,Ln.default)(a,t),a===void 0?!1:n(a,r?.rootSchema)},Es=t=>Lo(n=>!(0,St.default)(n)&&ci(n,t)),hk=t=>Lo(n=>!(0,St.default)(n)&&n.format===t&&ci(n,"string")),Jt=t=>n=>!(0,St.default)(n)&&n.type===t,Ss=(t,n)=>e=>{if((0,St.default)(e))return!1;let i=e.options;return!(0,St.default)(i)&&i[t]===n};var hn=(...t)=>(n,e,i)=>t.reduce((r,o)=>r&&o(n,e,i),!0),Kl=(...t)=>(n,e,i)=>t.reduce((r,o)=>r||o(n,e,i),!1),Ht=(t,n)=>(e,i,r)=>n(e,i,r)?t:u8;var pk=hn(Jt("Control"),Es("boolean")),f8=hn(Jt("Control"),Es("object")),Kit=hn(Jt("Control"),Lo(t=>Object.prototype.hasOwnProperty.call(t,"allOf"))),Qit=hn(Jt("Control"),Lo(t=>Object.prototype.hasOwnProperty.call(t,"anyOf"))),Zit=hn(Jt("Control"),Lo(t=>Object.prototype.hasOwnProperty.call(t,"oneOf"))),h8=hn(Jt("Control"),Lo(t=>eIe(t))),Xit=hn(Jt("Control"),Lo(t=>mb(t))),p8=hn(Jt("Control"),Es("integer")),Kf=hn(Jt("Control"),Es("number")),g8=hn(Jt("Control"),Es("string")),_8=hn(Jt("Control"),Ss("multi",!0)),y8=hn(Jt("Control"),Kl(hk("date"),Ss("format","date"))),Jit=hn(Jt("Control"),Kl(hk("time"),Ss("format","time"))),ert=hn(Jt("Control"),Kl(hk("date-time"),Ss("format","date-time"))),BIe=hn(Lo((t,n)=>ci(t,"array")&&!Array.isArray(Tr(t,"items",n))),m8("items",(t,n)=>{let e=t.$ref?Tr(n,t.$ref,n):t;return ci(e,"object")})),b8=hn(Jt("Control"),BIe),Uf=(t,n,e)=>{if((0,VI.default)(t))return(0,kI.default)(t,(i,r)=>i||Uf(r,n,e),!1);if(n(t))return!0;if(t.$ref){let i=Tr(e,t.$ref,e);if(i&&!i.$ref)return Uf(i,n,e)}return t.items?Uf(t.items,n,e):t.properties?(0,kI.default)((0,HG.default)(t.properties),(i,[r,o])=>i||Uf(o,n,e),!1):!1},v8=(t,n,e)=>{if(!Jt("Control")(t,n,e))return!1;let i=t.scope,r=Tr(n,i,e?.rootSchema??n),o=0;if(r!==void 0&&r.items!==void 0){if(Uf(r.items,a=>a===n||a.$ref!==void 0?!1:!!(a.anyOf||a.allOf||a.oneOf&&!mb(a)||ci(a,"object")&&(o++,o===2)||ci(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 C8=hn(Jt("Control"),Lo((t,n)=>Ta(t).length!==0&&!Array.isArray(Tr(t,"items",n))),m8("items",(t,n)=>{let e=t.$ref?Tr(n,t.$ref,n):t,i=Ta(e);return i.length===1&&(0,jI.default)(["integer","number","boolean","string"],i[0])})),w8=hn(Jt("Control"),Kl(Es("number"),Es("integer")),Lo(t=>Object.prototype.hasOwnProperty.call(t,"maximum")&&Object.prototype.hasOwnProperty.call(t,"minimum")&&Object.prototype.hasOwnProperty.call(t,"default")),Ss("slider",!0)),trt=hn(Jt("Control"),Es("integer"),Ss("format",!0)),zIe=t=>t.type==="Categorization",$Ie=t=>t.type==="Category",D8=t=>(0,St.default)(t.elements)?!1:t.elements.map(n=>zIe(n)?D8(n):$Ie(n)).reduce((n,e)=>n&&e,!0),E8=t=>D8(t);var S8=(t=[],n)=>{switch(n.type){case JI:return t.slice().concat({tester:n.tester,uischema:n.uischema});case ek:{let e=t.slice();return(0,$G.default)(e,i=>i.tester===n.tester),e}default:return t}},HIe=t=>(n,e,i)=>{let r=(0,zG.default)(t,o=>o.tester(n,e,i));if(r!==void 0&&r.tester(n,e,i)!==u8)return r.uischema};var gb=(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():fb.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=HIe(t)(n,e,i);return s===void 0?typeof r=="function"?r():fb.uiSchema(n,r,"#",a):s},gk=(t,n,e)=>e(t,n),x8=(t,n,e)=>i=>{let r=i.errors??[],o=i.additionalErrors??[];return oIe(t,n,e)(i.validationMode==="ValidateAndHide"?o:[...r,...o])},UIe=(t,n)=>x8(t,n,e=>e===t),qIe=(t,n)=>x8(t,n,e=>e.startsWith(t+".")),GIe=(t,n)=>e=>UIe(t,n)(e.jsonforms.core),T8=(t,n)=>e=>qIe(t,n)(e.jsonforms.core),_k=t=>YIe((0,Ln.default)(t,"jsonforms.core")),FI=t=>KIe((0,Ln.default)(t,"jsonforms.core")),WIe=t=>QIe((0,Ln.default)(t,"jsonforms.core")),xs=t=>ZIe((0,Ln.default)(t,"jsonforms.core")),yk=t=>(0,Ln.default)(t,"jsonforms.renderers"),bk=t=>(0,Ln.default)(t,"jsonforms.cells");var YIe=t=>(0,Ln.default)(t,"data"),KIe=t=>(0,Ln.default)(t,"schema"),QIe=t=>(0,Ln.default)(t,"uischema"),ZIe=t=>(0,Ln.default)(t,"ajv"),Gl=t=>t.jsonforms.config,I8=(t,n,e,i,r,o)=>t?.jsonforms?.readonly?!1:e&&XTe(e)?JTe(e,r,n?.path,xs(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,k8=(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]])},XIe=(t,n)=>{k8(t,n,-1)},JIe=(t,n)=>{k8(t,n,1)},eke=(t,n,e)=>{let i=n.split("/"),r=Wl(i[i.length-1]),a=i.slice(0,i.length-2).join("/"),s=ka.schema(t,a,e);return s!==void 0&&s.required!==void 0&&s.required.indexOf(r)!==-1},M8=(t,n,e)=>`${t??""}${n&&!e?"*":""}`;var _b=(t,n)=>{let e=A8(t,n);return e===void 0?{}:e},A8=(t,n)=>{let e=typeof t.$ref=="string"?ka.schema(n,t.$ref,n):t;if(e.default!==void 0)return RG(e,n);if(ci(e,"string"))return e.format==="date-time"||e.format==="date"||e.format==="time"?tIe(new Date,e.format):"";if(ci(e,"integer")||ci(e,"number"))return 0;if(ci(e,"boolean"))return!1;if(ci(e,"array"))return[];if(ci(e,"object"))return RG(e,n);if(ci(e,"null"))return null;let i=["oneOf","anyOf","allOf"];for(let r of i)if(t[r]&&Array.isArray(t[r])){let o=tke(t[r],n);if(o!==void 0)return o}},tke=(t,n)=>{if(t.length>0)for(let e of t){let i=A8(e,n);if(i!==void 0)return i}},RG=(t,n)=>{if(ci(t,"object")&&t.default===void 0){let e={};for(let i in t.properties){let r=t.properties[i],o=r.$ref?ka.schema(n,r.$ref,n):r;o&&o.default!==void 0&&(e[i]=(0,zd.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?ka.schema(n,o.$ref,n):o;a&&a.default!==void 0&&(e[r]=(0,zd.default)(a.default))}}),e}return(0,zd.default)(t.default)};var vk=(t,n)=>{let{uischema:e}=n,i=_k(t),r=Hd(e,n.path),o=n.visible===void 0||UI(e)?Yl(e,i,n.path,xs(t)):n.visible,a=e,s=n.id,l=FI(t),c=a.scope!==void 0&&eke(n.schema,a.scope,l),d=ka.schema(n.schema||l,a.scope,l),m=GIe(r,d)(t),f=d!==void 0?d.description:"",h=ka.data(i,r),p=jTe(e,d),b=p.show?p.text:"",D=Gl(t),E=I8(t,n,e,d||l,i,D),P=d??l,G=pb()(t),ce=d8()(t),ie=l8(P,e,r),Pe=G(hb(P,e,r,"label"),b,{schema:P,uischema:e,path:r,errors:m}),Fe=G(hb(P,e,r,"description"),f,{schema:P,uischema:e,path:r,errors:m}),Me=c8(m,ce,G,P,e,r);return{data:h,description:Fe,errors:Me,label:Pe,visible:o,enabled:E,id:s,path:r,required:c,uischema:e,schema:P,config:Gl(t),cells:n.cells||t.jsonforms.cells,rootSchema:l,i18nKeyPrefix:ie}};var yb=(t,n)=>{let e=Bs(vk(t,n),[]);return de(M({},e),{uischemas:t.jsonforms.uischemas})},bb=(t,n)=>{let c=yb(t,n),{path:e,schema:i,uischema:r,label:o}=c,a=Bs(c,["path","schema","uischema","label"]),s=ka.schema(i,"items",a.rootSchema),l=T8(e,s)(t);return de(M({},a),{label:o,path:e,uischema:r,schema:s,arraySchema:i,childErrors:l,renderers:n.renderers||yk(t),cells:n.cells||bk(t)})},vb=t=>({addItem:(n,e)=>()=>{t($f(n,i=>i==null?[e]:(i.push(e),i),{type:"ADD",values:[e]}))},removeItems:(n,e)=>()=>{t($f(n,i=>(e.sort((r,o)=>r-o).reverse().forEach(r=>i.splice(r,1)),i),{type:"REMOVE",indices:e}))},moveUp:(n,e)=>()=>{t($f(n,i=>(XIe(i,e),i),{type:"MOVE",moves:[{from:e,to:e-1}]}))},moveDown:(n,e)=>()=>{t($f(n,i=>(JIe(i,e),i),{type:"MOVE",moves:[{from:e,to:e+1}]}))}});var Ck={visible:!0,enabled:!0,path:"",direction:"column"},nke=t=>t.type==="HorizontalLayout"?"row":t.type==="VerticalLayout"?"column":Ck.direction,Ma=(t,n)=>{let e=_k(t),{uischema:i}=n,r=n.visible===void 0||UI(i)?Yl(n.uischema,e,n.path,xs(t)):n.visible,o=ka.data(e,n.path),a=Gl(t),s=I8(t,n,i,void 0,e,a),l=pb()(t),c=UTe(i)?Wf(i,l):void 0;return de(M({},Ck),{renderers:n.renderers||yk(t),cells:n.cells||bk(t),visible:r,enabled:s,path:n.path,data:o,uischema:n.uischema,schema:n.schema,direction:n.direction??nke(i),config:a,label:c})},R8=(t,n)=>({renderers:n.renderers||(0,Ln.default)(t.jsonforms,"renderers"),cells:n.cells||(0,Ln.default)(t.jsonforms,"cells"),schema:n.schema||FI(t),rootSchema:FI(t),uischema:n.uischema||WIe(t),path:n.path,enabled:n.enabled,config:Gl(t)}),nrt=de(M({},Ck),{errors:[]});var P8=(t,n)=>{let f=yb(t,n),{path:e,schema:i,uischema:r,errors:o,label:a}=f,s=Bs(f,["path","schema","uischema","errors","label"]),l=ka.schema(i,"items",s.rootSchema),c=pb()(t),d=c8(T8(e,l)(t),d8()(t),c,void 0,void 0,void 0),m=o+(o.length>0&&d.length>0?`
|
|
30
|
-
`:"")+d;return de(M({},s),{label:a,path:e,uischema:r,schema:l,arraySchema:i,data:s.data?s.data.length:0,errors:m,minItems:i.minItems})},F8=(t,n)=>{let{uischema:e}=n,i=n.visible===void 0||UI(e)?Yl(n.uischema,_k(t),n.path,xs(t)):n.visible,r=e.text,o=pb()(t),a=dk(void 0,e),s=a?`${a}.text`:r??"";return{text:o(s,r,{uischema:e}),visible:i,config:Gl(t),renderers:n.renderers||yk(t),cells:n.cells||bk(t),uischema:e}};var B8=(()=>{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)(me(yt),me(W))};static \u0275dir=N({type:t})}return t})(),ike=(()=>{class t extends B8{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,features:[ee]})}return t})(),Ir=new A("");var rke={provide:Ir,useExisting:cn(()=>ks),multi:!0};function oke(){let t=gr()?gr().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var ake=new A(""),ks=(()=>{class t extends B8{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!oke())}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)(me(yt),me(W),me(ake,8))};static \u0275dir=N({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&&V("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:[Ce([rke]),ee]})}return t})();function Ek(t){return t==null||Sk(t)===0}function Sk(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Aa=new A(""),xk=new A(""),ske=/^(?=.{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])?)*$/,Ts=class{static min(n){return lke(n)}static max(n){return cke(n)}static required(n){return dke(n)}static requiredTrue(n){return uke(n)}static email(n){return mke(n)}static minLength(n){return fke(n)}static maxLength(n){return hke(n)}static pattern(n){return pke(n)}static nullValidator(n){return z8()}static compose(n){return W8(n)}static composeAsync(n){return Y8(n)}};function lke(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 cke(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 dke(t){return Ek(t.value)?{required:!0}:null}function uke(t){return t.value===!0?null:{required:!0}}function mke(t){return Ek(t.value)||ske.test(t.value)?null:{email:!0}}function fke(t){return n=>{let e=n.value?.length??Sk(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function hke(t){return n=>{let e=n.value?.length??Sk(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function pke(t){if(!t)return z8;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(Ek(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function z8(t){return null}function $8(t){return t!=null}function H8(t){return bl(t)?dr(t):t}function U8(t){let n={};return t.forEach(e=>{n=e!=null?M(M({},n),e):n}),Object.keys(n).length===0?null:n}function q8(t,n){return n.map(e=>e(t))}function gke(t){return!t.validate}function G8(t){return t.map(n=>gke(n)?n:e=>n.validate(e))}function W8(t){if(!t)return null;let n=t.filter($8);return n.length==0?null:function(e){return U8(q8(e,n))}}function Tk(t){return t!=null?W8(G8(t)):null}function Y8(t){if(!t)return null;let n=t.filter($8);return n.length==0?null:function(e){let i=q8(e,n).map(H8);return Lu(i).pipe(et(U8))}}function Ik(t){return t!=null?Y8(G8(t)):null}function O8(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function K8(t){return t._rawValidators}function Q8(t){return t._rawAsyncValidators}function wk(t){return t?Array.isArray(t)?t:[t]:[]}function wb(t,n){return Array.isArray(t)?t.includes(n):t===n}function N8(t,n){let e=wk(n);return wk(t).forEach(r=>{wb(e,r)||e.push(r)}),e}function L8(t,n){return wk(n).filter(e=>!wb(t,e))}var Db=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=Tk(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Ik(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}},Ql=class extends Db{name;get formDirective(){return null}get path(){return null}},Vo=class extends Db{_parent=null;name=null;valueAccessor=null},Dk=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}},_ke={"[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"},vrt=de(M({},_ke),{"[class.ng-submitted]":"isSubmitted"}),jo=(()=>{class t extends Dk{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(me(Vo,2))};static \u0275dir=N({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(i,r){i&2&&U("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:[ee]})}return t})();var Qf="VALID",Cb="INVALID",Wd="PENDING",Zf="DISABLED",Is=class{},Eb=class extends Is{value;source;constructor(n,e){super(),this.value=n,this.source=e}},Jf=class extends Is{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},eh=class extends Is{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Yd=class extends Is{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Sb=class extends Is{source;constructor(n){super(),this.source=n}},xb=class extends Is{source;constructor(n){super(),this.source=n}};function Z8(t){return(Pb(t)?t.validators:t)||null}function yke(t){return Array.isArray(t)?Tk(t):t||null}function X8(t,n){return(Pb(n)?n.asyncValidators:t)||null}function bke(t){return Array.isArray(t)?Ik(t):t||null}function Pb(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function vke(t,n,e){let i=t.controls;if(!(n?Object.keys(i):i).length)throw new X(1e3,"");if(!i[e])throw new X(1001,"")}function Cke(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new X(1002,"")})}var Tb=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 ii(this.statusReactive)}set status(n){ii(()=>this.statusReactive.set(n))}_status=it(()=>this.statusReactive());statusReactive=pe(void 0);get valid(){return this.status===Qf}get invalid(){return this.status===Cb}get pending(){return this.status==Wd}get disabled(){return this.status===Zf}get enabled(){return this.status!==Zf}errors;get pristine(){return ii(this.pristineReactive)}set pristine(n){ii(()=>this.pristineReactive.set(n))}_pristine=it(()=>this.pristineReactive());pristineReactive=pe(!0);get dirty(){return!this.pristine}get touched(){return ii(this.touchedReactive)}set touched(n){ii(()=>this.touchedReactive.set(n))}_touched=it(()=>this.touchedReactive());touchedReactive=pe(!1);get untouched(){return!this.touched}_events=new L;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(N8(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(N8(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(L8(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(L8(n,this._rawAsyncValidators))}hasValidator(n){return wb(this._rawValidators,n)}hasAsyncValidator(n){return wb(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(de(M({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new eh(!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 eh(!1,i))}markAsDirty(n={}){let e=this.pristine===!0;this.pristine=!1;let i=n.sourceControl??this;this._parent&&!n.onlySelf&&this._parent.markAsDirty(de(M({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new Jf(!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 Jf(!0,i))}markAsPending(n={}){this.status=Wd;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Yd(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(de(M({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Zf,this.errors=null,this._forEachChild(r=>{r.disable(de(M({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Eb(this.value,i)),this._events.next(new Yd(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(de(M({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=Qf,this._forEachChild(i=>{i.enable(de(M({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(de(M({},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===Qf||this.status===Wd)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Eb(this.value,e)),this._events.next(new Yd(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(de(M({},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()?Zf:Qf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Wd,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=H8(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 Yd(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new F,this.statusChanges=new F}_calculateStatus(){return this._allControlsDisabled()?Zf:this.errors?Cb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Wd)?Wd:this._anyControlsHaveStatus(Cb)?Cb:Qf}_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 Jf(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new eh(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Pb(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=yke(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=bke(this._rawAsyncValidators)}},Ib=class extends Tb{constructor(n,e,i){super(Z8(e),X8(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={}){Cke(this,!0,n),Object.keys(n).forEach(i=>{vke(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 Fb=new A("",{providedIn:"root",factory:()=>kk}),kk="always";function kb(t,n,e=kk){Mk(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),Dke(t,n),Ske(t,n),Eke(t,n),wke(t,n)}function Mb(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Rb(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Ab(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function wke(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Mk(t,n){let e=K8(t);n.validator!==null?t.setValidators(O8(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=Q8(t);n.asyncValidator!==null?t.setAsyncValidators(O8(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Ab(n._rawValidators,r),Ab(n._rawAsyncValidators,r)}function Rb(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=K8(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=Q8(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 Ab(n._rawValidators,i),Ab(n._rawAsyncValidators,i),e}function Dke(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&J8(t,n)})}function Eke(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&J8(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function J8(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Ske(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function eW(t,n){t==null,Mk(t,n)}function xke(t,n){return Rb(t,n)}function Tke(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Ike(t){return Object.getPrototypeOf(t.constructor)===ike}function tW(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function kke(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===ks?e=o:Ike(o)?i=o:r=o}),r||i||e||null}function Mke(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var Ake={provide:Ql,useExisting:cn(()=>Kd)},Xf=Promise.resolve(),Kd=(()=>{class t extends Ql{callSetDisabledState;get submitted(){return ii(this.submittedReactive)}_submitted=it(()=>this.submittedReactive());submittedReactive=pe(!1);_directives=new Set;form;ngSubmit=new F;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Ib({},Tk(e),Ik(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Xf.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),kb(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Xf.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Xf.then(()=>{let i=this._findContainer(e.path),r=new Ib({});eW(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Xf.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Xf.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),tW(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Sb(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 xb(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)(me(Aa,10),me(xk,10),me(Fb,8))};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&V("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:[Ce([Ake]),ee]})}return t})();function V8(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function j8(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Ak=class extends Tb{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(Z8(e),X8(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Pb(e)&&(e.nonNullable||e.initialValueIsDefault)&&(j8(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){V8(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){V8(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){j8(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 Rke=t=>t instanceof Ak;var nW=new A(""),Pke={provide:Vo,useExisting:cn(()=>ao)},ao=(()=>{class t extends Vo{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(e){}model;update=new F;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=kke(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Mb(i,this,!1),kb(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Tke(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mb(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)(me(Aa,10),me(xk,10),me(Ir,10),me(nW,8),me(Fb,8))};static \u0275dir=N({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:[Ce([Pke]),ee,nt]})}return t})(),Fke={provide:Ql,useExisting:cn(()=>Qd)},Qd=(()=>{class t extends Ql{callSetDisabledState;get submitted(){return ii(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=it(()=>this._submittedReactive());_submittedReactive=pe(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new F;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&&(Rb(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 kb(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Mb(e.control||null,e,!1),Mke(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),tW(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Sb(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 xb(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(Mb(i||null,e),Rke(r)&&(kb(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);eW(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&xke(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Mk(this.form,this),this._oldForm&&Rb(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(me(Aa,10),me(xk,10),me(Fb,8))};static \u0275dir=N({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&V("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:[Ce([Fke]),ee,nt]})}return t})();var Oke=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var Ob=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:nW,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Fb,useValue:e.callSetDisabledState??kk}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[Oke]})}return t})();var Pk=st(Zy(),1),iW=st(Wy(),1),rW=st(SI(),1),oW=st(qT(),1),Ji=st(cf(),1);var Nke=["class","renderer"],er=(()=>{class t{uischema;schema;path;subscriptions=new be;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=N({type:t,inputs:{uischema:"uischema",schema:"schema",path:"path"},standalone:!1})}return t})(),kr=Symbol("Marker to use state value"),xt=class{_state;state;middleware;init(n={core:{data:void 0,schema:void 0,uischema:void 0,validationMode:"ValidateAndShow",additionalErrors:void 0}},e=gk){this.middleware=e,this._state=n,this._state.config=ck(void 0,sk(this._state.config)),this._state.i18n=fk(this._state.i18n,lk(this._state.i18n?.locale,this._state.i18n?.translate,this._state.i18n?.translateError)),this.state=new xi({jsonforms:this._state});let i=n.core.data,r=n.core.schema??$d(i),o=n.core.uischema??Ud(r);this.updateCore(Ei.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,Ei.setValidationMode(n),qd);this._state.core=e,this.updateSubject()}updateI18n(n){let e=fk(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,qd);return e!==this._state.core&&(this._state.core=e,this.updateSubject()),n}updateUiSchema(n){let e=S8(this._state.uischemas,n);return this._state.uischemas=e,this.updateSubject(),n}setUiSchemas(n){this._state.uischemas=n,this.updateSubject()}updateConfig(n){let e=ck(this._state.config,n);return this._state.config=e,this.updateSubject(),n}setUiSchema(n){let e=n??Ud(this._state.core.schema),i=this.middleware(this._state.core,Ei.updateCore(this._state.core.data,this._state.core.schema,e),qd);i!==this._state.core&&(this._state.core=i,this.updateSubject())}setSchema(n){let e=this.middleware(this._state.core,Ei.updateCore(this._state.core.data,n??$d(this._state.core.data),this._state.core.uischema),qd);e!==this._state.core&&(this._state.core=e,this.updateSubject())}setData(n){let e=this.middleware(this._state.core,Ei.updateCore(n,this._state.core.schema,this._state.core.uischema),qd);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,Pk.default)({jsonforms:this._state})}getConfig(){return(0,Pk.default)(this._state.config)}refresh(){this.updateSubject()}updateCoreState(n,e,i,r,o,a){let s=n===kr?this._state.core.data:n,l=e===kr?this._state.core.schema:e??$d(s),c=i===kr?this._state.core.uischema:i??Ud(l),d=r===kr?this._state.core.ajv:r,m=o===kr?this._state.core.validationMode:o,f=a===kr?this._state.core.additionalErrors:a;this.updateCore(Ei.updateCore(s,l,c,{ajv:d,validationMode:m,additionalErrors:f}))}updateSubject(){this.state.next({jsonforms:this._state})}},nh=(()=>{class t extends er{jsonFormsService;id;disabled;visible;form;data;label;description;error;scopedSchema;rootSchema;enabled;hidden;propsPath;constructor(e){super(),this.jsonFormsService=e,this.form=new Ak({value:"",disabled:!0},{updateOn:"change",validators:this.validator.bind(this)})}getEventValue=e=>e.value;onChange(e){this.jsonFormsService.updateCore(Ei.update(this.propsPath,()=>this.getEventValue(e))),this.triggerValidation()}shouldShowUnfocusedDescription(){let e=this.jsonFormsService.getConfig();return!!(0,iW.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:m,path:f,config:h}=i;this.label=M8(s,l,h?h.hideRequiredAsterisk:!1),this.data=r,this.error=a,this.enabled=o,this.isEnabled()?this.form.enable():this.form.disable(),this.hidden=!m,this.scopedSchema=c,this.rootSchema=d,this.description=i.description??"",this.id=i.id,this.form.setValue(r),this.propsPath=f,this.mapAdditionalProps(i)}})),this.triggerValidation()}validator=e=>this.error?{error:this.error}:null;mapAdditionalProps(e){}ngOnDestroy(){super.ngOnDestroy(),GG(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)(me(xt))};static \u0275cmp=k({type:t,selectors:[["ng-component"]],inputs:{id:"id",disabled:"disabled",visible:"visible"},standalone:!1,features:[ee],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return t})(),Vi=class extends nh{mapToProps(n){let e=vk(n,this.getOwnProps());return M({},e)}},Nb=class extends nh{mapToProps(n){let e=yb(n,this.getOwnProps());return M({},e)}},th=class extends nh{mapToProps(n){let e=bb(n,this.getOwnProps()),i=n.jsonforms.i18n?.translate??xr.translate,r=Yf(i,Gf,e.i18nKeyPrefix,e.label);return de(M({},e),{translations:r})}},Lke=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=k({type:t,selectors:[["unknown",8,"renderer"]],standalone:!1,attrs:Nke,decls:1,vars:0,template:function(i,r){i&1&&O(0,"No applicable renderer found!")},encapsulation:2})}return t})(),Vke=(t,n)=>(0,Ji.default)(t,"renderers.length")===(0,Ji.default)(n,"renderers.length")&&(0,Ji.default)(t,"cells.length")===(0,Ji.default)(n,"cells.length")&&(0,Ji.default)(t,"uischemas.length")===(0,Ji.default)(n,"uischemas.length")&&(0,Ji.default)(t,"schema")===(0,Ji.default)(n,"schema")&&(0,oW.default)((0,Ji.default)(t,"uischema"),(0,Ji.default)(n,"uischema"))&&(0,Ji.default)(t,"path")===(0,Ji.default)(n,"path"),Mr=(()=>{class t extends er{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=R8(e,{schema:this.schema,uischema:this.uischema,path:this.path});if(Vke(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:Gl(e)},l=(0,rW.default)(r,f=>f.tester(a,o,s)),c=Lke;l!==void 0&&l.tester(a,o,s)!==-1&&(c=l.renderer);let d=this.componentFactoryResolver.resolveComponentFactory(c);this.viewContainerRef.clear();let m=this.viewContainerRef.createComponent(d);if(m.instance instanceof er){let f=m.instance;if(f.uischema=a,f.schema=o,f.path=this.path,f instanceof Vi&&f.id===void 0){let p=Gd(i.uischema)?qG(i.uischema.scope):void 0;f.id=p}}}static \u0275fac=function(i){return new(i||t)(me(rt),me(ua),me(xt))};static \u0275dir=N({type:t,selectors:[["jsonforms-outlet"]],inputs:{renderProps:"renderProps"},standalone:!1,features:[ee]})}return t})(),aW=(()=>{class t{jsonformsService;uischema;schema;data;renderers;uischemas;dataChange=new F;readonly;validationMode;ajv;config;i18n;additionalErrors;middleware=gk;errors=new F;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(Ei.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,m=e.ajv,f=e.config,h=e.additionalErrors;(i||r||o||d||m||h)&&this.jsonformsService.updateCoreState(i?i.currentValue:kr,r?r.currentValue:kr,o?o.currentValue:kr,m?m.currentValue:kr,d?d.currentValue:kr,h?h.currentValue:kr),a&&!a.isFirstChange()&&this.jsonformsService.setRenderers(a.currentValue),s&&!s.isFirstChange()&&this.jsonformsService.setUiSchemas(s.currentValue),l&&!l.isFirstChange()&&this.jsonformsService.updateI18n(Ei.updateI18n(l.currentValue?.locale,l.currentValue?.translate,l.currentValue?.translateError)),c&&!c.isFirstChange()&&this.jsonformsService.setReadonly(c.currentValue),f&&!f.isFirstChange()&&this.jsonformsService.updateConfig(Ei.setConfig(f.currentValue))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)(me(xt))};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:[Ce([xt]),nt],decls:1,vars:0,template:function(i,r){i&1&&ue(0,"jsonforms-outlet")},dependencies:[Mr],encapsulation:2})}return t})(),ih=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var sW={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 Lb={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",title:"Yard Feeding ID"},yardFloorType:{type:"number",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"},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"},manureDerivation:{type:"array",items:{type:"object",properties:{zoologicalAnimal:{type:"string"},percentageAllocation:{type:"number"}}}}}}}}},fieldSpreading:{type:"object",title:"Field Spreading",properties:{soilPh:{type:"number",title:"Soil pH ID"},slurry:{type:"object",properties:{quantity:{type:"number"},dilutionRatio:{type:"number"},applicationDuringWarmDays:{type:"number"},proportionAppliedAfter6PM:{type:"number"},dragHoseAreaSize:{type:"number"}}},manure:{type:"object",properties:{applicationIncorporationTime:{type:"number"},proportionAppliedSummerMonths:{type:"number"}}},fertiliser:{type:"array",items:{type:"object",properties:{fertiliserProductCategory:{type:"string"},quantity:{type:"number"},transactionUnit:{type:"string"},ingredient:{type:"array",items:{type:"object",properties:{molecularFormula:{type:"string"},quantity:{type:"number"},unit:{type:"string"}}}}}}}}},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 oh={$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 lW(t,n){let e=JSON.parse(JSON.stringify(t));if(n.properties&&typeof n.properties=="object"){let i={type:"object",properties:M({},n.properties)};e.properties&&typeof e.properties=="object"?Object.assign(e.properties,n.properties):Array.isArray(e.allOf)?e.allOf.push(i):e.properties=M({},n.properties)}return e}function cW(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 dW(t,n){let e=M({},t);for(let i of n)delete e[i];return e}var jrt=Object.keys(oh.properties||{}),Fk=[{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 $ke(t){let n={};for(let e of Fk){if(!e.derive)continue;let i=e.derive(t);i!==void 0&&(n[e.key]=i)}return n}function Hke(t){let n=$ke(t),e=M({},t);for(let i of Fk){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 Uke(t){let n=M({},t);for(let e of Fk)delete n[e.key];return n}function uW(t){return t?Hke(t):null}function mW(t){return Uke(t)}var Nmt=st(fW(),1);var hW=(()=>{class t{_animationsDisabled=ft();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&&U("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 qke=["text"],Gke=[[["mat-icon"]],"*"],Wke=["mat-icon","*"];function Yke(t,n){if(t&1&&ue(0,"mat-pseudo-checkbox",1),t&2){let e=T();x("disabled",e.disabled)("state",e.selected?"checked":"unchecked")}}function Kke(t,n){if(t&1&&ue(0,"mat-pseudo-checkbox",3),t&2){let e=T();x("disabled",e.disabled)}}function Qke(t,n){if(t&1&&(v(0,"span",4),O(1),w()),t&2){let e=T();C(),dn("(",e.group.label,")")}}var Xd=new A("MAT_OPTION_PARENT_COMPONENT"),Jd=new A("MatOptgroup");var Zd=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},ji=(()=>{class t{_element=u(W);_changeDetectorRef=u(Ae);_parent=u(Xd,{optional:!0});group=u(Jd,{optional:!0});_signalDisableRipple=!1;_selected=!1;_active=!1;_mostRecentViewValue="";get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}value;id=u(Tt).getId("mat-option-");get disabled(){return this.group&&this.group.disabled||this._disabled()}set disabled(e){this._disabled.set(e)}_disabled=pe(!1);get disableRipple(){return this._signalDisableRipple?this._parent.disableRipple():!!this._parent?.disableRipple}get hideSingleSelectionIndicator(){return!!(this._parent&&this._parent.hideSingleSelectionIndicator)}onSelectionChange=new F;_text;_stateChanges=new L;constructor(){let e=u(wt);e.load(Nn),e.load(_r),this._signalDisableRipple=!!this._parent&&wo(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)&&!$t(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 Zd(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&&_e(qke,7),i&2){let o;j(o=B())&&(r._text=o.first)}},hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(i,r){i&1&&V("click",function(){return r._selectViaInteraction()})("keydown",function(a){return r._handleKeydown(a)}),i&2&&($n("id",r.id),fe("aria-selected",r.selected)("aria-disabled",r.disabled.toString()),U("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",$]},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:Wke,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&&(Be(Gke),De(0,Yke,1,2,"mat-pseudo-checkbox",1),oe(1),v(2,"span",2,0),oe(4,1),w(),De(5,Kke,1,1,"mat-pseudo-checkbox",3),De(6,Qke,2,1,"span",4),ue(7,"div",5)),i&2&&(Ee(r.multiple?0:-1),C(5),Ee(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),C(),Ee(r.group&&r.group._inert?6:-1),C(),x("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[hW,br],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 ah(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 sh(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var lh=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}},Ms=class extends lh{component;viewContainerRef;injector;projectableNodes;constructor(n,e,i,r){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.projectableNodes=r}},tr=class extends lh{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()}},Ok=class extends lh{element;constructor(n){super(),this.element=n instanceof W?n.nativeElement:n}},jb=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Ms)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof tr)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof Ok)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)}},Bb=class extends jb{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(Ja,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||Re.NULL,o=r.get(gn,i.injector);e=Ug(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]}},pW=(()=>{class t extends tr{constructor(){let e=u(At),i=u(rt);super(e,i)}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[ee]})}return t})();var As=(()=>{class t extends jb{_moduleRef=u(Ja,{optional:!0});_document=u(ke);_viewContainerRef=u(rt);_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 F;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=N({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ee]})}return t})();var ch=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var gW=n_();function Wb(t){return new zb(t.get(On),t.get(ke))}var zb=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=bn(-this._previousScrollPosition.left),n.style.top=bn(-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"),gW&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),gW&&(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 DW(t,n){return new $b(t.get(Kr),t.get(J),t.get(On),n)}var $b=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(_t(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 dh=class{enable(){}disable(){}attach(){}};function Nk(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 _W(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 nr(t,n){return new Hb(t.get(Kr),t.get(On),t.get(J),n)}var Hb=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();Nk(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}},EW=(()=>{class t{_injector=u(Re);constructor(){}noop=()=>new dh;close=e=>DW(this._injector,e);block=()=>Wb(this._injector);reposition=e=>nr(this._injector,e);static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ra=class{positionStrategy;scrollStrategy=new dh;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 Ub=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var SW=(()=>{class t{_attachedOverlays=[];_document=u(ke);_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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),xW=(()=>{class t extends SW{_ngZone=u(J);_renderer=u(tn).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=Ye(t)))(r||t)}})();static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),TW=(()=>{class t extends SW{_platform=u(He);_ngZone=u(J);_renderer=u(tn).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=mn(e)};_clickListener=e=>{let i=mn(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(yW(s.overlayElement,i)||yW(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=Ye(t)))(r||t)}})();static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function yW(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 IW=(()=>{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})(),kW=(()=>{class t{_platform=u(He);_containerElement;_document=u(ke);_styleLoader=u(wt);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||XE()){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),XE()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(IW)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Lk=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()}},qb=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new L;_attachments=new L;_detachments=new L;_positionStrategy;_scrollStrategy;_locationChanges=be.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new L;_outsidePointerEvents=new L;_afterNextRenderRef;constructor(n,e,i,r,o,a,s,l,c,d=!1,m,f){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=m,this._renderer=f,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=Lt(()=>{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=M(M({},this._config),n),this._updateElementSize()}setDirection(n){this._config=de(M({},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=bn(this._config.width),n.height=bn(this._config.height),n.minWidth=bn(this._config.minWidth),n.minHeight=bn(this._config.minHeight),n.maxWidth=bn(this._config.maxWidth),n.maxHeight=bn(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){let n="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Lk(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=Zr(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Lt(()=>{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?.()}},bW="cdk-overlay-connected-position-bounding-box",Zke=/([A-Za-z%]+)$/;function Pa(t,n){return new eu(n,t.get(On),t.get(ke),t.get(He),t.get(kW))}var eu=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 L;_resizeSubscription=be.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(bW),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&&Zl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(bW),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=CW(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,m=a+o.width-i.width,f=0-s,h=s+o.height-i.height,p=this._subtractOverflows(o.width,d,m),b=this._subtractOverflows(o.height,f,h),D=p*b;return{visibleArea:D,isCompletelyWithinViewport:o.width*o.height===D,fitsInViewportVertically:b===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=vW(this._overlayRef.getConfig().minHeight),s=vW(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=CW(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,m=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?m=l||-s:m=n.y<this._viewportMargin?o.top-i.top-n.y:0,this._previousPushAmount={x:d,y:m},{x:n.x+d,y:n.y+m}}_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||!Xke(this._lastScrollVisibility,i)){let r=new Ub(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 h=Math.min(i.bottom-n.y+i.top,n.y),p=this._lastBoundingBoxSize.height;o=h*2,a=n.y-h,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,m,f;if(c)f=i.width-n.x+this._viewportMargin*2,d=n.x-this._viewportMargin;else if(l)m=n.x,d=i.right-n.x;else{let h=Math.min(i.right-n.x+i.left,n.x),p=this._lastBoundingBoxSize.width;d=h*2,m=n.x-h,d>p&&!this._isInitialRender&&!this._growAfterOpen&&(m=n.x-p/2)}return{top:a,left:m,bottom:s,right:f,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=bn(i.height),r.top=bn(i.top),r.bottom=bn(i.bottom),r.width=bn(i.width),r.left=bn(i.left),r.right=bn(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=bn(o)),a&&(r.maxWidth=bn(a))}this._lastBoundingBoxSize=i,Zl(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Zl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Zl(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();Zl(i,this._getExactOverlayY(e,n,d)),Zl(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=bn(a.maxHeight):o&&(i.maxHeight="")),a.maxWidth&&(r?i.maxWidth=bn(a.maxWidth):o&&(i.maxWidth="")),Zl(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=bn(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=bn(o.x);return r}_getScrollVisibility(){let n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:_W(n,i),isOriginOutsideView:Nk(n,i),isOverlayClipped:_W(e,i),isOverlayOutsideView:Nk(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&&Zr(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 W)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 Zl(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function vW(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(Zke);return!e||e==="px"?parseFloat(n):null}return t||null}function CW(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 Xke(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var wW="cdk-global-overlay-wrapper";function Yb(t){return new Gb}var Gb=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(wW),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,m=this._xOffset,f=this._overlayRef.getConfig().direction==="rtl",h="",p="",b="";l?b="flex-start":d==="center"?(b="center",f?p=m:h=m):f?d==="left"||d==="end"?(b="flex-end",h=m):(d==="right"||d==="start")&&(b="flex-start",p=m):d==="left"||d==="start"?(b="flex-start",h=m):(d==="right"||d==="end")&&(b="flex-end",p=m),n.position=this._cssPosition,n.marginLeft=l?"0":h,n.marginTop=c?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=l?"0":p,e.justifyContent=b,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(wW),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},MW=(()=>{class t{_injector=u(Re);constructor(){}global(){return Yb()}flexibleConnectedTo(e){return Pa(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Fa(t,n){t.get(wt).load(IW);let e=t.get(kW),i=t.get(ke),r=t.get(Tt),o=t.get(Mi),a=t.get(Ft),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 Bb(l,o,t),d=new Ra(n),m=t.get(yt,null,{optional:!0})||t.get(tn).createRenderer(null,null);return d.direction=d.direction||a.value,new qb(c,s,l,d,t.get(J),t.get(xW),i,t.get(Gg),t.get(TW),n?.disableAnimations??t.get(ns,null,{optional:!0})==="NoopAnimations",t.get(gn),m)}var AW=(()=>{class t{scrollStrategies=u(EW);_positionBuilder=u(MW);_injector=u(Re);constructor(){}create(e){return Fa(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Jke=[{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"}],RW=new A("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}}),tu=(()=>{class t{elementRef=u(W);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return t})(),Kb=(()=>{class t{_dir=u(Ft,{optional:!0});_injector=u(Re);_overlayRef;_templatePortal;_backdropSubscription=be.EMPTY;_attachSubscription=be.EMPTY;_detachSubscription=be.EMPTY;_positionSubscription=be.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(RW);_disposeOnNavigation=!1;_ngZone=u(J);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 F;positionChange=new F;attach=new F;detach=new F;overlayKeydown=new F;overlayOutsideClick=new F;constructor(){let e=u(At),i=u(rt);this._templatePortal=new tr(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=Jke);let e=this._overlayRef=Fa(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&&!$t(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let r=this._getOriginElement(),o=mn(i);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ra({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=Pa(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof tu?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof tu?this.origin.elementRef.nativeElement:this.origin instanceof W?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(P0(()=>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=N({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",$],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",$],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",$],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",$],push:[2,"cdkConnectedOverlayPush","push",$],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",$]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nt]})}return t})();function eMe(t){let n=u(Re);return()=>nr(n)}var tMe={provide:RW,useFactory:eMe},uh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({providers:[AW,tMe],imports:[as,ch,Pm,Pm]})}return t})();var Vk=class{_box;_destroyed=new L;_resizeSubject=new L;_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 Le(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(_t(e=>e.some(i=>i.target===n)),xp({bufferSize:1,refCount:!0}),We(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},Qb=(()=>{class t{_cleanupErrorListener;_observers=new Map;_ngZone=u(J);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 Vk(r)),this._observers.get(r).observe(e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var nMe=["notch"],iMe=["matFormFieldNotchedOutline",""],rMe=["*"],PW=["iconPrefixContainer"],FW=["textPrefixContainer"],OW=["iconSuffixContainer"],NW=["textSuffixContainer"],oMe=["textField"],aMe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],sMe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function lMe(t,n){t&1&&ue(0,"span",20)}function cMe(t,n){if(t&1&&(v(0,"label",19),oe(1,1),De(2,lMe,1,0,"span",20),w()),t&2){let e=T(2);x("floating",e._shouldLabelFloat())("monitorResize",e._hasOutline())("id",e._labelId),fe("for",e._control.disableAutomaticLabeling?null:e._control.id),C(2),Ee(!e.hideRequiredMarker&&e._control.required?2:-1)}}function dMe(t,n){if(t&1&&De(0,cMe,3,5,"label",19),t&2){let e=T();Ee(e._hasFloatingLabel()?0:-1)}}function uMe(t,n){t&1&&ue(0,"div",7)}function mMe(t,n){}function fMe(t,n){if(t&1&&Te(0,mMe,0,0,"ng-template",13),t&2){T(2);let e=Tn(1);x("ngTemplateOutlet",e)}}function hMe(t,n){if(t&1&&(v(0,"div",9),De(1,fMe,1,1,null,13),w()),t&2){let e=T();x("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),C(),Ee(e._forceDisplayInfixLabel()?-1:1)}}function pMe(t,n){t&1&&(v(0,"div",10,2),oe(2,2),w())}function gMe(t,n){t&1&&(v(0,"div",11,3),oe(2,3),w())}function _Me(t,n){}function yMe(t,n){if(t&1&&Te(0,_Me,0,0,"ng-template",13),t&2){T();let e=Tn(1);x("ngTemplateOutlet",e)}}function bMe(t,n){t&1&&(v(0,"div",14,4),oe(2,4),w())}function vMe(t,n){t&1&&(v(0,"div",15,5),oe(2,5),w())}function CMe(t,n){t&1&&ue(0,"div",16)}function wMe(t,n){t&1&&oe(0,6)}function DMe(t,n){if(t&1&&(v(0,"mat-hint",21),O(1),w()),t&2){let e=T(2);x("id",e._hintLabelId),C(),ae(e.hintLabel)}}function EMe(t,n){if(t&1&&(De(0,DMe,2,2,"mat-hint",21),oe(1,7),ue(2,"div",22),oe(3,8)),t&2){let e=T();Ee(e.hintLabel?0:-1)}}var ir=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-label"]]})}return t})(),jk=new A("MatError"),Bi=(()=>{class t{id=u(Tt).getId("mat-mdc-error-");constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({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&&$n("id",r.id)},inputs:{id:"id"},features:[Ce([{provide:jk,useExisting:t}])]})}return t})(),di=(()=>{class t{align="start";id=u(Tt).getId("mat-mdc-hint-");static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({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&&($n("id",r.id),fe("align",null),U("mat-mdc-form-field-hint-end",r.align==="end"))},inputs:{align:"align",id:"id"}})}return t})(),HW=new A("MatPrefix");var Bk=new A("MatSuffix"),zk=(()=>{class t{set _isTextSelector(e){this._isText=!0}_isText=!1;static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:[0,"matTextSuffix","_isTextSelector"]},features:[Ce([{provide:Bk,useExisting:t}])]})}return t})(),UW=new A("FloatingLabelParent"),LW=(()=>{class t{_elementRef=u(W);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=u(Qb);_ngZone=u(J);_parent=u(UW);_resizeSubscription=new be;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return SMe(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=N({type:t,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(i,r){i&2&&U("mdc-floating-label--float-above",r.floating)},inputs:{floating:"floating",monitorResize:"monitorResize"}})}return t})();function SMe(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 VW="mdc-line-ripple--active",Zb="mdc-line-ripple--deactivating",jW=(()=>{class t{_elementRef=u(W);_cleanupTransitionEnd;constructor(){let e=u(J),i=u(yt);e.runOutsideAngular(()=>{this._cleanupTransitionEnd=i.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionEnd)})}activate(){let e=this._elementRef.nativeElement.classList;e.remove(Zb),e.add(VW)}deactivate(){this._elementRef.nativeElement.classList.add(Zb)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(Zb);e.propertyName==="opacity"&&r&&i.remove(VW,Zb)};ngOnDestroy(){this._cleanupTransitionEnd()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]})}return t})(),BW=(()=>{class t{_elementRef=u(W);_ngZone=u(J);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&&_e(nMe,5),i&2){let o;j(o=B())&&(r._notch=o.first)}},hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(i,r){i&2&&U("mdc-notched-outline--notched",r.open)},inputs:{open:[0,"matFormFieldNotchedOutlineOpen","open"]},attrs:iMe,ngContentSelectors:rMe,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&&(Be(),ti(0,"div",1),xn(1,"div",2,0),oe(3),Rn(),ti(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),Xl=(()=>{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=N({type:t})}return t})();var Bo=new A("MatFormField"),qW=new A("MAT_FORM_FIELD_DEFAULT_OPTIONS"),zW="fill",xMe="auto",$W="fixed",TMe="translateY(-50%)",rr=(()=>{class t{_elementRef=u(W);_changeDetectorRef=u(Ae);_platform=u(He);_idGenerator=u(Tt);_ngZone=u(J);_defaults=u(qW,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Sm("iconPrefixContainer");_textPrefixContainerSignal=Sm("textPrefixContainer");_iconSuffixContainerSignal=Sm("iconSuffixContainer");_textSuffixContainerSignal=Sm("textSuffixContainer");_prefixSuffixContainers=it(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=pO(ir);get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=fn(e)}_hideRequiredMarker=!1;color="primary";get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||xMe}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||zW;this._appearanceSignal.set(i)}_appearanceSignal=pe(zW);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||$W}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||$W}_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 L;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=ft();constructor(){let e=this._defaults,i=u(Ft);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),un(()=>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=it(()=>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(Ot([void 0,void 0]),et(()=>[i.errorState,i.userAriaDescribedBy]),Sp(),_t(([[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(We(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(),Pt(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(){yO({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=it(()=>!!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",m=`${a+s}px`,h=`calc(${d} * (${m} + var(--mat-mdc-form-field-label-offset-x, 0px)))`,p=`var(--mat-mdc-form-field-label-transform, ${TMe} translateX(${h}))`,b=a+s+l+c;return[p,b]}_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&&(FD(o,r._labelChild,ir,5),Ke(o,Xl,5),Ke(o,HW,5),Ke(o,Bk,5),Ke(o,jk,5),Ke(o,di,5)),i&2){jg();let a;j(a=B())&&(r._formFieldControl=a.first),j(a=B())&&(r._prefixChildren=a),j(a=B())&&(r._suffixChildren=a),j(a=B())&&(r._errorChildren=a),j(a=B())&&(r._hintChildren=a)}},viewQuery:function(i,r){if(i&1&&(Wc(r._iconPrefixContainerSignal,PW,5),Wc(r._textPrefixContainerSignal,FW,5),Wc(r._iconSuffixContainerSignal,OW,5),Wc(r._textSuffixContainerSignal,NW,5),_e(oMe,5),_e(PW,5),_e(FW,5),_e(OW,5),_e(NW,5),_e(LW,5),_e(BW,5),_e(jW,5)),i&2){jg(4);let o;j(o=B())&&(r._textField=o.first),j(o=B())&&(r._iconPrefixContainer=o.first),j(o=B())&&(r._textPrefixContainer=o.first),j(o=B())&&(r._iconSuffixContainer=o.first),j(o=B())&&(r._textSuffixContainer=o.first),j(o=B())&&(r._floatingLabel=o.first),j(o=B())&&(r._notchedOutline=o.first),j(o=B())&&(r._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:38,hostBindings:function(i,r){i&2&&U("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:[Ce([{provide:Bo,useExisting:t},{provide:UW,useExisting:t}])],ngContentSelectors:sMe,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=Ve();Be(aMe),Te(0,dMe,1,1,"ng-template",null,0,So),v(2,"div",6,1),V("click",function(s){return Y(o),K(r._control.onContainerClick(s))}),De(4,uMe,1,0,"div",7),v(5,"div",8),De(6,hMe,2,2,"div",9),De(7,pMe,3,0,"div",10),De(8,gMe,3,0,"div",11),v(9,"div",12),De(10,yMe,1,1,null,13),oe(11),w(),De(12,bMe,3,0,"div",14),De(13,vMe,3,0,"div",15),w(),De(14,CMe,1,0,"div",16),w(),v(15,"div",17)(16,"div",18),De(17,wMe,1,0)(18,EMe,4,1),w()()}if(i&2){let o;C(2),U("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),C(2),Ee(!r._hasOutline()&&!r._control.disabled?4:-1),C(2),Ee(r._hasOutline()?6:-1),C(),Ee(r._hasIconPrefix?7:-1),C(),Ee(r._hasTextPrefix?8:-1),C(2),Ee(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),C(2),Ee(r._hasTextSuffix?12:-1),C(),Ee(r._hasIconSuffix?13:-1),C(),Ee(r._hasOutline()?-1:14),C(),U("mat-mdc-form-field-subscript-dynamic-size",r.subscriptSizing==="dynamic");let a=r._getSubscriptMessageType();C(),U("mat-mdc-form-field-error-wrapper",a==="error")("mat-mdc-form-field-hint-wrapper",a==="hint"),C(),Ee((o=a)==="error"?17:o==="hint"?18:-1)}},dependencies:[LW,BW,oE,jW,di],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 Xb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct]})}return t})();var $k=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ad,ct,Xb,ji]})}return t})();var IMe=["panel"],kMe=["*"];function MMe(t,n){if(t&1&&(xn(0,"div",1,0),oe(2),Rn()),t&2){let e=n.id,i=T();nn(i._classList),U("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"),$n("id",i.id),fe("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}var Hk=class{source;option;constructor(n,e){this.source=n,this.option=e}},GW=new A("mat-autocomplete-default-options",{providedIn:"root",factory:AMe});function AMe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var WW=(()=>{class t{_changeDetectorRef=u(Ae);_elementRef=u(W);_defaults=u(GW);_animationsDisabled=ft();_activeOptionChanges=be.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 F;opened=new F;closed=new F;optionActivated=new F;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=u(Tt).getId("mat-autocomplete-");inertGroups;constructor(){let e=u(He);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 Ml(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 Hk(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&&(Ke(o,ji,5),Ke(o,Jd,5)),i&2){let a;j(a=B())&&(r.options=a),j(a=B())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&(_e(At,7),_e(IMe,5)),i&2){let o;j(o=B())&&(r.template=o.first),j(o=B())&&(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",$],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",$],requireSelection:[2,"requireSelection","requireSelection",$],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",$],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",$]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],features:[Ce([{provide:Xd,useExisting:t}])],ngContentSelectors:kMe,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&&(Be(),Wr(0,MMe,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 RMe={provide:Ir,useExisting:cn(()=>Uk),multi:!0};var PMe=new A("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}});var Uk=(()=>{class t{_environmentInjector=u(gn);_element=u(W);_injector=u(Re);_viewContainerRef=u(rt);_zone=u(J);_changeDetectorRef=u(Ae);_dir=u(Ft,{optional:!0});_formField=u(Bo,{optional:!0,host:!0});_viewportRuler=u(On);_scrollStrategy=u(PMe);_renderer=u(yt);_animationsDisabled=ft();_defaults=u(GW,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new L;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=be.EMPTY;_breakpointObserver=u(Bm);_handsetLandscapeSubscription=be.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new L;_overlayPanelClass=Zr(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&&ds(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Pt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(_t(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(_t(()=>this._overlayAttached)):en()).pipe(et(e=>e instanceof Zd?e:null))}optionSelections=Nu(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Ot(e),Qn(()=>Pt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Qn(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Le(e=>{let i=o=>{let a=mn(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=$t(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 ga()===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 Le(r=>{Lt(()=>{r.next()},{injector:this._environmentInjector})}),i=this.autocomplete.options?.changes.pipe(Br(()=>this._positionStrategy.reapplyLastPosition()),A0(0))??en();return Pt(e,i).pipe(Qn(()=>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})),wn(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;id(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 tr(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=Fa(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(MN.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&&!$t(e)||e.keyCode===38&&$t(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 Ra({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=Pa(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=ah(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=sh(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&&ds(this._trackedModal,"aria-owns",i),id(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ds(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,r){i&1&&V("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&&fe("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",$]},exportAs:["matAutocompleteTrigger"],features:[Ce([RMe]),nt]})}return t})();var YW="mat-badge-content",OMe=(()=>{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})(),KW=(()=>{class t{_ngZone=u(J);_elementRef=u(W);_ariaDescriber=u(C_);_renderer=u(yt);_animationsDisabled=ft();_idGenerator=u(Tt);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=u(td);_document=u(ke);constructor(){let e=u(wt);e.load(OMe),e.load(_r)}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(YW),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 > .${YW}`);for(let i of Array.from(e))i!==this._badgeElement&&i.remove()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(i,r){i&2&&U("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",$],disabled:[2,"matBadgeDisabled","disabled",$],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",$]}})}return t})();var LMe=["*"];var VMe=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],jMe=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
|
|
37
|
-
[mat-card-title], [mat-card-subtitle],
|
|
38
|
-
[matCardTitle], [matCardSubtitle]`,"*"],BMe=new A("MAT_CARD_CONFIG"),zo=(()=>{class t{appearance;constructor(){let e=u(BMe,{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&&U("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:LMe,decls:1,vars:0,template:function(i,r){i&1&&(Be(),oe(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})(),Rs=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]})}return t})();var nu=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]})}return t})(),Jb=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]})}return t})(),iu=(()=>{class t{align="start";static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,r){i&2&&U("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]})}return t})(),ev=(()=>{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:jMe,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Be(VMe),oe(0),xn(1,"div",0),oe(2,1),Rn(),oe(3,2))},encapsulation:2,changeDetection:0})}return t})();var Ps=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var zMe=["mat-internal-form-field",""],$Me=["*"],nv=(()=>{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&&U("mdc-form-field--align-end",r.labelPosition==="before")},inputs:{labelPosition:"labelPosition"},attrs:zMe,ngContentSelectors:$Me,decls:1,vars:0,template:function(i,r){i&1&&(Be(),oe(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 HMe=["input"],UMe=["label"],qMe=["*"],GMe=new A("mat-checkbox-default-options",{providedIn:"root",factory:ZW});function ZW(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var ui=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(ui||{}),qk=class{source;checked},QW=ZW(),XW=(()=>{class t{_elementRef=u(W);_changeDetectorRef=u(Ae);_ngZone=u(J);_animationsDisabled=ft();_options=u(GMe,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new qk;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 F;indeterminateChange=new F;value;disableRipple;_inputElement;_labelElement;tabIndex;color;disabledInteractive;_onTouched=()=>{};_currentAnimationClass="";_currentCheckState=ui.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){u(wt).load(Nn);let e=u(new Hn("tabindex"),{optional:!0});this._options=this._options||QW,this.color=this._options.color||QW.color,this.tabIndex=e==null?0:parseInt(e)||0,this.id=this._uniqueId=u(Tt).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(ui.Indeterminate):this._transitionCheckState(this.checked?ui.Checked:ui.Unchecked),this.indeterminateChange.emit(e)),this._syncIndeterminate(e)}_indeterminate=pe(!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?ui.Checked:ui.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 ui.Init:if(i===ui.Checked)return this._animationClasses.uncheckedToChecked;if(i==ui.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case ui.Unchecked:return i===ui.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case ui.Checked:return i===ui.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case ui.Indeterminate:return i===ui.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&&(_e(HMe,5),_e(UMe,5)),i&2){let o;j(o=B())&&(r._inputElement=o.first),j(o=B())&&(r._labelElement=o.first)}},hostAttrs:[1,"mat-mdc-checkbox"],hostVars:16,hostBindings:function(i,r){i&2&&($n("id",r.id),fe("tabindex",null)("aria-label",null)("aria-labelledby",null),nn(r.color?"mat-"+r.color:"mat-accent"),U("_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",$],ariaControls:[0,"aria-controls","ariaControls"],ariaOwns:[0,"aria-owns","ariaOwns"],id:"id",required:[2,"required","required",$],labelPosition:"labelPosition",name:"name",value:"value",disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?void 0:Zt(e)],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",$],checked:[2,"checked","checked",$],disabled:[2,"disabled","disabled",$],indeterminate:[2,"indeterminate","indeterminate",$]},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Ce([{provide:Ir,useExisting:cn(()=>t),multi:!0},{provide:Aa,useExisting:t,multi:!0}]),nt],ngContentSelectors:qMe,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=Ve();Be(),v(0,"div",3),V("click",function(s){return Y(o),K(r._preventBubblingFromLabel(s))}),v(1,"div",4,0)(3,"div",5),V("click",function(){return Y(o),K(r._onTouchTargetClick())}),w(),v(4,"input",6,1),V("blur",function(){return Y(o),K(r._onBlur())})("click",function(){return Y(o),K(r._onInputClick())})("change",function(s){return Y(o),K(r._onInteractionEvent(s))}),w(),ue(6,"div",7),v(7,"div",8),Jn(),v(8,"svg",9),ue(9,"path",10),w(),Za(),ue(10,"div",11),w(),ue(11,"div",12),w(),v(12,"label",13,2),oe(14),w()()}if(i&2){let o=Tn(2);x("labelPosition",r.labelPosition),C(4),U("mdc-checkbox--selected",r.checked),x("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),fe("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),C(7),x("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),C(),x("for",r.inputId)}},dependencies:[br,nv],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 Gk=new A("MAT_DATE_LOCALE",{providedIn:"root",factory:YMe});function YMe(){return u(Qc)}var ru="Method not implemented",Vn=class{locale;_localeChanges=new L;localeChanges=this._localeChanges;setTime(n,e,i,r){throw new Error(ru)}getHours(n){throw new Error(ru)}getMinutes(n){throw new Error(ru)}getSeconds(n){throw new Error(ru)}parseTime(n,e){throw new Error(ru)}addSeconds(n,e){throw new Error(ru)}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}},$o=new A("mat-date-formats");var KMe=["tooltip"],t6=20;var n6=new A("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t,{scrollThrottle:t6})}});function i6(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var r6=new A("mat-tooltip-default-options",{providedIn:"root",factory:i6});var JW="tooltip-panel",e6=ls({passive:!0}),QMe=8,ZMe=8,XMe=24,JMe=200,ou=(()=>{class t{_elementRef=u(W);_ngZone=u(J);_platform=u(He);_ariaDescriber=u(C_);_focusMonitor=u(Qi);_dir=u(Ft);_injector=u(Re);_viewContainerRef=u(rt);_animationsDisabled=ft();_defaultOptions=u(r6,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=o6;_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=fn(e),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(e){let i=fn(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=oi(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=oi(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 L;_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=QMe}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(We(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,e6)}),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 Ms(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(We(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 W)return this._overlayRef;this._detach()}let i=this._injector.get(Kr).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${JW}`,o=Pa(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(We(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Fa(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(n6)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(We(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(We(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(We(this._destroyed)).subscribe(a=>{this._isTooltipVisible()&&a.keyCode===27&&!$t(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(We(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(M(M({},r.main),o.main)),this._addOffset(M(M({},r.fallback),o.fallback))])}_addOffset(e){let i=ZMe,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(),Lt(()=>{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}-${JW}-`;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,e6)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){let i=this._injector.get(ke).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||Lt({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=N({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,r){i&2&&U("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})(),o6=(()=>{class t{_changeDetectorRef=u(Ae);_elementRef=u(W);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=ft();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new L;_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>XMe&&e.width>=JMe}_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&&_e(KMe,7),i&2){let o;j(o=B())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&V("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=Ve();v(0,"div",1,0),V("animationend",function(s){return Y(o),K(r._handleAnimationEnd(s))}),v(2,"div",2),O(3),w()()}i&2&&(U("mdc-tooltip--multiline",r._isMultiline),x("ngClass",r.tooltipClass),C(3),ae(r.message))},dependencies:[To],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 iv=new A("MAT_INPUT_VALUE_ACCESSOR");var rv=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var au=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 eAe=["mat-calendar-body",""];function tAe(t,n){return this._trackRow(n)}var m6=(t,n)=>n.id;function nAe(t,n){if(t&1&&(v(0,"tr",0)(1,"td",3),O(2),w()()),t&2){let e=T();C(),zt("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),fe("colspan",e.numCols),C(),dn(" ",e.label," ")}}function iAe(t,n){if(t&1&&(v(0,"td",3),O(1),w()),t&2){let e=T(2);zt("padding-top",e._cellPadding)("padding-bottom",e._cellPadding),fe("colspan",e._firstRowOffset),C(),dn(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function rAe(t,n){if(t&1){let e=Ve();v(0,"td",6)(1,"button",7),V("click",function(r){let o=Y(e).$implicit,a=T(2);return K(a._cellClicked(o,r))})("focus",function(r){let o=Y(e).$implicit,a=T(2);return K(a._emitActiveDateChange(o,r))}),v(2,"span",8),O(3),w(),ue(4,"span",9),w()()}if(t&2){let e=n.$implicit,i=n.$index,r=T().$index,o=T();zt("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),fe("data-mat-row",r)("data-mat-col",i),C(),U("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)),x("ngClass",e.cssClasses)("tabindex",o._isActiveCell(r,i)?0:-1),fe("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)),C(),U("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),C(),dn(" ",e.displayValue," ")}}function oAe(t,n){if(t&1&&(v(0,"tr",1),De(1,iAe,2,6,"td",4),hr(2,rAe,5,48,"td",5,m6),w()),t&2){let e=n.$implicit,i=n.$index,r=T();C(),Ee(i===0&&r._firstRowOffset?1:-1),C(),pr(e)}}function aAe(t,n){if(t&1&&(v(0,"th",2)(1,"span",6),O(2),w(),v(3,"span",3),O(4),w()()),t&2){let e=n.$implicit;C(2),ae(e.long),C(2),ae(e.narrow)}}var sAe=["*"];function lAe(t,n){}function cAe(t,n){if(t&1){let e=Ve();v(0,"mat-month-view",4),Kc("activeDateChange",function(r){Y(e);let o=T();return wm(o.activeDate,r)||(o.activeDate=r),K(r)}),V("_userSelection",function(r){Y(e);let o=T();return K(o._dateSelected(r))})("dragStarted",function(r){Y(e);let o=T();return K(o._dragStarted(r))})("dragEnded",function(r){Y(e);let o=T();return K(o._dragEnded(r))}),w()}if(t&2){let e=T();Yc("activeDate",e.activeDate),x("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 dAe(t,n){if(t&1){let e=Ve();v(0,"mat-year-view",5),Kc("activeDateChange",function(r){Y(e);let o=T();return wm(o.activeDate,r)||(o.activeDate=r),K(r)}),V("monthSelected",function(r){Y(e);let o=T();return K(o._monthSelectedInYearView(r))})("selectedChange",function(r){Y(e);let o=T();return K(o._goToDateInView(r,"month"))}),w()}if(t&2){let e=T();Yc("activeDate",e.activeDate),x("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function uAe(t,n){if(t&1){let e=Ve();v(0,"mat-multi-year-view",6),Kc("activeDateChange",function(r){Y(e);let o=T();return wm(o.activeDate,r)||(o.activeDate=r),K(r)}),V("yearSelected",function(r){Y(e);let o=T();return K(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){Y(e);let o=T();return K(o._goToDateInView(r,"year"))}),w()}if(t&2){let e=T();Yc("activeDate",e.activeDate),x("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function mAe(t,n){}var fAe=["button"],hAe=[[["","matDatepickerToggleIcon",""]]],pAe=["[matDatepickerToggleIcon]"];function gAe(t,n){t&1&&(Jn(),v(0,"svg",2),ue(1,"path",3),w())}var ph=(()=>{class t{changes=new L;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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_Ae=0,fh=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=_Ae++;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}},yAe={passive:!1,capture:!0},ov={passive:!0,capture:!0},a6={passive:!0},lu=(()=>{class t{_elementRef=u(W);_ngZone=u(J);_platform=u(He);_intl=u(ph);_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 F;previewChange=new F;activeDateChange=new F;dragStarted=new F;dragEnded=new F;_firstRowOffset;_cellPadding;_cellWidth;_startDateLabelId;_endDateLabelId;_comparisonStartDateLabelId;_comparisonEndDateLabelId;_didDragSinceMouseDown=!1;_injector=u(Re);comparisonDateAccessibleName=this._intl.comparisonDateLabel;_trackRow=e=>e;constructor(){let e=u(yt),i=u(Tt);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-"),u(wt).load(Nn),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,o=[e.listen(r,"touchmove",this._touchmoveHandler,yAe),e.listen(r,"mouseenter",this._enterHandler,ov),e.listen(r,"focus",this._enterHandler,ov),e.listen(r,"mouseleave",this._leaveHandler,ov),e.listen(r,"blur",this._leaveHandler,ov),e.listen(r,"mousedown",this._mousedownHandler,a6),e.listen(r,"touchstart",this._mousedownHandler,a6)];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){Lt(()=>{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 Kk(e,this.startValue,this.endValue)}_isRangeEnd(e){return Qk(e,this.startValue,this.endValue)}_isInRange(e){return Zk(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return Kk(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 Qk(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return Zk(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return Kk(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return Qk(e,this.previewStart,this.previewEnd)}_isInPreview(e){return Zk(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=s6(e),r=i?this._getCellFromElement(i):null;i!==e.target&&(this._didDragSinceMouseDown=!0),Yk(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=Yk(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=s6(e);i&&this._mouseupHandler({target:i})};_getCellFromElement(e){let i=Yk(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:[nt],attrs:eAe,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&&(De(0,nAe,3,6,"tr",0),hr(1,oAe,4,1,"tr",1,tAe,!0),v(3,"span",2),O(4),w(),v(5,"span",2),O(6),w(),v(7,"span",2),O(8),w(),v(9,"span",2),O(10),w()),i&2&&(Ee(r._firstRowOffset<r.labelMinRequiredCells?0:-1),C(),pr(r.rows),C(2),x("id",r._startDateLabelId),C(),dn(" ",r.startDateAccessibleName,`
|
|
43
|
-
`),C(),x("id",r._endDateLabelId),C(),dn(" ",r.endDateAccessibleName,`
|
|
44
|
-
`),C(),x("id",r._comparisonStartDateLabelId),C(),Cm(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
|
|
45
|
-
`),C(),x("id",r._comparisonEndDateLabelId),C(),Cm(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
|
|
46
|
-
`))},dependencies:[To],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 Wk(t){return t?.nodeName==="TD"}function Yk(t){let n;return Wk(t)?n=t:Wk(t.parentNode)?n=t.parentNode:Wk(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function Kk(t,n,e){return e!==null&&n!==e&&t<e&&t===n}function Qk(t,n,e){return n!==null&&n!==e&&t>=n&&t===e}function Zk(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function s6(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var Rr=class{start;end;_disableStructuralEquivalency;constructor(n,e){this.start=n,this.end=e}},hh=(()=>{class t{selection;_adapter;_selectionChanged=new L;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){gD()};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),bAe=(()=>{class t extends hh{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)(ze(Vn))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();function vAe(t,n){return t||new bAe(n)}var f6={provide:hh,deps:[[new Hc,new Cg,hh],Vn],useFactory:vAe};var h6=new A("MAT_DATE_RANGE_SELECTION_STRATEGY");var Xk=7,CAe=0,l6=(()=>{class t{_changeDetectorRef=u(Ae);_dateFormats=u($o,{optional:!0});_dateAdapter=u(Vn,{optional:!0});_dir=u(Ft,{optional:!0});_rangeStrategy=u(h6,{optional:!0});_rerenderSubscription=be.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 Rr?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 F;_userSelection=new F;dragStarted=new F;dragEnded=new F;activeDateChange=new F;_matCalendarBody;_monthLabel;_weeks;_firstWeekOffset;_rangeStart;_rangeEnd;_comparisonRangeStart;_comparisonRangeEnd;_previewStart;_previewEnd;_isRange;_todayDate;_weekdays;constructor(){u(wt).load(_r),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ot(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 Rr?(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&&!$t(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=(Xk+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%Xk,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:CAe++}));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==Xk&&(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 fh(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 Rr?(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&&_e(lu,5),i&2){let o;j(o=B())&&(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:[nt],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&&(v(0,"table",0)(1,"thead",1)(2,"tr"),hr(3,aAe,5,2,"th",2,m6),w(),v(5,"tr",3),ue(6,"th",4),w()(),v(7,"tbody",5),V("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)}),w()()),i&2&&(C(3),pr(r._weekdays),C(4),x("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:[lu],encapsulation:2,changeDetection:0})}return t})(),or=24,Jk=4,c6=(()=>{class t{_changeDetectorRef=u(Ae);_dateAdapter=u(Vn,{optional:!0});_dir=u(Ft,{optional:!0});_rerenderSubscription=be.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),p6(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Rr?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 F;yearSelected=new F;activeDateChange=new F;_matCalendarBody;_years;_todayYear;_selectedYear;constructor(){this._dateAdapter,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ot(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-mh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,o=[];r<or;r++)o.push(i+r),o.length==Jk&&(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,-Jk);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Jk);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-mh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,or-mh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-or*10:-or);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?or*10:or);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 mh(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 fh(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 Rr){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&&_e(lu,5),i&2){let o;j(o=B())&&(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&&(v(0,"table",0)(1,"thead",1)(2,"tr"),ue(3,"th",2),w()(),v(4,"tbody",3),V("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)}),w()()),i&2&&(C(4),x("rows",r._years)("todayValue",r._todayYear)("startValue",r._selectedYear)("endValue",r._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",r._getActiveCell()))},dependencies:[lu],encapsulation:2,changeDetection:0})}return t})();function p6(t,n,e,i,r){let o=t.getYear(n),a=t.getYear(e),s=g6(t,i,r);return Math.floor((o-s)/or)===Math.floor((a-s)/or)}function mh(t,n,e,i){let r=t.getYear(n);return wAe(r-g6(t,e,i),or)}function g6(t,n,e){let i=0;return e?i=t.getYear(e)-or+1:n&&(i=t.getYear(n)),i}function wAe(t,n){return(t%n+n)%n}var d6=(()=>{class t{_changeDetectorRef=u(Ae);_dateFormats=u($o,{optional:!0});_dateAdapter=u(Vn,{optional:!0});_dir=u(Ft,{optional:!0});_rerenderSubscription=be.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 Rr?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 F;monthSelected=new F;activeDateChange=new F;_matCalendarBody;_months;_yearLabel;_todayMonth;_selectedMonth;constructor(){this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Ot(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 fh(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 Rr?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&&_e(lu,5),i&2){let o;j(o=B())&&(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&&(v(0,"table",0)(1,"thead",1)(2,"tr"),ue(3,"th",2),w()(),v(4,"tbody",3),V("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)}),w()()),i&2&&(C(4),x("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:[lu],encapsulation:2,changeDetection:0})}return t})(),DAe=(()=>{class t{_intl=u(ph);calendar=u(eM);_dateAdapter=u(Vn,{optional:!0});_dateFormats=u($o,{optional:!0});_periodButtonText;_periodButtonDescription;_periodButtonLabel;_prevButtonLabel;_nextButtonLabel;constructor(){u(wt).load(_r);let e=u(Ae);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:-or))}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:or))}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):p6(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-mh(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),r=i+or-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=u(Tt).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:sAe,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&&(Be(),v(0,"div",0)(1,"div",1)(2,"span",2),O(3),w(),v(4,"button",3),V("click",function(){return r.currentPeriodClicked()}),v(5,"span",4),O(6),w(),Jn(),v(7,"svg",5),ue(8,"polygon",6),w()(),Za(),ue(9,"div",7),oe(10),v(11,"button",8),V("click",function(){return r.previousClicked()}),Jn(),v(12,"svg",9),ue(13,"path",10),w()(),Za(),v(14,"button",11),V("click",function(){return r.nextClicked()}),Jn(),v(15,"svg",9),ue(16,"path",12),w()()()()),i&2&&(C(2),x("id",r._periodButtonLabelId),C(),ae(r.periodButtonDescription),C(),fe("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),C(2),ae(r.periodButtonText),C(),U("mat-calendar-invert",r.calendar.currentView!=="month"),C(4),x("disabled",!r.previousEnabled())("matTooltip",r.prevButtonLabel),fe("aria-label",r.prevButtonLabel),C(3),x("disabled",!r.nextEnabled())("matTooltip",r.nextButtonLabel),fe("aria-label",r.nextButtonLabel))},dependencies:[vr,Jr,ou],encapsulation:2,changeDetection:0})}return t})(),eM=(()=>{class t{_dateAdapter=u(Vn,{optional:!0});_dateFormats=u($o,{optional:!0});_changeDetectorRef=u(Ae);_elementRef=u(W);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 Rr?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 F;yearSelected=new F;monthSelected=new F;viewChanged=new F(!0);_userSelection=new F;_userDragDrop=new F;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 L;constructor(){this._intlChanges=u(ph).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Ms(this.headerComponent||DAe),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(ga())&&(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 Rr||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&&(_e(l6,5),_e(d6,5),_e(c6,5)),i&2){let o;j(o=B())&&(r.monthView=o.first),j(o=B())&&(r.yearView=o.first),j(o=B())&&(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:[Ce([f6]),nt],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&&(Te(0,lAe,0,0,"ng-template",0),v(1,"div",1),De(2,cAe,1,11,"mat-month-view",2)(3,dAe,1,6,"mat-year-view",3)(4,uAe,1,6,"mat-multi-year-view",3),w()),i&2){let o;x("cdkPortalOutlet",r._calendarHeaderPortal),C(2),Ee((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[As,jm,l6,d6,c6],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})(),EAe=new A("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}});var SAe=(()=>{class t{_elementRef=u(W);_animationsDisabled=ft();_changeDetectorRef=u(Ae);_globalModel=u(hh);_dateAdapter=u(Vn);_ngZone=u(J);_rangeSelectionStrategy=u(h6,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new L;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(u(wt).load(_r),this._closeButtonText=u(ph).closeCalendarLabel,!this._animationsDisabled){let e=this._elementRef.nativeElement,i=u(yt);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 Rr;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&&_e(eM,5),i&2){let o;j(o=B())&&(r._calendar=o.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,r){i&2&&(nn(r.color?"mat-"+r.color:""),U("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&&(v(0,"div",0)(1,"mat-calendar",1),V("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)}),w(),Te(2,mAe,0,0,"ng-template",2),v(3,"button",3),V("focus",function(){return r._closeButtonFocused=!0})("blur",function(){return r._closeButtonFocused=!1})("click",function(){return r.datepicker.close()}),O(4),w()()),i&2&&(U("mat-datepicker-content-container-with-custom-header",r.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",r._actionsPortal),fe("aria-modal",!0)("aria-labelledby",r._dialogLabelId??void 0),C(),nn(r.datepicker.panelClass),x("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),C(),x("cdkPortalOutlet",r._actionsPortal),C(),U("cdk-visually-hidden",!r._closeButtonFocused),x("color",r.color||"primary"),C(),ae(r._closeButtonText))},dependencies:[GE,eM,As,vr],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})(),u6=(()=>{class t{_injector=u(Re);_viewContainerRef=u(rt);_dateAdapter=u(Vn,{optional:!0});_dir=u(Ft,{optional:!0});_model=u(hh);_animationsDisabled=ft();_scrollStrategy=u(EAe);_inputStateChanges=be.EMPTY;_document=u(ke);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 F;monthSelected=new F;viewChanged=new F(!0);dateClass;openedStream=new F;closedStream=new F;get panelClass(){return this._panelClass}set panelClass(e){this._panelClass=xN(e)}_panelClass;get opened(){return this._opened}set opened(e){e?this.open():this.close()}_opened=!1;id=u(Tt).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 L;_changeDetectorRef=u(Ae);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 eu&&(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=ga(),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(wn(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 Ms(SAe,this._viewContainerRef),r=this._overlayRef=Fa(this._injector,new Ra({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?Wb(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||Lt(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return Yb(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=Pa(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 Pt(e.backdropClick(),e.detachments(),e.keydownEvents().pipe(_t(r=>r.keyCode===27&&!$t(r)||this.datepickerInput&&$t(r,"altKey")&&r.keyCode===38&&i.every(o=>!$t(r,o)))))}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",$],disabled:[2,"disabled","disabled",$],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",$],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",$]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[nt]})}return t})(),_6=(()=>{class t extends u6{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[Ce([f6,{provide:u6,useExisting:t}]),ee],decls:0,vars:0,template:function(i,r){},encapsulation:2,changeDetection:0})}return t})(),su=class{target;targetElement;value;constructor(n,e){this.target=n,this.targetElement=e,this.value=this.target.value}},xAe=(()=>{class t{_elementRef=u(W);_dateAdapter=u(Vn,{optional:!0});_dateFormats=u($o,{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 F;dateInput=new F;stateChanges=new L;_onTouched=()=>{};_validatorOnChange=()=>{};_cvaOnChange=()=>{};_valueChangesSubscription=be.EMPTY;_localeSubscription=be.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 su(this,this._elementRef.nativeElement)),this.dateChange.emit(new su(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){TAe(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"];$t(e,"altKey")&&e.keyCode===40&&i.every(o=>!$t(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 su(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new su(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=N({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",$]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[nt]})}return t})();function TAe(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 IAe={provide:Ir,useExisting:cn(()=>av),multi:!0},kAe={provide:Aa,useExisting:cn(()=>av),multi:!0},av=(()=>{class t extends xAe{_formField=u(Bo,{optional:!0});_closedSubscription=be.EMPTY;_openedSubscription=be.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=pe(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=Ts.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=N({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(i,r){i&1&&V("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&&($n("disabled",r.disabled),fe("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:[Ce([IAe,kAe,{provide:iv,useExisting:t}]),ee]})}return t})(),MAe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),y6=(()=>{class t{_intl=u(ph);_changeDetectorRef=u(Ae);_stateChanges=be.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=u(new Hn("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:en(),i=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:en(),r=this.datepicker?Pt(this.datepicker.openedStream,this.datepicker.closedStream):en();this._stateChanges.unsubscribe(),this._stateChanges=Pt(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&&Ke(o,MAe,5),i&2){let a;j(a=B())&&(r._customIcon=a.first)}},viewQuery:function(i,r){if(i&1&&_e(fAe,5),i&2){let o;j(o=B())&&(r._button=o.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,r){i&1&&V("click",function(a){return r._open(a)}),i&2&&(fe("tabindex",null)("data-mat-calendar",r.datepicker?r.datepicker.id:null),U("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",$],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[nt],ngContentSelectors:pAe,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&&(Be(hAe),v(0,"button",1,0),De(2,gAe,2,0,":svg:svg",2),oe(3),w()),i&2&&(x("tabIndex",r.disabled?-1:r.tabIndex)("disabled",r.disabled)("disableRipple",r.disableRipple),fe("aria-haspopup",r.datepicker?"dialog":null)("aria-label",r.ariaLabel||r._intl.openCalendarLabel)("aria-expanded",r.datepicker?r.datepicker.opened:null),C(2),Ee(r._customIcon?-1:2))},dependencies:[Jr],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 Ho=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,f_,rr,ct]})}return t})();var PAe=(()=>{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})(),FAe={passive:!0},b6=(()=>{class t{_platform=u(He);_ngZone=u(J);_renderer=u(tn).createRenderer(null,null);_styleLoader=u(wt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Vr;this._styleLoader.load(PAe);let i=sn(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new L,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,FAe)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=sn(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=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var v6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var OAe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],NAe=new A("MAT_INPUT_CONFIG"),cu=(()=>{class t{_elementRef=u(W);_platform=u(He);ngControl=u(Vo,{optional:!0,self:!0});_autofillMonitor=u(b6);_ngZone=u(J);_formField=u(Bo,{optional:!0});_renderer=u(yt);_uid=u(Tt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=u(NAe,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new L;controlType="mat-input";autofilled=!1;get disabled(){return this._disabled}set disabled(e){this._disabled=fn(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(Ts.required)??!1}set required(e){this._required=fn(e)}_required;get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&JE().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=fn(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=>JE().has(e));constructor(){let e=u(Kd,{optional:!0}),i=u(Qd,{optional:!0}),r=u(rv),o=u(iv,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?wo(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 au(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&&un(()=>{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(){OAe.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=N({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&&V("focus",function(){return r._focusChanged(!0)})("blur",function(){return r._focusChanged(!1)})("input",function(){return r._onInput()}),i&2&&($n("id",r.id)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),fe("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),U("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",$]},exportAs:["matInput"],features:[Ce([{provide:Xl,useExisting:t}]),nt]})}return t})(),C6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,Ho,Ho,v6,ct]})}return t})();var w6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var VAe=["*"],jAe=`.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
|
-
`,BAe=["unscopedContent"],zAe=["text"],$Ae=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],HAe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var UAe=new A("ListOption"),iM=(()=>{class t{_elementRef=u(W);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]})}return t})(),qAe=(()=>{class t{_elementRef=u(W);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]})}return t})(),GAe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]})}return t})(),D6=(()=>{class t{_listOption=u(UAe,{optional:!0});constructor(){}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,hostVars:4,hostBindings:function(i,r){i&2&&U("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())}})}return t})(),WAe=(()=>{class t extends D6{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[ee]})}return t})(),YAe=(()=>{class t extends D6{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[ee]})}return t})(),KAe=new A("MAT_LIST_CONFIG"),nM=(()=>{class t{_isNonInteractive=!0;get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=fn(e)}_disableRipple=!1;get disabled(){return this._disabled()}set disabled(e){this._disabled.set(fn(e))}_disabled=pe(!1);_defaultOptions=u(KAe,{optional:!0});static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,hostVars:1,hostBindings:function(i,r){i&2&&fe("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}})}return t})(),QAe=(()=>{class t{_elementRef=u(W);_ngZone=u(J);_listBase=u(nM,{optional:!0});_platform=u(He);_hostElement;_isButtonElement;_noopAnimations=ft();_avatars;_icons;set lines(e){this._explicitLines=oi(e,null),this._updateItemLines(!1)}_explicitLines=null;get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=fn(e)}_disableRipple=!1;get disabled(){return this._disabled()||!!this._listBase?.disabled}set disabled(e){this._disabled.set(fn(e))}_disabled=pe(!1);_subscriptions=new be;_rippleRenderer=null;_hasUnscopedTextContent=!1;rippleConfig;get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(){u(wt).load(Nn);let e=u(us,{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 Rl(this,this._ngZone,this._hostElement,this._platform,u(Re)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Pt(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=N({type:t,contentQueries:function(i,r,o){if(i&1&&(Ke(o,WAe,4),Ke(o,YAe,4)),i&2){let a;j(a=B())&&(r._avatars=a),j(a=B())&&(r._icons=a)}},hostVars:4,hostBindings:function(i,r){i&2&&(fe("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),U("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}})}return t})();var sv=(()=>{class t extends QAe{_lines;_titles;_meta;_unscopedContent;_itemText;get activated(){return this._activated}set activated(e){this._activated=fn(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=Ye(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&&(Ke(o,qAe,5),Ke(o,iM,5),Ke(o,GAe,5)),i&2){let a;j(a=B())&&(r._lines=a),j(a=B())&&(r._titles=a),j(a=B())&&(r._meta=a)}},viewQuery:function(i,r){if(i&1&&(_e(BAe,5),_e(zAe,5)),i&2){let o;j(o=B())&&(r._unscopedContent=o.first),j(o=B())&&(r._itemText=o.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(i,r){i&2&&(fe("aria-current",r._getAriaCurrent()),U("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:[ee],ngContentSelectors:HAe,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=Ve();Be($Ae),oe(0),v(1,"span",1),oe(2,1),oe(3,2),v(4,"span",2,0),V("cdkObserveContent",function(){return Y(o),K(r._updateItemLines(!0))}),oe(6,3),w()(),oe(7,4),oe(8,5),ue(9,"div",3)}},dependencies:[m_],encapsulation:2,changeDetection:0})}return t})();var lv=(()=>{class t extends nM{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(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:[Ce([{provide:nM,useExisting:t}]),ee],ngContentSelectors:VAe,decls:1,vars:0,template:function(i,r){i&1&&(Be(),oe(0))},styles:[jAe],encapsulation:2,changeDetection:0})}return t})();var E6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[f_,ct,ad,Xb,w6]})}return t})();var XAe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,JAe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function rM(t,n){let e=Array(t);for(let i=0;i<t;i++)e[i]=n(i);return e}var x6=(()=>{class t extends Vn{useUtcForDisplay=!1;_matDateLocale=u(Gk,{optional:!0});constructor(){super();let e=u(Gk,{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 rM(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return rM(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 rM(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,de(M({},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(XAe.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(JAe);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),oM(r,0,23)&&oM(o,0,59)&&(a==null||oM(a,0,59)))return this.setTime(this.today(),r,o,a||0)}return null}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();function oM(t,n,e){return!isNaN(t)&&t>=n&&t<=e}var tRe=["trigger"],nRe=["panel"],iRe=[[["mat-select-trigger"]],"*"],rRe=["mat-select-trigger","*"];function oRe(t,n){if(t&1&&(v(0,"span",4),O(1),w()),t&2){let e=T();C(),ae(e.placeholder)}}function aRe(t,n){t&1&&oe(0)}function sRe(t,n){if(t&1&&(v(0,"span",11),O(1),w()),t&2){let e=T(2);C(),ae(e.triggerValue)}}function lRe(t,n){if(t&1&&(v(0,"span",5),De(1,aRe,1,0)(2,sRe,2,1,"span",11),w()),t&2){let e=T();C(),Ee(e.customTrigger?1:2)}}function cRe(t,n){if(t&1){let e=Ve();v(0,"div",12,1),V("keydown",function(r){Y(e);let o=T();return K(o._handleKeydown(r))}),oe(2,1),w()}if(t&2){let e=T();nn(OD("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",e._getPanelTheme())),U("mat-select-panel-animations-enabled",!e._animationsDisabled),x("ngClass",e.panelClass),fe("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}var aM=new A("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}});function T6(t){let n=u(Re);return()=>nr(n)}var I6=new A("MAT_SELECT_CONFIG"),k6={provide:aM,deps:[],useFactory:T6},M6=new A("MatSelectTrigger"),cv=class{source;value;constructor(n,e){this.source=n,this.value=e}},gh=(()=>{class t{_viewportRuler=u(On);_changeDetectorRef=u(Ae);_elementRef=u(W);_dir=u(Ft,{optional:!0});_idGenerator=u(Tt);_renderer=u(yt);_parentFormField=u(Bo,{optional:!0});ngControl=u(Vo,{self:!0,optional:!0});_liveAnnouncer=u(WE);_defaultOptions=u(I6,{optional:!0});_animationsDisabled=ft();_initialized=new L;_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=ah(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=sh(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new cv(this,e)}_scrollStrategyFactory=u(aM);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new L;_errorStateTracker;stateChanges=new L;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=pe(!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(Ts.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=Nu(()=>{let e=this.options;return e?e.changes.pipe(Ot(e),Qn(()=>Pt(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Qn(()=>this.optionSelectionChanges))});openedChange=new F;_openedStream=this.openedChange.pipe(_t(e=>e),et(()=>{}));_closedStream=this.openedChange.pipe(_t(e=>!e),et(()=>{}));selectionChange=new F;valueChange=new F;constructor(){let e=u(rv),i=u(Kd,{optional:!0}),r=u(Qd,{optional:!0}),o=u(new Hn("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new au(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 Nm(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(We(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(We(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Ot(null),We(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(wn(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&&ds(this._trackedModal,"aria-owns",i),id(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;ds(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&&!$t(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&&!$t(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&&!$t(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 tu?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 Ml(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=Pt(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(We(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Pt(...this.options.map(i=>i._stateChanges)).pipe(We(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&&(Ke(o,M6,5),Ke(o,ji,5),Ke(o,Jd,5)),i&2){let a;j(a=B())&&(r.customTrigger=a.first),j(a=B())&&(r.options=a),j(a=B())&&(r.optionGroups=a)}},viewQuery:function(i,r){if(i&1&&(_e(tRe,5),_e(nRe,5),_e(Kb,5)),i&2){let o;j(o=B())&&(r.trigger=o.first),j(o=B())&&(r.panel=o.first),j(o=B())&&(r._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(i,r){i&1&&V("keydown",function(a){return r._handleKeydown(a)})("focus",function(){return r._onFocus()})("blur",function(){return r._onBlur()}),i&2&&(fe("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()),U("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",$],disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Zt(e)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",$],placeholder:"placeholder",required:[2,"required","required",$],multiple:[2,"multiple","multiple",$],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",$],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",Zt],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",$]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ce([{provide:Xl,useExisting:t},{provide:Xd,useExisting:t}]),nt],ngContentSelectors:rRe,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=Ve();Be(iRe),v(0,"div",2,0),V("click",function(){return Y(o),K(r.open())}),v(3,"div",3),De(4,oRe,2,1,"span",4)(5,lRe,3,1,"span",5),w(),v(6,"div",6)(7,"div",7),Jn(),v(8,"svg",8),ue(9,"path",9),w()()()(),Te(10,cRe,3,10,"ng-template",10),V("detach",function(){return Y(o),K(r.close())})("backdropClick",function(){return Y(o),K(r.close())})("overlayKeydown",function(s){return Y(o),K(r._handleOverlayKeydown(s))})}if(i&2){let o=Tn(1);C(3),fe("id",r._valueId),C(),Ee(r.empty?4:5),C(6),x("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",r._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",r._scrollStrategy)("cdkConnectedOverlayOrigin",r._preferredOverlayOrigin||o)("cdkConnectedOverlayPositions",r._positions)("cdkConnectedOverlayWidth",r._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[tu,Kb,To],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 _h=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({providers:[k6],imports:[uh,$k,ct,ss,Ho,$k,ct]})}return t})();var mv=["*"],dRe=["content"],uRe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],mRe=["mat-drawer","mat-drawer-content","*"];function fRe(t,n){if(t&1){let e=Ve();v(0,"div",1),V("click",function(){Y(e);let r=T();return K(r._onBackdropClicked())}),w()}if(t&2){let e=T();U("mat-drawer-shown",e._isShowingBackdrop())}}function hRe(t,n){t&1&&(v(0,"mat-drawer-content"),oe(1,2),w())}var pRe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],gRe=["mat-sidenav","mat-sidenav-content","*"];function _Re(t,n){if(t&1){let e=Ve();v(0,"div",1),V("click",function(){Y(e);let r=T();return K(r._onBackdropClicked())}),w()}if(t&2){let e=T();U("mat-drawer-shown",e._isShowingBackdrop())}}function yRe(t,n){t&1&&(v(0,"mat-sidenav-content"),oe(1,2),w())}var bRe=`.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 vRe=new A("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:CRe}),cM=new A("MAT_DRAWER_CONTAINER");function CRe(){return!1}var dv=(()=>{class t extends pa{_platform=u(He);_changeDetectorRef=u(Ae);_container=u(lM);constructor(){let e=u(W),i=u(Kr),r=u(J);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&&(zt("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px"),U("mat-drawer-content-hidden",r._shouldBeHidden()))},features:[Ce([{provide:pa,useExisting:t}]),ee],ngContentSelectors:mv,decls:1,vars:0,template:function(i,r){i&1&&(Be(),oe(0))},encapsulation:2,changeDetection:0})}return t})(),sM=(()=>{class t{_elementRef=u(W);_focusTrapFactory=u(p_);_focusMonitor=u(Qi);_platform=u(He);_ngZone=u(J);_renderer=u(yt);_interactivityChecker=u(td);_doc=u(ke);_container=u(cM,{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=fn(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=fn(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened()}set opened(e){this.toggle(fn(e))}_opened=pe(!1);_openedVia;_animationStarted=new L;_animationEnd=new L;openedChange=new F(!0);_openedStream=this.openedChange.pipe(_t(e=>e),et(()=>{}));openedStart=this._animationStarted.pipe(_t(()=>this.opened),_c(void 0));_closedStream=this.openedChange.pipe(_t(e=>!e),et(()=>{}));closedStart=this._animationStarted.pipe(_t(()=>!this.opened),_c(void 0));_destroyed=new L;onPositionChanged=new F;_content;_modeChanged=new L;_injector=u(Re);_changeDetectorRef=u(Ae);constructor(){this.openedChange.pipe(We(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;Vu(e,"keydown").pipe(_t(i=>i.keyCode===27&&!this.disableClose&&!$t(i)),We(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":Lt(()=>{!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(wn(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&&_e(dRe,5),i&2){let o;j(o=B())&&(r._content=o.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(i,r){i&2&&(fe("align",null)("tabIndex",r.mode!=="side"?"-1":null),zt("visibility",!r._container&&!r.opened?"hidden":null),U("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:mv,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Be(),v(0,"div",1,0),oe(2),w())},dependencies:[pa],encapsulation:2,changeDetection:0})}return t})(),lM=(()=>{class t{_dir=u(Ft,{optional:!0});_element=u(W);_ngZone=u(J);_changeDetectorRef=u(Ae);_animationDisabled=ft();_transitionsEnabled=!1;_allDrawers;_drawers=new Gi;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=fn(e)}_autosize=u(vRe);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:fn(e)}_backdropOverride;backdropClick=new F;_start;_end;_left;_right;_destroyed=new L;_doCheckSubject=new L;_contentMargins={left:null,right:null};_contentMarginChanges=new L;get scrollable(){return this._userContent||this._content}_injector=u(Re);constructor(){let e=u(He),i=u(On);this._dir?.change.pipe(We(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(We(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(Ot(this._allDrawers),We(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Ot(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(jr(10),We(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(We(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(We(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(We(this._drawers.changes)).subscribe(()=>{Lt({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(We(Pt(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&&(Ke(o,dv,5),Ke(o,sM,5)),i&2){let a;j(a=B())&&(r._content=a.first),j(a=B())&&(r._allDrawers=a)}},viewQuery:function(i,r){if(i&1&&_e(dv,5),i&2){let o;j(o=B())&&(r._userContent=o.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,r){i&2&&U("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[Ce([{provide:cM,useExisting:t}])],ngContentSelectors:mRe,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&&(Be(uRe),De(0,fRe,1,2,"div",0),oe(1),oe(2,1),De(3,hRe,2,0,"mat-drawer-content")),i&2&&(Ee(r.hasBackdrop?0:-1),C(3),Ee(r._content?-1:3))},dependencies:[dv],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})(),uv=(()=>{class t extends dv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[Ce([{provide:pa,useExisting:t}]),ee],ngContentSelectors:mv,decls:1,vars:0,template:function(i,r){i&1&&(Be(),oe(0))},encapsulation:2,changeDetection:0})}return t})(),dM=(()=>{class t extends sM{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=fn(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=oi(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=oi(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(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&&(fe("tabIndex",r.mode!=="side"?"-1":null)("align",null),zt("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),U("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:[Ce([{provide:sM,useExisting:t}]),ee],ngContentSelectors:mv,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Be(),v(0,"div",1,0),oe(2),w())},dependencies:[pa],encapsulation:2,changeDetection:0})}return t})(),R6=(()=>{class t extends lM{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,r,o){if(i&1&&(Ke(o,uv,5),Ke(o,dM,5)),i&2){let a;j(a=B())&&(r._content=a.first),j(a=B())&&(r._allDrawers=a)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(i,r){i&2&&U("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],features:[Ce([{provide:cM,useExisting:t},{provide:lM,useExisting:t}]),ee],ngContentSelectors:gRe,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&&(Be(pRe),De(0,_Re,1,2,"div",0),oe(1),oe(2,1),De(3,yRe,2,0,"mat-sidenav-content")),i&2&&(Ee(r.hasBackdrop?0:-1),C(3),Ee(r._content?-1:3))},dependencies:[uv],styles:[bRe],encapsulation:2,changeDetection:0})}return t})();var DRe=["knob"],ERe=["valueIndicatorContainer"];function SRe(t,n){if(t&1&&(v(0,"div",2,1)(2,"div",5)(3,"span",6),O(4),w()()()),t&2){let e=T();C(4),ae(e.valueIndicatorText)}}var xRe=["trackActive"],TRe=["*"];function IRe(t,n){if(t&1&&ue(0,"div"),t&2){let e=n.$implicit,i=n.$index,r=T(3);nn(e===0?"mdc-slider__tick-mark--active":"mdc-slider__tick-mark--inactive"),zt("transform",r._calcTickMarkTransform(i))}}function kRe(t,n){if(t&1&&hr(0,IRe,1,4,"div",8,ym),t&2){let e=T(2);pr(e._tickMarks)}}function MRe(t,n){if(t&1&&(v(0,"div",6,1),De(2,kRe,2,0),w()),t&2){let e=T();C(2),Ee(e._cachedWidth?2:-1)}}function ARe(t,n){if(t&1&&ue(0,"mat-slider-visual-thumb",7),t&2){let e=T();x("discrete",e.discrete)("thumbPosition",1)("valueIndicatorText",e.startValueIndicatorText)}}var Xe=(function(t){return t[t.START=1]="START",t[t.END=2]="END",t})(Xe||{}),du=(function(t){return t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE",t})(du||{}),uM=new A("_MatSlider"),P6=new A("_MatSliderThumb"),RRe=new A("_MatSliderRangeThumb"),F6=new A("_MatSliderVisualThumb");var PRe=(()=>{class t{_cdr=u(Ae);_ngZone=u(J);_slider=u(uM);_renderer=u(yt);_listenerCleanups;discrete;thumbPosition;valueIndicatorText;_ripple;_knob;_valueIndicatorContainer;_sliderInput;_sliderInputEl;_hoverRippleRef;_focusRippleRef;_activeRippleRef;_isHovered=!1;_isActive=!1;_isValueIndicatorVisible=!1;_hostElement=u(W).nativeElement;_platform=u(He);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===yi.FADING_IN||e?.state===yi.VISIBLE}_showRipple(e,i){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===Xe.START?Xe.END:Xe.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===Xe.START?Xe.END:Xe.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&&(_e(br,5),_e(DRe,5),_e(ERe,5)),i&2){let o;j(o=B())&&(r._ripple=o.first),j(o=B())&&(r._knob=o.first),j(o=B())&&(r._valueIndicatorContainer=o.first)}},hostAttrs:[1,"mdc-slider__thumb","mat-mdc-slider-visual-thumb"],inputs:{discrete:"discrete",thumbPosition:"thumbPosition",valueIndicatorText:"valueIndicatorText"},features:[Ce([{provide:F6,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&&(De(0,SRe,5,1,"div",2),ue(1,"div",3,0)(3,"div",4)),i&2&&(Ee(r.discrete?0:-1),C(3),x("matRippleDisabled",!0))},dependencies:[br],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})(),O6=(()=>{class t{_ngZone=u(J);_cdr=u(Ae);_elementRef=u(W);_dir=u(Ft,{optional:!0});_globalRippleOptions=u(us,{optional:!0});_trackActive;_thumbs;_input;_inputs;get disabled(){return this._disabled}set disabled(e){this._disabled=e;let i=this._getInput(Xe.END),r=this._getInput(Xe.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(Xe.END),r=this._getInput(Xe.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(Xe.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(Xe.END),r=this._getInput(Xe.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(Xe.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(Xe.END),i=this._getInput(Xe.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(Xe.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=ft();_dirChangeSubscription;_resizeObserver;_cachedWidth;_cachedLeft;_rippleRadius=24;startValueIndicatorText="";endValueIndicatorText="";_endThumbTransform;_startThumbTransform;_isRange=!1;_isRtl=!1;_hasViewInitialized=!1;_tickMarkTrackWidth=0;_hasAnimation=!1;_resizeTimer=null;_platform=u(He);constructor(){u(wt).load(Nn),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(Xe.END),i=this._getInput(Xe.START);this._isRange=!!e&&!!i,this._cdr.detectChanges();let r=this._getThumb(Xe.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(Xe.END),i=this._getInput(Xe.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(Xe.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(Xe.START)._isActive||this._getThumb(Xe.END)._isActive}_getValue(e=Xe.END){let i=this._getInput(e);return i?i.value:this.min}_skipUpdate(){return!!(this._getInput(Xe.START)?._skipUIUpdate||this._getInput(Xe.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(Xe.END),i=this._getInput(Xe.START);e._updateThumbUIByValue(),i._updateThumbUIByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateMinMax(),i._updateMinMax(),e._updateWidthInactive(),i._updateWidthInactive()}else{let e=this._getInput(Xe.END);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_thumbsOverlap=!1;_areThumbsOverlapping(){let e=this._getInput(Xe.START),i=this._getInput(Xe.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===Xe.END?Xe.END:Xe.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===Xe.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(Xe.END),i=this._getInput(Xe.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(du.ACTIVE).concat(Array(o).fill(du.INACTIVE))}_updateTickMarkUIRange(e){let i=this._getValue(),r=this._getValue(Xe.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(du.INACTIVE).concat(Array(a).fill(du.ACTIVE),Array(s).fill(du.INACTIVE))}_getInput(e){if(e===Xe.END&&this._input)return this._input;if(this._inputs?.length)return e===Xe.START?this._inputs.first:this._inputs.last}_getThumb(e){return e===Xe.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&&(Ke(o,P6,5),Ke(o,RRe,4)),i&2){let a;j(a=B())&&(r._input=a.first),j(a=B())&&(r._inputs=a)}},viewQuery:function(i,r){if(i&1&&(_e(xRe,5),_e(F6,5)),i&2){let o;j(o=B())&&(r._trackActive=o.first),j(o=B())&&(r._thumbs=o)}},hostAttrs:[1,"mat-mdc-slider","mdc-slider"],hostVars:12,hostBindings:function(i,r){i&2&&(nn("mat-"+(r.color||"primary")),U("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",$],discrete:[2,"discrete","discrete",$],showTickMarks:[2,"showTickMarks","showTickMarks",$],min:[2,"min","min",Zt],color:"color",disableRipple:[2,"disableRipple","disableRipple",$],max:[2,"max","max",Zt],step:[2,"step","step",Zt],displayWith:"displayWith"},exportAs:["matSlider"],features:[Ce([{provide:uM,useExisting:t}])],ngContentSelectors:TRe,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&&(Be(),oe(0),v(1,"div",2),ue(2,"div",3),v(3,"div",4),ue(4,"div",5,0),w(),De(6,MRe,3,1,"div",6),w(),De(7,ARe,1,3,"mat-slider-visual-thumb",7),ue(8,"mat-slider-visual-thumb",7)),i&2&&(C(6),Ee(r.showTickMarks?6:-1),C(),Ee(r._isRange?7:-1),C(),x("discrete",r.discrete)("thumbPosition",2)("valueIndicatorText",r.endValueIndicatorText))},dependencies:[PRe],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 FRe={provide:Ir,useExisting:cn(()=>mM),multi:!0};var mM=(()=>{class t{_ngZone=u(J);_elementRef=u(W);_cdr=u(Ae);_slider=u(uM);_platform=u(He);_listenerCleanups;get value(){return Zt(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 F;dragStart=new F;dragEnd=new F;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=Xe.END;get min(){return Zt(this._hostElement.min,0)}set min(e){this._hostElement.min=e+"",this._cdr.detectChanges()}get max(){return Zt(this._hostElement.max,0)}set max(e){this._hostElement.max=e+"",this._cdr.detectChanges()}get step(){return Zt(this._hostElement.step,0)}set step(e){this._hostElement.step=e+"",this._cdr.detectChanges()}get disabled(){return $(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=pe("");_knobRadius=8;_tickMarkOffset=3;_isActive=!1;_isFocused=!1;_setIsFocused(e){this._isFocused=e}_hasSetInitialValue=!1;_initialValue;_formControl;_destroyed=new L;_skipUIUpdate=!1;_onChangeFn;_onTouchedFn=()=>{};_isControlInitialized=!1;constructor(){let e=u(yt);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,m=this.value;if(d===m){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=N({type:t,selectors:[["input","matSliderThumb",""]],hostAttrs:["type","range",1,"mdc-slider__input"],hostVars:1,hostBindings:function(i,r){i&1&&V("change",function(){return r._onChange()})("input",function(){return r._onInput()})("blur",function(){return r._onBlur()})("focus",function(){return r._onFocus()}),i&2&&fe("aria-valuetext",r._valuetext())},inputs:{value:[2,"value","value",Zt]},outputs:{valueChange:"valueChange",dragStart:"dragStart",dragEnd:"dragEnd"},exportAs:["matSliderThumb"],features:[Ce([FRe,{provide:P6,useExisting:t}])]})}return t})();var NRe=["switch"],LRe=["*"];function VRe(t,n){t&1&&(v(0,"span",11),Jn(),v(1,"svg",13),ue(2,"path",14),w(),v(3,"svg",15),ue(4,"path",16),w()())}var jRe=new A("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),fv=class{source;checked;constructor(n,e){this.source=n,this.checked=e}},N6=(()=>{class t{_elementRef=u(W);_focusMonitor=u(Qi);_changeDetectorRef=u(Ae);defaults=u(jRe);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new fv(this,e)}_labelId;get buttonId(){return`${this.id||this._uniqueId}-button`}_switchElement;focus(){this._switchElement.nativeElement.focus()}_noopAnimations=ft();_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 F;toggleChange=new F;get inputId(){return`${this.id||this._uniqueId}-input`}constructor(){u(wt).load(Nn);let e=u(new Hn("tabindex"),{optional:!0}),i=this.defaults;this.tabIndex=e==null?0:parseInt(e)||0,this.color=i.color||"accent",this.id=this._uniqueId=u(Tt).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 fv(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&&_e(NRe,5),i&2){let o;j(o=B())&&(r._switchElement=o.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){i&2&&($n("id",r.id),fe("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),nn(r.color?"mat-"+r.color:""),U("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",$],color:"color",disabled:[2,"disabled","disabled",$],disableRipple:[2,"disableRipple","disableRipple",$],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:Zt(e)],checked:[2,"checked","checked",$],hideIcon:[2,"hideIcon","hideIcon",$],disabledInteractive:[2,"disabledInteractive","disabledInteractive",$]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[Ce([{provide:Ir,useExisting:cn(()=>t),multi:!0},{provide:Aa,useExisting:t,multi:!0}]),nt],ngContentSelectors:LRe,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=Ve();Be(),v(0,"div",1)(1,"button",2,0),V("click",function(){return Y(o),K(r._handleClick())}),ue(3,"div",3)(4,"span",4),v(5,"span",5)(6,"span",6)(7,"span",7),ue(8,"span",8),w(),v(9,"span",9),ue(10,"span",10),w(),De(11,VRe,5,0,"span",11),w()()(),v(12,"label",12),V("click",function(s){return Y(o),K(s.stopPropagation())}),oe(13),w()()}if(i&2){let o=Tn(2);x("labelPosition",r.labelPosition),C(),U("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),x("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),fe("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),C(9),x("matRippleTrigger",o)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),C(),Ee(r.hideIcon?-1:11),C(),x("for",r.buttonId),fe("id",r._labelId)}},dependencies:[br,nv],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 _M=["*"];function zRe(t,n){t&1&&oe(0)}var $Re=["tabListContainer"],HRe=["tabList"],URe=["tabListInner"],qRe=["nextPaginator"],GRe=["previousPaginator"],WRe=["content"];function YRe(t,n){}var KRe=["tabBodyWrapper"],QRe=["tabHeader"];function ZRe(t,n){}function XRe(t,n){if(t&1&&Te(0,ZRe,0,0,"ng-template",12),t&2){let e=T().$implicit;x("cdkPortalOutlet",e.templateLabel)}}function JRe(t,n){if(t&1&&O(0),t&2){let e=T().$implicit;ae(e.textLabel)}}function e1e(t,n){if(t&1){let e=Ve();v(0,"div",7,2),V("click",function(){let r=Y(e),o=r.$implicit,a=r.$index,s=T(),l=Tn(1);return K(s._handleClick(o,l,a))})("cdkFocusChange",function(r){let o=Y(e).$index,a=T();return K(a._tabFocusChanged(r,o))}),ue(2,"span",8)(3,"div",9),v(4,"span",10)(5,"span",11),De(6,XRe,1,1,null,12)(7,JRe,1,1),w()()()}if(t&2){let e=n.$implicit,i=n.$index,r=Tn(1),o=T();nn(e.labelClass),U("mdc-tab--active",o.selectedIndex===i),x("id",o._getTabLabelId(e,i))("disabled",e.disabled)("fitInkBarToContent",o.fitInkBarToContent),fe("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),C(3),x("matRippleTrigger",r)("matRippleDisabled",e.disabled||o.disableRipple),C(3),Ee(e.templateLabel?6:7)}}function t1e(t,n){t&1&&oe(0)}function n1e(t,n){if(t&1){let e=Ve();v(0,"mat-tab-body",13),V("_onCentered",function(){Y(e);let r=T();return K(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){Y(e);let o=T();return K(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){Y(e);let o=T();return K(o._bodyCentered(r))}),w()}if(t&2){let e=n.$implicit,i=n.$index,r=T();nn(e.bodyClass),x("id",r._getTabContentId(i))("content",e.content)("position",e.position)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),fe("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(e,i))("aria-hidden",r.selectedIndex!==i)}}var i1e=new A("MatTabContent"),r1e=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matTabContent",""]],features:[Ce([{provide:i1e,useExisting:t}])]})}return t})(),o1e=new A("MatTabLabel"),B6=new A("MAT_TAB"),a1e=(()=>{class t extends pW{_closestTab=u(B6,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Ce([{provide:o1e,useExisting:t}]),ee]})}return t})(),z6=new A("MAT_TAB_GROUP"),yh=(()=>{class t{_viewContainerRef=u(rt);_closestTabGroup=u(z6,{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 L;position=null;origin=null;isActive=!1;constructor(){u(wt).load(Nn)}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new tr(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&&(Ke(o,a1e,5),Ke(o,r1e,7,At)),i&2){let a;j(a=B())&&(r.templateLabel=a.first),j(a=B())&&(r._explicitContent=a.first)}},viewQuery:function(i,r){if(i&1&&_e(At,7),i&2){let o;j(o=B())&&(r._implicitContent=o.first)}},hostAttrs:["hidden",""],hostVars:1,hostBindings:function(i,r){i&2&&fe("id",null)},inputs:{disabled:[2,"disabled","disabled",$],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass",id:"id"},exportAs:["matTab"],features:[Ce([{provide:B6,useExisting:t}]),nt],ngContentSelectors:_M,decls:1,vars:0,template:function(i,r){i&1&&(Be(),Wr(0,zRe,1,0,"ng-template"))},encapsulation:2})}return t})(),fM="mdc-tab-indicator--active",L6="mdc-tab-indicator--no-transition",hM=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}}},s1e=(()=>{class t{_elementRef=u(W);_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(fM);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(L6),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(L6),i.classList.add(fM),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(fM)}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=N({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",$]}})}return t})();var $6=(()=>{class t extends s1e{elementRef=u(W);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=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(fe("aria-disabled",!!r.disabled),U("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",$]},features:[ee]})}return t})(),V6={passive:!0},l1e=650,c1e=100,d1e=(()=>{class t{_elementRef=u(W);_changeDetectorRef=u(Ae);_viewportRuler=u(On);_dir=u(Ft,{optional:!0});_ngZone=u(J);_platform=u(He);_sharedResizeObserver=u(Qb);_injector=u(Re);_renderer=u(yt);_animationsDisabled=ft();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new L;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new L;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 F;indexFocused=new F;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"),V6),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),V6))}ngAfterContentInit(){let e=this._dir?this._dir.change:en("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(jr(32),We(this._destroyed)),r=this._viewportRuler.change(150).pipe(We(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Al(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Lt(o,{injector:this._injector}),Pt(e,r,i,this._items.changes,this._itemsResized()).pipe(We(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"?Vr:this._items.changes.pipe(Ot(this._items),Qn(e=>new Le(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Zs(1),_t(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(!$t(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(),Xo(l1e,c1e).pipe(We(Pt(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=N({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",$],selectedIndex:[2,"selectedIndex","selectedIndex",Zt]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}})}return t})(),u1e=(()=>{class t extends d1e{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new hM(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275cmp=k({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,o){if(i&1&&Ke(o,$6,4),i&2){let a;j(a=B())&&(r._items=a)}},viewQuery:function(i,r){if(i&1&&(_e($Re,7),_e(HRe,7),_e(URe,7),_e(qRe,5),_e(GRe,5)),i&2){let o;j(o=B())&&(r._tabListContainer=o.first),j(o=B())&&(r._tabList=o.first),j(o=B())&&(r._tabListInner=o.first),j(o=B())&&(r._nextPaginator=o.first),j(o=B())&&(r._previousPaginator=o.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&U("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",$]},features:[ee],ngContentSelectors:_M,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=Ve();Be(),v(0,"div",5,0),V("click",function(){return Y(o),K(r._handlePaginatorClick("before"))})("mousedown",function(s){return Y(o),K(r._handlePaginatorPress("before",s))})("touchend",function(){return Y(o),K(r._stopInterval())}),ue(2,"div",6),w(),v(3,"div",7,1),V("keydown",function(s){return Y(o),K(r._handleKeydown(s))}),v(5,"div",8,2),V("cdkObserveContent",function(){return Y(o),K(r._onContentChanges())}),v(7,"div",9,3),oe(9),w()()(),v(10,"div",10,4),V("mousedown",function(s){return Y(o),K(r._handlePaginatorPress("after",s))})("click",function(){return Y(o),K(r._handlePaginatorClick("after"))})("touchend",function(){return Y(o),K(r._stopInterval())}),ue(12,"div",6),w()}i&2&&(U("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),x("matRippleDisabled",r._disableScrollBefore||r.disableRipple),C(3),U("_mat-animation-noopable",r._animationsDisabled),C(2),fe("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),C(5),U("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),x("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[br,m_],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})(),m1e=new A("MAT_TABS_CONFIG"),j6=(()=>{class t extends As{_host=u(pM);_centeringSub=be.EMPTY;_leavingSub=be.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Ot(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=N({type:t,selectors:[["","matTabBodyHost",""]],features:[ee]})}return t})(),pM=(()=>{class t{_elementRef=u(W);_dir=u(Ft,{optional:!0});_ngZone=u(J);_injector=u(Re);_renderer=u(yt);_diAnimationsDisabled=ft();_eventCleanups;_initialized;_fallbackTimer;_positionIndex;_dirChangeSubscription=be.EMPTY;_position;_previousPosition;_onCentering=new F;_beforeCentering=new F;_afterLeavingCenter=new F;_onCentered=new F(!0);_portalHost;_contentElement;_content;animationDuration="500ms";preserveContent=!1;set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(){if(this._dir){let e=u(Ae);this._dirChangeSubscription=this._dir.change.subscribe(i=>{this._computePositionAnimationState(i),e.markForCheck()})}}ngOnInit(){this._bindTransitionEvents(),this._position==="center"&&(this._setActiveClass(!0),Lt(()=>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(),Lt(()=>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&&(_e(j6,5),_e(WRe,5)),i&2){let o;j(o=B())&&(r._portalHost=o.first),j(o=B())&&(r._contentElement=o.first)}},hostAttrs:[1,"mat-mdc-tab-body"],hostVars:1,hostBindings:function(i,r){i&2&&fe("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&&(v(0,"div",1,0),Te(2,YRe,0,0,"ng-template",2),w()),i&2&&U("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:[j6,pa],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})(),hv=(()=>{class t{_elementRef=u(W);_changeDetectorRef=u(Ae);_ngZone=u(J);_tabsSubscription=be.EMPTY;_tabLabelSubscription=be.EMPTY;_tabBodySubscription=be.EMPTY;_diAnimationsDisabled=ft();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new Gi;_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 F;focusChange=new F;animationDone=new F;selectedTabChange=new F(!0);_groupId;_isServer=!u(He).isBrowser;constructor(){let e=u(m1e,{optional:!0});this._groupId=u(Tt).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(Ot(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 gM;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Pt(...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&&Ke(o,yh,5),i&2){let a;j(a=B())&&(r._allTabs=a)}},viewQuery:function(i,r){if(i&1&&(_e(KRe,5),_e(QRe,5),_e(pM,5)),i&2){let o;j(o=B())&&(r._tabBodyWrapper=o.first),j(o=B())&&(r._tabHeader=o.first),j(o=B())&&(r._tabBodies=o)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:11,hostBindings:function(i,r){i&2&&(fe("mat-align-tabs",r.alignTabs),nn("mat-"+(r.color||"primary")),zt("--mat-tab-animation-duration",r.animationDuration),U("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",$],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",$],alignTabs:[0,"mat-align-tabs","alignTabs"],dynamicHeight:[2,"dynamicHeight","dynamicHeight",$],selectedIndex:[2,"selectedIndex","selectedIndex",Zt],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",Zt],disablePagination:[2,"disablePagination","disablePagination",$],disableRipple:[2,"disableRipple","disableRipple",$],preserveContent:[2,"preserveContent","preserveContent",$],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],features:[Ce([{provide:z6,useExisting:t}])],ngContentSelectors:_M,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=Ve();Be(),v(0,"mat-tab-header",3,0),V("indexFocused",function(s){return Y(o),K(r._focusChanged(s))})("selectFocusedIndex",function(s){return Y(o),K(r.selectedIndex=s)}),hr(2,e1e,8,17,"div",4,Vg),w(),De(4,t1e,1,0),v(5,"div",5,1),hr(7,n1e,1,10,"mat-tab-body",6,Vg),w()}i&2&&(x("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),Lg("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),C(2),pr(r._tabs),C(2),Ee(r._isServer?4:-1),C(),U("_mat-animation-noopable",r._animationsDisabled()),C(2),pr(r._tabs))},dependencies:[u1e,$6,jm,br,As,pM],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})(),gM=class{index;tab};var H6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var f1e=["*",[["mat-toolbar-row"]]],h1e=["*","mat-toolbar-row"],p1e=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]})}return t})(),q6=(()=>{class t{_elementRef=u(W);_platform=u(He);_document=u(ke);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&&Ke(o,p1e,5),i&2){let a;j(a=B())&&(r._toolbarRows=a)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(nn(r.color?"mat-"+r.color:""),U("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],ngContentSelectors:h1e,decls:2,vars:0,template:function(i,r){i&1&&(Be(f1e),oe(0),oe(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 G6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var uu=st(W6(),1),e9=st(Y6(),1),t9=st(Wy(),1),n9=st(X6(),1),i9=st(cf(),1),r9=st(SS(),1),wM=st(RS(),1),o9=st(Zy(),1);var zi=t=>({display:t});function S1e(t,n){if(t&1&&(v(0,"mat-option",6),O(1),w()),t&2){let e=n.$implicit;x("value",e),C(),dn(" ",e," ")}}function x1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function T1e(t,n){if(t&1&&(v(0,"mat-hint",3),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function I1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function k1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}var DM="[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}";function M1e(t,n){if(t&1&&(v(0,"mat-hint",6),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function A1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function R1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function P1e(t,n){if(t&1&&(v(0,"mat-hint",3),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function F1e(t,n){if(t&1&&(v(0,"div"),ue(1,"jsonforms-outlet",1),w()),t&2){let e=T();C(),x("renderProps",e._item)}}var O1e=t=>({show:t});function N1e(t,n){if(t&1&&(v(0,"mat-list-item"),O(1),w()),t&2){let e=T();C(),ae(e.translations.noDataMessage)}}function L1e(t,n){if(t&1){let e=Ve();v(0,"button",10),V("click",function(){Y(e);let r=T().index,o=T();return K(o.onDeleteClick(r))}),v(1,"mat-icon",11),O(2,"delete"),w()()}if(t&2){let e=T().index,i=T();x("ngClass",yn(1,O1e,i.highlightedIdx==e))}}function V1e(t,n){if(t&1){let e=Ve();v(0,"mat-list-item",7),V("click",function(){let r=Y(e),o=r.$implicit,a=r.index,s=T();return K(s.onSelect(o,a))})("mouseover",function(){let r=Y(e).index,o=T();return K(o.onListItemHover(r))})("mouseout",function(){Y(e);let r=T();return K(r.onListItemHover(void 0))}),v(1,"a",8),O(2),w(),Te(3,L1e,3,3,"button",9),w()}if(t&2){let e=n.$implicit,i=T();U("selected",e===i.selectedItem),C(2),ae(e.label||"No label set"),C(),x("ngIf",i.isEnabled())}}function j1e(t,n){if(t&1){let e=Ve();v(0,"button",12),V("click",function(){Y(e);let r=T();return K(r.onAddClick())}),v(1,"mat-icon"),O(2,"add"),w()()}if(t&2){let e=T();C(),fe("aria-label",e.translations.addAriaLabel)}}function B1e(t,n){if(t&1&&ue(0,"jsonforms-detail",13),t&2){let e=T();x("item",e.selectedItem)}}var a9=t=>({"sort-column":t});function z1e(t,n){if(t&1){let e=Ve();v(0,"th",8)(1,"button",9),V("click",function(){Y(e);let r=T();return K(r.add())}),v(2,"mat-icon"),O(3,"add"),w()()()}if(t&2){let e=T();x("ngClass",yn(3,a9,e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons)),C(),x("disabled",!e.isEnabled())("matTooltip",e.translations.addTooltip)}}function $1e(t,n){if(t&1){let e=Ve();v(0,"button",14),V("click",function(){Y(e);let r=T().index,o=T();return K(o.up(r))}),v(1,"mat-icon"),O(2,"arrow_upward"),w()()}if(t&2){let e=T().first,i=T();x("disabled",e)("matTooltip",i.translations.upAriaLabel)}}function H1e(t,n){if(t&1){let e=Ve();v(0,"button",15),V("click",function(){Y(e);let r=T().index,o=T();return K(o.down(r))}),v(1,"mat-icon"),O(2,"arrow_downward"),w()()}if(t&2){let e=T().last,i=T();x("disabled",e)("matTooltip",i.translations.downAriaLabel)}}function U1e(t,n){if(t&1){let e=Ve();v(0,"td",10),Te(1,$1e,3,2,"button",11)(2,H1e,3,2,"button",12),v(3,"button",13),V("click",function(){let r=Y(e).index,o=T();return K(o.remove(r))}),v(4,"mat-icon"),O(5,"delete"),w()()()}if(t&2){let e=T();x("ngClass",yn(5,a9,e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons)),C(),x("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),C(),x("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),C(),x("disabled",!e.isEnabled())("matTooltip",e.translations.removeTooltip)}}function q1e(t,n){if(t&1&&(v(0,"th",19),O(1),w()),t&2){let e=T().$implicit;C(),ae(e.header)}}function G1e(t,n){if(t&1&&(v(0,"td",20),ue(1,"jsonforms-outlet",21),Vt(2,"getProps"),w()),t&2){let e=n.index,i=T().$implicit;C(),x("renderProps",VD(2,1,e,i.props))}}function W1e(t,n){if(t&1&&(Wi(0,16),Te(1,q1e,2,1,"th",17)(2,G1e,3,4,"td",18),Yi()),t&2){let e=n.$implicit;x("matColumnDef",fa(e.property))}}function Y1e(t,n){t&1&&ue(0,"tr",22)}function K1e(t,n){t&1&&ue(0,"tr",23)}function Q1e(t,n){if(t&1&&(v(0,"div"),ue(1,"jsonforms-outlet",4),w()),t&2){let e=n.$implicit,i=T(2);C(),x("uischema",e)("path",i.path)("schema",i.schema)}}function Z1e(t,n){if(t&1&&(v(0,"mat-tab",2),Te(1,Q1e,2,3,"div",3),w()),t&2){let e=n.$implicit,i=n.index,r=T();x("label",r.categoryLabels[i]),C(),x("ngForOf",e.elements)}}function X1e(t,n){if(t&1&&(v(0,"div"),ue(1,"jsonforms-outlet",3),w()),t&2){let e=n.$implicit;C(),x("renderProps",e)}}function J1e(t,n){if(t&1&&(v(0,"div"),ue(1,"jsonforms-outlet",2),w()),t&2){let e=n.$implicit;C(),x("renderProps",e)}}function ePe(t,n){if(t&1&&(v(0,"div"),ue(1,"jsonforms-outlet",2),w()),t&2){let e=n.$implicit;C(),x("renderProps",e)}}var tPe=()=>[];function nPe(t,n){if(t&1&&(v(0,"mat-icon",7),O(1," error_outline "),w()),t&2){let e=T();x("matBadge",fa(e.error.split("").length))("matTooltip",fa(e.error))}}function iPe(t,n){if(t&1&&(v(0,"p"),O(1),w()),t&2){let e=T();C(),ae(e.translations.noDataMessage)}}function rPe(t,n){if(t&1){let e=Ve();v(0,"button",13),V("click",function(){Y(e);let r=T(2).index,o=T();return K(o.up(r))}),v(1,"mat-icon"),O(2,"arrow_upward"),w()()}if(t&2){let e=T(2).first,i=T();x("matTooltip",fa(i.translations.up))("disabled",e),fe("aria-label",i.translations.upAriaLabel)}}function oPe(t,n){if(t&1){let e=Ve();v(0,"button",14),V("click",function(){Y(e);let r=T(2).index,o=T();return K(o.down(r))}),v(1,"mat-icon"),O(2,"arrow_downward"),w()()}if(t&2){let e=T(2).last,i=T();x("matTooltip",fa(i.translations.down))("disabled",e),fe("aria-label",i.translations.downAriaLabel)}}function aPe(t,n){if(t&1){let e=Ve();v(0,"mat-card-actions"),Te(1,rPe,3,4,"button",10)(2,oPe,3,4,"button",11),v(3,"button",12),V("click",function(){Y(e);let r=T().index,o=T();return K(o.remove(r))}),v(4,"mat-icon"),O(5,"delete"),w()()()}if(t&2){let e=T(2);C(),x("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),C(),x("ngIf",e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons),C(),x("matTooltip",fa(e.translations.removeTooltip)),fe("aria-label",e.translations.removeAriaLabel)}}function sPe(t,n){if(t&1&&(v(0,"div")(1,"mat-card",8)(2,"mat-card-content"),ue(3,"jsonforms-outlet",9),w(),Te(4,aPe,6,5,"mat-card-actions",5),w()()),t&2){let e=n.index,i=T();C(3),x("renderProps",i.getProps(e)),C(),x("ngIf",i.isEnabled())}}var lPe=(()=>{class t extends Vi{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(Ot(""),et(e=>this.filter(e)))}updateFilter(e){e.keyCode===13?this.shouldFilter=!1:this.shouldFilter=!0}onSelect(e){let i=Hd(this.uischema,this.path);this.shouldFilter=!1,this.jsonFormsService.updateCore(Ei.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 de(M({},super.getOwnProps()),{options:this.options})}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["AutocompleteControlRenderer"]],inputs:{options:"options"},standalone:!1,features:[ee],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=Ve();v(0,"mat-form-field",1)(1,"mat-label"),O(2),w(),v(3,"input",2),V("change",function(s){return Y(o),K(r.onChange(s))})("keydown",function(s){return Y(o),K(r.updateFilter(s))})("focus",function(){return Y(o),K(r.focused=!0)})("focusout",function(){return Y(o),K(r.focused=!1)}),w(),v(4,"mat-autocomplete",3,0),V("optionSelected",function(s){return Y(o),K(r.onSelect(s))}),Te(6,S1e,2,2,"mat-option",4),Vt(7,"async"),w(),Te(8,x1e,2,1,"mat-hint",5),v(9,"mat-error"),O(10),w()()}if(i&2){let o=Tn(5);x("ngStyle",yn(10,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("id",r.id)("formControl",r.form)("matAutocomplete",o),C(3),x("ngForOf",Qt(7,8,r.filteredOptions)),C(2),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ae(r.error)}},dependencies:[Un,Pn,Fn,rr,ir,di,Bi,cu,ks,jo,ao,ji,WW,Uk,aE],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return t})(),cPe=Ht(2,h8),dPe=(()=>{class t extends Vi{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)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["BooleanControlRenderer"]],standalone:!1,features:[ee],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&&(v(0,"div",0)(1,"mat-checkbox",1),V("change",function(a){return r.onChange(a)}),O(2),w(),Te(3,T1e,2,1,"mat-hint",2),v(4,"mat-error",3),O(5),w()()),i&2&&(x("ngStyle",yn(7,zi,r.hidden?"none":"")),C(),x("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),C(),dn(" ",r.label," "),C(),x("ngIf",r.shouldShowUnfocusedDescription()),C(2),ae(r.error))},dependencies:[Pn,Fn,di,Bi,XW],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})(),uPe=Ht(2,pk),mPe=(()=>{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=z({token:t,factory:t.\u0275fac})}return t})();uu.default.extend(e9.default);var fPe=(()=>{class t extends x6{saveFormat=GI;setSaveFormat(e){this.saveFormat=e}parseSaveFormat(e){return this.parse(e,this.saveFormat)}parse(e,i){if(!e)return null;let r=(0,uu.default)(e,i);return r.isValid()?r.toDate():null}toSaveFormat(e){if(!e)return;let i=(0,uu.default)(e);if(i.isValid())return i.format(this.saveFormat)}format(e,i){return(0,uu.default)(e).format(i)}deserialize(e){if(!e)return null;let i=(0,uu.default)(e);return i.isValid()?i.toDate():null}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ye(t)))(r||t)}})();static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),hPe=(()=>{class t extends Vi{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:GI;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 de(M({},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)(me(xt),me($o),me(Vn))};static \u0275cmp=k({type:t,selectors:[["DateControlRenderer"]],standalone:!1,features:[Ce([{provide:Vn,useClass:fPe},{provide:$o,useClass:mPe}]),ee],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=Ve();v(0,"mat-form-field",1)(1,"mat-label"),O(2),w(),v(3,"input",2),V("dateChange",function(s){return Y(o),K(r.onChange(s))})("focus",function(){return Y(o),K(r.focused=!0)})("focusout",function(){return Y(o),K(r.focused=!1)}),w(),ue(4,"mat-datepicker-toggle",3),v(5,"mat-datepicker",4,0),V("monthSelected",function(s){Y(o);let l=Tn(6);return K(r.monthSelected(s,l))})("yearSelected",function(s){Y(o);let l=Tn(6);return K(r.yearSelected(s,l))}),w(),Te(7,I1e,2,1,"mat-hint",5),v(8,"mat-error"),O(9),w()()}if(i&2){let o=Tn(6);x("ngStyle",yn(10,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("id",r.id)("formControl",r.form)("matDatepicker",o),C(),x("for",o),C(),x("startView",r.startView)("panelClass",r.panelClass),C(2),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ae(r.error)}},dependencies:[Pn,Fn,rr,ir,di,Bi,zk,cu,_6,av,y6,ks,jo,ao],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})(),pPe=Ht(2,y8),gPe=(()=>{class t extends Vi{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=Kf(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,t9.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)(me(xt))};static \u0275cmp=k({type:t,selectors:[["NumberControlRenderer"]],standalone:!1,features:[ee],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&&(v(0,"mat-form-field",0)(1,"mat-label"),O(2),w(),v(3,"input",1),V("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),w(),Te(4,k1e,2,1,"mat-hint",2),v(5,"mat-error"),O(6),w()()),i&2&&(x("ngStyle",yn(10,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("value",r.getValue())("id",r.id)("formControl",r.form)("min",r.min)("max",r.max)("step",r.multipleOf),C(),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ae(r.error))},dependencies:[Pn,Fn,rr,ir,di,Bi,cu,ks,jo,ao],styles:[DM],changeDetection:0})}return t})(),_Pe=Ht(2,Kl(Kf,p8)),yPe=(()=>{class t extends Vi{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)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["RangeControlRenderer"]],standalone:!1,features:[ee],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=Ve();v(0,"div",1)(1,"label",2),O(2),w(),v(3,"mat-slider",3,0)(5,"input",4),V("valueChange",function(s){return Y(o),K(r.onChange(s))}),w()(),Te(6,M1e,2,1,"mat-hint",5),v(7,"mat-error",6),O(8),w()()}i&2&&(x("ngStyle",yn(10,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("disabled",!r.isEnabled())("max",r.max)("min",r.min)("step",r.multipleOf)("discrete",!0)("id",r.id),C(3),x("ngIf",r.shouldShowUnfocusedDescription()),C(2),ae(r.error))},dependencies:[Pn,Fn,di,Bi,O6,mM],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})(),bPe=Ht(4,w8),vPe=(()=>{class t extends Vi{focused=!1;constructor(e){super(e)}getEventValue=e=>e.target.value||void 0;static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["TextAreaRenderer"]],standalone:!1,features:[ee],decls:7,vars:8,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","id","formControl"],[4,"ngIf"]],template:function(i,r){i&1&&(v(0,"mat-form-field",0)(1,"mat-label"),O(2),w(),v(3,"textarea",1),V("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),w(),Te(4,A1e,2,1,"mat-hint",2),v(5,"mat-error"),O(6),w()()),i&2&&(x("ngStyle",yn(6,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("id",r.id)("formControl",r.form),C(),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ae(r.error))},dependencies:[Pn,Fn,rr,ir,di,Bi,cu,ks,jo,ao],styles:[DM],changeDetection:0})}return t})(),CPe=Ht(2,_8),wPe=(()=>{class t extends Vi{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)(me(xt))};static \u0275cmp=k({type:t,selectors:[["TextControlRenderer"]],standalone:!1,features:[ee],decls:7,vars:9,consts:[[3,"ngStyle"],["matInput","",3,"input","focus","focusout","type","id","formControl"],[4,"ngIf"]],template:function(i,r){i&1&&(v(0,"mat-form-field",0)(1,"mat-label"),O(2),w(),v(3,"input",1),V("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),w(),Te(4,R1e,2,1,"mat-hint",2),v(5,"mat-error"),O(6),w()()),i&2&&(x("ngStyle",yn(7,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("type",r.getType())("id",r.id)("formControl",r.form),C(),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ae(r.error))},dependencies:[Pn,Fn,rr,ir,di,Bi,cu,ks,jo,ao],styles:[DM],changeDetection:0})}return t})(),DPe=Ht(1,g8),EPe=(()=>{class t extends Vi{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)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["ToggleControlRenderer"]],standalone:!1,features:[ee],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&&(v(0,"div",0)(1,"mat-slide-toggle",1),V("change",function(a){return r.onChange(a)}),O(2),w(),Te(3,P1e,2,1,"mat-hint",2),v(4,"mat-error",3),O(5),w()()),i&2&&(x("ngStyle",yn(7,zi,r.hidden?"none":"")),C(),x("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),C(),dn(" ",r.label," "),C(),x("ngIf",r.shouldShowUnfocusedDescription()),C(2),ae(r.error))},dependencies:[Pn,Fn,di,Bi,N6],encapsulation:2,changeDetection:0})}return t})(),SPe=Ht(3,hn(pk,Ss("toggle",!0))),xPe=(()=>{class t extends er{jsonFormsService;label;visible;constructor(e){super(),this.jsonFormsService=e}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=F8(e,this.getOwnProps());this.visible=i.visible,this.label=i.text}}))}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["LabelRenderer"]],standalone:!1,features:[ee],decls:2,vars:1,consts:[[1,"mat-headline-6"]],template:function(i,r){i&1&&(v(0,"label",0),O(1),w()),i&2&&(C(),dn(" ",r.label," "))},styles:["[_nghost-%COMP%]{flex:1 1 auto}"]})}return t})(),TPe=Ht(4,Jt("Label")),IPe=(()=>{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&&Te(0,F1e,2,1,"div",0),i&2&&x("ngIf",r.initialized)},dependencies:[Pn,Mr],encapsulation:2})}return t})(),kPe=["#","properties","items"],MPe=t=>Wl(t.split("/").filter(n=>!(0,n9.default)(kPe,e=>e===n)).join(".")),APe=(()=>{class t extends th{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}=vb(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=gb(e.uischemas,o,`${s.scope}/items`,e.path,"VerticalLayout",s,e.rootSchema);this.isEnabled()||qf(l),this.translations=e.translations;let c=(i||[]).map((f,h)=>{let p=s.options?.labelRef&&MPe(s.options.labelRef);return{label:f!==void 0&&typeof f!="object"?f.toString():(0,i9.default)(f,p??e8(o)),data:f,path:`${r}.${h}`,schema:o,uischema:l}});this.masterItems=c;let d=-1,m;this.masterItems.length===0?(this.selectedItem=void 0,this.selectedItemIdx=-1):this.selectedItemIdx>=this.masterItems.length?(d=this.masterItems.length-1,m=this.masterItems[d]):this.selectedItemIdx!==-1&&this.selectedItemIdx<this.masterItems.length&&(d=this.selectedItemIdx,m=this.masterItems[this.selectedItemIdx]),m!==void 0&&this.selectedItem!==void 0&&(m.label===this.selectedItem.label||m.path===this.selectedItem.path)?(this.selectedItem=m,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,_b(this.scopedSchema,this.rootSchema))()}onDeleteClick(e){this.removeItems(this.propsPath,[e])()}mapToProps(e){let i=bb(e,this.getOwnProps()),r=e.jsonforms.i18n?.translate??xr.translate,o=Yf(r,Gf,i.i18nKeyPrefix,i.label);return de(M({},i),{translations:o})}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["jsonforms-list-with-detail-master"]],standalone:!1,features:[ee],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&&(v(0,"mat-sidenav-container",0)(1,"mat-sidenav",1)(2,"mat-nav-list"),Te(3,N1e,2,1,"mat-list-item",2)(4,V1e,4,4,"mat-list-item",3),w(),Te(5,j1e,3,1,"button",4),w(),v(6,"mat-sidenav-content",5),Te(7,B1e,1,1,"jsonforms-detail",6),w()()),i&2&&(x("ngStyle",yn(6,zi,r.hidden?"none":"")),C(3),x("ngIf",r.masterItems.length===0),C(),x("ngForOf",r.masterItems)("ngForTrackBy",r.trackElement),C(),x("ngIf",r.isEnabled()),C(2),x("ngIf",r.selectedItem))},dependencies:[To,Un,Pn,Fn,dM,R6,uv,lv,sv,Jr,UN,ko,IPe],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})(),RPe=Ht(4,Jt("ListWithDetail")),PPe=(()=>{class t extends Nb{detailUiSchema;constructor(e){super(e)}mapAdditionalProps(e){this.detailUiSchema=gb(e.uischemas,e.schema,e.uischema.scope,e.path,()=>{let i=(0,o9.default)(e.schema);return delete i.oneOf,delete i.anyOf,delete i.allOf,fb.uiSchema(i,"Group",void 0,this.rootSchema)},e.uischema,e.rootSchema),(0,r9.default)(e.path)?this.detailUiSchema.type="VerticalLayout":this.detailUiSchema.label=(0,wM.default)(e.path),this.isEnabled()||qf(this.detailUiSchema)}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["ObjectRenderer"]],standalone:!1,features:[ee],decls:2,vars:3,consts:[["appearance","outlined",1,"object-layout"],[3,"uischema","schema","path"]],template:function(i,r){i&1&&(v(0,"mat-card",0),ue(1,"jsonforms-outlet",1),w()),i&2&&(C(),x("uischema",r.detailUiSchema)("schema",r.scopedSchema)("path",r.propsPath))},dependencies:[Mr,zo],styles:[".object-layout[_ngcontent-%COMP%]{padding:16px}"],changeDetection:0})}return t})(),FPe=Ht(2,f8),OPe=(()=>{class t extends th{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,_b(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}=vb(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=$I(r),a=J6(`#/properties/${o}`);return this.isEnabled()||qf(a),{property:r,header:(0,wM.default)(r),props:{schema:e,uischema:a,path:i}}}):[{property:"DUMMY",header:this.label,props:{schema:e,uischema:J6("#"),path:i}}];getValidColumnProps=e=>e.type==="object"?Object.keys(e.properties).filter(i=>{let r=Ta(e.properties[i]);return r.length>1?!1:this.columnsToIgnore.indexOf(r[0])===-1}):[""];static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["TableRenderer"]],standalone:!1,features:[ee],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&&(v(0,"div",0)(1,"table",1),Wi(2,2),v(3,"tr"),Te(4,z1e,4,5,"th",3),w(),v(5,"tr"),Te(6,U1e,6,7,"td",4),w(),ue(7,"tr"),Yi(),Te(8,W1e,3,2,"ng-container",5)(9,Y1e,1,0,"tr",6)(10,K1e,1,0,"tr",7),w()()),i&2&&(C(),x("dataSource",r.data)("trackBy",r.trackElement),C(7),x("ngForOf",r.items),C(),x("matHeaderRowDef",r.displayedColumns),C(),x("matRowDefColumns",r.displayedColumns))},dependencies:()=>[To,Un,Pn,Mr,vr,Jr,ko,rd,D_,T_,E_,w_,I_,S_,x_,k_,M_,ou,LPe],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})(),NPe=Ht(3,Kl(b8,C8)),J6=t=>({type:"Control",scope:t,label:!1}),LPe=(()=>{class t{transform(e,i){let r=qI.compose(i.path,`${e}`);return{schema:i.schema,uischema:i.uischema,path:r}}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=ma({name:"getProps",type:t,pure:!0,standalone:!1})}return t})(),VPe=(()=>{class t extends er{jsonFormsService;hidden;visibleCategories;categoryLabels;constructor(e){super(),this.jsonFormsService=e}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=Ma(e,this.getOwnProps());this.hidden=!i.visible,this.visibleCategories=this.uischema.elements.filter(r=>Yl(r,i.data,void 0,xs(e))),this.categoryLabels=this.visibleCategories.map(r=>Wf(r,e.jsonforms.i18n?.translate??xr.translate))}}))}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["jsonforms-categorization-layout"]],standalone:!1,features:[ee],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&&(v(0,"mat-tab-group",0),Te(1,Z1e,2,2,"mat-tab",1),w()),i&2&&(x("ngStyle",yn(2,zi,r.hidden?"none":"")),C(),x("ngForOf",r.visibleCategories))},dependencies:[Un,Fn,Mr,yh,hv],encapsulation:2})}return t})(),jPe=Ht(2,hn(Jt("Categorization"),E8)),EM=(()=>{class t extends er{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=Ma(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)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["ng-component"]],standalone:!1,features:[ee],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return t})(),SM=(()=>{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=ma({name:"layoutChildrenRenderProps",type:t,pure:!0,standalone:!1})}return t})(),BPe=(()=>{class t extends EM{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["GroupLayoutRenderer"]],standalone:!1,features:[ee],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&&(v(0,"mat-card",0)(1,"mat-card-title",1),O(2),w(),Te(3,X1e,2,1,"div",2),Vt(4,"layoutChildrenRenderProps"),w()),i&2&&(x("ngStyle",yn(8,zi,r.hidden?"none":"")),C(2),ae(r.label),C(),x("ngForOf",Dm(4,4,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[Un,Fn,Mr,zo,Rs,SM],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})(),zPe=Ht(1,Jt("Group")),$Pe=(()=>{class t extends EM{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["HorizontalLayoutRenderer"]],standalone:!1,features:[ee],decls:3,vars:9,consts:[[1,"horizontal-layout",3,"ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(i,r){i&1&&(v(0,"div",0),Te(1,J1e,2,1,"div",1),Vt(2,"layoutChildrenRenderProps"),w()),i&2&&(x("ngStyle",yn(7,zi,r.hidden?"none":"")),C(),x("ngForOf",Dm(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[Un,Fn,Mr,SM],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})(),HPe=Ht(1,Jt("HorizontalLayout")),UPe=(()=>{class t extends EM{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=k({type:t,selectors:[["VerticalLayoutRenderer"]],standalone:!1,features:[ee],decls:3,vars:9,consts:[[1,"vertical-layout",3,"ngStyle"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"renderProps"]],template:function(i,r){i&1&&(v(0,"div",0),Te(1,ePe,2,1,"div",1),Vt(2,"layoutChildrenRenderProps"),w()),i&2&&(x("ngStyle",yn(7,zi,r.hidden?"none":"")),C(),x("ngForOf",Dm(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[Un,Fn,Mr,SM],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})(),qPe=Ht(1,Jt("VerticalLayout")),GPe=(()=>{class t extends nh{noData;translations={};addItem;moveItemUp;moveItemDown;removeItems;uischemas;constructor(e){super(e)}mapToProps(e){let i=P8(e,this.getOwnProps()),r=e.jsonforms.i18n?.translate??xr.translate,o=Yf(r,Gf,i.i18nKeyPrefix,i.label);return de(M({},i),{translations:o})}remove(e){this.removeItems(this.propsPath,[e])()}add(){this.addItem(this.propsPath,_b(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}=vb(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=gb(this.uischemas,this.scopedSchema,this.uischema.scope,this.propsPath,void 0,this.uischema,this.rootSchema);return this.isEnabled()?QG(i):qf(i),{schema:this.scopedSchema,path:qI.compose(this.propsPath,`${e}`),uischema:i}}trackByFn(e){return e}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["app-array-layout-renderer"]],standalone:!1,features:[ee],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&&(v(0,"div",0)(1,"div",1)(2,"h2",2),O(3),w(),ue(4,"span"),Te(5,nPe,2,4,"mat-icon",3),ue(6,"span"),v(7,"button",4),V("click",function(){return r.add()}),v(8,"mat-icon"),O(9,"add"),w()()(),Te(10,iPe,2,1,"p",5)(11,sPe,5,2,"div",6),w()),i&2&&(x("ngStyle",yn(10,zi,r.hidden?"none":"")),C(3),ae(r.label),C(2),x("ngIf",r.error==null?null:r.error.length),C(2),x("matTooltip",fa(r.translations.addTooltip))("disabled",!r.isEnabled()),fe("aria-label",r.translations.addAriaLabel),C(3),x("ngIf",r.noData),C(),x("ngForOf",ND(12,tPe).constructor(r.data))("ngForTrackBy",r.trackByFn))},dependencies:[Un,Pn,Fn,Mr,zo,iu,nu,vr,ko,ou,KW],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})(),WPe=Ht(4,v8);var s9=[{tester:uPe,renderer:dPe},{tester:DPe,renderer:wPe},{tester:CPe,renderer:vPe},{tester:_Pe,renderer:gPe},{tester:bPe,renderer:yPe},{tester:pPe,renderer:hPe},{tester:SPe,renderer:EPe},{tester:cPe,renderer:lPe},{tester:FPe,renderer:PPe},{tester:qPe,renderer:UPe},{tester:zPe,renderer:BPe},{tester:HPe,renderer:$Pe},{tester:jPe,renderer:VPe},{tester:TPe,renderer:xPe},{tester:WPe,renderer:GPe},{tester:RPe,renderer:APe},{tester:NPe,renderer:OPe}];var mu=class extends Vi{constructor(n){super(n)}getEventValue=n=>n?.target?.value;commitValue(n){let e=Hd(this.uischema,this.path);this.jsonFormsService.updateCore(Ei.update(e,()=>n)),this.triggerValidation()}};function YPe(t,n){if(t&1&&(v(0,"mat-option",3),O(1),w()),t&2){let e=n.$implicit,i=T();x("value",e.id),C(),ae(i.optLabel(e))}}function KPe(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function QPe(t,n){if(t&1&&(v(0,"mat-error"),O(1),w()),t&2){let e=T();C(),ae(e.error)}}var fu=class t extends mu{options=eo.map(n=>({id:n.id,animalGroup:n.animalGroup,descriptor:n.descriptor}));masterData=u(Mo);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)(me(xt))};static \u0275cmp=k({type:t,selectors:[["animal-category-select-renderer"]],inputs:{options:"options"},features:[ee],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&&(v(0,"mat-form-field",0)(1,"mat-label"),O(2),w(),v(3,"mat-select",1),V("selectionChange",function(o){return i.onSelectionChange(o.value)}),Te(4,YPe,2,2,"mat-option",2),w(),De(5,KPe,2,1,"mat-hint"),De(6,QPe,2,1,"mat-error"),w()),e&2&&(zt("display",i.hidden?"none":""),C(2),ae(i.label),C(),x("id",i.id)("formControl",i.form),C(),x("ngForOf",i.options),C(),Ee(i.shouldShowUnfocusedDescription()?5:-1),C(),Ee(i.error?6:-1))},dependencies:[Ho,rr,ir,di,Bi,_h,gh,ji,C6,Ob,jo,ao,Un],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})},l9=Ht(5,(t,n,e)=>{if(!Kf(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 c9=[{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 hu=[{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 d9=[{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 u9=[{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 m9=[{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 f9=[{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 h9=[{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 p9=[{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 g9=[{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 _9=[{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 y9={animalCategoryPRIF:eo.map(t=>({id:t.id,animalGroup:t.animalGroup,descriptor:t.descriptor})),stableAirPurification:c9.map(t=>({id:t.id,stableAirPurification:t.stableAirPurification,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),utilisation:B_.map(t=>({id:t.id,utilisation:t.utilisation,descriptor:t.descriptor})),stableSystem:hu.filter(t=>!!t.stableSystem).map(t=>({id:t.id,stableSystem:t.stableSystem,permittedForAnimal:t.permittedForAnimal,permittedForAnimalGroup:t.permittedForAnimalGroup,descriptor:t.descriptor})),yardFloorType:d9.map(t=>({id:t.id,yardFloorType:t.yardFloorType,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableVentilationType:u9.map(t=>({id:t.id,stableVentilationType:t.stableVentilationType,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableWaterSupply:m9.map(t=>({id:t.id,stableWaterSupply:t.stableWaterSupply,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),yardFeeding:f9.map(t=>({id:t.id,yardFeeding:t.yardFeeding,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableManureRemovalFrequency:h9.map(t=>({id:t.id,stableManureRemovalFrequency:t.stableManureRemovalFrequency,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),typeOfFeedstuffProduct:p9.map(t=>({id:t.code,descriptor:t.descriptor})),transactionUnit:_9.map(t=>({id:t.code,descriptor:t.descriptor})),durationSourceType:g9},xM=[{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:/transactionUnit$/i,key:"transactionUnit"},{regex:/durationSourceType$/i,key:"durationSourceType"}];function b9(t){for(let n of xM)if(n.regex.test(t))return n.key;return null}var C9=Object.create(null),v9=new Set;function Fs(t,n){C9[t]=n}function sFe(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 pv(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=>pv(l,n,e,{currentFallback:t.fallback||i.currentFallback}));if("any"in t&&Array.isArray(t.any))return t.any.some(l=>pv(l,n,e,{currentFallback:t.fallback||i.currentFallback}));if("not"in t)return!pv(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=C9[a];if(!s)return v9.has(a)||(console.warn("[CodeListFilter] Missing resolver",a),v9.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 w9(t,n,e,i){if(!n)return t;let r={data:i,get:o=>sFe(i,o),masterData:e.masterData,locale:e.i18n.locale(),i18n:e.i18n};try{return t.filter(o=>pv(n,r,o,{}))}catch(o){return console.warn("[CodeListFilter] Evaluation failed",o),(n.fallback||"all")==="all"?t:[]}}Fs("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 pu(){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=hu.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)}}Fs("stableManureRemoval_permittedForSystem",pu());Fs("stableVentilation_permittedForSystem",pu());Fs("stableAirPurification_permittedForSystem",pu());Fs("stableWaterSupply_permittedForSystem",pu());Fs("yardFeeding_permittedForSystem",pu());Fs("yardFloorType_permittedForSystem",pu());Fs("stableSystem_permittedForAnimalCategory",(t,n,e)=>{let i=typeof e=="string"?t.get(e):void 0;if(i==null)return!0;let r=eo.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 lFe(t,n){if(t&1&&(v(0,"mat-option",3),O(1),w()),t&2){let e=n.$implicit,i=T();x("value",e.id),C(),ae(i.optionLabel(e))}}function cFe(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ae(e.description)}}function dFe(t,n){if(t&1&&(v(0,"mat-error"),O(1),w()),t&2){let e=T();C(),ae(e.error)}}var gu=class t extends mu{masterData=u(Mo);i18n=u(_i);formData=pe(void 0);controlKey=it(()=>{let n=this.uischema?.scope;return n?n.split("/").filter(Boolean).pop()??"":""});listKey=it(()=>b9(this.controlKey()));options=it(()=>{let n=this.listKey();return n?y9[n]||[]:[]});filterConfig=it(()=>this.uischema?.options?.codeList?.filter);filteredOptions=it(()=>{let n=this.filterConfig(),e=this.options();if(!n)return e;let i=this.formData();return w9(e,n,{masterData:this.masterData,i18n:this.i18n},i)});constructor(n){super(n),un(()=>{let e=this.jsonFormsService.$state.subscribe(i=>{this.formData.set(i?.jsonforms?.core?.data)});return()=>e?.unsubscribe?.()}),un(()=>{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=n.id;if(n.descriptor&&typeof n.descriptor=="object"){let o=this.i18n.locale()==="en"?"eng":"deu",a=n.descriptor[`designation_${o}`]||n.descriptor.designation_deu;if(typeof a=="string"&&a)return a}let i=this.listKey();if(i)try{let r=this.masterData.designation(i,e);if(r&&r!==String(e))return r}catch{}return String(e)}onSelectionChange(n){this.commitValue(n)}static \u0275fac=function(e){return new(e||t)(me(xt))};static \u0275cmp=k({type:t,selectors:[["code-list-select-renderer"]],features:[ee],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&&(v(0,"mat-form-field",0)(1,"mat-label"),O(2),w(),v(3,"mat-select",1),V("selectionChange",function(o){return i.onSelectionChange(o.value)}),Te(4,lFe,2,2,"mat-option",2),w(),De(5,cFe,2,1,"mat-hint"),De(6,dFe,2,1,"mat-error"),w()),e&2&&(zt("display",i.hidden||i.filteredOptions().length===0?"none":""),C(2),ae(i.label),C(),x("formControl",i.form),C(),x("ngForOf",i.filteredOptions()),C(),Ee(i.shouldShowUnfocusedDescription()?5:-1),C(),Ee(i.error?6:-1))},dependencies:[Ho,rr,ir,di,Bi,_h,gh,ji,Ob,jo,ao,Un],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})},D9=Ht(5,(t,n,e)=>{if(!Gd(t))return!1;let o=(t.scope||"").split("/").filter(Boolean).pop()||"";return xM.some(a=>a.regex.test(o))});var Os=class t extends er{service=u(xt);cdr=u(Ae);_hidden=pe(!1);_label=pe(void 0);_elements=pe([]);_schema=pe(void 0);_path=pe("");_renderers=pe([]);_cells=pe(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=Ma(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=Ye(t)))(i||t)}})();static \u0275cmp=k({type:t,selectors:[["base-group-renderer"]],standalone:!1,features:[ee],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0})};var uFe=["childrenHost"];function mFe(t,n){if(t&1&&(v(0,"mat-card-title",4),O(1),w()),t&2){let e=T();x("id",e.labelId()),C(),ae(e.label())}}var _u=class t extends Os{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ye(t)))(i||t)}})();static \u0275cmp=k({type:t,selectors:[["card-group-renderer"]],viewQuery:function(e,i){if(e&1&&_e(uFe,5,rt),e&2){let r;j(r=B())&&(i.childrenHost=r.first)}},features:[ee],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&&(v(0,"mat-card",1),Te(1,mFe,2,2,"mat-card-title",2),ue(2,"div",3,0),w()),e&2&&(zt("display",i.hidden()?"none":""),fe("aria-labelledby",i.labelId()),C(),x("ngIf",i.label()))},dependencies:[Ps,zo,Rs,Pn],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 fFe=["childrenHost"];function hFe(t,n){if(t&1&&(v(0,"h4",4),O(1),w()),t&2){let e=T();x("id",e.labelId()),C(),ae(e.label())}}var yu=class t extends Os{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ye(t)))(i||t)}})();static \u0275cmp=k({type:t,selectors:[["plain-group-renderer"]],viewQuery:function(e,i){if(e&1&&_e(fFe,5,rt),e&2){let r;j(r=B())&&(i.childrenHost=r.first)}},features:[ee],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&&(v(0,"div",1),Te(1,hFe,2,2,"h4",2),ue(2,"div",3,0),w()),e&2&&(zt("display",i.hidden()?"none":""),fe("aria-labelledby",i.labelId()),C(),x("ngIf",i.label()))},dependencies:[Pn],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 pFe=["childrenHost"];function gFe(t,n){}var bu=class t extends Os{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ye(t)))(i||t)}})();static \u0275cmp=k({type:t,selectors:[["logical-group-renderer"]],viewQuery:function(e,i){if(e&1&&_e(pFe,5,rt),e&2){let r;j(r=B())&&(i.childrenHost=r.first)}},features:[ee],decls:2,vars:0,consts:[["childrenHost",""]],template:function(e,i){e&1&&Wr(0,gFe,0,0,"ng-template",null,0,So)},styles:[".group-variant__title[_ngcontent-%COMP%]{display:none}"],changeDetection:0})};var TM=t=>n=>n?.type==="Group"&&n?.options?.variant===t,E9=Ht(5,TM("card")),S9=Ht(5,TM("plain")),x9=Ht(5,TM("logical"));var I9=Object.create(null),T9=new Set;function _Fe(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 Oa(t,n){I9[t]=n}function k9(t,n,e,i){if(!t)return!0;let r=t,o=e.masterData,a=e.i18n,s=M({data:n,get:c=>_Fe(n,c),masterData:o,locale:a.locale()},i),l=I9[r.resolver];if(!l)return T9.has(r.resolver)||(console.warn("[Constraint] Missing resolver",r.resolver),T9.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}}Oa("animalCategory_isPermittedForConcentratedFeedstuffSummering",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForConcentratedFeedstuffSummering});Oa("animalCategory_isPermittedForFodderConsumptionCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForFodderConsumptionCorrection});Oa("animalCategory_isPermittedForGMF",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForGMF});Oa("animalCategory_isPermittedForIMPEX",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForIMPEX});Oa("animalCategory_isPermittedForLinearCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForLinearCorrection});Oa("animalCategory_isPermittedForManualFodderConsumptionInput",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForManualFodderConsumptionInput});Oa("animalCategory_isPermittedForMilkProductionCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForMilkProductionCorrection});Oa("animalCategory_isPermittedForWeightCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForWeightCorrection});Oa("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 yFe=["childrenHost"];function bFe(t,n){}var gv=class t extends er{service=u(xt);childrenHost;subscription;_elements=pe([]);_schema=pe(void 0);_path=pe("");_renderers=pe([]);_cells=pe(void 0);_constraintCfg;masterData=u(Mo);i18n=u(_i);visible(){return k9(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=Ma(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=Ye(t)))(i||t)}})();static \u0275cmp=k({type:t,selectors:[["constraint-layout-renderer"]],viewQuery:function(e,i){if(e&1&&_e(yFe,5,rt),e&2){let r;j(r=B())&&(i.childrenHost=r.first)}},features:[ee],decls:2,vars:0,consts:[["childrenHost",""]],template:function(e,i){e&1&&Wr(0,bFe,0,0,"ng-template",null,0,So)},encapsulation:2,changeDetection:0})};var Ns=class t{currentPage=pe("welcome");selectedAnimalStockIndex=pe(null);selectedCategory=pe({page:"animal_stock",category:"base"});isAnimalStockDetailView=it(()=>this.selectedAnimalStockIndex()!==null);isAnimalStockPage=it(()=>this.currentPage()==="animal_stock");navigateToPage(n){this.currentPage()!==n&&(this.currentPage.set(n),this.resetPageContext(n))}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})}setCategory(n,e){this.selectedCategory.set({page:n,category:e})}resetPageContext(n){n!=="animal_stock"&&this.selectedAnimalStockIndex.set(null)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})};var vFe=t=>({display:t});function CFe(t,n){if(t&1&&(v(0,"div"),ue(1,"jsonforms-outlet",4),w()),t&2){let e=n.$implicit,i=T(2);C(),x("uischema",e)("path",i.path)("schema",i.schema)}}function wFe(t,n){if(t&1&&(v(0,"mat-tab",2),Te(1,CFe,2,3,"div",3),w()),t&2){let e=n.$implicit,i=n.index,r=T();x("label",r.categoryLabels[i]),C(),x("ngForOf",e.elements)}}var _v=class t extends er{jsonFormsService=u(xt);navigationSvc=u(Ns);hidden=!1;visibleCategories=[];categoryLabels=[];categoryKeyToIndex=pe(new Map);indexToCategoryKey=pe(new Map);selectedTabIndex=it(()=>{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=Ma(n,this.getOwnProps());this.hidden=!e.visible,this.visibleCategories=this.uischema.elements.filter(i=>Yl(i,e.data,e.path,xs(n))),this.categoryLabels=this.visibleCategories.map(i=>Wf(i,n.jsonforms.i18n?.translate??xr.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=Ye(t)))(i||t)}})();static \u0275cmp=k({type:t,selectors:[["selected-category-categorization-renderer"]],features:[ee],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&&(v(0,"mat-tab-group",0),V("selectedIndexChange",function(o){return i.onTabChange(o)}),Te(1,wFe,2,2,"mat-tab",1),w()),e&2&&(x("ngStyle",yn(3,vFe,i.hidden?"none":""))("selectedIndex",i.selectedTabIndex()),C(),x("ngForOf",i.visibleCategories))},dependencies:[H6,yh,hv,Un,Fn,ih,Mr],encapsulation:2,changeDetection:0})};var DFe=Ht(7,t=>t.type==="Constraint"&&!!t.options?.constraint),EFe=Ht(6,t=>t.type==="Categorization"),M9=[{tester:DFe,renderer:gv},{tester:EFe,renderer:_v},{tester:E9,renderer:_u},{tester:S9,renderer:yu},{tester:x9,renderer:bu},{tester:l9,renderer:fu},{tester:D9,renderer:gu}];var IM=new A("CdkAccordion"),A9=(()=>{class t{_stateChanges=new L;_openCloseAllActions=new L;id=u(Tt).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=N({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",$]},exportAs:["cdkAccordion"],features:[Ce([{provide:IM,useExisting:t}]),nt]})}return t})(),R9=(()=>{class t{accordion=u(IM,{optional:!0,skipSelf:!0});_changeDetectorRef=u(Ae);_expansionDispatcher=u(Om);_openCloseAllSubscription=be.EMPTY;closed=new F;opened=new F;destroyed=new F;expandedChange=new F;id=u(Tt).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=pe(!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=N({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",$],disabled:[2,"disabled","disabled",$]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Ce([{provide:IM,useValue:void 0}])]})}return t})(),P9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var SFe=["body"],xFe=["bodyWrapper"],TFe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],IFe=["mat-expansion-panel-header","*","mat-action-row"];function kFe(t,n){}var MFe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],AFe=["mat-panel-title","mat-panel-description","*"];function RFe(t,n){t&1&&(xn(0,"span",1),Jn(),xn(1,"svg",2),ti(2,"path",3),Rn()())}var kM=new A("MAT_ACCORDION"),F9=new A("MAT_EXPANSION_PANEL"),PFe=(()=>{class t{_template=u(At);_expansionPanel=u(F9,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),O9=new A("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),MM=(()=>{class t extends R9{_viewContainerRef=u(rt);_animationsDisabled=ft();_document=u(ke);_ngZone=u(J);_elementRef=u(W);_renderer=u(yt);_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 F;afterCollapse=new F;_inputChanges=new L;accordion=u(kM,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=u(Tt).getId("mat-expansion-panel-header-");constructor(){super();let e=u(O9,{optional:!0});this._expansionDispatcher=u(Om),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(Ot(null),_t(()=>this.expanded&&!this._portal),wn(1)).subscribe(()=>{this._portal=new tr(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&&Ke(o,PFe,5),i&2){let a;j(a=B())&&(r._lazyContent=a.first)}},viewQuery:function(i,r){if(i&1&&(_e(SFe,5),_e(xFe,5)),i&2){let o;j(o=B())&&(r._body=o.first),j(o=B())&&(r._bodyWrapper=o.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:4,hostBindings:function(i,r){i&2&&U("mat-expanded",r.expanded)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",$],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[Ce([{provide:kM,useValue:void 0},{provide:F9,useExisting:t}]),ee,nt],ngContentSelectors:IFe,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&&(Be(TFe),oe(0),v(1,"div",2,0)(3,"div",3,1)(5,"div",4),oe(6,1),Te(7,kFe,0,0,"ng-template",5),w(),oe(8,2),w()()),i&2&&(C(),fe("inert",r.expanded?null:""),C(2),x("id",r.id),fe("aria-labelledby",r._headerId),C(4),x("cdkPortalOutlet",r._portal))},dependencies:[As],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 AM=(()=>{class t{panel=u(MM,{host:!0});_element=u(W);_focusMonitor=u(Qi);_changeDetectorRef=u(Ae);_parentChangeSubscription=be.EMPTY;constructor(){u(wt).load(Nn);let e=this.panel,i=u(O9,{optional:!0}),r=u(new Hn("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(_t(a=>!!(a.hideToggle||a.togglePosition))):Vr;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=Pt(e.opened,e.closed,o,e._inputChanges.pipe(_t(a=>!!(a.hideToggle||a.disabled||a.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(_t(()=>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:$t(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&&V("click",function(){return r._toggle()})("keydown",function(a){return r._keydown(a)}),i&2&&(fe("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),zt("height",r._getHeaderHeight()),U("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:Zt(e)]},ngContentSelectors:AFe,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&&(Be(MFe),xn(0,"span",0),oe(1),oe(2,1),oe(3,2),Rn(),De(4,RFe,3,0,"span",1)),i&2&&(U("mat-content-hide-toggle",!r._showToggle()),C(4),Ee(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})(),N9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]})}return t})(),L9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]})}return t})(),V9=(()=>{class t extends A9{_keyManager;_ownHeaders=new Gi;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Ot(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Al(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=Ye(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&Ke(o,AM,5),i&2){let a;j(a=B())&&(r._headers=a)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&U("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",$],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[Ce([{provide:kM,useExisting:t}]),ee]})}return t})(),yv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,P9,ch]})}return t})();var X9=st(Nf()),J9=st(Z9());function jM(t){if(t==null)return[];let n=eo.find(i=>i.id===t);return n?hu.filter(i=>i.permittedForAnimal.includes(n.zoologicalAnimal)||i.permittedForAnimalGroup.includes(n.animalGroup)).map(i=>i.id):[]}var ygt=Object.fromEntries(eo.map(t=>[t.id,jM(t.id)]));function vv(t={}){let n=new X9.default(M({allErrors:!0,verbose:!0,strict:!1},t));return(0,J9.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 f=a.nutrientCycle.animalStock;for(let h of f)if(h?.formOfDetention?.stall?.stableSystem===i||h?.formOfDetention?.stall===o?.parentData){c=h.animalCategoryPRIF;break}}if(c==null)return!0;let d=jM(c);if(d.includes(i))return!0;let m={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(m):this.errors=[m],!1}}),n}function JFe(t,n){if(t&1){let e=Ve();v(0,"jsonforms",6),V("dataChange",function(r){Y(e);let o=T();return K(o.onDataChange(r))})("errors",function(r){Y(e);let o=T();return K(o.onValidationErrors(r))}),w()}if(t&2){let e=T();x("data",e.jsonFormsData())("schema",e.itemSchema())("uischema",e.localizedUi())("renderers",e.renderers)("ajv",e.suibiAjv)}}function eOe(t,n){t&1&&(v(0,"p"),O(1,"Invalid selection."),w())}function tOe(t,n){t&1&&ue(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 nOe=Lb,iOe=nOe.properties?.nutrientCycle?.properties?.animalStock?.items,rOe=cW(oh);function oOe(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=>{o&&typeof o=="object"&&(typeof o.label=="string"&&(o.label=n(o.label)),Array.isArray(o.elements)&&o.elements.forEach(r))};return r(i),i}var Cv=class t{i18n=u(_i);row;index;rowChange=new F;close=new F;itemSchema=it(()=>lW(iOe,oh));baseUi=sW;localizedUi=it(()=>oOe(this.baseUi,n=>this.i18n.t(n,n)));jsonFormsData=it(()=>uW(this.row()));renderers=[...s9,...M9];suibiAjv=vv();onDataChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(e&&typeof e=="object"){let i=mW(e),r=dW(i,rOe);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=Ve();v(0,"div",1)(1,"header",2)(2,"button",3),V("click",function(){return Y(r),K(i.close.emit())}),v(3,"mat-icon"),O(4,"arrow_back"),w()(),v(5,"h2",4),O(6),Vt(7,"t"),w()(),De(8,JFe,1,5,"jsonforms",5)(9,eOe,2,0,"p"),Te(10,tOe,5,0,"ng-template",null,0,So),w()}e&2&&(C(6),ae(Qt(7,2,"animalStock.detail.title")()),C(2),Ee(i.row()?8:9))},dependencies:[ih,aW,fu,gu,_u,yu,bu,Zi,Jr,ms,ko,Ps,yv,Ai],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 aOe(t,n){if(t&1){let e=Ve();v(0,"app-animal-stock-list",3),V("select",function(r){Y(e);let o=T();return K(o.openDetail(r))})("add",function(){Y(e);let r=T();return K(r.addRow())})("delete",function(r){Y(e);let o=T();return K(o.deleteRow(r))})("reorder",function(r){Y(e);let o=T();return K(o.reorderRow(r))}),w()}if(t&2){let e=T();x("rows",e.rows)}}function sOe(t,n){if(t&1){let e=Ve();v(0,"app-animal-stock-detail",4),V("rowChange",function(r){Y(e);let o=T();return K(o.onDetailChange(r))})("close",function(){Y(e);let r=T();return K(r.closeDetail())}),w()}if(t&2){let e=T();x("row",e.detailData)("index",e.selectedIndex)}}var wv=class t{dataSvc=u(Io);navigationSvc=u(Ns);rootData=pe(this.dataSvc.data());constructor(){un(()=>{let n=this.dataSvc.data();n!==this.rootData()&&this.rootData.set(n)}),un(()=>{let n=this.navigationSvc.selectedAnimalStockIndex();n!=null&&n!==this.selectedIndex()&&this.selectedIndex.set(n)})}rows=it(()=>this.rootData()?.nutrientCycle?.animalStock??[]);selectedIndex=pe(null);detailData=it(()=>{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={order:(this.rows().length+1).toString()},e=[...this.rows(),n];this.patchRows(e),this.openDetail(e.length-1)}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()];j_(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)}patchRows(n){let e=M({},this.rootData()),i=M({},e.nutrientCycle||{});i.animalStock=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,"rows"],[3,"row","index"],[3,"select","add","delete","reorder","rows"],[3,"rowChange","close","row","index"]],template:function(e,i){e&1&&(v(0,"section",0),De(1,aOe,1,1,"app-animal-stock-list",1)(2,sOe,1,2,"app-animal-stock-detail",2),w()),e&2&&(C(),Ee(i.selectedIndex()===null?1:2))},dependencies:[z_,Cv],styles:[".animal-stock-master-detail[_ngcontent-%COMP%]{display:block;padding:1rem}"],changeDetection:0})};var Dv=class t{startEvent=Hg({alias:"start"});start(){this.startEvent.emit()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=k({type:t,selectors:[["app-welcome-page"]],outputs:{startEvent:"start"},decls:16,vars:12,consts:[["appearance","outlined",1,"welcome-card"],["mat-button","","color","primary",3,"click"]],template:function(e,i){e&1&&(v(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),O(3),Vt(4,"t"),w(),v(5,"mat-card-subtitle"),O(6),Vt(7,"t"),w()(),v(8,"mat-card-content")(9,"p"),O(10),Vt(11,"t"),w()(),v(12,"mat-card-actions")(13,"button",1),V("click",function(){return i.start()}),O(14),Vt(15,"t"),w()()()),e&2&&(C(3),ae(Qt(4,4,"welcome.title")()),C(3),ae(Qt(7,6,"welcome.subtitle")()),C(4),ae(Qt(11,8,"welcome.description")()),C(4),ae(Qt(15,10,"welcome.start")()))},dependencies:[Zi,vr,Ps,zo,iu,nu,ev,Jb,Rs,ms,Ai],styles:[".welcome-card[_ngcontent-%COMP%]{max-width:640px;margin:1.5rem auto;display:block}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:.5rem}mat-card-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"],changeDetection:0})};var Ev=class t{constructor(n){this.naebi=n}host=u(W);emitData(){let n=this.naebi.data(),e=new CustomEvent("suibi-data",{detail:n,bubbles:!0,composed:!0});this.host.nativeElement.dispatchEvent(e)}static \u0275fac=function(e){return new(e||t)(me(Io))};static \u0275cmp=k({type:t,selectors:[["app-data-preview"]],decls:13,vars:3,consts:()=>{let n;n=$localize`NAEBI Data Preview`;let e;e=$localize`Current application-wide data signal`;let i;return i=$localize`Emit data`,[n,e,i,["appearance","outlined",1,"data-preview-card"],[1,"json-block"],["mat-flat-button","","color","primary",3,"click"]]},template:function(e,i){e&1&&(v(0,"mat-card",3)(1,"mat-card-header")(2,"mat-card-title"),vm(3,0),w(),v(4,"mat-card-subtitle"),vm(5,1),w()(),v(6,"mat-card-content")(7,"pre",4),O(8),Vt(9,"json"),w()(),v(10,"mat-card-actions")(11,"button",5),V("click",function(){return i.emitData()}),vm(12,2),w()()()),e&2&&(C(8),ae(Qt(9,1,i.naebi.data())))},dependencies:[Ps,zo,iu,nu,ev,Jb,Rs,Zi,vr,sE],styles:[".data-preview-card[_ngcontent-%COMP%]{max-width:960px;margin:1rem auto;display:block}.json-block[_ngcontent-%COMP%]{max-height:70vh;overflow:auto;background:#111;color:#f1f1f1;padding:1rem;font-size:.75rem;line-height:1.1}"],changeDetection:0})};var nY="https://fonts.googleapis.com/icon?family=Material+Icons",eY="material-icons-font-link",tY="data-suibi-icons";function iY(){return typeof document<"u"&&typeof window<"u"}function Sv(t=document){if(!iY()||t.getElementById(eY))return;let n=t.createElement("link");n.id=eY,n.rel="stylesheet",n.href=nY,t.head.appendChild(n)}function xv(t){if(!iY()||!t||t.querySelector(`link[${tY}]`))return;let n=document.createElement("link");n.rel="stylesheet",n.href=nY,n.setAttribute(tY,""),t.prepend(n)}var Tv=class t{locale=Ki("en");currentPage=Ki("welcome");onNavigate=Ki(()=>{});onLocaleChange=Ki(()=>{});navigate(n){n!==this.currentPage()&&this.onNavigate()(n)}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"]},decls:12,vars:19,consts:[["color","primary",1,"main-toolbar"],["aria-label","Main navigation",1,"nav"],[3,"click"],[1,"spacer"]],template:function(e,i){e&1&&(v(0,"mat-toolbar",0)(1,"nav",1)(2,"a",2),V("click",function(){return i.navigate("welcome")}),O(3),Vt(4,"t"),w(),v(5,"a",2),V("click",function(){return i.navigate("animal_stock")}),O(6),Vt(7,"t"),w(),v(8,"a",2),V("click",function(){return i.navigate("data_preview")}),O(9),Vt(10,"t"),w()(),ue(11,"div",3),w()),e&2&&(zt("background","transparent")("color","inherit"),C(2),U("active",i.currentPage()==="welcome"),C(),ae(Qt(4,13,"nav.home")()),C(2),U("active",i.currentPage()==="animal_stock"),C(),ae(Qt(7,15,"nav.animalStock")()),C(2),U("active",i.currentPage()==="data_preview"),C(),ae(Qt(10,17,"nav.dataPreview")()))},dependencies:[G6,q6,Ai],styles:["[_nghost-%COMP%]{display:block}.main-toolbar[_ngcontent-%COMP%]{padding:0 .5rem;gap:.5rem;min-height:2.25rem}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}"],changeDetection:0})};function rY(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 lOe(t,n){t&1&&(v(0,"mat-panel-description",4),O(1),Vt(2,"t"),w()),t&2&&(C(),ae(Qt(2,1,"validation.panel.expandHint")()))}function cOe(t,n){if(t&1&&(v(0,"span",10),O(1),w()),t&2){let e=T().$implicit;C(),ae(e.field)}}function dOe(t,n){if(t&1){let e=Ve();v(0,"mat-list-item",8),V("click",function(){let r=Y(e).$implicit,o=T(2);return K(o.onErrorClick(r.error))}),v(1,"span",9),O(2),w(),De(3,cOe,2,1,"span",10),w()}if(t&2){let e=n.$implicit,i=T(2);U("clickable",i.clickable()),C(2),ae(e.message),C(),Ee(e.field?3:-1)}}function uOe(t,n){if(t&1){let e=Ve();v(0,"mat-accordion",0)(1,"mat-expansion-panel",1),V("opened",function(){Y(e);let r=T();return K(r.expanded.set(!0))})("closed",function(){Y(e);let r=T();return K(r.expanded.set(!1))}),v(2,"mat-expansion-panel-header")(3,"mat-panel-title"),ue(4,"mat-icon",2),v(5,"span",3),O(6),w()(),De(7,lOe,3,3,"mat-panel-description",4),w(),v(8,"div",5)(9,"mat-nav-list",6),hr(10,dOe,4,4,"mat-list-item",7,ym),w()()()()}if(t&2){let e=T();x("multi",!1)("hideToggle",!1),C(),x("expanded",e.expanded()),fe("aria-label",e.panelAriaLabel()),C(5),dn(" ",e.issueCountLabel()," "),C(),Ee(e.expanded()?-1:7),C(),fe("aria-live",e.expanded()?"polite":"off"),C(2),pr(e.formattedItems())}}var Iv=class t{errors=Ki([]);clickable=Ki(!1);errorSelected=Hg();i18n=u(_i);expanded=pe(!1);hasErrors=it(()=>(this.errors()??[]).length>0);sortedErrors=it(()=>[...this.errors()??[]].sort((n,e)=>(n.instancePath||"").localeCompare(e.instancePath||"")||(n.keyword||"").localeCompare(e.keyword||"")));formattedItems=it(()=>this.sortedErrors().map(n=>({message:rY(n,(e,i)=>this.i18n.t(e,i)),field:n.instancePath||"",error:n})));issueCountLabel=it(()=>{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=it(()=>`${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&&De(0,uOe,12,7,"mat-accordion",0),e&2&&Ee(i.hasErrors()?0:-1)},dependencies:[yv,V9,MM,AM,L9,N9,ms,ko,Zi,E6,lv,sv,iM,Ai],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})};var kv=class t{dataSvc=u(Io);ajv=vv();validateFn=this.ajv.compile(Lb);rawErrors=pe([]);errors=it(()=>{let n=this.rawErrors();return this.enrichErrors(this.consolidateErrors(n))});constructor(){un(()=>{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(de(M({},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=M({},e),r=e.instancePath.match(/^\/nutrientCycle\/animalStock\/(\d+)(\/(.+))?$/);if(r){let o=parseInt(r[1],10),a=r[3]||"";i.targetPage="animal_stock",i.targetAnimalStockIndex=o,i.targetCategory=this.inferCategory(a),i.fieldLabel=this.inferFieldLabel(a,e)}return i})}inferCategory(n){return n.startsWith("formOfDetention")?"formOfDetention":n.startsWith("feeding")?"feeding":"base"}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"};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=z({token:t,factory:t.\u0275fac,providedIn:"root"})};function mOe(t,n){if(t&1){let e=Ve();v(0,"app-welcome-page",3),V("start",function(){Y(e);let r=T();return K(r.go("animal_stock"))}),w()}}function fOe(t,n){t&1&&ue(0,"app-animal-stock-master-detail")}function hOe(t,n){t&1&&ue(0,"app-data-preview")}function pOe(t,n){t&1&&(v(0,"p"),O(1),Vt(2,"t"),w()),t&2&&(C(),ae(Qt(2,1,"nav.unknownPage")()))}var Mv=class t{localeInput=Ki("en",{alias:"locale"});themeSrc=Ki(null,{alias:"theme-src"});pageInput=Ki("welcome",{alias:"page"});naebiDataInput=Ki(null,{alias:"naebi-data"});i18n=u(_i);hostEl=u(W);destroyRef=u(hi);naebi=u(Io);globalValidation=u(kv);navigationSvc=u(Ns);isCustomElement=this.hostEl.nativeElement.tagName==="SUIBI-MODULE";locale=this.i18n.locale;validationErrors=it(()=>this.globalValidation.errors());constructor(){un(()=>{let i=this.navigationSvc.currentPage();this.currentPage()!==i&&this.currentPage.set(i)});let n;un(()=>{let i=this.localeInput();i!==n&&(n=i,(i==="en"||i==="de")&&ii(this.i18n.locale)!==i&&this.i18n.setLocale(i))}),un(()=>{let i=this.i18n.locale(),r=this.hostEl.nativeElement;r.getAttribute("locale")!==i&&r.setAttribute("locale",i)}),un(()=>{let i=this.naebiDataInput();if(i==null)return;let r=null;if(typeof i=="string")try{r=JSON.parse(i)}catch{r=null}else typeof i=="object"&&(r=i);r&&this.naebi.setData(r)});{let i=this.hostEl.nativeElement;i.getAttribute("locale")||i.setAttribute("locale",this.i18n.locale()),i.getAttribute("page")||i.setAttribute("page",this.pageInput());let r=new MutationObserver(o=>{for(let a of o){if(a.type==="attributes"&&a.attributeName==="locale"){let s=i.getAttribute("locale");(s==="en"||s==="de")&&this.i18n.locale()!==s&&this.i18n.setLocale(s)}if(a.type==="attributes"&&a.attributeName==="page"){let s=i.getAttribute("page");(s==="welcome"||s==="animal_stock"||s==="data_preview")&&this.currentPage()!==s&&this.currentPage.set(s)}}});r.observe(i,{attributes:!0,attributeFilter:["locale","page"]}),this.destroyRef.onDestroy(()=>r.disconnect())}let e=this.hostEl.nativeElement.shadowRoot;Sv(),xv(e)}currentPage=pe(this.pageInput());lastPageInput=void 0;syncPageEffect=un(()=>{let n=this.pageInput();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)}onValidationErrorSelected(n){let e=n;e.targetPage==="animal_stock"&&e.targetAnimalStockIndex!=null&&this.navigationSvc.navigateToAnimalStockDetail(e.targetAnimalStockIndex,e.targetCategory||"base")}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=k({type:t,selectors:[["app-root"]],inputs:{localeInput:[1,"locale","localeInput"],themeSrc:[1,"theme-src","themeSrc"],pageInput:[1,"page","pageInput"],naebiDataInput:[1,"naebi-data","naebiDataInput"]},decls:7,vars:7,consts:[[3,"currentPage","locale","onNavigate","onLocaleChange"],[3,"errorSelected","errors","clickable"],[1,"app-main"],[3,"start"]],template:function(e,i){if(e&1&&(ue(0,"app-header-bar",0),v(1,"validation-errors-panel",1),V("errorSelected",function(o){return i.onValidationErrorSelected(o)}),w(),v(2,"main",2),De(3,mOe,1,0,"app-welcome-page")(4,fOe,1,0,"app-animal-stock-master-detail")(5,hOe,1,0,"app-data-preview")(6,pOe,3,3,"p"),w()),e&2){let r;x("currentPage",i.currentPage())("locale",i.locale())("onNavigate",i.go.bind(i))("onLocaleChange",i.setLocale.bind(i)),C(),x("errors",i.validationErrors())("clickable",!0),C(2),Ee((r=i.currentPage())==="welcome"?3:r==="animal_stock"?4:r==="data_preview"?5:6)}},dependencies:[wv,Dv,Ev,Zi,Tv,Iv,Ai],styles:[`app-header-bar{display:block;padding:.25rem .5rem .5rem}main.app-main{display:block;padding:0 1rem 2rem}
|
|
66
|
-
`,`: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}
|
|
67
|
-
`],encapsulation:3,changeDetection:0})};var pt=(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})(pt||{}),lo="*";function oY(t,n=null){return{type:pt.Sequence,steps:t,options:n}}function BM(t){return{type:pt.Style,styles:t,offset:null}}var Na=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}},wu=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}},vh="!";function aY(t){return new X(3e3,!1)}function gOe(){return new X(3100,!1)}function _Oe(){return new X(3101,!1)}function yOe(t){return new X(3001,!1)}function bOe(t){return new X(3003,!1)}function vOe(t){return new X(3004,!1)}function lY(t,n){return new X(3005,!1)}function cY(){return new X(3006,!1)}function dY(){return new X(3007,!1)}function uY(t,n){return new X(3008,!1)}function mY(t){return new X(3002,!1)}function fY(t,n,e,i,r){return new X(3010,!1)}function hY(){return new X(3011,!1)}function pY(){return new X(3012,!1)}function gY(){return new X(3200,!1)}function _Y(){return new X(3202,!1)}function yY(){return new X(3013,!1)}function bY(t){return new X(3014,!1)}function vY(t){return new X(3015,!1)}function CY(t){return new X(3016,!1)}function wY(t,n){return new X(3404,!1)}function COe(t){return new X(3502,!1)}function DY(t){return new X(3503,!1)}function EY(){return new X(3300,!1)}function SY(t){return new X(3504,!1)}function xY(t){return new X(3301,!1)}function TY(t,n){return new X(3302,!1)}function IY(t){return new X(3303,!1)}function kY(t,n){return new X(3400,!1)}function MY(t){return new X(3401,!1)}function AY(t){return new X(3402,!1)}function RY(t,n){return new X(3505,!1)}function La(t){switch(t.length){case 0:return new Na;case 1:return t[0];default:return new wu(t)}}function UM(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,m=d&&s||new Map;l.forEach((f,h)=>{let p=h,b=f;if(h!=="offset")switch(p=t.normalizePropertyName(p,r),b){case vh:b=e.get(h);break;case lo:b=i.get(h);break;default:b=t.normalizeStyleValue(h,p,b,r);break}m.set(p,b)}),d||o.push(m),s=m,a=c}),r.length)throw COe(r);return o}function Av(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&zM(e,"start",t)));break;case"done":t.onDone(()=>i(e&&zM(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&zM(e,"destroy",t)));break}}function zM(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Rv(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 Rv(t,n,e,i,r="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function $i(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function qM(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var wOe=typeof document>"u"?null:document.documentElement;function Pv(t){let n=t.parentNode||t.host||null;return n===wOe?null:n}function DOe(t){return t.substring(1,6)=="ebkit"}var Jl=null,sY=!1;function PY(t){Jl||(Jl=EOe()||{},sY=Jl.style?"WebkitAppearance"in Jl.style:!1);let n=!0;return Jl.style&&!DOe(t)&&(n=t in Jl.style,!n&&sY&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in Jl.style)),n}function EOe(){return typeof document<"u"?document.body:null}function GM(t,n){for(;n;){if(n===t)return!0;n=Pv(n)}return!1}function WM(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var SOe=1e3,YM="{{",xOe="}}",KM="ng-enter",Fv="ng-leave",Ch="ng-trigger",wh=".ng-trigger",QM="ng-animating",Ov=".ng-animating";function Go(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:$M(parseFloat(n[1]),n[2])}function $M(t,n){switch(n){case"s":return t*SOe;default:return t}}function Dh(t,n,e){return t.hasOwnProperty("duration")?t:IOe(t,n,e)}var TOe=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function IOe(t,n,e){let i,r=0,o="";if(typeof t=="string"){let a=t.match(TOe);if(a===null)return n.push(aY(t)),{duration:0,delay:0,easing:""};i=$M(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=$M(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(gOe()),a=!0),r<0&&(n.push(_Oe()),a=!0),a&&n.splice(s,0,aY(t))}return{duration:i,delay:r,easing:o}}function FY(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function co(t,n,e){n.forEach((i,r)=>{let o=Nv(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function Vs(t,n){n.forEach((e,i)=>{let r=Nv(i);t.style[r]=""})}function Du(t){return Array.isArray(t)?t.length==1?t[0]:oY(t):t}function OY(t,n,e){let i=n.params||{},r=ZM(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(yOe(o))})}var HM=new RegExp(`${YM}\\s*(.+?)\\s*${xOe}`,"g");function ZM(t){let n=[];if(typeof t=="string"){let e;for(;e=HM.exec(t);)n.push(e[1]);HM.lastIndex=0}return n}function Eu(t,n,e){let i=`${t}`,r=i.replace(HM,(o,a)=>{let s=n[a];return s==null&&(e.push(bOe(a)),s=""),s.toString()});return r==i?t:r}var kOe=/-+([a-z0-9])/g;function Nv(t){return t.replace(kOe,(...n)=>n[1].toUpperCase())}function NY(t,n){return t===0||n===0}function LY(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,Lv(t,s)))}}return n}function Hi(t,n,e){switch(n.type){case pt.Trigger:return t.visitTrigger(n,e);case pt.State:return t.visitState(n,e);case pt.Transition:return t.visitTransition(n,e);case pt.Sequence:return t.visitSequence(n,e);case pt.Group:return t.visitGroup(n,e);case pt.Animate:return t.visitAnimate(n,e);case pt.Keyframes:return t.visitKeyframes(n,e);case pt.Style:return t.visitStyle(n,e);case pt.Reference:return t.visitReference(n,e);case pt.AnimateChild:return t.visitAnimateChild(n,e);case pt.AnimateRef:return t.visitAnimateRef(n,e);case pt.Query:return t.visitQuery(n,e);case pt.Stagger:return t.visitStagger(n,e);default:throw vOe(n.type)}}function Lv(t,n){return window.getComputedStyle(t)[n]}var hA=(()=>{class t{validateStyleProperty(e){return PY(e)}containsElement(e,i){return GM(e,i)}getParentElement(e){return Pv(e)}query(e,i,r){return WM(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new Na(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),tc=class{static NOOP=new hA},nc=class{};var MOe=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"]),$v=class extends nc{normalizePropertyName(n,e){return Nv(n)}normalizeStyleValue(n,e,i,r){let o="",a=i.toString().trim();if(MOe.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(lY(n,i))}return a+o}};var Hv="*";function AOe(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>ROe(i,e,n)):e.push(t),e}function ROe(t,n,e){if(t[0]==":"){let l=POe(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(vY(t)),n;let r=i[1],o=i[2],a=i[3];n.push(VY(r,a));let s=r==Hv&&a==Hv;o[0]=="<"&&!s&&n.push(VY(a,r))}function POe(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(CY(t)),"* => *"}}var Vv=new Set(["true","1"]),jv=new Set(["false","0"]);function VY(t,n){let e=Vv.has(t)||jv.has(t),i=Vv.has(n)||jv.has(n);return(r,o)=>{let a=t==Hv||t==r,s=n==Hv||n==o;return!a&&e&&typeof r=="boolean"&&(a=r?Vv.has(t):jv.has(t)),!s&&i&&typeof o=="boolean"&&(s=o?Vv.has(n):jv.has(n)),a&&s}}var YY=":self",FOe=new RegExp(`s*${YY}s*,?`,"g");function KY(t,n,e,i){return new iA(t).build(n,e,i)}var jY="",iA=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new rA(e);return this._resetContextStyleTimingState(r),Hi(this,Du(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=jY,n.collectedStyles=new Map,n.collectedStyles.set(jY,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(cY()),n.definitions.forEach(s=>{if(this._resetContextStyleTimingState(e),s.type==pt.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==pt.Transition){let l=this.visitTransition(s,e);i+=l.queryCount,r+=l.depCount,a.push(l)}else e.errors.push(dY())}),{type:pt.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=>{ZM(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(uY(n.name,[...o.values()]))}return{type:pt.State,name:n.name,style:i,options:r?{params:r}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;let i=Hi(this,Du(n.animation),e),r=AOe(n.expr,e.errors);return{type:pt.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:ec(n.options)}}visitSequence(n,e){return{type:pt.Sequence,steps:n.steps.map(i=>Hi(this,i,e)),options:ec(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(a=>{e.currentTime=i;let s=Hi(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:pt.Group,steps:o,options:ec(n.options)}}visitAnimate(n,e){let i=VOe(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:BM({});if(o.type==pt.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=BM(c)}e.currentTime+=i.duration+i.delay;let l=this.visitStyle(a,e);l.isEmptyStep=s,r=l}return e.currentAnimateTimings=null,{type:pt.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===lo?i.push(s):e.errors.push(mY(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(YM)>=0){o=!0;break}}}),{type:pt.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),m=!0;d&&(o!=r&&o>=d.startTime&&r<=d.endTime&&(e.errors.push(fY(l,d.startTime,d.endTime,o,r)),m=!1),o=d.startTime),m&&c.set(l,{startTime:o,endTime:r}),e.options&&OY(s,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:pt.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(hY()),i;let r=1,o=0,a=[],s=!1,l=!1,c=0,d=n.steps.map(E=>{let P=this._makeStyleAst(E,e),G=P.offset!=null?P.offset:LOe(P.styles),ce=0;return G!=null&&(o++,ce=P.offset=G),l=l||ce<0||ce>1,s=s||ce<c,c=ce,a.push(ce),P});l&&e.errors.push(pY()),s&&e.errors.push(gY());let m=n.steps.length,f=0;o>0&&o<m?e.errors.push(_Y()):o==0&&(f=r/(m-1));let h=m-1,p=e.currentTime,b=e.currentAnimateTimings,D=b.duration;return d.forEach((E,P)=>{let G=f>0?P==h?1:f*P:a[P],ce=G*D;e.currentTime=p+b.delay+ce,b.duration=ce,this._validateStyleAst(E,e),E.offset=G,i.styles.push(E)}),i}visitReference(n,e){return{type:pt.Reference,animation:Hi(this,Du(n.animation),e),options:ec(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:pt.AnimateChild,options:ec(n.options)}}visitAnimateRef(n,e){return{type:pt.AnimateRef,animation:this.visitReference(n.animation,e),options:ec(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,a]=OOe(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,$i(e.collectedStyles,e.currentQuerySelector,new Map);let s=Hi(this,Du(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:pt.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:n.selector,options:ec(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(yY());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Dh(n.timings,e.errors,!0);return{type:pt.Stagger,animation:Hi(this,Du(n.animation),e),timings:i,options:null}}};function OOe(t){let n=!!t.split(/\s*,\s*/).find(e=>e==YY);return n&&(t=t.replace(FOe,"")),t=t.replace(/@\*/g,wh).replace(/@\w+/g,e=>wh+"-"+e.slice(1)).replace(/:animating/g,Ov),[t,n]}function NOe(t){return t?M({},t):null}var rA=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 LOe(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 VOe(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Dh(t,n).duration;return XM(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=XM(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Dh(e,n);return XM(r.duration,r.delay,r.easing)}function ec(t){return t?(t=M({},t),t.params&&(t.params=NOe(t.params))):t={},t}function XM(t,n,e){return{duration:t,delay:n,easing:e}}function pA(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 Sh=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()}},jOe=1,BOe=":enter",zOe=new RegExp(BOe,"g"),$Oe=":leave",HOe=new RegExp($Oe,"g");function QY(t,n,e,i,r,o=new Map,a=new Map,s,l,c=[]){return new oA().buildKeyframes(t,n,e,i,r,o,a,s,l,c)}var oA=class{buildKeyframes(n,e,i,r,o,a,s,l,c,d=[]){c=c||new Sh;let m=new aA(n,e,c,r,o,d,[]);m.options=l;let f=l.delay?Go(l.delay):0;m.currentTimeline.delayNextStep(f),m.currentTimeline.setStyles([a],null,m.errors,l),Hi(this,i,m);let h=m.timelines.filter(p=>p.containsAnimation());if(h.length&&s.size){let p;for(let b=h.length-1;b>=0;b--){let D=h[b];if(D.element===e){p=D;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([s],null,m.errors,l)}return h.length?h.map(p=>p.buildKeyframes()):[pA(e,[],[],[],0,f,"",!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:Go(Eu(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,a=i.duration!=null?Go(i.duration):null,s=i.delay!=null?Go(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),Hi(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==pt.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Uv);let a=Go(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>Hi(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?Go(n.options.delay):0;n.steps.forEach(a=>{let s=e.createSubContext(n.options);o&&s.delayNextStep(o),Hi(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?Eu(i,e.params,e.errors):i;return Dh(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==pt.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?Go(r.delay):0;o&&(e.previousNode.type===pt.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Uv);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 m=e.createSubContext(n.options,c);o&&m.delayNextStep(o),c===e.element&&(l=m.currentTimeline),Hi(this,n.animation,m),m.currentTimeline.applyStylesToKeyframe();let f=m.currentTimeline.currentTime;a=Math.max(a,f)}),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 m=d.currentTime;Hi(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}},Uv={},aA=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Uv;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 qv(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=Go(i.duration)),i.delay!=null&&(r.delay=Go(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]=Eu(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=Uv,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 sA(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(zOe,"."+this._enterClassName),n=n.replace(HOe,"."+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(bY(e)),s}},qv=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+=jOe,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||lo),this._currentKeyframe.set(e,lo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=UOe(n,this._globalTimelineStyles);for(let[s,l]of a){let c=Eu(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??lo),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,m)=>{d===vh?n.add(m):d===lo&&e.add(m)}),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 pA(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},sA=class extends qv{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",BY(s)),o.push(c);let d=n.length-1;for(let m=1;m<=d;m++){let f=new Map(n[m]),h=f.get("offset"),p=e+h*i;f.set("offset",BY(p/a)),o.push(f)}i=a,e=0,r="",n=o}return pA(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function BY(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function UOe(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,lo)}else for(let[o,a]of r)e.set(o,a)}),e}function zY(t,n,e,i,r,o,a,s,l,c,d,m,f){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:m,errors:f}}var JM={},Gv=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return qOe(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 m=[],f=this.ast.options&&this.ast.options.params||JM,h=s&&s.params||JM,p=this.buildStyles(i,h,m),b=l&&l.params||JM,D=this.buildStyles(r,b,m),E=new Set,P=new Map,G=new Map,ce=r==="void",ie={params:ZY(b,f),delay:this.ast.options?.delay},Pe=d?[]:QY(n,e,this.ast.animation,o,a,p,D,ie,c,m),Fe=0;return Pe.forEach(Me=>{Fe=Math.max(Me.duration+Me.delay,Fe)}),m.length?zY(e,this._triggerName,i,r,ce,p,D,[],[],P,G,Fe,m):(Pe.forEach(Me=>{let Ne=Me.element,gt=$i(P,Ne,new Set);Me.preStyleProps.forEach(we=>gt.add(we));let Ut=$i(G,Ne,new Set);Me.postStyleProps.forEach(we=>Ut.add(we)),Ne!==e&&E.add(Ne)}),zY(e,this._triggerName,i,r,ce,p,D,Pe,[...E.values()],P,G,Fe))}};function qOe(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function ZY(t,n){let e=M({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var lA=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=ZY(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=Eu(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}};function GOe(t,n,e){return new cA(t,n,e)}var cA=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 lA(r.style,o,i))}),$Y(this.states,"true","1"),$Y(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Gv(n,r,this.states))}),this.fallbackTransition=WOe(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 WOe(t,n,e){let i=[(a,s)=>!0],r={type:pt.Sequence,steps:[],options:null},o={type:pt.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Gv(t,o,n)}function $Y(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 YOe=new Sh,dA=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=KY(this._driver,e,i,r);if(i.length)throw DY(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=UM(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=QY(this._driver,e,o,KM,Fv,new Map,new Map,i,YOe,r),a.forEach(d=>{let m=$i(s,d.element,new Map);d.postStyleProps.forEach(f=>m.set(f,null))})):(r.push(EY()),a=[]),r.length)throw SY(r);s.forEach((d,m)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(m,h,lo))})});let l=a.map(d=>{let m=s.get(d.element);return this._buildPlayer(d,new Map,m)}),c=La(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 xY(n);return e}listen(n,e,i,r){let o=Rv(e,"","","");return Av(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}}},HY="ng-animate-queued",KOe=".ng-animate-queued",eA="ng-animate-disabled",QOe=".ng-animate-disabled",ZOe="ng-star-inserted",XOe=".ng-star-inserted",JOe=[],XY={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},eNe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},uo="__ng_removed",xh=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=nNe(r),i){let o=n,{value:a}=o,s=Bs(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])})}}},Eh="void",tA=new xh(Eh),uA=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,Pr(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw TY(i,e);if(i==null||i.length==0)throw IY(e);if(!iNe(i))throw kY(i,e);let o=$i(this._elementListeners,n,[]),a={name:e,phase:i,callback:r};o.push(a);let s=$i(this._engine.statesByElement,n,new Map);return s.has(e)||(Pr(n,Ch),Pr(n,Ch+"-"+e),s.set(e,tA)),()=>{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 MY(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),a=new Th(this.id,e,n),s=this._engine.statesByElement.get(n);s||(Pr(n,Ch),Pr(n,Ch+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e),c=new xh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=tA),!(c.value===Eh)&&l.value===c.value){if(!aNe(l.params,c.params)){let b=[],D=o.matchStyles(l.value,l.params,b),E=o.matchStyles(c.value,c.params,b);b.length?this._engine.reportError(b):this._engine.afterFlush(()=>{Vs(n,D),co(n,E)})}return}let f=$i(this._engine.playersByElement,n,[]);f.forEach(b=>{b.namespaceId==this.id&&b.triggerName==e&&b.queued&&b.destroy()});let h=o.matchTransition(l.value,c.value,n,c.params),p=!1;if(!h){if(!r)return;h=o.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:h,fromState:l,toState:c,player:a,isFallbackTransition:p}),p||(Pr(n,HY),a.onStart(()=>{Su(n,HY)})),a.onDone(()=>{let b=this.players.indexOf(a);b>=0&&this.players.splice(b,1);let D=this._engine.playersByElement.get(n);if(D){let E=D.indexOf(a);E>=0&&D.splice(E,1)}}),this.players.push(a),f.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,wh,!0);i.forEach(r=>{if(r[uo])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,Eh,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&La(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)||tA,d=new xh(Eh),m=new Th(this.id,a,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:a,transition:l,fromState:c,toState:d,player:m,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[uo];(!o||o===XY)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Pr(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=Rv(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Av(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)}},mA=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 uA(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(Bv(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Bv(e))return;let o=e[uo];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),Pr(n,eA)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Su(n,eA))}removeNode(n,e,i){if(Bv(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[uo]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Bv(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,wh,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,Ov,!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 La(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[uo];if(e&&e.setForRemoval){if(n[uo]=XY,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(eA)&&this.markElementAsDisabled(n,!1),this.driver.query(n,QOe,!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];Pr(r,ZOe)}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?La(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw AY(n)}_flushAnimations(n,e){let i=new Sh,r=[],o=new Map,a=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(R=>{d.add(R);let H=this.driver.query(R,KOe,!0);for(let q=0;q<H.length;q++)d.add(H[q])});let m=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=GY(f,this.collectedEnterElements),p=new Map,b=0;h.forEach((R,H)=>{let q=KM+b++;p.set(H,q),R.forEach(he=>Pr(he,q))});let D=[],E=new Set,P=new Set;for(let R=0;R<this.collectedLeaveElements.length;R++){let H=this.collectedLeaveElements[R],q=H[uo];q&&q.setForRemoval&&(D.push(H),E.add(H),q.hasAnimation?this.driver.query(H,XOe,!0).forEach(he=>E.add(he)):P.add(H))}let G=new Map,ce=GY(f,Array.from(E));ce.forEach((R,H)=>{let q=Fv+b++;G.set(H,q),R.forEach(he=>Pr(he,q))}),n.push(()=>{h.forEach((R,H)=>{let q=p.get(H);R.forEach(he=>Su(he,q))}),ce.forEach((R,H)=>{let q=G.get(H);R.forEach(he=>Su(he,q))}),D.forEach(R=>{this.processLeaveNode(R)})});let ie=[],Pe=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(q=>{let he=q.player,Qe=q.element;if(ie.push(he),this.collectedEnterElements.length){let Z=Qe[uo];if(Z&&Z.setForMove){if(Z.previousTriggersValues&&Z.previousTriggersValues.has(q.triggerName)){let ne=Z.previousTriggersValues.get(q.triggerName),ge=this.statesByElement.get(q.element);if(ge&&ge.has(q.triggerName)){let Dt=ge.get(q.triggerName);Dt.value=ne,ge.set(q.triggerName,Dt)}}he.destroy();return}}let Je=!m||!this.driver.containsElement(m,Qe),vt=G.get(Qe),at=p.get(Qe),ut=this._buildInstruction(q,i,at,vt,Je);if(ut.errors&&ut.errors.length){Pe.push(ut);return}if(Je){he.onStart(()=>Vs(Qe,ut.fromStyles)),he.onDestroy(()=>co(Qe,ut.toStyles)),r.push(he);return}if(q.isFallbackTransition){he.onStart(()=>Vs(Qe,ut.fromStyles)),he.onDestroy(()=>co(Qe,ut.toStyles)),r.push(he);return}let Se=[];ut.timelines.forEach(Z=>{Z.stretchStartingKeyframe=!0,this.disabledNodes.has(Z.element)||Se.push(Z)}),ut.timelines=Se,i.append(Qe,ut.timelines);let te={instruction:ut,player:he,element:Qe};a.push(te),ut.queriedElements.forEach(Z=>$i(s,Z,[]).push(he)),ut.preStyleProps.forEach((Z,ne)=>{if(Z.size){let ge=l.get(ne);ge||l.set(ne,ge=new Set),Z.forEach((Dt,jt)=>ge.add(jt))}}),ut.postStyleProps.forEach((Z,ne)=>{let ge=c.get(ne);ge||c.set(ne,ge=new Set),Z.forEach((Dt,jt)=>ge.add(jt))})});if(Pe.length){let R=[];Pe.forEach(H=>{R.push(RY(H.triggerName,H.errors))}),ie.forEach(H=>H.destroy()),this.reportError(R)}let Fe=new Map,Me=new Map;a.forEach(R=>{let H=R.element;i.has(H)&&(Me.set(H,H),this._beforeAnimationBuild(R.player.namespaceId,R.instruction,Fe))}),r.forEach(R=>{let H=R.element;this._getPreviousPlayers(H,!1,R.namespaceId,R.triggerName,null).forEach(he=>{$i(Fe,H,[]).push(he),he.destroy()})});let Ne=D.filter(R=>WY(R,l,c)),gt=new Map;qY(gt,this.driver,P,c,lo).forEach(R=>{WY(R,l,c)&&Ne.push(R)});let we=new Map;h.forEach((R,H)=>{qY(we,this.driver,new Set(R),l,vh)}),Ne.forEach(R=>{let H=gt.get(R),q=we.get(R);gt.set(R,new Map([...H?.entries()??[],...q?.entries()??[]]))});let se=[],re=[],Ie={};a.forEach(R=>{let{element:H,player:q,instruction:he}=R;if(i.has(H)){if(d.has(H)){q.onDestroy(()=>co(H,he.toStyles)),q.disabled=!0,q.overrideTotalTime(he.totalTime),r.push(q);return}let Qe=Ie;if(Me.size>1){let vt=H,at=[];for(;vt=vt.parentNode;){let ut=Me.get(vt);if(ut){Qe=ut;break}at.push(vt)}at.forEach(ut=>Me.set(ut,Qe))}let Je=this._buildAnimation(q.namespaceId,he,Fe,o,we,gt);if(q.setRealPlayer(Je),Qe===Ie)se.push(q);else{let vt=this.playersByElement.get(Qe);vt&&vt.length&&(q.parentPlayer=La(vt)),r.push(q)}}else Vs(H,he.fromStyles),q.onDestroy(()=>co(H,he.toStyles)),re.push(q),d.has(H)&&r.push(q)}),re.forEach(R=>{let H=o.get(R.element);if(H&&H.length){let q=La(H);R.setRealPlayer(q)}}),r.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R<D.length;R++){let H=D[R],q=H[uo];if(Su(H,Fv),q&&q.hasAnimation)continue;let he=[];if(s.size){let Je=s.get(H);Je&&Je.length&&he.push(...Je);let vt=this.driver.query(H,Ov,!0);for(let at=0;at<vt.length;at++){let ut=s.get(vt[at]);ut&&ut.length&&he.push(...ut)}}let Qe=he.filter(Je=>!Je.destroyed);Qe.length?rNe(this,H,Qe):this.processLeaveNode(H)}return D.length=0,se.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let H=this.players.indexOf(R);this.players.splice(H,1)}),R.play()}),se}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==Eh;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,m=$i(i,c,[]);this._getPreviousPlayers(c,d,a,s,e.toState).forEach(h=>{let p=h.getRealPlayer();p.beforeDestroy&&p.beforeDestroy(),h.destroy(),m.push(h)})}Vs(o,e.fromStyles)}_buildAnimation(n,e,i,r,o,a){let s=e.triggerName,l=e.element,c=[],d=new Set,m=new Set,f=e.timelines.map(p=>{let b=p.element;d.add(b);let D=b[uo];if(D&&D.removedBeforeQueried)return new Na(p.duration,p.delay);let E=b!==l,P=oNe((i.get(b)||JOe).map(Fe=>Fe.getRealPlayer())).filter(Fe=>{let Me=Fe;return Me.element?Me.element===b:!1}),G=o.get(b),ce=a.get(b),ie=UM(this._normalizer,p.keyframes,G,ce),Pe=this._buildPlayer(p,ie,P);if(p.subTimeline&&r&&m.add(b),E){let Fe=new Th(n,s,b);Fe.setRealPlayer(Pe),c.push(Fe)}return Pe});c.forEach(p=>{$i(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>tNe(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Pr(p,QM));let h=La(f);return h.onDestroy(()=>{d.forEach(p=>Su(p,QM)),co(l,e.toStyles)}),m.forEach(p=>{$i(r,p,[]).push(h)}),h}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new Na(n.duration,n.delay)}},Th=class{namespaceId;triggerName;element;_player=new Na;_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=>Av(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){$i(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 tNe(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 nNe(t){return t??null}function Bv(t){return t&&t.nodeType===1}function iNe(t){return t=="start"||t=="done"}function UY(t,n){let e=t.style.display;return t.style.display=n??"none",e}function qY(t,n,e,i,r){let o=[];e.forEach(l=>o.push(UY(l)));let a=[];i.forEach((l,c)=>{let d=new Map;l.forEach(m=>{let f=n.computeStyle(c,m,r);d.set(m,f),(!f||f.length==0)&&(c[uo]=eNe,a.push(c))}),t.set(c,d)});let s=0;return e.forEach(l=>UY(l,o[s++])),a}function GY(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 Pr(t,n){t.classList?.add(n)}function Su(t,n){t.classList?.remove(n)}function rNe(t,n,e){La(e).onDone(()=>t.processLeaveNode(n))}function oNe(t){let n=[];return JY(t,n),n}function JY(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof wu?JY(i.players,n):n.push(i)}}function aNe(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 WY(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 xu=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new mA(n.body,e,i),this._timelineEngine=new dA(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=KY(this._driver,o,l,c);if(l.length)throw wY(r,l);s=GOe(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]=qM(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]=qM(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 sNe(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=nA(n[0]),n.length>1&&(i=nA(n[n.length-1]))):n instanceof Map&&(e=nA(n)),e||i?new lNe(t,e,i):null}var lNe=(()=>{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&&co(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(co(this._element,this._initialStyles),this._endStyles&&(co(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Vs(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Vs(this._element,this._endStyles),this._endStyles=null),co(this._element,this._initialStyles),this._state=3)}}return t})();function nA(t){let n=null;return t.forEach((e,i)=>{cNe(i)&&(n=n||new Map,n.set(i,e))}),n}function cNe(t){return t==="display"||t==="position"}var Wv=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:Lv(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},Yv=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return GM(n,e)}getParentElement(n){return Pv(n)}query(n,e,i){return WM(n,e,i)}computeStyle(n,e,i){return Lv(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(h=>h instanceof Wv);NY(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((p,b)=>c.set(b,p))});let m=FY(e).map(h=>new Map(h));m=LY(n,m,c);let f=sNe(n,m);return new Wv(n,m,l,f)}};var zv="@",eK="@.disabled",Kv=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)==zv&&e==eK?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)}},fA=class extends Kv{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)==zv?e.charAt(1)=="."&&e==eK?(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)==zv){let o=dNe(n),a=e.slice(1),s="";return a.charAt(0)!=zv&&([a,s]=uNe(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 dNe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function uNe(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var Qv=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 m=()=>c.delete(r);d=new Kv("",r,this.engine,m),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 fA(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 fNe=(()=>{class t extends xu{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(ze(ke),ze(tc),ze(nc))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();function hNe(){return new $v}function pNe(t,n,e){return new Qv(t,n,e)}var tK=[{provide:nc,useFactory:hNe},{provide:xu,useClass:fNe},{provide:tn,useFactory:pNe,deps:[Am,xu,J]}],Oyt=[{provide:tc,useClass:hA},{provide:ns,useValue:"NoopAnimations"},...tK],gNe=[{provide:tc,useFactory:()=>new Yv},{provide:ns,useFactory:()=>"BrowserAnimations"},...tK];function nK(){return Eo("NgEagerAnimations"),[...gNe]}var iK={providers:[MC(),zD(),nK()]};function _Ne(){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 yNe(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 bNe(){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 vNe(t){return cr(this,null,function*(){try{let n=yield fetch(t,{mode:"cors"});return n.ok?yield n.text():null}catch{return null}})}Sv();_Ne();_E({providers:iK.providers}).then(t=>{let n=UO(Mv,{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),bNe();let s=this.shadowRoot;xv(s),yNe(s);let l=this.getAttribute("theme-src");l&&s&&vNe(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));
|