@agridea/suibi-module 0.1.0-preview.10

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.
Files changed (55) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +120 -0
  3. package/dist/elements/browser/main.js +67 -0
  4. package/dist/elements/browser/polyfills.js +1 -0
  5. package/dist/elements/browser/styles.css +1 -0
  6. package/dist/elements/browser/suibi-module-latest.css +1 -0
  7. package/dist/elements/browser/suibi-module-latest.js +67 -0
  8. package/dist/elements/browser/suibi-module.v0.1.0-preview.10.css +1 -0
  9. package/dist/elements/browser/suibi-module.v0.1.0-preview.10.js +67 -0
  10. package/dist/elements/browser/suibi-theme-dark.css +1 -0
  11. package/dist/elements/browser/version.txt +1 -0
  12. package/dist/types/app/app.config.d.ts +2 -0
  13. package/dist/types/app/app.d.ts +26 -0
  14. package/dist/types/app/core/data/naebi-data.service.d.ts +232 -0
  15. package/dist/types/app/core/i18n/i18n.service.d.ts +20 -0
  16. package/dist/types/app/core/i18n/locales/de.d.ts +2 -0
  17. package/dist/types/app/core/i18n/locales/en.d.ts +2 -0
  18. package/dist/types/app/core/master-data/master-data.service.d.ts +18 -0
  19. package/dist/types/app/core/navigation/navigation.service.d.ts +61 -0
  20. package/dist/types/app/core/schemas/index.d.ts +18 -0
  21. package/dist/types/app/core/schemas/schema-merge.util.d.ts +26 -0
  22. package/dist/types/app/core/schemas/ui-helper-registry.d.ts +16 -0
  23. package/dist/types/app/core/validation/ajv-custom.d.ts +15 -0
  24. package/dist/types/app/core/validation/capabilities.d.ts +18 -0
  25. package/dist/types/app/core/validation/error-formatter.d.ts +19 -0
  26. package/dist/types/app/core/validation/global-validation.service.d.ts +34 -0
  27. package/dist/types/app/core/validation/validation-errors-panel.d.ts +36 -0
  28. package/dist/types/app/data-preview.d.ts +7 -0
  29. package/dist/types/app/header-bar.d.ts +14 -0
  30. package/dist/types/app/jsonforms/constraints/constraint-resolvers.d.ts +50 -0
  31. package/dist/types/app/jsonforms/filters/code-list-filter-resolvers.d.ts +60 -0
  32. package/dist/types/app/jsonforms/registry/renderers.registry.d.ts +30 -0
  33. package/dist/types/app/jsonforms/renderers/controls/selects/animal-category/animal-category-select.renderer.d.ts +21 -0
  34. package/dist/types/app/jsonforms/renderers/controls/selects/code-list/code-list-select.renderer.d.ts +20 -0
  35. package/dist/types/app/jsonforms/renderers/layout/categorization/selected-category-categorization.renderer.d.ts +31 -0
  36. package/dist/types/app/jsonforms/renderers/layout/constraint/constraint-layout.renderer.d.ts +30 -0
  37. package/dist/types/app/jsonforms/renderers/layout/group/base-group.renderer.d.ts +29 -0
  38. package/dist/types/app/jsonforms/renderers/layout/group/card-group.renderer.d.ts +6 -0
  39. package/dist/types/app/jsonforms/renderers/layout/group/group-testers.d.ts +4 -0
  40. package/dist/types/app/jsonforms/renderers/layout/group/logical-group.renderer.d.ts +6 -0
  41. package/dist/types/app/jsonforms/renderers/layout/group/plain-group.renderer.d.ts +6 -0
  42. package/dist/types/app/jsonforms/shared/base-control/base-select-control.d.ts +16 -0
  43. package/dist/types/app/jsonforms/shared/option-sources/code-lists.d.ts +11 -0
  44. package/dist/types/app/jsonforms/shared/validation/field-error.service.d.ts +18 -0
  45. package/dist/types/app/nutrient-cycle/animal-stock/animal-stock-detail.component.d.ts +22 -0
  46. package/dist/types/app/nutrient-cycle/animal-stock/animal-stock-list.component.d.ts +21 -0
  47. package/dist/types/app/nutrient-cycle/animal-stock/animal-stock-master-detail.component.d.ts +25 -0
  48. package/dist/types/app/nutrient-cycle/animal-stock/animal-stock.types.d.ts +69 -0
  49. package/dist/types/app/nutrient-cycle/animal-stock/index.d.ts +4 -0
  50. package/dist/types/app/nutrient-cycle/lifetime-performance/lifetime-performance-form.component.d.ts +27 -0
  51. package/dist/types/app/nutrient-cycle/lifetime-performance/lifetime-performance.types.d.ts +5 -0
  52. package/dist/types/app/welcome-page.d.ts +4 -0
  53. package/dist/types/public-api.d.ts +4 -0
  54. package/dist/types/shared/material-icons.d.ts +16 -0
  55. package/package.json +90 -0
@@ -0,0 +1,67 @@
1
+ var NK=Object.create;var h0=Object.defineProperty,LK=Object.defineProperties,VK=Object.getOwnPropertyDescriptor,jK=Object.getOwnPropertyDescriptors,BK=Object.getOwnPropertyNames,zh=Object.getOwnPropertySymbols,zK=Object.getPrototypeOf,p0=Object.prototype.hasOwnProperty,BA=Object.prototype.propertyIsEnumerable;var jA=(t,n,e)=>n in t?h0(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,k=(t,n)=>{for(var e in n||={})p0.call(n,e)&&jA(t,e,n[e]);if(zh)for(var e of zh(n))BA.call(n,e)&&jA(t,e,n[e]);return t},de=(t,n)=>LK(t,jK(n));var zs=(t,n)=>{var e={};for(var i in t)p0.call(t,i)&&n.indexOf(i)<0&&(e[i]=t[i]);if(t!=null&&zh)for(var i of zh(t))n.indexOf(i)<0&&BA.call(t,i)&&(e[i]=t[i]);return e};var g=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var $K=(t,n,e,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of BK(n))!p0.call(t,r)&&r!==e&&h0(t,r,{get:()=>n[r],enumerable:!(i=VK(n,r))||i.enumerable});return t};var st=(t,n,e)=>(e=t!=null?NK(zK(t)):{},$K(n||!t||!t.__esModule?h0(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 tf=g((DZe,kL)=>{"use strict";var Fie=Object.prototype;function Oie(t){var n=t&&t.constructor,e=typeof n=="function"&&n.prototype||Fie;return t===e}kL.exports=Oie});var vS=g((EZe,ML)=>{"use strict";function Nie(t,n){return function(e){return t(n(e))}}ML.exports=Nie});var RL=g((SZe,AL)=>{"use strict";var Lie=vS(),Vie=Lie(Object.keys,Object);AL.exports=Vie});var q_=g((xZe,PL)=>{"use strict";var jie=tf(),Bie=RL(),zie=Object.prototype,$ie=zie.hasOwnProperty;function Hie(t){if(!jie(t))return Bie(t);var n=[];for(var e in Object(t))$ie.call(t,e)&&e!="constructor"&&n.push(e);return n}PL.exports=Hie});var CS=g((TZe,FL)=>{"use strict";var Uie=typeof global=="object"&&global&&global.Object===Object&&global;FL.exports=Uie});var wi=g((IZe,OL)=>{"use strict";var qie=CS(),Gie=typeof self=="object"&&self&&self.Object===Object&&self,Wie=qie||Gie||Function("return this")();OL.exports=Wie});var Fl=g((kZe,NL)=>{"use strict";var Yie=wi(),Kie=Yie.Symbol;NL.exports=Kie});var BL=g((MZe,jL)=>{"use strict";var LL=Fl(),VL=Object.prototype,Qie=VL.hasOwnProperty,Zie=VL.toString,nf=LL?LL.toStringTag:void 0;function Xie(t){var n=Qie.call(t,nf),e=t[nf];try{t[nf]=void 0;var i=!0}catch{}var r=Zie.call(t);return i&&(n?t[nf]=e:delete t[nf]),r}jL.exports=Xie});var $L=g((AZe,zL)=>{"use strict";var Jie=Object.prototype,ere=Jie.toString;function tre(t){return ere.call(t)}zL.exports=tre});var va=g((RZe,qL)=>{"use strict";var HL=Fl(),nre=BL(),ire=$L(),rre="[object Null]",ore="[object Undefined]",UL=HL?HL.toStringTag:void 0;function are(t){return t==null?t===void 0?ore:rre:UL&&UL in Object(t)?nre(t):ire(t)}qL.exports=are});var Xi=g((PZe,GL)=>{"use strict";function sre(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}GL.exports=sre});var ud=g((FZe,WL)=>{"use strict";var lre=va(),cre=Xi(),dre="[object AsyncFunction]",ure="[object Function]",mre="[object GeneratorFunction]",fre="[object Proxy]";function hre(t){if(!cre(t))return!1;var n=lre(t);return n==ure||n==mre||n==dre||n==fre}WL.exports=hre});var KL=g((OZe,YL)=>{"use strict";var pre=wi(),gre=pre["__core-js_shared__"];YL.exports=gre});var XL=g((NZe,ZL)=>{"use strict";var wS=KL(),QL=(function(){var t=/[^.]+$/.exec(wS&&wS.keys&&wS.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function _re(t){return!!QL&&QL in t}ZL.exports=_re});var DS=g((LZe,JL)=>{"use strict";var yre=Function.prototype,bre=yre.toString;function vre(t){if(t!=null){try{return bre.call(t)}catch{}try{return t+""}catch{}}return""}JL.exports=vre});var t2=g((VZe,e2)=>{"use strict";var Cre=ud(),wre=XL(),Dre=Xi(),Ere=DS(),Sre=/[\\^$.*+?()[\]{}|]/g,xre=/^\[object .+?Constructor\]$/,Tre=Function.prototype,Ire=Object.prototype,kre=Tre.toString,Mre=Ire.hasOwnProperty,Are=RegExp("^"+kre.call(Mre).replace(Sre,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Rre(t){if(!Dre(t)||wre(t))return!1;var n=Cre(t)?Are:xre;return n.test(Ere(t))}e2.exports=Rre});var i2=g((jZe,n2)=>{"use strict";function Pre(t,n){return t?.[n]}n2.exports=Pre});var ps=g((BZe,r2)=>{"use strict";var Fre=t2(),Ore=i2();function Nre(t,n){var e=Ore(t,n);return Fre(e)?e:void 0}r2.exports=Nre});var a2=g((zZe,o2)=>{"use strict";var Lre=ps(),Vre=wi(),jre=Lre(Vre,"DataView");o2.exports=jre});var G_=g(($Ze,s2)=>{"use strict";var Bre=ps(),zre=wi(),$re=Bre(zre,"Map");s2.exports=$re});var c2=g((HZe,l2)=>{"use strict";var Hre=ps(),Ure=wi(),qre=Hre(Ure,"Promise");l2.exports=qre});var u2=g((UZe,d2)=>{"use strict";var Gre=ps(),Wre=wi(),Yre=Gre(Wre,"Set");d2.exports=Yre});var ES=g((qZe,m2)=>{"use strict";var Kre=ps(),Qre=wi(),Zre=Kre(Qre,"WeakMap");m2.exports=Zre});var gs=g((GZe,b2)=>{"use strict";var SS=a2(),xS=G_(),TS=c2(),IS=u2(),kS=ES(),y2=va(),md=DS(),f2="[object Map]",Xre="[object Object]",h2="[object Promise]",p2="[object Set]",g2="[object WeakMap]",_2="[object DataView]",Jre=md(SS),eoe=md(xS),toe=md(TS),noe=md(IS),ioe=md(kS),Ol=y2;(SS&&Ol(new SS(new ArrayBuffer(1)))!=_2||xS&&Ol(new xS)!=f2||TS&&Ol(TS.resolve())!=h2||IS&&Ol(new IS)!=p2||kS&&Ol(new kS)!=g2)&&(Ol=function(t){var n=y2(t),e=n==Xre?t.constructor:void 0,i=e?md(e):"";if(i)switch(i){case Jre:return _2;case eoe:return f2;case toe:return h2;case noe:return p2;case ioe:return g2}return n});b2.exports=Ol});var Pi=g((WZe,v2)=>{"use strict";function roe(t){return t!=null&&typeof t=="object"}v2.exports=roe});var w2=g((YZe,C2)=>{"use strict";var ooe=va(),aoe=Pi(),soe="[object Arguments]";function loe(t){return aoe(t)&&ooe(t)==soe}C2.exports=loe});var fd=g((KZe,S2)=>{"use strict";var D2=w2(),coe=Pi(),E2=Object.prototype,doe=E2.hasOwnProperty,uoe=E2.propertyIsEnumerable,moe=D2((function(){return arguments})())?D2:function(t){return coe(t)&&doe.call(t,"callee")&&!uoe.call(t,"callee")};S2.exports=moe});var vn=g((QZe,x2)=>{"use strict";var foe=Array.isArray;x2.exports=foe});var W_=g((ZZe,T2)=>{"use strict";var hoe=9007199254740991;function poe(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=hoe}T2.exports=poe});var Ca=g((XZe,I2)=>{"use strict";var goe=ud(),_oe=W_();function yoe(t){return t!=null&&_oe(t.length)&&!goe(t)}I2.exports=yoe});var M2=g((JZe,k2)=>{"use strict";function boe(){return!1}k2.exports=boe});var pd=g((rf,hd)=>{"use strict";var voe=wi(),Coe=M2(),P2=typeof rf=="object"&&rf&&!rf.nodeType&&rf,A2=P2&&typeof hd=="object"&&hd&&!hd.nodeType&&hd,woe=A2&&A2.exports===P2,R2=woe?voe.Buffer:void 0,Doe=R2?R2.isBuffer:void 0,Eoe=Doe||Coe;hd.exports=Eoe});var O2=g((eXe,F2)=>{"use strict";var Soe=va(),xoe=W_(),Toe=Pi(),Ioe="[object Arguments]",koe="[object Array]",Moe="[object Boolean]",Aoe="[object Date]",Roe="[object Error]",Poe="[object Function]",Foe="[object Map]",Ooe="[object Number]",Noe="[object Object]",Loe="[object RegExp]",Voe="[object Set]",joe="[object String]",Boe="[object WeakMap]",zoe="[object ArrayBuffer]",$oe="[object DataView]",Hoe="[object Float32Array]",Uoe="[object Float64Array]",qoe="[object Int8Array]",Goe="[object Int16Array]",Woe="[object Int32Array]",Yoe="[object Uint8Array]",Koe="[object Uint8ClampedArray]",Qoe="[object Uint16Array]",Zoe="[object Uint32Array]",rn={};rn[Hoe]=rn[Uoe]=rn[qoe]=rn[Goe]=rn[Woe]=rn[Yoe]=rn[Koe]=rn[Qoe]=rn[Zoe]=!0;rn[Ioe]=rn[koe]=rn[zoe]=rn[Moe]=rn[$oe]=rn[Aoe]=rn[Roe]=rn[Poe]=rn[Foe]=rn[Ooe]=rn[Noe]=rn[Loe]=rn[Voe]=rn[joe]=rn[Boe]=!1;function Xoe(t){return Toe(t)&&xoe(t.length)&&!!rn[Soe(t)]}F2.exports=Xoe});var Y_=g((tXe,N2)=>{"use strict";function Joe(t){return function(n){return t(n)}}N2.exports=Joe});var K_=g((of,gd)=>{"use strict";var eae=CS(),L2=typeof of=="object"&&of&&!of.nodeType&&of,af=L2&&typeof gd=="object"&&gd&&!gd.nodeType&&gd,tae=af&&af.exports===L2,MS=tae&&eae.process,nae=(function(){try{var t=af&&af.require&&af.require("util").types;return t||MS&&MS.binding&&MS.binding("util")}catch{}})();gd.exports=nae});var sf=g((nXe,B2)=>{"use strict";var iae=O2(),rae=Y_(),V2=K_(),j2=V2&&V2.isTypedArray,oae=j2?rae(j2):iae;B2.exports=oae});var AS=g((iXe,z2)=>{"use strict";var aae=q_(),sae=gs(),lae=fd(),cae=vn(),dae=Ca(),uae=pd(),mae=tf(),fae=sf(),hae="[object Map]",pae="[object Set]",gae=Object.prototype,_ae=gae.hasOwnProperty;function yae(t){if(t==null)return!0;if(dae(t)&&(cae(t)||typeof t=="string"||typeof t.splice=="function"||uae(t)||fae(t)||lae(t)))return!t.length;var n=sae(t);if(n==hae||n==pae)return!t.size;if(mae(t))return!aae(t).length;for(var e in t)if(_ae.call(t,e))return!1;return!0}z2.exports=yae});var RS=g((rXe,$2)=>{"use strict";function bae(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}$2.exports=bae});var U2=g((oXe,H2)=>{"use strict";function vae(t){return function(n){return t?.[n]}}H2.exports=vae});var G2=g((aXe,q2)=>{"use strict";var Cae=U2(),wae={\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"},Dae=Cae(wae);q2.exports=Dae});var lf=g((sXe,W2)=>{"use strict";function Eae(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}W2.exports=Eae});var Nl=g((lXe,Y2)=>{"use strict";var Sae=va(),xae=Pi(),Tae="[object Symbol]";function Iae(t){return typeof t=="symbol"||xae(t)&&Sae(t)==Tae}Y2.exports=Iae});var PS=g((cXe,J2)=>{"use strict";var K2=Fl(),kae=lf(),Mae=vn(),Aae=Nl(),Rae=1/0,Q2=K2?K2.prototype:void 0,Z2=Q2?Q2.toString:void 0;function X2(t){if(typeof t=="string")return t;if(Mae(t))return kae(t,X2)+"";if(Aae(t))return Z2?Z2.call(t):"";var n=t+"";return n=="0"&&1/t==-Rae?"-0":n}J2.exports=X2});var Ll=g((dXe,eV)=>{"use strict";var Pae=PS();function Fae(t){return t==null?"":Pae(t)}eV.exports=Fae});var nV=g((uXe,tV)=>{"use strict";var Oae=G2(),Nae=Ll(),Lae=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Vae="\\u0300-\\u036f",jae="\\ufe20-\\ufe2f",Bae="\\u20d0-\\u20ff",zae=Vae+jae+Bae,$ae="["+zae+"]",Hae=RegExp($ae,"g");function Uae(t){return t=Nae(t),t&&t.replace(Lae,Oae).replace(Hae,"")}tV.exports=Uae});var rV=g((mXe,iV)=>{"use strict";var qae=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Gae(t){return t.match(qae)||[]}iV.exports=Gae});var aV=g((fXe,oV)=>{"use strict";var Wae=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Yae(t){return Wae.test(t)}oV.exports=Yae});var SV=g((hXe,EV)=>{"use strict";var uV="\\ud800-\\udfff",Kae="\\u0300-\\u036f",Qae="\\ufe20-\\ufe2f",Zae="\\u20d0-\\u20ff",Xae=Kae+Qae+Zae,mV="\\u2700-\\u27bf",fV="a-z\\xdf-\\xf6\\xf8-\\xff",Jae="\\xac\\xb1\\xd7\\xf7",ese="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",tse="\\u2000-\\u206f",nse=" \\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",hV="A-Z\\xc0-\\xd6\\xd8-\\xde",ise="\\ufe0e\\ufe0f",pV=Jae+ese+tse+nse,gV="['\u2019]",sV="["+pV+"]",rse="["+Xae+"]",_V="\\d+",ose="["+mV+"]",yV="["+fV+"]",bV="[^"+uV+pV+_V+mV+fV+hV+"]",ase="\\ud83c[\\udffb-\\udfff]",sse="(?:"+rse+"|"+ase+")",lse="[^"+uV+"]",vV="(?:\\ud83c[\\udde6-\\uddff]){2}",CV="[\\ud800-\\udbff][\\udc00-\\udfff]",_d="["+hV+"]",cse="\\u200d",lV="(?:"+yV+"|"+bV+")",dse="(?:"+_d+"|"+bV+")",cV="(?:"+gV+"(?:d|ll|m|re|s|t|ve))?",dV="(?:"+gV+"(?:D|LL|M|RE|S|T|VE))?",wV=sse+"?",DV="["+ise+"]?",use="(?:"+cse+"(?:"+[lse,vV,CV].join("|")+")"+DV+wV+")*",mse="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fse="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",hse=DV+wV+use,pse="(?:"+[ose,vV,CV].join("|")+")"+hse,gse=RegExp([_d+"?"+yV+"+"+cV+"(?="+[sV,_d,"$"].join("|")+")",dse+"+"+dV+"(?="+[sV,_d+lV,"$"].join("|")+")",_d+"?"+lV+"+"+cV,_d+"+"+dV,fse,mse,_V,pse].join("|"),"g");function _se(t){return t.match(gse)||[]}EV.exports=_se});var TV=g((pXe,xV)=>{"use strict";var yse=rV(),bse=aV(),vse=Ll(),Cse=SV();function wse(t,n,e){return t=vse(t),n=e?void 0:n,n===void 0?bse(t)?Cse(t):yse(t):t.match(n)||[]}xV.exports=wse});var kV=g((gXe,IV)=>{"use strict";var Dse=RS(),Ese=nV(),Sse=TV(),xse="['\u2019]",Tse=RegExp(xse,"g");function Ise(t){return function(n){return Dse(Sse(Ese(n).replace(Tse,"")),t,"")}}IV.exports=Ise});var FS=g((_Xe,MV)=>{"use strict";function kse(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}MV.exports=kse});var RV=g((yXe,AV)=>{"use strict";var Mse=FS();function Ase(t,n,e){var i=t.length;return e=e===void 0?i:e,!n&&e>=i?t:Mse(t,n,e)}AV.exports=Ase});var OS=g((bXe,PV)=>{"use strict";var Rse="\\ud800-\\udfff",Pse="\\u0300-\\u036f",Fse="\\ufe20-\\ufe2f",Ose="\\u20d0-\\u20ff",Nse=Pse+Fse+Ose,Lse="\\ufe0e\\ufe0f",Vse="\\u200d",jse=RegExp("["+Vse+Rse+Nse+Lse+"]");function Bse(t){return jse.test(t)}PV.exports=Bse});var OV=g((vXe,FV)=>{"use strict";function zse(t){return t.split("")}FV.exports=zse});var HV=g((CXe,$V)=>{"use strict";var NV="\\ud800-\\udfff",$se="\\u0300-\\u036f",Hse="\\ufe20-\\ufe2f",Use="\\u20d0-\\u20ff",qse=$se+Hse+Use,Gse="\\ufe0e\\ufe0f",Wse="["+NV+"]",NS="["+qse+"]",LS="\\ud83c[\\udffb-\\udfff]",Yse="(?:"+NS+"|"+LS+")",LV="[^"+NV+"]",VV="(?:\\ud83c[\\udde6-\\uddff]){2}",jV="[\\ud800-\\udbff][\\udc00-\\udfff]",Kse="\\u200d",BV=Yse+"?",zV="["+Gse+"]?",Qse="(?:"+Kse+"(?:"+[LV,VV,jV].join("|")+")"+zV+BV+")*",Zse=zV+BV+Qse,Xse="(?:"+[LV+NS+"?",NS,VV,jV,Wse].join("|")+")",Jse=RegExp(LS+"(?="+LS+")|"+Xse+Zse,"g");function ele(t){return t.match(Jse)||[]}$V.exports=ele});var qV=g((wXe,UV)=>{"use strict";var tle=OV(),nle=OS(),ile=HV();function rle(t){return nle(t)?ile(t):tle(t)}UV.exports=rle});var WV=g((DXe,GV)=>{"use strict";var ole=RV(),ale=OS(),sle=qV(),lle=Ll();function cle(t){return function(n){n=lle(n);var e=ale(n)?sle(n):void 0,i=e?e[0]:n.charAt(0),r=e?ole(e,1).join(""):n.slice(1);return i[t]()+r}}GV.exports=cle});var KV=g((EXe,YV)=>{"use strict";var dle=WV(),ule=dle("toUpperCase");YV.exports=ule});var VS=g((SXe,QV)=>{"use strict";var mle=kV(),fle=KV(),hle=mle(function(t,n,e){return t+(e?" ":"")+fle(n)});QV.exports=hle});var XV=g((xXe,ZV)=>{"use strict";function ple(t,n){for(var e=-1,i=Array(t);++e<t;)i[e]=n(e);return i}ZV.exports=ple});var Vl=g((TXe,JV)=>{"use strict";var gle=9007199254740991,_le=/^(?:0|[1-9]\d*)$/;function yle(t,n){var e=typeof t;return n=n??gle,!!n&&(e=="number"||e!="symbol"&&_le.test(t))&&t>-1&&t%1==0&&t<n}JV.exports=yle});var jS=g((IXe,ej)=>{"use strict";var ble=XV(),vle=fd(),Cle=vn(),wle=pd(),Dle=Vl(),Ele=sf(),Sle=Object.prototype,xle=Sle.hasOwnProperty;function Tle(t,n){var e=Cle(t),i=!e&&vle(t),r=!e&&!i&&wle(t),o=!e&&!i&&!r&&Ele(t),a=e||i||r||o,s=a?ble(t.length,String):[],l=s.length;for(var c in t)(n||xle.call(t,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Dle(c,l)))&&s.push(c);return s}ej.exports=Tle});var Ro=g((kXe,tj)=>{"use strict";var Ile=jS(),kle=q_(),Mle=Ca();function Ale(t){return Mle(t)?Ile(t):kle(t)}tj.exports=Ale});var ij=g((MXe,nj)=>{"use strict";var Rle=Math.ceil,Ple=Math.max;function Fle(t,n,e,i){for(var r=-1,o=Ple(Rle((n-t)/(e||1)),0),a=Array(o);o--;)a[i?o:++r]=t,t+=e;return a}nj.exports=Fle});var yd=g((AXe,rj)=>{"use strict";function Ole(t,n){return t===n||t!==t&&n!==n}rj.exports=Ole});var Q_=g((RXe,oj)=>{"use strict";var Nle=yd(),Lle=Ca(),Vle=Vl(),jle=Xi();function Ble(t,n,e){if(!jle(e))return!1;var i=typeof n;return(i=="number"?Lle(e)&&Vle(n,e.length):i=="string"&&n in e)?Nle(e[n],t):!1}oj.exports=Ble});var sj=g((PXe,aj)=>{"use strict";var zle=/\s/;function $le(t){for(var n=t.length;n--&&zle.test(t.charAt(n)););return n}aj.exports=$le});var cj=g((FXe,lj)=>{"use strict";var Hle=sj(),Ule=/^\s+/;function qle(t){return t&&t.slice(0,Hle(t)+1).replace(Ule,"")}lj.exports=qle});var fj=g((OXe,mj)=>{"use strict";var Gle=cj(),dj=Xi(),Wle=Nl(),uj=NaN,Yle=/^[-+]0x[0-9a-f]+$/i,Kle=/^0b[01]+$/i,Qle=/^0o[0-7]+$/i,Zle=parseInt;function Xle(t){if(typeof t=="number")return t;if(Wle(t))return uj;if(dj(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=dj(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=Gle(t);var e=Kle.test(t);return e||Qle.test(t)?Zle(t.slice(2),e?2:8):Yle.test(t)?uj:+t}mj.exports=Xle});var BS=g((NXe,pj)=>{"use strict";var Jle=fj(),hj=1/0,ece=17976931348623157e292;function tce(t){if(!t)return t===0?t:0;if(t=Jle(t),t===hj||t===-hj){var n=t<0?-1:1;return n*ece}return t===t?t:0}pj.exports=tce});var _j=g((LXe,gj)=>{"use strict";var nce=ij(),ice=Q_(),zS=BS();function rce(t){return function(n,e,i){return i&&typeof i!="number"&&ice(n,e,i)&&(e=i=void 0),n=zS(n),e===void 0?(e=n,n=0):e=zS(e),i=i===void 0?n<e?1:-1:zS(i),nce(n,e,i,t)}}gj.exports=rce});var bj=g((VXe,yj)=>{"use strict";var oce=_j(),ace=oce();yj.exports=ace});var Z_=g((jXe,vj)=>{"use strict";var sce=vn(),lce=Nl(),cce=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dce=/^\w*$/;function uce(t,n){if(sce(t))return!1;var e=typeof t;return e=="number"||e=="symbol"||e=="boolean"||t==null||lce(t)?!0:dce.test(t)||!cce.test(t)||n!=null&&t in Object(n)}vj.exports=uce});var cf=g((BXe,Cj)=>{"use strict";var mce=ps(),fce=mce(Object,"create");Cj.exports=fce});var Ej=g((zXe,Dj)=>{"use strict";var wj=cf();function hce(){this.__data__=wj?wj(null):{},this.size=0}Dj.exports=hce});var xj=g(($Xe,Sj)=>{"use strict";function pce(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}Sj.exports=pce});var Ij=g((HXe,Tj)=>{"use strict";var gce=cf(),_ce="__lodash_hash_undefined__",yce=Object.prototype,bce=yce.hasOwnProperty;function vce(t){var n=this.__data__;if(gce){var e=n[t];return e===_ce?void 0:e}return bce.call(n,t)?n[t]:void 0}Tj.exports=vce});var Mj=g((UXe,kj)=>{"use strict";var Cce=cf(),wce=Object.prototype,Dce=wce.hasOwnProperty;function Ece(t){var n=this.__data__;return Cce?n[t]!==void 0:Dce.call(n,t)}kj.exports=Ece});var Rj=g((qXe,Aj)=>{"use strict";var Sce=cf(),xce="__lodash_hash_undefined__";function Tce(t,n){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Sce&&n===void 0?xce:n,this}Aj.exports=Tce});var Fj=g((GXe,Pj)=>{"use strict";var Ice=Ej(),kce=xj(),Mce=Ij(),Ace=Mj(),Rce=Rj();function bd(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])}}bd.prototype.clear=Ice;bd.prototype.delete=kce;bd.prototype.get=Mce;bd.prototype.has=Ace;bd.prototype.set=Rce;Pj.exports=bd});var Nj=g((WXe,Oj)=>{"use strict";function Pce(){this.__data__=[],this.size=0}Oj.exports=Pce});var df=g((YXe,Lj)=>{"use strict";var Fce=yd();function Oce(t,n){for(var e=t.length;e--;)if(Fce(t[e][0],n))return e;return-1}Lj.exports=Oce});var jj=g((KXe,Vj)=>{"use strict";var Nce=df(),Lce=Array.prototype,Vce=Lce.splice;function jce(t){var n=this.__data__,e=Nce(n,t);if(e<0)return!1;var i=n.length-1;return e==i?n.pop():Vce.call(n,e,1),--this.size,!0}Vj.exports=jce});var zj=g((QXe,Bj)=>{"use strict";var Bce=df();function zce(t){var n=this.__data__,e=Bce(n,t);return e<0?void 0:n[e][1]}Bj.exports=zce});var Hj=g((ZXe,$j)=>{"use strict";var $ce=df();function Hce(t){return $ce(this.__data__,t)>-1}$j.exports=Hce});var qj=g((XXe,Uj)=>{"use strict";var Uce=df();function qce(t,n){var e=this.__data__,i=Uce(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}Uj.exports=qce});var uf=g((JXe,Gj)=>{"use strict";var Gce=Nj(),Wce=jj(),Yce=zj(),Kce=Hj(),Qce=qj();function vd(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])}}vd.prototype.clear=Gce;vd.prototype.delete=Wce;vd.prototype.get=Yce;vd.prototype.has=Kce;vd.prototype.set=Qce;Gj.exports=vd});var Kj=g((eJe,Yj)=>{"use strict";var Wj=Fj(),Zce=uf(),Xce=G_();function Jce(){this.size=0,this.__data__={hash:new Wj,map:new(Xce||Zce),string:new Wj}}Yj.exports=Jce});var Zj=g((tJe,Qj)=>{"use strict";function ede(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}Qj.exports=ede});var mf=g((nJe,Xj)=>{"use strict";var tde=Zj();function nde(t,n){var e=t.__data__;return tde(n)?e[typeof n=="string"?"string":"hash"]:e.map}Xj.exports=nde});var eB=g((iJe,Jj)=>{"use strict";var ide=mf();function rde(t){var n=ide(this,t).delete(t);return this.size-=n?1:0,n}Jj.exports=rde});var nB=g((rJe,tB)=>{"use strict";var ode=mf();function ade(t){return ode(this,t).get(t)}tB.exports=ade});var rB=g((oJe,iB)=>{"use strict";var sde=mf();function lde(t){return sde(this,t).has(t)}iB.exports=lde});var aB=g((aJe,oB)=>{"use strict";var cde=mf();function dde(t,n){var e=cde(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}oB.exports=dde});var X_=g((sJe,sB)=>{"use strict";var ude=Kj(),mde=eB(),fde=nB(),hde=rB(),pde=aB();function Cd(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])}}Cd.prototype.clear=ude;Cd.prototype.delete=mde;Cd.prototype.get=fde;Cd.prototype.has=hde;Cd.prototype.set=pde;sB.exports=Cd});var dB=g((lJe,cB)=>{"use strict";var lB=X_(),gde="Expected a function";function $S(t,n){if(typeof t!="function"||n!=null&&typeof n!="function")throw new TypeError(gde);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($S.Cache||lB),e}$S.Cache=lB;cB.exports=$S});var mB=g((cJe,uB)=>{"use strict";var _de=dB(),yde=500;function bde(t){var n=_de(t,function(i){return e.size===yde&&e.clear(),i}),e=n.cache;return n}uB.exports=bde});var HS=g((dJe,fB)=>{"use strict";var vde=mB(),Cde=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wde=/\\(\\)?/g,Dde=vde(function(t){var n=[];return t.charCodeAt(0)===46&&n.push(""),t.replace(Cde,function(e,i,r,o){n.push(r?o.replace(wde,"$1"):i||e)}),n});fB.exports=Dde});var ff=g((uJe,hB)=>{"use strict";var Ede=vn(),Sde=Z_(),xde=HS(),Tde=Ll();function Ide(t,n){return Ede(t)?t:Sde(t,n)?[t]:xde(Tde(t))}hB.exports=Ide});var _s=g((mJe,pB)=>{"use strict";var kde=Nl(),Mde=1/0;function Ade(t){if(typeof t=="string"||kde(t))return t;var n=t+"";return n=="0"&&1/t==-Mde?"-0":n}pB.exports=Ade});var J_=g((fJe,gB)=>{"use strict";var Rde=ff(),Pde=_s();function Fde(t,n){n=Rde(n,t);for(var e=0,i=n.length;t!=null&&e<i;)t=t[Pde(n[e++])];return e&&e==i?t:void 0}gB.exports=Fde});var hf=g((hJe,_B)=>{"use strict";var Ode=J_();function Nde(t,n,e){var i=t==null?void 0:Ode(t,n);return i===void 0?e:i}_B.exports=Nde});var bB=g((pJe,yB)=>{"use strict";var Lde=Object.prototype,Vde=Lde.hasOwnProperty;function jde(t,n){return t!=null&&Vde.call(t,n)}yB.exports=jde});var US=g((gJe,vB)=>{"use strict";var Bde=ff(),zde=fd(),$de=vn(),Hde=Vl(),Ude=W_(),qde=_s();function Gde(t,n,e){n=Bde(n,t);for(var i=-1,r=n.length,o=!1;++i<r;){var a=qde(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&&Ude(r)&&Hde(a,r)&&($de(t)||zde(t)))}vB.exports=Gde});var wB=g((_Je,CB)=>{"use strict";var Wde=bB(),Yde=US();function Kde(t,n){return t!=null&&Yde(t,n,Wde)}CB.exports=Kde});var EB=g((yJe,DB)=>{"use strict";var Qde=uf();function Zde(){this.__data__=new Qde,this.size=0}DB.exports=Zde});var xB=g((bJe,SB)=>{"use strict";function Xde(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}SB.exports=Xde});var IB=g((vJe,TB)=>{"use strict";function Jde(t){return this.__data__.get(t)}TB.exports=Jde});var MB=g((CJe,kB)=>{"use strict";function eue(t){return this.__data__.has(t)}kB.exports=eue});var RB=g((wJe,AB)=>{"use strict";var tue=uf(),nue=G_(),iue=X_(),rue=200;function oue(t,n){var e=this.__data__;if(e instanceof tue){var i=e.__data__;if(!nue||i.length<rue-1)return i.push([t,n]),this.size=++e.size,this;e=this.__data__=new iue(i)}return e.set(t,n),this.size=e.size,this}AB.exports=oue});var pf=g((DJe,PB)=>{"use strict";var aue=uf(),sue=EB(),lue=xB(),cue=IB(),due=MB(),uue=RB();function wd(t){var n=this.__data__=new aue(t);this.size=n.size}wd.prototype.clear=sue;wd.prototype.delete=lue;wd.prototype.get=cue;wd.prototype.has=due;wd.prototype.set=uue;PB.exports=wd});var OB=g((EJe,FB)=>{"use strict";var mue="__lodash_hash_undefined__";function fue(t){return this.__data__.set(t,mue),this}FB.exports=fue});var LB=g((SJe,NB)=>{"use strict";function hue(t){return this.__data__.has(t)}NB.exports=hue});var jB=g((xJe,VB)=>{"use strict";var pue=X_(),gue=OB(),_ue=LB();function ey(t){var n=-1,e=t==null?0:t.length;for(this.__data__=new pue;++n<e;)this.add(t[n])}ey.prototype.add=ey.prototype.push=gue;ey.prototype.has=_ue;VB.exports=ey});var qS=g((TJe,BB)=>{"use strict";function yue(t,n){for(var e=-1,i=t==null?0:t.length;++e<i;)if(n(t[e],e,t))return!0;return!1}BB.exports=yue});var $B=g((IJe,zB)=>{"use strict";function bue(t,n){return t.has(n)}zB.exports=bue});var GS=g((kJe,HB)=>{"use strict";var vue=jB(),Cue=qS(),wue=$B(),Due=1,Eue=2;function Sue(t,n,e,i,r,o){var a=e&Due,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&Eue?new vue: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(!Cue(n,function(E,P){if(!wue(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}HB.exports=Sue});var WS=g((MJe,UB)=>{"use strict";var xue=wi(),Tue=xue.Uint8Array;UB.exports=Tue});var YS=g((AJe,qB)=>{"use strict";function Iue(t){var n=-1,e=Array(t.size);return t.forEach(function(i,r){e[++n]=[r,i]}),e}qB.exports=Iue});var WB=g((RJe,GB)=>{"use strict";function kue(t){var n=-1,e=Array(t.size);return t.forEach(function(i){e[++n]=i}),e}GB.exports=kue});var XB=g((PJe,ZB)=>{"use strict";var YB=Fl(),KB=WS(),Mue=yd(),Aue=GS(),Rue=YS(),Pue=WB(),Fue=1,Oue=2,Nue="[object Boolean]",Lue="[object Date]",Vue="[object Error]",jue="[object Map]",Bue="[object Number]",zue="[object RegExp]",$ue="[object Set]",Hue="[object String]",Uue="[object Symbol]",que="[object ArrayBuffer]",Gue="[object DataView]",QB=YB?YB.prototype:void 0,KS=QB?QB.valueOf:void 0;function Wue(t,n,e,i,r,o,a){switch(e){case Gue:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case que:return!(t.byteLength!=n.byteLength||!o(new KB(t),new KB(n)));case Nue:case Lue:case Bue:return Mue(+t,+n);case Vue:return t.name==n.name&&t.message==n.message;case zue:case Hue:return t==n+"";case jue:var s=Rue;case $ue:var l=i&Fue;if(s||(s=Pue),t.size!=n.size&&!l)return!1;var c=a.get(t);if(c)return c==n;i|=Oue,a.set(t,n);var d=Aue(s(t),s(n),i,r,o,a);return a.delete(t),d;case Uue:if(KS)return KS.call(t)==KS.call(n)}return!1}ZB.exports=Wue});var ty=g((FJe,JB)=>{"use strict";function Yue(t,n){for(var e=-1,i=n.length,r=t.length;++e<i;)t[r+e]=n[e];return t}JB.exports=Yue});var QS=g((OJe,ez)=>{"use strict";var Kue=ty(),Que=vn();function Zue(t,n,e){var i=n(t);return Que(t)?i:Kue(i,e(t))}ez.exports=Zue});var ZS=g((NJe,tz)=>{"use strict";function Xue(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}tz.exports=Xue});var XS=g((LJe,nz)=>{"use strict";function Jue(){return[]}nz.exports=Jue});var ny=g((VJe,rz)=>{"use strict";var eme=ZS(),tme=XS(),nme=Object.prototype,ime=nme.propertyIsEnumerable,iz=Object.getOwnPropertySymbols,rme=iz?function(t){return t==null?[]:(t=Object(t),eme(iz(t),function(n){return ime.call(t,n)}))}:tme;rz.exports=rme});var JS=g((jJe,oz)=>{"use strict";var ome=QS(),ame=ny(),sme=Ro();function lme(t){return ome(t,sme,ame)}oz.exports=lme});var lz=g((BJe,sz)=>{"use strict";var az=JS(),cme=1,dme=Object.prototype,ume=dme.hasOwnProperty;function mme(t,n,e,i,r,o){var a=e&cme,s=az(t),l=s.length,c=az(n),d=c.length;if(l!=d&&!a)return!1;for(var m=l;m--;){var f=s[m];if(!(a?f in n:ume.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 Y=a?i(P,E,f,n,t,o):i(E,P,f,t,n,o);if(!(Y===void 0?E===P||r(E,P,e,i,o):Y)){b=!1;break}D||(D=f=="constructor")}if(b&&!D){var ce=t.constructor,re=n.constructor;ce!=re&&"constructor"in t&&"constructor"in n&&!(typeof ce=="function"&&ce instanceof ce&&typeof re=="function"&&re instanceof re)&&(b=!1)}return o.delete(t),o.delete(n),b}sz.exports=mme});var gz=g((zJe,pz)=>{"use strict";var ex=pf(),fme=GS(),hme=XB(),pme=lz(),cz=gs(),dz=vn(),uz=pd(),gme=sf(),_me=1,mz="[object Arguments]",fz="[object Array]",iy="[object Object]",yme=Object.prototype,hz=yme.hasOwnProperty;function bme(t,n,e,i,r,o){var a=dz(t),s=dz(n),l=a?fz:cz(t),c=s?fz:cz(n);l=l==mz?iy:l,c=c==mz?iy:c;var d=l==iy,m=c==iy,f=l==c;if(f&&uz(t)){if(!uz(n))return!1;a=!0,d=!1}if(f&&!d)return o||(o=new ex),a||gme(t)?fme(t,n,e,i,r,o):hme(t,n,l,e,i,r,o);if(!(e&_me)){var h=d&&hz.call(t,"__wrapped__"),p=m&&hz.call(n,"__wrapped__");if(h||p){var b=h?t.value():t,D=p?n.value():n;return o||(o=new ex),r(b,D,e,i,o)}}return f?(o||(o=new ex),pme(t,n,e,i,r,o)):!1}pz.exports=bme});var ry=g(($Je,bz)=>{"use strict";var vme=gz(),_z=Pi();function yz(t,n,e,i,r){return t===n?!0:t==null||n==null||!_z(t)&&!_z(n)?t!==t&&n!==n:vme(t,n,e,i,yz,r)}bz.exports=yz});var Cz=g((HJe,vz)=>{"use strict";var Cme=pf(),wme=ry(),Dme=1,Eme=2;function Sme(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 Cme;if(i)var f=i(c,d,l,t,n,m);if(!(f===void 0?wme(d,c,Dme|Eme,i,m):f))return!1}}return!0}vz.exports=Sme});var tx=g((UJe,wz)=>{"use strict";var xme=Xi();function Tme(t){return t===t&&!xme(t)}wz.exports=Tme});var Ez=g((qJe,Dz)=>{"use strict";var Ime=tx(),kme=Ro();function Mme(t){for(var n=kme(t),e=n.length;e--;){var i=n[e],r=t[i];n[e]=[i,r,Ime(r)]}return n}Dz.exports=Mme});var nx=g((GJe,Sz)=>{"use strict";function Ame(t,n){return function(e){return e==null?!1:e[t]===n&&(n!==void 0||t in Object(e))}}Sz.exports=Ame});var Tz=g((WJe,xz)=>{"use strict";var Rme=Cz(),Pme=Ez(),Fme=nx();function Ome(t){var n=Pme(t);return n.length==1&&n[0][2]?Fme(n[0][0],n[0][1]):function(e){return e===t||Rme(e,t,n)}}xz.exports=Ome});var kz=g((YJe,Iz)=>{"use strict";function Nme(t,n){return t!=null&&n in Object(t)}Iz.exports=Nme});var Az=g((KJe,Mz)=>{"use strict";var Lme=kz(),Vme=US();function jme(t,n){return t!=null&&Vme(t,n,Lme)}Mz.exports=jme});var Pz=g((QJe,Rz)=>{"use strict";var Bme=ry(),zme=hf(),$me=Az(),Hme=Z_(),Ume=tx(),qme=nx(),Gme=_s(),Wme=1,Yme=2;function Kme(t,n){return Hme(t)&&Ume(n)?qme(Gme(t),n):function(e){var i=zme(e,t);return i===void 0&&i===n?$me(e,t):Bme(n,i,Wme|Yme)}}Rz.exports=Kme});var gf=g((ZJe,Fz)=>{"use strict";function Qme(t){return t}Fz.exports=Qme});var Nz=g((XJe,Oz)=>{"use strict";function Zme(t){return function(n){return n?.[t]}}Oz.exports=Zme});var Vz=g((JJe,Lz)=>{"use strict";var Xme=J_();function Jme(t){return function(n){return Xme(n,t)}}Lz.exports=Jme});var Bz=g((eet,jz)=>{"use strict";var efe=Nz(),tfe=Vz(),nfe=Z_(),ife=_s();function rfe(t){return nfe(t)?efe(ife(t)):tfe(t)}jz.exports=rfe});var wa=g((tet,zz)=>{"use strict";var ofe=Tz(),afe=Pz(),sfe=gf(),lfe=vn(),cfe=Bz();function dfe(t){return typeof t=="function"?t:t==null?sfe:typeof t=="object"?lfe(t)?afe(t[0],t[1]):ofe(t):cfe(t)}zz.exports=dfe});var Hz=g((net,$z)=>{"use strict";var ufe=wa(),mfe=Ca(),ffe=Ro();function hfe(t){return function(n,e,i){var r=Object(n);if(!mfe(n)){var o=ufe(e,3);n=ffe(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}}$z.exports=hfe});var ix=g((iet,Uz)=>{"use strict";function pfe(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}Uz.exports=pfe});var Dd=g((ret,qz)=>{"use strict";var gfe=BS();function _fe(t){var n=gfe(t),e=n%1;return n===n?e?n-e:n:0}qz.exports=_fe});var Wz=g((oet,Gz)=>{"use strict";var yfe=ix(),bfe=wa(),vfe=Dd(),Cfe=Math.max;function wfe(t,n,e){var i=t==null?0:t.length;if(!i)return-1;var r=e==null?0:vfe(e);return r<0&&(r=Cfe(i+r,0)),yfe(t,bfe(n,3),r)}Gz.exports=wfe});var Kz=g((aet,Yz)=>{"use strict";var Dfe=Hz(),Efe=Wz(),Sfe=Dfe(Efe);Yz.exports=Sfe});var Zz=g((set,Qz)=>{"use strict";function xfe(t){return t!==t}Qz.exports=xfe});var Jz=g((cet,Xz)=>{"use strict";function Tfe(t,n,e){for(var i=e-1,r=t.length;++i<r;)if(t[i]===n)return i;return-1}Xz.exports=Tfe});var rx=g((det,e$)=>{"use strict";var Ife=ix(),kfe=Zz(),Mfe=Jz();function Afe(t,n,e){return n===n?Mfe(t,n,e):Ife(t,kfe,e)}e$.exports=Afe});var n$=g((uet,t$)=>{"use strict";var Rfe=va(),Pfe=vn(),Ffe=Pi(),Ofe="[object String]";function Nfe(t){return typeof t=="string"||!Pfe(t)&&Ffe(t)&&Rfe(t)==Ofe}t$.exports=Nfe});var r$=g((met,i$)=>{"use strict";var Lfe=lf();function Vfe(t,n){return Lfe(n,function(e){return t[e]})}i$.exports=Vfe});var a$=g((fet,o$)=>{"use strict";var jfe=r$(),Bfe=Ro();function zfe(t){return t==null?[]:jfe(t,Bfe(t))}o$.exports=zfe});var l$=g((het,s$)=>{"use strict";var $fe=rx(),Hfe=Ca(),Ufe=n$(),qfe=Dd(),Gfe=a$(),Wfe=Math.max;function Yfe(t,n,e,i){t=Hfe(t)?t:Gfe(t),e=e&&!i?qfe(e):0;var r=t.length;return e<0&&(e=Wfe(r+e,0)),Ufe(t)?e<=r&&t.indexOf(n,e)>-1:!!r&&$fe(t,n,e)>-1}s$.exports=Yfe});var bf=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 _f=class{};kt._CodeOrName=_f;kt.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var jl=class extends _f{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=jl;var Dr=class extends _f{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 jl&&(e[i.str]=(e[i.str]||0)+1),e),{})}};kt._Code=Dr;kt.nil=new Dr("");function c$(t,...n){let e=[t[0]],i=0;for(;i<n.length;)ax(e,n[i]),e.push(t[++i]);return new Dr(e)}kt._=c$;var ox=new Dr("+");function d$(t,...n){let e=[yf(t[0])],i=0;for(;i<n.length;)e.push(ox),ax(e,n[i]),e.push(ox,yf(t[++i]));return Kfe(e),new Dr(e)}kt.str=d$;function ax(t,n){n instanceof Dr?t.push(...n._items):n instanceof jl?t.push(n):t.push(Xfe(n))}kt.addCodeArg=ax;function Kfe(t){let n=1;for(;n<t.length-1;){if(t[n]===ox){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 jl||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 jl))return`"${t}${n.slice(1)}`}function Zfe(t,n){return n.emptyStr()?t:t.emptyStr()?n:d$`${t}${n}`}kt.strConcat=Zfe;function Xfe(t){return typeof t=="number"||typeof t=="boolean"||t===null?t:yf(Array.isArray(t)?t.join(","):t)}function Jfe(t){return new Dr(yf(t))}kt.stringify=Jfe;function yf(t){return JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}kt.safeStringify=yf;function ehe(t){return typeof t=="string"&&kt.IDENTIFIER.test(t)?new Dr(`.${t}`):c$`[${t}]`}kt.getProperty=ehe;function the(t){if(typeof t=="string"&&kt.IDENTIFIER.test(t))return new Dr(`${t}`);throw new Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}kt.getEsmExportName=the;function nhe(t){return new Dr(t.toString())}kt.regexpCode=nhe});var cx=g(Oi=>{"use strict";Object.defineProperty(Oi,"__esModule",{value:!0});Oi.ValueScope=Oi.ValueScopeName=Oi.Scope=Oi.varKinds=Oi.UsedValueState=void 0;var Fi=bf(),sx=class extends Error{constructor(n){super(`CodeGen: "code" for ${n} not defined`),this.value=n.value}},oy=(function(t){return t[t.Started=0]="Started",t[t.Completed=1]="Completed",t})(oy||(Oi.UsedValueState=oy={}));Oi.varKinds={const:new Fi.Name("const"),let:new Fi.Name("let"),var:new Fi.Name("var")};var ay=class{constructor({prefixes:n,parent:e}={}){this._names={},this._prefixes=n,this._parent=e}toName(n){return n instanceof Fi.Name?n:this.name(n)}name(n){return new Fi.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}}};Oi.Scope=ay;var sy=class extends Fi.Name{constructor(n,e){super(e),this.prefix=n}setValue(n,{property:e,itemIndex:i}){this.value=n,this.scopePath=(0,Fi._)`.${new Fi.Name(e)}[${i}]`}};Oi.ValueScopeName=sy;var ihe=(0,Fi._)`\n`,lx=class extends ay{constructor(n){super(n),this._values={},this._scope=n.scope,this.opts=de(k({},n),{_n:n.lines?ihe:Fi.nil})}get(){return this._scope}name(n){return new sy(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,Fi._)`${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=Fi.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,oy.Started);let d=e(c);if(d){let m=this.opts.es5?Oi.varKinds.var:Oi.varKinds.const;o=(0,Fi._)`${o}${m} ${c} = ${d};${this.opts._n}`}else if(d=r?.(c))o=(0,Fi._)`${o}${d}${this.opts._n}`;else throw new sx(c);l.set(c,oy.Completed)})}return o}};Oi.ValueScope=lx});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=bf(),io=cx(),ys=bf();Object.defineProperty(ht,"_",{enumerable:!0,get:function(){return ys._}});Object.defineProperty(ht,"str",{enumerable:!0,get:function(){return ys.str}});Object.defineProperty(ht,"strConcat",{enumerable:!0,get:function(){return ys.strConcat}});Object.defineProperty(ht,"nil",{enumerable:!0,get:function(){return ys.nil}});Object.defineProperty(ht,"getProperty",{enumerable:!0,get:function(){return ys.getProperty}});Object.defineProperty(ht,"stringify",{enumerable:!0,get:function(){return ys.stringify}});Object.defineProperty(ht,"regexpCode",{enumerable:!0,get:function(){return ys.regexpCode}});Object.defineProperty(ht,"Name",{enumerable:!0,get:function(){return ys.Name}});var my=cx();Object.defineProperty(ht,"Scope",{enumerable:!0,get:function(){return my.Scope}});Object.defineProperty(ht,"ValueScope",{enumerable:!0,get:function(){return my.ValueScope}});Object.defineProperty(ht,"ValueScopeName",{enumerable:!0,get:function(){return my.ValueScopeName}});Object.defineProperty(ht,"varKinds",{enumerable:!0,get:function(){return my.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 Da=class{optimizeNodes(){return this}optimizeNames(n,e){return this}},dx=class extends Da{constructor(n,e,i){super(),this.varKind=n,this.name=e,this.rhs=i}render({es5:n,_n:e}){let i=n?io.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=Ed(this.rhs,n,e)),this}get names(){return this.rhs instanceof Et._CodeOrName?this.rhs.names:{}}},cy=class extends Da{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=Ed(this.rhs,n,e),this}get names(){let n=this.lhs instanceof Et.Name?{}:k({},this.lhs.names);return uy(n,this.rhs)}},ux=class extends cy{constructor(n,e,i,r){super(n,i,r),this.op=e}render({_n:n}){return`${this.lhs} ${this.op}= ${this.rhs};`+n}},mx=class extends Da{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`${this.label}:`+n}},fx=class extends Da{constructor(n){super(),this.label=n,this.names={}}render({_n:n}){return`break${this.label?` ${this.label}`:""};`+n}},hx=class extends Da{constructor(n){super(),this.error=n}render({_n:n}){return`throw ${this.error};`+n}get names(){return this.error.names}},px=class extends Da{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=Ed(this.code,n,e),this}get names(){return this.code instanceof Et._CodeOrName?this.code.names:{}}},vf=class extends Da{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)||(rhe(n,o.names),i.splice(r,1))}return i.length>0?this:void 0}get names(){return this.nodes.reduce((n,e)=>Bl(n,e.names),{})}},Ea=class extends vf{render(n){return"{"+n._n+super.render(n)+"}"+n._n}},gx=class extends vf{},_x=(()=>{class t extends Ea{}return t.kind="else",t})(),ly=(()=>{class t extends Ea{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 _x(r):r}if(i)return e===!1?i instanceof t?i:i.nodes:this.nodes.length?this:new t(p$(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=Ed(this.condition,e,i),this}get names(){let e=super.names;return uy(e,this.condition),this.else&&Bl(e,this.else.names),e}}return t.kind="if",t})(),fy=(()=>{class t extends Ea{}return t.kind="for",t})(),yx=class extends fy{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=Ed(this.iteration,n,e),this}get names(){return Bl(super.names,this.iteration.names)}},bx=class extends fy{constructor(n,e,i,r){super(),this.varKind=n,this.name=e,this.from=i,this.to=r}render(n){let e=n.es5?io.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=uy(super.names,this.from);return uy(n,this.to)}},dy=class extends fy{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=Ed(this.iterable,n,e),this}get names(){return Bl(super.names,this.iterable.names)}},u$=(()=>{class t extends Ea{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})(),m$=(()=>{class t extends vf{render(e){return"return "+super.render(e)}}return t.kind="return",t})(),vx=class extends Ea{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&&Bl(n,this.catch.names),this.finally&&Bl(n,this.finally.names),n}},f$=(()=>{class t extends Ea{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}return t.kind="catch",t})(),h$=(()=>{class t extends Ea{render(e){return"finally"+super.render(e)}}return t.kind="finally",t})(),Cx=class{constructor(n,e={}){this._values={},this._blockStarts=[],this._constants={},this.opts=de(k({},e),{_n:e.lines?`
2
+ `:""}),this._extScope=n,this._scope=new io.Scope({parent:n}),this._nodes=[new gx]}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 dx(n,o,i)),o}const(n,e,i){return this._def(io.varKinds.const,n,e,i)}let(n,e,i){return this._def(io.varKinds.let,n,e,i)}var(n,e,i){return this._def(io.varKinds.var,n,e,i)}assign(n,e,i){return this._leafNode(new cy(n,e,i))}add(n,e){return this._leafNode(new ux(n,ht.operators.ADD,e))}code(n){return typeof n=="function"?n():n!==Et.nil&&this._leafNode(new px(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 ly(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 ly(n))}else(){return this._elseNode(new _x)}endIf(){return this._endBlockNode(ly,_x)}_for(n,e){return this._blockNode(n),e&&this.code(e).endFor(),this}for(n,e){return this._for(new yx(n),e)}forRange(n,e,i,r,o=this.opts.es5?io.varKinds.var:io.varKinds.let){let a=this._scope.toName(n);return this._for(new bx(o,a,e,i),()=>r(a))}forOf(n,e,i,r=io.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 dy("of",r,o,e),()=>i(o))}forIn(n,e,i,r=this.opts.es5?io.varKinds.var:io.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 dy("in",r,o,e),()=>i(o))}endFor(){return this._endBlockNode(fy)}label(n){return this._leafNode(new mx(n))}break(n){return this._leafNode(new fx(n))}return(n){let e=new m$;if(this._blockNode(e),this.code(n),e.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(m$)}try(n,e,i){if(!e&&!i)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new vx;if(this._blockNode(r),this.code(n),e){let o=this.name("e");this._currNode=r.catch=new f$(o),e(o)}return i&&(this._currNode=r.finally=new h$,this.code(i)),this._endBlockNode(f$,h$)}throw(n){return this._leafNode(new hx(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 u$(n,e,i)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(u$)}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 ly))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=Cx;function Bl(t,n){for(let e in n)t[e]=(t[e]||0)+(n[e]||0);return t}function uy(t,n){return n instanceof Et._CodeOrName?Bl(t,n.names):t}function Ed(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 rhe(t,n){for(let e in n)t[e]=(t[e]||0)-(n[e]||0)}function p$(t){return typeof t=="boolean"||typeof t=="number"||t===null?!t:(0,Et._)`!${wx(t)}`}ht.not=p$;var ohe=g$(ht.operators.AND);function ahe(...t){return t.reduce(ohe)}ht.and=ahe;var she=g$(ht.operators.OR);function lhe(...t){return t.reduce(she)}ht.or=lhe;function g$(t){return(n,e)=>n===Et.nil?e:e===Et.nil?n:(0,Et._)`${wx(n)} ${t} ${wx(e)}`}function wx(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 Qt=ot(),che=bf();function dhe(t){let n={};for(let e of t)n[e]=!0;return n}bt.toHash=dhe;function uhe(t,n){return typeof n=="boolean"?n:Object.keys(n).length===0?!0:(b$(t,n),!v$(n,t.self.RULES.all))}bt.alwaysValidSchema=uhe;function b$(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]||D$(t,`unknown keyword: "${o}"`)}bt.checkUnknownRules=b$;function v$(t,n){if(typeof t=="boolean")return!t;for(let e in t)if(n[e])return!0;return!1}bt.schemaHasRules=v$;function mhe(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=mhe;function fhe({topSchemaRef:t,schemaPath:n},e,i,r){if(!r){if(typeof e=="number"||typeof e=="boolean")return e;if(typeof e=="string")return(0,Qt._)`${e}`}return(0,Qt._)`${t}${n}${(0,Qt.getProperty)(i)}`}bt.schemaRefOrVal=fhe;function hhe(t){return C$(decodeURIComponent(t))}bt.unescapeFragment=hhe;function phe(t){return encodeURIComponent(Ex(t))}bt.escapeFragment=phe;function Ex(t){return typeof t=="number"?`${t}`:t.replace(/~/g,"~0").replace(/\//g,"~1")}bt.escapeJsonPointer=Ex;function C$(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}bt.unescapeJsonPointer=C$;function ghe(t,n){if(Array.isArray(t))for(let e of t)n(e);else n(t)}bt.eachItem=ghe;function _$({mergeNames:t,mergeToName:n,mergeValues:e,resultToName:i}){return(r,o,a,s)=>{let l=a===void 0?o:a instanceof Qt.Name?(o instanceof Qt.Name?t(r,o,a):n(r,o,a),a):o instanceof Qt.Name?(n(r,a,o),o):e(o,a);return s===Qt.Name&&!(l instanceof Qt.Name)?i(r,l):l}}bt.mergeEvaluated={props:_$({mergeNames:(t,n,e)=>t.if((0,Qt._)`${e} !== true && ${n} !== undefined`,()=>{t.if((0,Qt._)`${n} === true`,()=>t.assign(e,!0),()=>t.assign(e,(0,Qt._)`${e} || {}`).code((0,Qt._)`Object.assign(${e}, ${n})`))}),mergeToName:(t,n,e)=>t.if((0,Qt._)`${e} !== true`,()=>{n===!0?t.assign(e,!0):(t.assign(e,(0,Qt._)`${e} || {}`),Sx(t,e,n))}),mergeValues:(t,n)=>t===!0?!0:k(k({},t),n),resultToName:w$}),items:_$({mergeNames:(t,n,e)=>t.if((0,Qt._)`${e} !== true && ${n} !== undefined`,()=>t.assign(e,(0,Qt._)`${n} === true ? true : ${e} > ${n} ? ${e} : ${n}`)),mergeToName:(t,n,e)=>t.if((0,Qt._)`${e} !== true`,()=>t.assign(e,n===!0?!0:(0,Qt._)`${e} > ${n} ? ${e} : ${n}`)),mergeValues:(t,n)=>t===!0?!0:Math.max(t,n),resultToName:(t,n)=>t.var("items",n)})};function w$(t,n){if(n===!0)return t.var("props",!0);let e=t.var("props",(0,Qt._)`{}`);return n!==void 0&&Sx(t,e,n),e}bt.evaluatedPropsToName=w$;function Sx(t,n,e){Object.keys(e).forEach(i=>t.assign((0,Qt._)`${n}${(0,Qt.getProperty)(i)}`,!0))}bt.setEvaluated=Sx;var y$={};function _he(t,n){return t.scopeValue("func",{ref:n,code:y$[n.code]||(y$[n.code]=new che._Code(n.code))})}bt.useFunc=_he;var Dx=(function(t){return t[t.Num=0]="Num",t[t.Str=1]="Str",t})(Dx||(bt.Type=Dx={}));function yhe(t,n,e){if(t instanceof Qt.Name){let i=n===Dx.Num;return e?i?(0,Qt._)`"[" + ${t} + "]"`:(0,Qt._)`"['" + ${t} + "']"`:i?(0,Qt._)`"/" + ${t}`:(0,Qt._)`"/" + ${t}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return e?(0,Qt.getProperty)(t).toString():"/"+Ex(t)}bt.getErrorPath=yhe;function D$(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=D$});var Sa=g(xx=>{"use strict";Object.defineProperty(xx,"__esModule",{value:!0});var ci=ot(),bhe={data:new ci.Name("data"),valCxt:new ci.Name("valCxt"),instancePath:new ci.Name("instancePath"),parentData:new ci.Name("parentData"),parentDataProperty:new ci.Name("parentDataProperty"),rootData:new ci.Name("rootData"),dynamicAnchors:new ci.Name("dynamicAnchors"),vErrors:new ci.Name("vErrors"),errors:new ci.Name("errors"),this:new ci.Name("this"),self:new ci.Name("self"),scope:new ci.Name("scope"),json:new ci.Name("json"),jsonPos:new ci.Name("jsonPos"),jsonLen:new ci.Name("jsonLen"),jsonPart:new ci.Name("jsonPart")};xx.default=bhe});var Cf=g(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.extendErrors=di.resetErrorsCount=di.reportExtraError=di.reportError=di.keyword$DataError=di.keywordError=void 0;var It=ot(),hy=Mt(),Di=Sa();di.keywordError={message:({keyword:t})=>(0,It.str)`must pass "${t}" keyword validation`};di.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 vhe(t,n=di.keywordError,e,i){let{it:r}=t,{gen:o,compositeRule:a,allErrors:s}=r,l=x$(t,n,e);i??(a||s)?E$(o,l):S$(r,(0,It._)`[${l}]`)}di.reportError=vhe;function Che(t,n=di.keywordError,e){let{it:i}=t,{gen:r,compositeRule:o,allErrors:a}=i,s=x$(t,n,e);E$(r,s),o||a||S$(i,Di.default.vErrors)}di.reportExtraError=Che;function whe(t,n){t.assign(Di.default.errors,n),t.if((0,It._)`${Di.default.vErrors} !== null`,()=>t.if(n,()=>t.assign((0,It._)`${Di.default.vErrors}.length`,n),()=>t.assign(Di.default.vErrors,null)))}di.resetErrorsCount=whe;function Dhe({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,Di.default.errors,s=>{t.const(a,(0,It._)`${Di.default.vErrors}[${s}]`),t.if((0,It._)`${a}.instancePath === undefined`,()=>t.assign((0,It._)`${a}.instancePath`,(0,It.strConcat)(Di.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))})}di.extendErrors=Dhe;function E$(t,n){let e=t.const("err",n);t.if((0,It._)`${Di.default.vErrors} === null`,()=>t.assign(Di.default.vErrors,(0,It._)`[${e}]`),(0,It._)`${Di.default.vErrors}.push(${e})`),t.code((0,It._)`${Di.default.errors}++`)}function S$(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 zl={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 x$(t,n,e){let{createErrors:i}=t.it;return i===!1?(0,It._)`{}`:Ehe(t,n,e)}function Ehe(t,n,e={}){let{gen:i,it:r}=t,o=[She(r,e),xhe(t,e)];return The(t,n,o),i.object(...o)}function She({errorPath:t},{instancePath:n}){let e=n?(0,It.str)`${t}${(0,hy.getErrorPath)(n,hy.Type.Str)}`:t;return[Di.default.instancePath,(0,It.strConcat)(Di.default.instancePath,e)]}function xhe({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,hy.getErrorPath)(e,hy.Type.Str)}`),[zl.schemaPath,r]}function The(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([zl.keyword,r],[zl.params,typeof n=="function"?n(t):n||(0,It._)`{}`]),l.messages&&i.push([zl.message,typeof e=="function"?e(t):e]),l.verbose&&i.push([zl.schema,a],[zl.parentSchema,(0,It._)`${d}${m}`],[Di.default.data,o]),c&&i.push([zl.propertyName,c])}});var I$=g(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.boolOrEmptySchema=Sd.topBoolOrEmptySchema=void 0;var Ihe=Cf(),khe=ot(),Mhe=Sa(),Ahe={message:"boolean schema is false"};function Rhe(t){let{gen:n,schema:e,validateName:i}=t;e===!1?T$(t,!1):typeof e=="object"&&e.$async===!0?n.return(Mhe.default.data):(n.assign((0,khe._)`${i}.errors`,null),n.return(!0))}Sd.topBoolOrEmptySchema=Rhe;function Phe(t,n){let{gen:e,schema:i}=t;i===!1?(e.var(n,!1),T$(t)):e.var(n,!0)}Sd.boolOrEmptySchema=Phe;function T$(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,Ihe.reportError)(r,Ahe,void 0,n)}});var Tx=g(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.getRules=xd.isJSONType=void 0;var Fhe=["string","number","integer","boolean","null","object","array"],Ohe=new Set(Fhe);function Nhe(t){return typeof t=="string"&&Ohe.has(t)}xd.isJSONType=Nhe;function Lhe(){let t={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:de(k({},t),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},t.number,t.string,t.array,t.object],post:{rules:[]},all:{},keywords:{}}}xd.getRules=Lhe});var Ix=g(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.shouldUseRule=bs.shouldUseGroup=bs.schemaHasRulesForType=void 0;function Vhe({schema:t,self:n},e){let i=n.RULES.types[e];return i&&i!==!0&&k$(t,i)}bs.schemaHasRulesForType=Vhe;function k$(t,n){return n.rules.some(e=>M$(t,e))}bs.shouldUseGroup=k$;function M$(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))}bs.shouldUseRule=M$});var wf=g(ui=>{"use strict";Object.defineProperty(ui,"__esModule",{value:!0});ui.reportTypeError=ui.checkDataTypes=ui.checkDataType=ui.coerceAndCheckDataType=ui.getJSONTypes=ui.getSchemaTypes=ui.DataType=void 0;var jhe=Tx(),Bhe=Ix(),zhe=Cf(),dt=ot(),A$=Mt(),Td=(function(t){return t[t.Correct=0]="Correct",t[t.Wrong=1]="Wrong",t})(Td||(ui.DataType=Td={}));function $he(t){let n=R$(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}ui.getSchemaTypes=$he;function R$(t){let n=Array.isArray(t)?t:t?[t]:[];if(n.every(jhe.isJSONType))return n;throw new Error("type must be JSONType or JSONType[]: "+n.join(","))}ui.getJSONTypes=R$;function Hhe(t,n){let{gen:e,data:i,opts:r}=t,o=Uhe(n,r.coerceTypes),a=n.length>0&&!(o.length===0&&n.length===1&&(0,Bhe.schemaHasRulesForType)(t,n[0]));if(a){let s=Mx(n,i,r.strictNumbers,Td.Wrong);e.if(s,()=>{o.length?qhe(t,n,o):Ax(t)})}return a}ui.coerceAndCheckDataType=Hhe;var P$=new Set(["string","number","integer","boolean","null"]);function Uhe(t,n){return n?t.filter(e=>P$.has(e)||n==="array"&&e==="array"):[]}function qhe(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(Mx(n,r,o.strictNumbers),()=>i.assign(s,r))),i.if((0,dt._)`${s} !== undefined`);for(let c of e)(P$.has(c)||c==="array"&&o.coerceTypes==="array")&&l(c);i.else(),Ax(t),i.endIf(),i.if((0,dt._)`${s} !== undefined`,()=>{i.assign(r,s),Ghe(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 Ghe({gen:t,parentData:n,parentDataProperty:e},i){t.if((0,dt._)`${n} !== undefined`,()=>t.assign((0,dt._)`${n}[${e}]`,i))}function kx(t,n,e,i=Td.Correct){let r=i===Td.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===Td.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)}}ui.checkDataType=kx;function Mx(t,n,e,i){if(t.length===1)return kx(t[0],n,e,i);let r,o=(0,A$.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,kx(a,n,e,i));return r}ui.checkDataTypes=Mx;var Whe={message:({schema:t})=>`must be ${t}`,params:({schema:t,schemaValue:n})=>typeof t=="string"?(0,dt._)`{type: ${t}}`:(0,dt._)`{type: ${n}}`};function Ax(t){let n=Yhe(t);(0,zhe.reportError)(n,Whe)}ui.reportTypeError=Ax;function Yhe(t){let{gen:n,data:e,schema:i}=t,r=(0,A$.schemaRefOrVal)(t,i,"type");return{gen:n,keyword:"type",data:e,schema:i.type,schemaCode:r,schemaValue:r,parentSchema:i,params:{},it:t}}});var O$=g(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0});py.assignDefaults=void 0;var Id=ot(),Khe=Mt();function Qhe(t,n){let{properties:e,items:i}=t.schema;if(n==="object"&&e)for(let r in e)F$(t,r,e[r].default);else n==="array"&&Array.isArray(i)&&i.forEach((r,o)=>F$(t,o,r.default))}py.assignDefaults=Qhe;function F$(t,n,e){let{gen:i,compositeRule:r,data:o,opts:a}=t;if(e===void 0)return;let s=(0,Id._)`${o}${(0,Id.getProperty)(n)}`;if(r){(0,Khe.checkStrictMode)(t,`default is ignored for: ${s}`);return}let l=(0,Id._)`${s} === undefined`;a.useDefaults==="empty"&&(l=(0,Id._)`${l} || ${s} === null || ${s} === ""`),i.if(l,(0,Id._)`${s} = ${(0,Id.stringify)(e)}`)}});var Er=g(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.validateUnion=Yt.validateArray=Yt.usePattern=Yt.callValidateCode=Yt.schemaProperties=Yt.allSchemaProperties=Yt.noPropertyInData=Yt.propertyInData=Yt.isOwnProperty=Yt.hasPropFunc=Yt.reportMissingProp=Yt.checkMissingProp=Yt.checkReportMissingProp=void 0;var on=ot(),Rx=Mt(),vs=Sa(),Zhe=Mt();function Xhe(t,n){let{gen:e,data:i,it:r}=t;e.if(Fx(e,i,n,r.opts.ownProperties),()=>{t.setParams({missingProperty:(0,on._)`${n}`},!0),t.error()})}Yt.checkReportMissingProp=Xhe;function Jhe({gen:t,data:n,it:{opts:e}},i,r){return(0,on.or)(...i.map(o=>(0,on.and)(Fx(t,n,o,e.ownProperties),(0,on._)`${r} = ${o}`)))}Yt.checkMissingProp=Jhe;function epe(t,n){t.setParams({missingProperty:n},!0),t.error()}Yt.reportMissingProp=epe;function N$(t){return t.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,on._)`Object.prototype.hasOwnProperty`})}Yt.hasPropFunc=N$;function Px(t,n,e){return(0,on._)`${N$(t)}.call(${n}, ${e})`}Yt.isOwnProperty=Px;function tpe(t,n,e,i){let r=(0,on._)`${n}${(0,on.getProperty)(e)} !== undefined`;return i?(0,on._)`${r} && ${Px(t,n,e)}`:r}Yt.propertyInData=tpe;function Fx(t,n,e,i){let r=(0,on._)`${n}${(0,on.getProperty)(e)} === undefined`;return i?(0,on.or)(r,(0,on.not)(Px(t,n,e))):r}Yt.noPropertyInData=Fx;function L$(t){return t?Object.keys(t).filter(n=>n!=="__proto__"):[]}Yt.allSchemaProperties=L$;function npe(t,n){return L$(n).filter(e=>!(0,Rx.alwaysValidSchema)(t,n[e]))}Yt.schemaProperties=npe;function ipe({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=[[vs.default.instancePath,(0,on.strConcat)(vs.default.instancePath,o)],[vs.default.parentData,a.parentData],[vs.default.parentDataProperty,a.parentDataProperty],[vs.default.rootData,vs.default.rootData]];a.opts.dynamicRef&&m.push([vs.default.dynamicAnchors,vs.default.dynamicAnchors]);let f=(0,on._)`${d}, ${e.object(...m)}`;return l!==on.nil?(0,on._)`${s}.call(${l}, ${f})`:(0,on._)`${s}(${f})`}Yt.callValidateCode=ipe;var rpe=(0,on._)`new RegExp`;function ope({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"?rpe:(0,Zhe.useFunc)(t,r)}(${e}, ${i})`})}Yt.usePattern=ope;function ape(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:Rx.Type.Num},o),n.if((0,on.not)(o),s)})}}Yt.validateArray=ape;function spe(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,Rx.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))}Yt.validateUnion=spe});var B$=g(Po=>{"use strict";Object.defineProperty(Po,"__esModule",{value:!0});Po.validateKeywordUsage=Po.validSchemaType=Po.funcKeywordCode=Po.macroKeywordCode=void 0;var Ei=ot(),$l=Sa(),lpe=Er(),cpe=Cf();function dpe(t,n){let{gen:e,keyword:i,schema:r,parentSchema:o,it:a}=t,s=n.macro.call(a.self,r,o,a),l=j$(e,i,s);a.opts.validateSchema!==!1&&a.self.validateSchema(s,!0);let c=e.name("valid");t.subschema({schema:s,schemaPath:Ei.nil,errSchemaPath:`${a.errSchemaPath}/${i}`,topSchemaRef:l,compositeRule:!0},c),t.pass(c,()=>t.error(!0))}Po.macroKeywordCode=dpe;function upe(t,n){var e;let{gen:i,keyword:r,schema:o,parentSchema:a,$data:s,it:l}=t;fpe(l,n);let c=!s&&n.compile?n.compile.call(l.self,o,a,l):n.validate,d=j$(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&&V$(t),D(()=>t.error());else{let E=n.async?h():p();n.modifying&&V$(t),D(()=>mpe(t,E))}}function h(){let E=i.let("ruleErrs",null);return i.try(()=>b((0,Ei._)`await `),P=>i.assign(m,!1).if((0,Ei._)`${P} instanceof ${l.ValidationError}`,()=>i.assign(E,(0,Ei._)`${P}.errors`),()=>i.throw(P))),E}function p(){let E=(0,Ei._)`${d}.errors`;return i.assign(E,null),b(Ei.nil),E}function b(E=n.async?(0,Ei._)`await `:Ei.nil){let P=l.opts.passContext?$l.default.this:$l.default.self,Y=!("compile"in n&&!s||n.schema===!1);i.assign(m,(0,Ei._)`${E}${(0,lpe.callValidateCode)(t,d,P,Y)}`,n.modifying)}function D(E){var P;i.if((0,Ei.not)((P=n.valid)!==null&&P!==void 0?P:m),E)}}Po.funcKeywordCode=upe;function V$(t){let{gen:n,data:e,it:i}=t;n.if(i.parentData,()=>n.assign(e,(0,Ei._)`${i.parentData}[${i.parentDataProperty}]`))}function mpe(t,n){let{gen:e}=t;e.if((0,Ei._)`Array.isArray(${n})`,()=>{e.assign($l.default.vErrors,(0,Ei._)`${$l.default.vErrors} === null ? ${n} : ${$l.default.vErrors}.concat(${n})`).assign($l.default.errors,(0,Ei._)`${$l.default.vErrors}.length`),(0,cpe.extendErrors)(t)},()=>t.error())}function fpe({schemaEnv:t},n){if(n.async&&!t.$async)throw new Error("async keyword in sync schema")}function j$(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,Ei.stringify)(e)})}function hpe(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")}Po.validSchemaType=hpe;function ppe({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)}}Po.validateKeywordUsage=ppe});var $$=g(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});Cs.extendSubschemaMode=Cs.extendSubschemaData=Cs.getSubschema=void 0;var Fo=ot(),z$=Mt();function gpe(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,Fo._)`${t.schemaPath}${(0,Fo.getProperty)(n)}`,errSchemaPath:`${t.errSchemaPath}/${n}`}:{schema:s[e],schemaPath:(0,Fo._)`${t.schemaPath}${(0,Fo.getProperty)(n)}${(0,Fo.getProperty)(e)}`,errSchemaPath:`${t.errSchemaPath}/${n}/${(0,z$.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')}Cs.getSubschema=gpe;function _pe(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,Fo._)`${n.data}${(0,Fo.getProperty)(e)}`,!0);l(f),t.errorPath=(0,Fo.str)`${c}${(0,z$.getErrorPath)(e,i,m.jsPropertySyntax)}`,t.parentDataProperty=(0,Fo._)`${e}`,t.dataPathArr=[...d,t.parentDataProperty]}if(r!==void 0){let c=r instanceof Fo.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]}}Cs.extendSubschemaData=_pe;function ype(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}Cs.extendSubschemaMode=ype});var Ox=g((Fet,H$)=>{"use strict";H$.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 q$=g((Oet,U$)=>{"use strict";var ws=U$.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(){};gy(n,i,r,t,"",t)};ws.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0};ws.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};ws.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};ws.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 gy(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 ws.arrayKeywords)for(var f=0;f<m.length;f++)gy(t,n,e,m[f],r+"/"+d+"/"+f,o,r,d,i,f)}else if(d in ws.propsKeywords){if(m&&typeof m=="object")for(var h in m)gy(t,n,e,m[h],r+"/"+d+"/"+bpe(h),o,r,d,i,h)}else(d in ws.keywords||t.allKeys&&!(d in ws.skipKeywords))&&gy(t,n,e,m,r+"/"+d,o,r,d,i)}e(i,r,o,a,s,l,c)}}function bpe(t){return t.replace(/~/g,"~0").replace(/\//g,"~1")}});var Df=g(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.getSchemaRefs=Ni.resolveUrl=Ni.normalizeId=Ni._getFullPath=Ni.getFullPath=Ni.inlineRef=void 0;var vpe=Mt(),Cpe=Ox(),wpe=q$(),Dpe=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Epe(t,n=!0){return typeof t=="boolean"?!0:n===!0?!Nx(t):n?G$(t)<=n:!1}Ni.inlineRef=Epe;var Spe=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function Nx(t){for(let n in t){if(Spe.has(n))return!0;let e=t[n];if(Array.isArray(e)&&e.some(Nx)||typeof e=="object"&&Nx(e))return!0}return!1}function G$(t){let n=0;for(let e in t){if(e==="$ref")return 1/0;if(n++,!Dpe.has(e)&&(typeof t[e]=="object"&&(0,vpe.eachItem)(t[e],i=>n+=G$(i)),n===1/0))return 1/0}return n}function W$(t,n="",e){e!==!1&&(n=kd(n));let i=t.parse(n);return Y$(t,i)}Ni.getFullPath=W$;function Y$(t,n){return t.serialize(n).split("#")[0]+"#"}Ni._getFullPath=Y$;var xpe=/#\/?$/;function kd(t){return t?t.replace(xpe,""):""}Ni.normalizeId=kd;function Tpe(t,n,e){return e=kd(e),t.resolve(n,e)}Ni.resolveUrl=Tpe;var Ipe=/^[a-z_][-a-z0-9._]*$/i;function kpe(t,n){if(typeof t=="boolean")return{};let{schemaId:e,uriResolver:i}=this.opts,r=kd(t[e]||n),o={"":r},a=W$(i,r,!1),s={},l=new Set;return wpe(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(Y){let ce=this.opts.uriResolver.resolve;if(Y=kd(D?ce(D,Y):Y),l.has(Y))throw d(Y);l.add(Y);let re=this.refs[Y];return typeof re=="string"&&(re=this.refs[re]),typeof re=="object"?c(m,re.schema,Y):Y!==kd(b)&&(Y[0]==="#"?(c(m,s[Y],Y),s[Y]=m):this.refs[Y]=b),Y}function P(Y){if(typeof Y=="string"){if(!Ipe.test(Y))throw new Error(`invalid anchor "${Y}"`);E.call(this,`#${Y}`)}}}),s;function c(m,f,h){if(f!==void 0&&!Cpe(m,f))throw d(h)}function d(m){return new Error(`reference "${m}" resolves to more than one schema`)}}Ni.getSchemaRefs=kpe});var xf=g(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.getData=Ds.KeywordCxt=Ds.validateFunctionCode=void 0;var J$=I$(),K$=wf(),Vx=Ix(),_y=wf(),Mpe=O$(),Sf=B$(),Lx=$$(),Ne=ot(),Xe=Sa(),Ape=Df(),xa=Mt(),Ef=Cf();function Rpe(t){if(nH(t)&&(iH(t),tH(t))){Ope(t);return}eH(t,()=>(0,J$.topBoolOrEmptySchema)(t))}Ds.validateFunctionCode=Rpe;function eH({gen:t,validateName:n,schema:e,schemaEnv:i,opts:r},o){r.code.es5?t.func(n,(0,Ne._)`${Xe.default.data}, ${Xe.default.valCxt}`,i.$async,()=>{t.code((0,Ne._)`"use strict"; ${Q$(e,r)}`),Fpe(t,r),t.code(o)}):t.func(n,(0,Ne._)`${Xe.default.data}, ${Ppe(r)}`,i.$async,()=>t.code(Q$(e,r)).code(o))}function Ppe(t){return(0,Ne._)`{${Xe.default.instancePath}="", ${Xe.default.parentData}, ${Xe.default.parentDataProperty}, ${Xe.default.rootData}=${Xe.default.data}${t.dynamicRef?(0,Ne._)`, ${Xe.default.dynamicAnchors}={}`:Ne.nil}}={}`}function Fpe(t,n){t.if(Xe.default.valCxt,()=>{t.var(Xe.default.instancePath,(0,Ne._)`${Xe.default.valCxt}.${Xe.default.instancePath}`),t.var(Xe.default.parentData,(0,Ne._)`${Xe.default.valCxt}.${Xe.default.parentData}`),t.var(Xe.default.parentDataProperty,(0,Ne._)`${Xe.default.valCxt}.${Xe.default.parentDataProperty}`),t.var(Xe.default.rootData,(0,Ne._)`${Xe.default.valCxt}.${Xe.default.rootData}`),n.dynamicRef&&t.var(Xe.default.dynamicAnchors,(0,Ne._)`${Xe.default.valCxt}.${Xe.default.dynamicAnchors}`)},()=>{t.var(Xe.default.instancePath,(0,Ne._)`""`),t.var(Xe.default.parentData,(0,Ne._)`undefined`),t.var(Xe.default.parentDataProperty,(0,Ne._)`undefined`),t.var(Xe.default.rootData,Xe.default.data),n.dynamicRef&&t.var(Xe.default.dynamicAnchors,(0,Ne._)`{}`)})}function Ope(t){let{schema:n,opts:e,gen:i}=t;eH(t,()=>{e.$comment&&n.$comment&&oH(t),Bpe(t),i.let(Xe.default.vErrors,null),i.let(Xe.default.errors,0),e.unevaluated&&Npe(t),rH(t),Hpe(t)})}function Npe(t){let{gen:n,validateName:e}=t;t.evaluated=n.const("evaluated",(0,Ne._)`${e}.evaluated`),n.if((0,Ne._)`${t.evaluated}.dynamicProps`,()=>n.assign((0,Ne._)`${t.evaluated}.props`,(0,Ne._)`undefined`)),n.if((0,Ne._)`${t.evaluated}.dynamicItems`,()=>n.assign((0,Ne._)`${t.evaluated}.items`,(0,Ne._)`undefined`))}function Q$(t,n){let e=typeof t=="object"&&t[n.schemaId];return e&&(n.code.source||n.code.process)?(0,Ne._)`/*# sourceURL=${e} */`:Ne.nil}function Lpe(t,n){if(nH(t)&&(iH(t),tH(t))){Vpe(t,n);return}(0,J$.boolOrEmptySchema)(t,n)}function tH({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 nH(t){return typeof t.schema!="boolean"}function Vpe(t,n){let{schema:e,gen:i,opts:r}=t;r.$comment&&e.$comment&&oH(t),zpe(t),$pe(t);let o=i.const("_errs",Xe.default.errors);rH(t,o),i.var(n,(0,Ne._)`${o} === ${Xe.default.errors}`)}function iH(t){(0,xa.checkUnknownRules)(t),jpe(t)}function rH(t,n){if(t.opts.jtd)return Z$(t,[],!1,n);let e=(0,K$.getSchemaTypes)(t.schema),i=(0,K$.coerceAndCheckDataType)(t,e);Z$(t,e,!i,n)}function jpe(t){let{schema:n,errSchemaPath:e,opts:i,self:r}=t;n.$ref&&i.ignoreKeywordsWithRef&&(0,xa.schemaHasRulesButRef)(n,r.RULES)&&r.logger.warn(`$ref: keywords ignored in schema at path "${e}"`)}function Bpe(t){let{schema:n,opts:e}=t;n.default!==void 0&&e.useDefaults&&e.strictSchema&&(0,xa.checkStrictMode)(t,"default is ignored in the schema root")}function zpe(t){let n=t.schema[t.opts.schemaId];n&&(t.baseId=(0,Ape.resolveUrl)(t.opts.uriResolver,t.baseId,n))}function $pe(t){if(t.schema.$async&&!t.schemaEnv.$async)throw new Error("async schema in sync schema")}function oH({gen:t,schemaEnv:n,schema:e,errSchemaPath:i,opts:r}){let o=e.$comment;if(r.$comment===!0)t.code((0,Ne._)`${Xe.default.self}.logger.log(${o})`);else if(typeof r.$comment=="function"){let a=(0,Ne.str)`${i}/$comment`,s=t.scopeValue("root",{ref:n.root});t.code((0,Ne._)`${Xe.default.self}.opts.$comment(${o}, ${a}, ${s}.schema)`)}}function Hpe(t){let{gen:n,schemaEnv:e,validateName:i,ValidationError:r,opts:o}=t;e.$async?n.if((0,Ne._)`${Xe.default.errors} === 0`,()=>n.return(Xe.default.data),()=>n.throw((0,Ne._)`new ${r}(${Xe.default.vErrors})`)):(n.assign((0,Ne._)`${i}.errors`,Xe.default.vErrors),o.unevaluated&&Upe(t),n.return((0,Ne._)`${Xe.default.errors} === 0`))}function Upe({gen:t,evaluated:n,props:e,items:i}){e instanceof Ne.Name&&t.assign((0,Ne._)`${n}.props`,e),i instanceof Ne.Name&&t.assign((0,Ne._)`${n}.items`,i)}function Z$(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,xa.schemaHasRulesButRef)(o,d))){r.block(()=>sH(t,"$ref",d.all.$ref.definition));return}l.jtd||qpe(t,n),r.block(()=>{for(let f of d.rules)m(f);m(d.post)});function m(f){(0,Vx.shouldUseGroup)(o,f)&&(f.type?(r.if((0,_y.checkDataType)(f.type,a,l.strictNumbers)),X$(t,f),n.length===1&&n[0]===f.type&&e&&(r.else(),(0,_y.reportTypeError)(t)),r.endIf()):X$(t,f),s||r.if((0,Ne._)`${Xe.default.errors} === ${i||0}`))}}function X$(t,n){let{gen:e,schema:i,opts:{useDefaults:r}}=t;r&&(0,Mpe.assignDefaults)(t,n.type),e.block(()=>{for(let o of n.rules)(0,Vx.shouldUseRule)(i,o)&&sH(t,o.keyword,o.definition,n.type)})}function qpe(t,n){t.schemaEnv.meta||!t.opts.strictTypes||(Gpe(t,n),t.opts.allowUnionTypes||Wpe(t,n),Ype(t,t.dataTypes))}function Gpe(t,n){if(n.length){if(!t.dataTypes.length){t.dataTypes=n;return}n.forEach(e=>{aH(t.dataTypes,e)||jx(t,`type "${e}" not allowed by context "${t.dataTypes.join(",")}"`)}),Qpe(t,n)}}function Wpe(t,n){n.length>1&&!(n.length===2&&n.includes("null"))&&jx(t,"use allowUnionTypes to allow union type keyword")}function Ype(t,n){let e=t.self.RULES.all;for(let i in e){let r=e[i];if(typeof r=="object"&&(0,Vx.shouldUseRule)(t.schema,r)){let{type:o}=r.definition;o.length&&!o.some(a=>Kpe(n,a))&&jx(t,`missing type "${o.join(",")}" for keyword "${i}"`)}}}function Kpe(t,n){return t.includes(n)||n==="number"&&t.includes("integer")}function aH(t,n){return t.includes(n)||n==="integer"&&t.includes("number")}function Qpe(t,n){let e=[];for(let i of t.dataTypes)aH(n,i)?e.push(i):n.includes("integer")&&i==="number"&&e.push("integer");t.dataTypes=e}function jx(t,n){let e=t.schemaEnv.baseId+t.errSchemaPath;n+=` at "${e}" (strictTypes)`,(0,xa.checkStrictMode)(t,n,t.opts.strictTypes)}var yy=class{constructor(n,e,i){if((0,Sf.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,xa.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",lH(this.$data,n));else if(this.schemaCode=this.schemaValue,!(0,Sf.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",Xe.default.errors))}result(n,e,i){this.failResult((0,Ne.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,Ne.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,Ne._)`${e} !== undefined && (${(0,Ne.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?Ef.reportExtraError:Ef.reportError)(this,this.def.error,e)}$dataError(){(0,Ef.reportError)(this,this.def.$dataError||Ef.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Ef.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=Ne.nil){this.gen.block(()=>{this.check$data(n,i),e()})}check$data(n=Ne.nil,e=Ne.nil){if(!this.$data)return;let{gen:i,schemaCode:r,schemaType:o,def:a}=this;i.if((0,Ne.or)((0,Ne._)`${r} === undefined`,e)),n!==Ne.nil&&i.assign(n,!0),(o.length||a.validateSchema)&&(i.elseIf(this.invalid$data()),this.$dataError(),n!==Ne.nil&&i.assign(n,!1)),i.else()}invalid$data(){let{gen:n,schemaCode:e,schemaType:i,def:r,it:o}=this;return(0,Ne.or)(a(),s());function a(){if(i.length){if(!(e instanceof Ne.Name))throw new Error("ajv implementation error");let l=Array.isArray(i)?i:[i];return(0,Ne._)`${(0,_y.checkDataTypes)(l,e,o.opts.strictNumbers,_y.DataType.Wrong)}`}return Ne.nil}function s(){if(r.validateSchema){let l=n.scopeValue("validate$data",{ref:r.validateSchema});return(0,Ne._)`!${l}(${e})`}return Ne.nil}}subschema(n,e){let i=(0,Lx.getSubschema)(this.it,n);(0,Lx.extendSubschemaData)(i,this.it,n),(0,Lx.extendSubschemaMode)(i,n);let r=de(k(k({},this.it),i),{items:void 0,props:void 0});return Lpe(r,e),r}mergeEvaluated(n,e){let{it:i,gen:r}=this;i.opts.unevaluated&&(i.props!==!0&&n.props!==void 0&&(i.props=xa.mergeEvaluated.props(r,n.props,i.props,e)),i.items!==!0&&n.items!==void 0&&(i.items=xa.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,Ne.Name)),!0}};Ds.KeywordCxt=yy;function sH(t,n,e,i){let r=new yy(t,e,n);"code"in e?e.code(r,i):r.$data&&e.validate?(0,Sf.funcKeywordCode)(r,e):"macro"in e?(0,Sf.macroKeywordCode)(r,e):(e.compile||e.validate)&&(0,Sf.funcKeywordCode)(r,e)}var Zpe=/^\/(?:[^~]|~0|~1)*$/,Xpe=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function lH(t,{dataLevel:n,dataNames:e,dataPathArr:i}){let r,o;if(t==="")return Xe.default.rootData;if(t[0]==="/"){if(!Zpe.test(t))throw new Error(`Invalid JSON-pointer: ${t}`);r=t,o=Xe.default.rootData}else{let c=Xpe.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,Ne._)`${o}${(0,Ne.getProperty)((0,xa.unescapeJsonPointer)(c))}`,a=(0,Ne._)`${a} && ${o}`);return a;function l(c,d){return`Cannot access ${c} ${d} levels up, current level is ${n}`}}Ds.getData=lH});var by=g(zx=>{"use strict";Object.defineProperty(zx,"__esModule",{value:!0});var Bx=class extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}};zx.default=Bx});var Tf=g(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0});var $x=Df(),Hx=class extends Error{constructor(n,e,i,r){super(r||`can't resolve reference ${i} from id ${e}`),this.missingRef=(0,$x.resolveUrl)(n,e,i),this.missingSchema=(0,$x.normalizeId)((0,$x.getFullPath)(n,this.missingRef))}};Ux.default=Hx});var Cy=g(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.resolveSchema=Sr.getCompilingSchema=Sr.resolveRef=Sr.compileSchema=Sr.SchemaEnv=void 0;var ro=ot(),Jpe=by(),Hl=Sa(),oo=Df(),cH=Mt(),ege=xf(),Md=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,oo.normalizeId)(i?.[n.schemaId||"$id"]),this.schemaPath=n.schemaPath,this.localRefs=n.localRefs,this.meta=n.meta,this.$async=i?.$async,this.refs={}}};Sr.SchemaEnv=Md;function Gx(t){let n=dH.call(this,t);if(n)return n;let e=(0,oo.getFullPath)(this.opts.uriResolver,t.root.baseId),{es5:i,lines:r}=this.opts.code,{ownProperties:o}=this.opts,a=new ro.CodeGen(this.scope,{es5:i,lines:r,ownProperties:o}),s;t.$async&&(s=a.scopeValue("Error",{ref:Jpe.default,code:(0,ro._)`require("ajv/dist/runtime/validation_error").default`}));let l=a.scopeName("validate");t.validateName=l;let c={gen:a,allErrors:this.opts.allErrors,data:Hl.default.data,parentData:Hl.default.parentData,parentDataProperty:Hl.default.parentDataProperty,dataNames:[Hl.default.data],dataPathArr:[ro.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:a.scopeValue("schema",this.opts.code.source===!0?{ref:t.schema,code:(0,ro.stringify)(t.schema)}:{ref:t.schema}),validateName:l,ValidationError:s,schema:t.schema,schemaEnv:t,rootId:e,baseId:t.baseId||e,schemaPath:ro.nil,errSchemaPath:t.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,ro._)`""`,opts:this.opts,self:this},d;try{this._compilations.add(t),(0,ege.validateFunctionCode)(c),a.optimize(this.opts.code.optimize);let m=a.toString();d=`${a.scopeRefs(Hl.default.scope)}return ${m}`,this.opts.code.process&&(d=this.opts.code.process(d,t));let h=new Function(`${Hl.default.self}`,`${Hl.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 ro.Name?void 0:p,items:b instanceof ro.Name?void 0:b,dynamicProps:p instanceof ro.Name,dynamicItems:b instanceof ro.Name},h.source&&(h.source.evaluated=(0,ro.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)}}Sr.compileSchema=Gx;function tge(t,n,e){var i;e=(0,oo.resolveUrl)(this.opts.uriResolver,n,e);let r=t.refs[e];if(r)return r;let o=rge.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 Md({schema:a,schemaId:s,root:t,baseId:n}))}if(o!==void 0)return t.refs[e]=nge.call(this,o)}Sr.resolveRef=tge;function nge(t){return(0,oo.inlineRef)(t.schema,this.opts.inlineRefs)?t.schema:t.validate?t:Gx.call(this,t)}function dH(t){for(let n of this._compilations)if(ige(n,t))return n}Sr.getCompilingSchema=dH;function ige(t,n){return t.schema===n.schema&&t.root===n.root&&t.baseId===n.baseId}function rge(t,n){let e;for(;typeof(e=this.refs[n])=="string";)n=e;return e||this.schemas[n]||vy.call(this,t,n)}function vy(t,n){let e=this.opts.uriResolver.parse(n),i=(0,oo._getFullPath)(this.opts.uriResolver,e),r=(0,oo.getFullPath)(this.opts.uriResolver,t.baseId,void 0);if(Object.keys(t.schema).length>0&&i===r)return qx.call(this,e,t);let o=(0,oo.normalizeId)(i),a=this.refs[o]||this.schemas[o];if(typeof a=="string"){let s=vy.call(this,t,a);return typeof s?.schema!="object"?void 0:qx.call(this,e,s)}if(typeof a?.schema=="object"){if(a.validate||Gx.call(this,a),o===(0,oo.normalizeId)(n)){let{schema:s}=a,{schemaId:l}=this.opts,c=s[l];return c&&(r=(0,oo.resolveUrl)(this.opts.uriResolver,r,c)),new Md({schema:s,schemaId:l,root:t,baseId:r})}return qx.call(this,e,a)}}Sr.resolveSchema=vy;var oge=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function qx(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,cH.unescapeFragment)(s)];if(l===void 0)return;e=l;let c=typeof e=="object"&&e[this.opts.schemaId];!oge.has(s)&&c&&(n=(0,oo.resolveUrl)(this.opts.uriResolver,n,c))}let o;if(typeof e!="boolean"&&e.$ref&&!(0,cH.schemaHasRulesButRef)(e,this.RULES)){let s=(0,oo.resolveUrl)(this.opts.uriResolver,n,e.$ref);o=vy.call(this,i,s)}let{schemaId:a}=this.opts;if(o=o||new Md({schema:e,schemaId:a,root:i,baseId:n}),o.schema!==o.root.schema)return o}});var uH=g(($et,age)=>{age.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 Yx=g((Het,pH)=>{"use strict";var sge=RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu),fH=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 Wx(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 lge=RegExp.prototype.test.bind(/[^!"$&'()*+,\-.;=_`a-z{}~]/u);function mH(t){return t.length=0,!0}function cge(t,n,e){if(t.length){let i=Wx(t);if(i!=="")n.push(i);else return e.error=!0,!1;t.length=0}return!0}function dge(t){let n=0,e={error:!1,address:"",zone:""},i=[],r=[],o=!1,a=!1,s=cge;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=mH}else{r.push(c);continue}}return r.length&&(s===mH?e.zone=r.join(""):a?i.push(r.join("")):i.push(Wx(r))),e.address=i.join(""),e}function hH(t){if(uge(t,":")<2)return{host:t,isIPV6:!1};let n=dge(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 uge(t,n){let e=0;for(let i=0;i<t.length;i++)t[i]===n&&e++;return e}function mge(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 fge(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 hge(t){let n=[];if(t.userinfo!==void 0&&(n.push(t.userinfo),n.push("@")),t.host!==void 0){let e=unescape(t.host);if(!fH(e)){let i=hH(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}pH.exports={nonSimpleDomain:lge,recomposeAuthority:hge,normalizeComponentEncoding:fge,removeDotSegments:mge,isIPv4:fH,isUUID:sge,normalizeIPv6:hH,stringArrayToHexStripped:Wx}});var vH=g((Uet,bH)=>{"use strict";var{isUUID:pge}=Yx(),gge=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu,_ge=["http","https","ws","wss","urn","urn:uuid"];function yge(t){return _ge.indexOf(t)!==-1}function Kx(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 gH(t){return t.host||(t.error=t.error||"HTTP URIs must have a host."),t}function _H(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 bge(t){return t.secure=Kx(t),t.resourceName=(t.path||"/")+(t.query?"?"+t.query:""),t.path=void 0,t.query=void 0,t}function vge(t){if((t.port===(Kx(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 Cge(t,n){if(!t.path)return t.error="URN can not be parsed",t;let e=t.path.match(gge);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=Qx(r);t.path=void 0,o&&(t=o.parse(t,n))}else t.error=t.error||"URN can not be parsed.";return t}function wge(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=Qx(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 Dge(t,n){let e=t;return e.uuid=e.nss,e.nss=void 0,!n.tolerant&&(!e.uuid||!pge(e.uuid))&&(e.error=e.error||"UUID is not valid."),e}function Ege(t){let n=t;return n.nss=(t.uuid||"").toLowerCase(),n}var yH={scheme:"http",domainHost:!0,parse:gH,serialize:_H},Sge={scheme:"https",domainHost:yH.domainHost,parse:gH,serialize:_H},wy={scheme:"ws",domainHost:!0,parse:bge,serialize:vge},xge={scheme:"wss",domainHost:wy.domainHost,parse:wy.parse,serialize:wy.serialize},Tge={scheme:"urn",parse:Cge,serialize:wge,skipNormalize:!0},Ige={scheme:"urn:uuid",parse:Dge,serialize:Ege,skipNormalize:!0},Dy={http:yH,https:Sge,ws:wy,wss:xge,urn:Tge,"urn:uuid":Ige};Object.setPrototypeOf(Dy,null);function Qx(t){return t&&(Dy[t]||Dy[t.toLowerCase()])||void 0}bH.exports={wsIsSecure:Kx,SCHEMES:Dy,isValidSchemeName:yge,getSchemeHandler:Qx}});var DH=g((qet,Sy)=>{"use strict";var{normalizeIPv6:kge,removeDotSegments:If,recomposeAuthority:Mge,normalizeComponentEncoding:Ey,isIPv4:Age,nonSimpleDomain:Rge}=Yx(),{SCHEMES:Pge,getSchemeHandler:CH}=vH();function Fge(t,n){return typeof t=="string"?t=Oo(Ta(t,n),n):typeof t=="object"&&(t=Ta(Oo(t,n),n)),t}function Oge(t,n,e){let i=e?Object.assign({scheme:"null"},e):{scheme:"null"},r=wH(Ta(t,i),Ta(n,i),i,!0);return i.skipEscape=!0,Oo(r,i)}function wH(t,n,e,i){let r={};return i||(t=Ta(Oo(t,e),e),n=Ta(Oo(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=If(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=If(n.path||""),r.query=n.query):(n.path?(n.path[0]==="/"?r.path=If(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=If(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 Nge(t,n,e){return typeof t=="string"?(t=unescape(t),t=Oo(Ey(Ta(t,e),!0),de(k({},e),{skipEscape:!0}))):typeof t=="object"&&(t=Oo(Ey(t,!0),de(k({},e),{skipEscape:!0}))),typeof n=="string"?(n=unescape(n),n=Oo(Ey(Ta(n,e),!0),de(k({},e),{skipEscape:!0}))):typeof n=="object"&&(n=Oo(Ey(n,!0),de(k({},e),{skipEscape:!0}))),t.toLowerCase()===n.toLowerCase()}function Oo(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=CH(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=Mge(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=If(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 Lge=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function Ta(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(Lge);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(Age(i.host)===!1){let l=kge(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=CH(e.scheme||i.scheme);if(!e.unicodeSupport&&(!a||!a.unicodeSupport)&&i.host&&(e.domainHost||a&&a.domainHost)&&r===!1&&Rge(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 Zx={SCHEMES:Pge,normalize:Fge,resolve:Oge,resolveComponent:wH,equal:Nge,serialize:Oo,parse:Ta};Sy.exports=Zx;Sy.exports.default=Zx;Sy.exports.fastUri=Zx});var SH=g(Xx=>{"use strict";Object.defineProperty(Xx,"__esModule",{value:!0});var EH=DH();EH.code='require("ajv/dist/runtime/uri").default';Xx.default=EH});var PH=g(Wn=>{"use strict";Object.defineProperty(Wn,"__esModule",{value:!0});Wn.CodeGen=Wn.Name=Wn.nil=Wn.stringify=Wn.str=Wn._=Wn.KeywordCxt=void 0;var Vge=xf();Object.defineProperty(Wn,"KeywordCxt",{enumerable:!0,get:function(){return Vge.KeywordCxt}});var Ad=ot();Object.defineProperty(Wn,"_",{enumerable:!0,get:function(){return Ad._}});Object.defineProperty(Wn,"str",{enumerable:!0,get:function(){return Ad.str}});Object.defineProperty(Wn,"stringify",{enumerable:!0,get:function(){return Ad.stringify}});Object.defineProperty(Wn,"nil",{enumerable:!0,get:function(){return Ad.nil}});Object.defineProperty(Wn,"Name",{enumerable:!0,get:function(){return Ad.Name}});Object.defineProperty(Wn,"CodeGen",{enumerable:!0,get:function(){return Ad.CodeGen}});var jge=by(),MH=Tf(),Bge=Tx(),kf=Cy(),zge=ot(),Mf=Df(),xy=wf(),eT=Mt(),xH=uH(),$ge=SH(),AH=(t,n)=>new RegExp(t,n);AH.code="new RegExp";var Hge=["removeAdditional","useDefaults","coerceTypes"],Uge=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),qge={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."},Gge={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},TH=200;function Wge(t){var n,e,i,r,o,a,s,l,c,d,m,f,h,p,b,D,E,P,Y,ce,re,Pe,Fe,Me,Le;let gt=t.strict,Ut=(n=t.code)===null||n===void 0?void 0:n.optimize,Ee=Ut===!0||Ut===void 0?1:Ut||0,le=(i=(e=t.code)===null||e===void 0?void 0:e.regExp)!==null&&i!==void 0?i:AH,oe=(r=t.uriResolver)!==null&&r!==void 0?r:$ge.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(k({},t.code),{optimize:Ee,regExp:le}):{optimize:Ee,regExp:le},loopRequired:(b=t.loopRequired)!==null&&b!==void 0?b:TH,loopEnum:(D=t.loopEnum)!==null&&D!==void 0?D:TH,meta:(E=t.meta)!==null&&E!==void 0?E:!0,messages:(P=t.messages)!==null&&P!==void 0?P:!0,inlineRefs:(Y=t.inlineRefs)!==null&&Y!==void 0?Y:!0,schemaId:(ce=t.schemaId)!==null&&ce!==void 0?ce:"$id",addUsedSchema:(re=t.addUsedSchema)!==null&&re!==void 0?re:!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:(Le=t.int32range)!==null&&Le!==void 0?Le:!0,uriResolver:oe}}var Af=class{constructor(n={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,n=this.opts=k(k({},n),Wge(n));let{es5:e,lines:i}=this.opts.code;this.scope=new zge.ValueScope({scope:{},prefixes:Uge,es5:e,lines:i}),this.logger=Jge(n.logger);let r=n.validateFormats;n.validateFormats=!1,this.RULES=(0,Bge.getRules)(),IH.call(this,qge,n,"NOT SUPPORTED"),IH.call(this,Gge,n,"DEPRECATED","warn"),this._metaOpts=Zge.call(this),n.formats&&Kge.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),n.keywords&&Qge.call(this,n.keywords),typeof n.meta=="object"&&this.addMetaSchema(n.meta),Yge.call(this),n.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){let{$data:n,meta:e,schemaId:i}=this.opts,r=xH;i==="id"&&(r=k({},xH),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 MH.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,Mf.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=kH.call(this,n))=="string";)n=e;if(e===void 0){let{schemaId:i}=this.opts,r=new kf.SchemaEnv({schema:{},schemaId:i});if(e=kf.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=kH.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,Mf.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(t_e.call(this,i,e),!e)return(0,eT.eachItem)(i,o=>Jx.call(this,o)),this;i_e.call(this,e);let r=de(k({},e),{type:(0,xy.getJSONTypes)(e.type),schemaType:(0,xy.getJSONTypes)(e.schemaType)});return(0,eT.eachItem)(i,r.type.length===0?o=>Jx.call(this,o,r):o=>r.type.forEach(a=>Jx.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]=RH(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,Mf.normalizeId)(a||i);let c=Mf.getSchemaRefs.call(this,n,i);return l=new kf.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):kf.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{kf.compileSchema.call(this,n)}finally{this.opts=e}}};Af.ValidationError=jge.default;Af.MissingRefError=MH.default;Wn.default=Af;function IH(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 kH(t){return t=(0,Mf.normalizeId)(t),this.schemas[t]||this.refs[t]}function Yge(){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 Kge(){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 Zge(){let t=k({},this.opts);for(let n of Hge)delete t[n];return t}var Xge={log(){},warn(){},error(){}};function Jge(t){if(t===!1)return Xge;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 e_e=/^[a-z_$][a-z0-9_$:-]*$/i;function t_e(t,n){let{RULES:e}=this;if((0,eT.eachItem)(t,i=>{if(e.keywords[i])throw new Error(`Keyword ${i} is already defined`);if(!e_e.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 Jx(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(k({},n),{type:(0,xy.getJSONTypes)(n.type),schemaType:(0,xy.getJSONTypes)(n.schemaType)})};n.before?n_e.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 n_e(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 i_e(t){let{metaSchema:n}=t;n!==void 0&&(t.$data&&this.opts.$data&&(n=RH(n)),t.validateSchema=this.compile(n,!0))}var r_e={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function RH(t){return{anyOf:[t,r_e]}}});var FH=g(tT=>{"use strict";Object.defineProperty(tT,"__esModule",{value:!0});var o_e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};tT.default=o_e});var VH=g(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.callRef=Ul.getValidate=void 0;var a_e=Tf(),OH=Er(),Li=ot(),Rd=Sa(),NH=Cy(),Ty=Mt(),s_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=NH.resolveRef.call(l,c,r,e);if(d===void 0)throw new a_e.default(i.opts.uriResolver,r,e);if(d instanceof NH.SchemaEnv)return f(d);return h(d);function m(){if(o===c)return Iy(t,a,o,o.$async);let p=n.scopeValue("root",{ref:c});return Iy(t,(0,Li._)`${p}.validate`,c,c.$async)}function f(p){let b=LH(t,p);Iy(t,b,p,p.$async)}function h(p){let b=n.scopeValue("schema",s.code.source===!0?{ref:p,code:(0,Li.stringify)(p)}:{ref:p}),D=n.name("valid"),E=t.subschema({schema:p,dataTypes:[],schemaPath:Li.nil,topSchemaRef:b,errSchemaPath:e},D);t.mergeEvaluated(E),t.ok(D)}}};function LH(t,n){let{gen:e}=t;return n.validate?e.scopeValue("validate",{ref:n.validate}):(0,Li._)`${e.scopeValue("wrapper",{ref:n})}.validate`}Ul.getValidate=LH;function Iy(t,n,e,i){let{gen:r,it:o}=t,{allErrors:a,schemaEnv:s,opts:l}=o,c=l.passContext?Rd.default.this:Li.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,Li._)`await ${(0,OH.callValidateCode)(t,n,c)}`),h(n),a||r.assign(p,!0)},b=>{r.if((0,Li._)`!(${b} instanceof ${o.ValidationError})`,()=>r.throw(b)),f(b),a||r.assign(p,!1)}),t.ok(p)}function m(){t.result((0,OH.callValidateCode)(t,n,c),()=>h(n),()=>f(n))}function f(p){let b=(0,Li._)`${p}.errors`;r.assign(Rd.default.vErrors,(0,Li._)`${Rd.default.vErrors} === null ? ${b} : ${Rd.default.vErrors}.concat(${b})`),r.assign(Rd.default.errors,(0,Li._)`${Rd.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=Ty.mergeEvaluated.props(r,D.props,o.props));else{let E=r.var("props",(0,Li._)`${p}.evaluated.props`);o.props=Ty.mergeEvaluated.props(r,E,o.props,Li.Name)}if(o.items!==!0)if(D&&!D.dynamicItems)D.items!==void 0&&(o.items=Ty.mergeEvaluated.items(r,D.items,o.items));else{let E=r.var("items",(0,Li._)`${p}.evaluated.items`);o.items=Ty.mergeEvaluated.items(r,E,o.items,Li.Name)}}}Ul.callRef=Iy;Ul.default=s_e});var jH=g(nT=>{"use strict";Object.defineProperty(nT,"__esModule",{value:!0});var l_e=FH(),c_e=VH(),d_e=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",l_e.default,c_e.default];nT.default=d_e});var BH=g(iT=>{"use strict";Object.defineProperty(iT,"__esModule",{value:!0});var ky=ot(),Es=ky.operators,My={maximum:{okStr:"<=",ok:Es.LTE,fail:Es.GT},minimum:{okStr:">=",ok:Es.GTE,fail:Es.LT},exclusiveMaximum:{okStr:"<",ok:Es.LT,fail:Es.GTE},exclusiveMinimum:{okStr:">",ok:Es.GT,fail:Es.LTE}},u_e={message:({keyword:t,schemaCode:n})=>(0,ky.str)`must be ${My[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>(0,ky._)`{comparison: ${My[t].okStr}, limit: ${n}}`},m_e={keyword:Object.keys(My),type:"number",schemaType:"number",$data:!0,error:u_e,code(t){let{keyword:n,data:e,schemaCode:i}=t;t.fail$data((0,ky._)`${e} ${My[n].fail} ${i} || isNaN(${e})`)}};iT.default=m_e});var zH=g(rT=>{"use strict";Object.defineProperty(rT,"__esModule",{value:!0});var Rf=ot(),f_e={message:({schemaCode:t})=>(0,Rf.str)`must be multiple of ${t}`,params:({schemaCode:t})=>(0,Rf._)`{multipleOf: ${t}}`},h_e={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:f_e,code(t){let{gen:n,data:e,schemaCode:i,it:r}=t,o=r.opts.multipleOfPrecision,a=n.let("res"),s=o?(0,Rf._)`Math.abs(Math.round(${a}) - ${a}) > 1e-${o}`:(0,Rf._)`${a} !== parseInt(${a})`;t.fail$data((0,Rf._)`(${i} === 0 || (${a} = ${e}/${i}, ${s}))`)}};rT.default=h_e});var HH=g(oT=>{"use strict";Object.defineProperty(oT,"__esModule",{value:!0});function $H(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}oT.default=$H;$H.code='require("ajv/dist/runtime/ucs2length").default'});var UH=g(aT=>{"use strict";Object.defineProperty(aT,"__esModule",{value:!0});var ql=ot(),p_e=Mt(),g_e=HH(),__e={message({keyword:t,schemaCode:n}){let e=t==="maxLength"?"more":"fewer";return(0,ql.str)`must NOT have ${e} than ${n} characters`},params:({schemaCode:t})=>(0,ql._)`{limit: ${t}}`},y_e={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:__e,code(t){let{keyword:n,data:e,schemaCode:i,it:r}=t,o=n==="maxLength"?ql.operators.GT:ql.operators.LT,a=r.opts.unicode===!1?(0,ql._)`${e}.length`:(0,ql._)`${(0,p_e.useFunc)(t.gen,g_e.default)}(${e})`;t.fail$data((0,ql._)`${a} ${o} ${i}`)}};aT.default=y_e});var qH=g(sT=>{"use strict";Object.defineProperty(sT,"__esModule",{value:!0});var b_e=Er(),Ay=ot(),v_e={message:({schemaCode:t})=>(0,Ay.str)`must match pattern "${t}"`,params:({schemaCode:t})=>(0,Ay._)`{pattern: ${t}}`},C_e={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:v_e,code(t){let{data:n,$data:e,schema:i,schemaCode:r,it:o}=t,a=o.opts.unicodeRegExp?"u":"",s=e?(0,Ay._)`(new RegExp(${r}, ${a}))`:(0,b_e.usePattern)(t,i);t.fail$data((0,Ay._)`!${s}.test(${n})`)}};sT.default=C_e});var GH=g(lT=>{"use strict";Object.defineProperty(lT,"__esModule",{value:!0});var Pf=ot(),w_e={message({keyword:t,schemaCode:n}){let e=t==="maxProperties"?"more":"fewer";return(0,Pf.str)`must NOT have ${e} than ${n} properties`},params:({schemaCode:t})=>(0,Pf._)`{limit: ${t}}`},D_e={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:w_e,code(t){let{keyword:n,data:e,schemaCode:i}=t,r=n==="maxProperties"?Pf.operators.GT:Pf.operators.LT;t.fail$data((0,Pf._)`Object.keys(${e}).length ${r} ${i}`)}};lT.default=D_e});var WH=g(cT=>{"use strict";Object.defineProperty(cT,"__esModule",{value:!0});var Ff=Er(),Of=ot(),E_e=Mt(),S_e={message:({params:{missingProperty:t}})=>(0,Of.str)`must have required property '${t}'`,params:({params:{missingProperty:t}})=>(0,Of._)`{missingProperty: ${t}}`},x_e={keyword:"required",type:"object",schemaType:"array",$data:!0,error:S_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,E_e.checkStrictMode)(a,E,a.opts.strictRequired)}}function c(){if(l||o)t.block$data(Of.nil,m);else for(let h of e)(0,Ff.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,Ff.checkMissingProp)(t,e,h)),(0,Ff.reportMissingProp)(t,h),n.else()}function m(){n.forOf("prop",i,h=>{t.setParams({missingProperty:h}),n.if((0,Ff.noPropertyInData)(n,r,h,s.ownProperties),()=>t.error())})}function f(h,p){t.setParams({missingProperty:h}),n.forOf(h,i,()=>{n.assign(p,(0,Ff.propertyInData)(n,r,h,s.ownProperties)),n.if((0,Of.not)(p),()=>{t.error(),n.break()})},Of.nil)}}};cT.default=x_e});var YH=g(dT=>{"use strict";Object.defineProperty(dT,"__esModule",{value:!0});var Nf=ot(),T_e={message({keyword:t,schemaCode:n}){let e=t==="maxItems"?"more":"fewer";return(0,Nf.str)`must NOT have ${e} than ${n} items`},params:({schemaCode:t})=>(0,Nf._)`{limit: ${t}}`},I_e={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:T_e,code(t){let{keyword:n,data:e,schemaCode:i}=t,r=n==="maxItems"?Nf.operators.GT:Nf.operators.LT;t.fail$data((0,Nf._)`${e}.length ${r} ${i}`)}};dT.default=I_e});var Ry=g(uT=>{"use strict";Object.defineProperty(uT,"__esModule",{value:!0});var KH=Ox();KH.code='require("ajv/dist/runtime/equal").default';uT.default=KH});var QH=g(fT=>{"use strict";Object.defineProperty(fT,"__esModule",{value:!0});var mT=wf(),Yn=ot(),k_e=Mt(),M_e=Ry(),A_e={message:({params:{i:t,j:n}})=>(0,Yn.str)`must NOT have duplicate items (items ## ${n} and ${t} are identical)`,params:({params:{i:t,j:n}})=>(0,Yn._)`{i: ${t}, j: ${n}}`},R_e={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:A_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,mT.getSchemaTypes)(o.items):[];t.block$data(l,d,(0,Yn._)`${a} === false`),t.ok(l);function d(){let p=n.let("i",(0,Yn._)`${e}.length`),b=n.let("j");t.setParams({i:p,j:b}),n.assign(l,!0),n.if((0,Yn._)`${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,mT.checkDataTypes)(c,D,s.opts.strictNumbers,mT.DataType.Wrong),P=n.const("indices",(0,Yn._)`{}`);n.for((0,Yn._)`;${p}--;`,()=>{n.let(D,(0,Yn._)`${e}[${p}]`),n.if(E,(0,Yn._)`continue`),c.length>1&&n.if((0,Yn._)`typeof ${D} == "string"`,(0,Yn._)`${D} += "_"`),n.if((0,Yn._)`typeof ${P}[${D}] == "number"`,()=>{n.assign(b,(0,Yn._)`${P}[${D}]`),t.error(),n.assign(l,!1).break()}).code((0,Yn._)`${P}[${D}] = ${p}`)})}function h(p,b){let D=(0,k_e.useFunc)(n,M_e.default),E=n.name("outer");n.label(E).for((0,Yn._)`;${p}--;`,()=>n.for((0,Yn._)`${b} = ${p}; ${b}--;`,()=>n.if((0,Yn._)`${D}(${e}[${p}], ${e}[${b}])`,()=>{t.error(),n.assign(l,!1).break(E)})))}}};fT.default=R_e});var ZH=g(pT=>{"use strict";Object.defineProperty(pT,"__esModule",{value:!0});var hT=ot(),P_e=Mt(),F_e=Ry(),O_e={message:"must be equal to constant",params:({schemaCode:t})=>(0,hT._)`{allowedValue: ${t}}`},N_e={keyword:"const",$data:!0,error:O_e,code(t){let{gen:n,data:e,$data:i,schemaCode:r,schema:o}=t;i||o&&typeof o=="object"?t.fail$data((0,hT._)`!${(0,P_e.useFunc)(n,F_e.default)}(${e}, ${r})`):t.fail((0,hT._)`${o} !== ${e}`)}};pT.default=N_e});var XH=g(gT=>{"use strict";Object.defineProperty(gT,"__esModule",{value:!0});var Lf=ot(),L_e=Mt(),V_e=Ry(),j_e={message:"must be equal to one of the allowed values",params:({schemaCode:t})=>(0,Lf._)`{allowedValues: ${t}}`},B_e={keyword:"enum",schemaType:"array",$data:!0,error:j_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,L_e.useFunc)(n,V_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,Lf.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,Lf._)`${c()}(${e}, ${h})`,()=>n.assign(d,!0).break()))}function f(h,p){let b=r[p];return typeof b=="object"&&b!==null?(0,Lf._)`${c()}(${e}, ${h}[${p}])`:(0,Lf._)`${e} === ${b}`}}};gT.default=B_e});var JH=g(_T=>{"use strict";Object.defineProperty(_T,"__esModule",{value:!0});var z_e=BH(),$_e=zH(),H_e=UH(),U_e=qH(),q_e=GH(),G_e=WH(),W_e=YH(),Y_e=QH(),K_e=ZH(),Q_e=XH(),Z_e=[z_e.default,$_e.default,H_e.default,U_e.default,q_e.default,G_e.default,W_e.default,Y_e.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},K_e.default,Q_e.default];_T.default=Z_e});var bT=g(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.validateAdditionalItems=void 0;var Gl=ot(),yT=Mt(),X_e={message:({params:{len:t}})=>(0,Gl.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,Gl._)`{limit: ${t}}`},J_e={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:X_e,code(t){let{parentSchema:n,it:e}=t,{items:i}=n;if(!Array.isArray(i)){(0,yT.checkStrictMode)(e,'"additionalItems" is ignored when "items" is not an array of schemas');return}eU(t,i)}};function eU(t,n){let{gen:e,schema:i,data:r,keyword:o,it:a}=t;a.items=!0;let s=e.const("len",(0,Gl._)`${r}.length`);if(i===!1)t.setParams({len:n.length}),t.pass((0,Gl._)`${s} <= ${n.length}`);else if(typeof i=="object"&&!(0,yT.alwaysValidSchema)(a,i)){let c=e.var("valid",(0,Gl._)`${s} <= ${n.length}`);e.if((0,Gl.not)(c),()=>l(c)),t.ok(c)}function l(c){e.forRange("i",n.length,s,d=>{t.subschema({keyword:o,dataProp:d,dataPropType:yT.Type.Num},c),a.allErrors||e.if((0,Gl.not)(c),()=>e.break())})}}Vf.validateAdditionalItems=eU;Vf.default=J_e});var vT=g(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.validateTuple=void 0;var tU=ot(),Py=Mt(),eye=Er(),tye={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(t){let{schema:n,it:e}=t;if(Array.isArray(n))return nU(t,"additionalItems",n);e.items=!0,!(0,Py.alwaysValidSchema)(e,n)&&t.ok((0,eye.validateArray)(t))}};function nU(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=Py.mergeEvaluated.items(i,e.length,s.items));let l=i.name("valid"),c=i.const("len",(0,tU._)`${o}.length`);e.forEach((m,f)=>{(0,Py.alwaysValidSchema)(s,m)||(i.if((0,tU._)`${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,Py.checkStrictMode)(s,D,f.strictTuples)}}}jf.validateTuple=nU;jf.default=tye});var iU=g(CT=>{"use strict";Object.defineProperty(CT,"__esModule",{value:!0});var nye=vT(),iye={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:t=>(0,nye.validateTuple)(t,"items")};CT.default=iye});var oU=g(wT=>{"use strict";Object.defineProperty(wT,"__esModule",{value:!0});var rU=ot(),rye=Mt(),oye=Er(),aye=bT(),sye={message:({params:{len:t}})=>(0,rU.str)`must NOT have more than ${t} items`,params:({params:{len:t}})=>(0,rU._)`{limit: ${t}}`},lye={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:sye,code(t){let{schema:n,parentSchema:e,it:i}=t,{prefixItems:r}=e;i.items=!0,!(0,rye.alwaysValidSchema)(i,n)&&(r?(0,aye.validateAdditionalItems)(t,r):t.ok((0,oye.validateArray)(t)))}};wT.default=lye});var aU=g(DT=>{"use strict";Object.defineProperty(DT,"__esModule",{value:!0});var xr=ot(),Fy=Mt(),cye={message:({params:{min:t,max:n}})=>n===void 0?(0,xr.str)`must contain at least ${t} valid item(s)`:(0,xr.str)`must contain at least ${t} and no more than ${n} valid item(s)`,params:({params:{min:t,max:n}})=>n===void 0?(0,xr._)`{minContains: ${t}}`:(0,xr._)`{minContains: ${t}, maxContains: ${n}}`},dye={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:cye,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,xr._)`${r}.length`);if(t.setParams({min:a,max:s}),s===void 0&&a===0){(0,Fy.checkStrictMode)(o,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(s!==void 0&&a>s){(0,Fy.checkStrictMode)(o,'"minContains" > "maxContains" is always invalid'),t.fail();return}if((0,Fy.alwaysValidSchema)(o,e)){let b=(0,xr._)`${d} >= ${a}`;s!==void 0&&(b=(0,xr._)`${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,xr._)`${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:Fy.Type.Num,compositeRule:!0},b),D()})}function p(b){n.code((0,xr._)`${b}++`),s===void 0?n.if((0,xr._)`${b} >= ${a}`,()=>n.assign(m,!0).break()):(n.if((0,xr._)`${b} > ${s}`,()=>n.assign(m,!1).break()),a===1?n.assign(m,!0):n.if((0,xr._)`${b} >= ${a}`,()=>n.assign(m,!0)))}}};DT.default=dye});var cU=g(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.validateSchemaDeps=No.validatePropertyDeps=No.error=void 0;var ET=ot(),uye=Mt(),Bf=Er();No.error={message:({params:{property:t,depsCount:n,deps:e}})=>{let i=n===1?"property":"properties";return(0,ET.str)`must have ${i} ${e} when property ${t} is present`},params:({params:{property:t,depsCount:n,deps:e,missingProperty:i}})=>(0,ET._)`{property: ${t},
6
+ missingProperty: ${i},
7
+ depsCount: ${n},
8
+ deps: ${e}}`};var mye={keyword:"dependencies",type:"object",schemaType:"object",error:No.error,code(t){let[n,e]=fye(t);sU(t,n),lU(t,e)}};function fye({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 sU(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,Bf.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,Bf.checkReportMissingProp)(t,c)}):(e.if((0,ET._)`${l} && (${(0,Bf.checkMissingProp)(t,s,o)})`),(0,Bf.reportMissingProp)(t,o),e.else())}}No.validatePropertyDeps=sU;function lU(t,n=t.schema){let{gen:e,data:i,keyword:r,it:o}=t,a=e.name("valid");for(let s in n)(0,uye.alwaysValidSchema)(o,n[s])||(e.if((0,Bf.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))}No.validateSchemaDeps=lU;No.default=mye});var uU=g(ST=>{"use strict";Object.defineProperty(ST,"__esModule",{value:!0});var dU=ot(),hye=Mt(),pye={message:"property name must be valid",params:({params:t})=>(0,dU._)`{propertyName: ${t.propertyName}}`},gye={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:pye,code(t){let{gen:n,schema:e,data:i,it:r}=t;if((0,hye.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,dU.not)(o),()=>{t.error(!0),r.allErrors||n.break()})}),t.ok(o)}};ST.default=gye});var TT=g(xT=>{"use strict";Object.defineProperty(xT,"__esModule",{value:!0});var Oy=Er(),ao=ot(),_ye=Sa(),Ny=Mt(),yye={message:"must NOT have additional properties",params:({params:t})=>(0,ao._)`{additionalProperty: ${t.additionalProperty}}`},bye={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:yye,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,Ny.alwaysValidSchema)(a,e))return;let c=(0,Oy.allSchemaProperties)(i.properties),d=(0,Oy.allSchemaProperties)(i.patternProperties);m(),t.ok((0,ao._)`${o} === ${_ye.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,Ny.schemaRefOrVal)(a,i.properties,"properties");E=(0,Oy.isOwnProperty)(n,P,D)}else c.length?E=(0,ao.or)(...c.map(P=>(0,ao._)`${D} === ${P}`)):E=ao.nil;return d.length&&(E=(0,ao.or)(E,...d.map(P=>(0,ao._)`${(0,Oy.usePattern)(t,P)}.test(${D})`))),(0,ao.not)(E)}function h(D){n.code((0,ao._)`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,Ny.alwaysValidSchema)(a,e)){let E=n.name("valid");l.removeAdditional==="failing"?(b(D,E,!1),n.if((0,ao.not)(E),()=>{t.reset(),h(D)})):(b(D,E),s||n.if((0,ao.not)(E),()=>n.break()))}}function b(D,E,P){let Y={keyword:"additionalProperties",dataProp:D,dataPropType:Ny.Type.Str};P===!1&&Object.assign(Y,{compositeRule:!0,createErrors:!1,allErrors:!1}),t.subschema(Y,E)}}};xT.default=bye});var hU=g(kT=>{"use strict";Object.defineProperty(kT,"__esModule",{value:!0});var vye=xf(),mU=Er(),IT=Mt(),fU=TT(),Cye={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&&fU.default.code(new vye.KeywordCxt(o,fU.default,"additionalProperties"));let a=(0,mU.allSchemaProperties)(e);for(let m of a)o.definedProperties.add(m);o.opts.unevaluated&&a.length&&o.props!==!0&&(o.props=IT.mergeEvaluated.props(n,(0,IT.toHash)(a),o.props));let s=a.filter(m=>!(0,IT.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,mU.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)}}};kT.default=Cye});var yU=g(MT=>{"use strict";Object.defineProperty(MT,"__esModule",{value:!0});var pU=Er(),Ly=ot(),gU=Mt(),_U=Mt(),wye={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,pU.allSchemaProperties)(e),l=s.filter(b=>(0,gU.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 Ly.Name)&&(o.props=(0,_U.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,gU.checkStrictMode)(o,`property ${D} matches pattern ${b} (use allowMatchingProperties)`)}function p(b){n.forIn("key",i,D=>{n.if((0,Ly._)`${(0,pU.usePattern)(t,b)}.test(${D})`,()=>{let E=l.includes(b);E||t.subschema({keyword:"patternProperties",schemaProp:b,dataProp:D,dataPropType:_U.Type.Str},d),o.opts.unevaluated&&m!==!0?n.assign((0,Ly._)`${m}[${D}]`,!0):!E&&!o.allErrors&&n.if((0,Ly.not)(d),()=>n.break())})})}}};MT.default=wye});var bU=g(AT=>{"use strict";Object.defineProperty(AT,"__esModule",{value:!0});var Dye=Mt(),Eye={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(t){let{gen:n,schema:e,it:i}=t;if((0,Dye.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"}};AT.default=Eye});var vU=g(RT=>{"use strict";Object.defineProperty(RT,"__esModule",{value:!0});var Sye=Er(),xye={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Sye.validateUnion,error:{message:"must match a schema in anyOf"}};RT.default=xye});var CU=g(PT=>{"use strict";Object.defineProperty(PT,"__esModule",{value:!0});var Vy=ot(),Tye=Mt(),Iye={message:"must match exactly one schema in oneOf",params:({params:t})=>(0,Vy._)`{passingSchemas: ${t.passing}}`},kye={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:Iye,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,Tye.alwaysValidSchema)(r,d)?n.var(l,!0):f=t.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},l),m>0&&n.if((0,Vy._)`${l} && ${a}`).assign(a,!1).assign(s,(0,Vy._)`[${s}, ${m}]`).else(),n.if(l,()=>{n.assign(a,!0),n.assign(s,m),f&&t.mergeEvaluated(f,Vy.Name)})})}}};PT.default=kye});var wU=g(FT=>{"use strict";Object.defineProperty(FT,"__esModule",{value:!0});var Mye=Mt(),Aye={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,Mye.alwaysValidSchema)(i,o))return;let s=t.subschema({keyword:"allOf",schemaProp:a},r);t.ok(r),t.mergeEvaluated(s)})}};FT.default=Aye});var SU=g(OT=>{"use strict";Object.defineProperty(OT,"__esModule",{value:!0});var jy=ot(),EU=Mt(),Rye={message:({params:t})=>(0,jy.str)`must match "${t.ifClause}" schema`,params:({params:t})=>(0,jy._)`{failingKeyword: ${t.ifClause}}`},Pye={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:Rye,code(t){let{gen:n,parentSchema:e,it:i}=t;e.then===void 0&&e.else===void 0&&(0,EU.checkStrictMode)(i,'"if" without "then" and "else" is ignored');let r=DU(i,"then"),o=DU(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,jy.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,jy._)`${d}`):t.setParams({ifClause:d})}}}};function DU(t,n){let e=t.schema[n];return e!==void 0&&!(0,EU.alwaysValidSchema)(t,e)}OT.default=Pye});var xU=g(NT=>{"use strict";Object.defineProperty(NT,"__esModule",{value:!0});var Fye=Mt(),Oye={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:t,parentSchema:n,it:e}){n.if===void 0&&(0,Fye.checkStrictMode)(e,`"${t}" without "if" is ignored`)}};NT.default=Oye});var TU=g(LT=>{"use strict";Object.defineProperty(LT,"__esModule",{value:!0});var Nye=bT(),Lye=iU(),Vye=vT(),jye=oU(),Bye=aU(),zye=cU(),$ye=uU(),Hye=TT(),Uye=hU(),qye=yU(),Gye=bU(),Wye=vU(),Yye=CU(),Kye=wU(),Qye=SU(),Zye=xU();function Xye(t=!1){let n=[Gye.default,Wye.default,Yye.default,Kye.default,Qye.default,Zye.default,$ye.default,Hye.default,zye.default,Uye.default,qye.default];return t?n.push(Lye.default,jye.default):n.push(Nye.default,Vye.default),n.push(Bye.default),n}LT.default=Xye});var IU=g(VT=>{"use strict";Object.defineProperty(VT,"__esModule",{value:!0});var Cn=ot(),Jye={message:({schemaCode:t})=>(0,Cn.str)`must match format "${t}"`,params:({schemaCode:t})=>(0,Cn._)`{format: ${t}}`},ebe={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:Jye,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(),Y()));function P(){return l.strictSchema===!1?Cn.nil:(0,Cn._)`${a} && !${E}`}function Y(){let ce=d.$async?(0,Cn._)`(${b}.async ? await ${E}(${i}) : ${E}(${i}))`:(0,Cn._)`${E}(${i})`,re=(0,Cn._)`(typeof ${E} == "function" ? ${ce} : ${E}.test(${i}))`;return(0,Cn._)`${E} && ${E} !== true && ${D} === ${n} && !${re}`}}function h(){let p=m.formats[o];if(!p){P();return}if(p===!0)return;let[b,D,E]=Y(p);b===n&&t.pass(ce());function P(){if(l.strictSchema===!1){m.logger.warn(re());return}throw new Error(re());function re(){return`unknown format "${o}" ignored in schema at path "${c}"`}}function Y(re){let Pe=re instanceof RegExp?(0,Cn.regexpCode)(re):l.code.formats?(0,Cn._)`${l.code.formats}${(0,Cn.getProperty)(o)}`:void 0,Fe=e.scopeValue("formats",{key:o,ref:re,code:Pe});return typeof re=="object"&&!(re instanceof RegExp)?[re.type||"string",re.validate,(0,Cn._)`${Fe}.validate`]:["string",re,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})`}}}};VT.default=ebe});var kU=g(jT=>{"use strict";Object.defineProperty(jT,"__esModule",{value:!0});var tbe=IU(),nbe=[tbe.default];jT.default=nbe});var MU=g(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.contentVocabulary=Pd.metadataVocabulary=void 0;Pd.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"];Pd.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]});var RU=g(BT=>{"use strict";Object.defineProperty(BT,"__esModule",{value:!0});var ibe=jH(),rbe=JH(),obe=TU(),abe=kU(),AU=MU(),sbe=[ibe.default,rbe.default,(0,obe.default)(),abe.default,AU.metadataVocabulary,AU.contentVocabulary];BT.default=sbe});var FU=g(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0});By.DiscrError=void 0;var PU=(function(t){return t.Tag="tag",t.Mapping="mapping",t})(PU||(By.DiscrError=PU={}))});var NU=g($T=>{"use strict";Object.defineProperty($T,"__esModule",{value:!0});var Fd=ot(),zT=FU(),OU=Cy(),lbe=Tf(),cbe=Mt(),dbe={message:({params:{discrError:t,tagName:n}})=>t===zT.DiscrError.Tag?`tag "${n}" must be string`:`value of tag "${n}" must be in oneOf`,params:({params:{discrError:t,tag:n,tagName:e}})=>(0,Fd._)`{error: ${t}, tag: ${e}, tagValue: ${n}}`},ube={keyword:"discriminator",type:"object",schemaType:"object",error:dbe,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,Fd._)`${e}${(0,Fd.getProperty)(s)}`);n.if((0,Fd._)`typeof ${c} == "string"`,()=>d(),()=>t.error(!1,{discrError:zT.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,Fd._)`${c} === ${p}`),n.assign(l,m(h[p]));n.else(),t.error(!1,{discrError:zT.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,Fd.Name),p}function f(){var h;let p={},b=E(r),D=!0;for(let ce=0;ce<a.length;ce++){let re=a[ce];if(re?.$ref&&!(0,cbe.schemaHasRulesButRef)(re,o.self.RULES)){let Fe=re.$ref;if(re=OU.resolveRef.call(o.self,o.schemaEnv.root,o.baseId,Fe),re instanceof OU.SchemaEnv&&(re=re.schema),re===void 0)throw new lbe.default(o.opts.uriResolver,o.baseId,Fe)}let Pe=(h=re?.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(re)),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,re){if(ce.const)Y(ce.const,re);else if(ce.enum)for(let Pe of ce.enum)Y(Pe,re);else throw new Error(`discriminator: "properties/${s}" must have "const" or "enum"`)}function Y(ce,re){if(typeof ce!="string"||ce in p)throw new Error(`discriminator: "${s}" values must be unique strings`);p[ce]=re}}}};$T.default=ube});var LU=g((Ott,mbe)=>{mbe.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 zf=g((an,HT)=>{"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 fbe=PH(),hbe=RU(),pbe=NU(),VU=LU(),gbe=["/properties"],zy="http://json-schema.org/draft-07/schema",Od=class extends fbe.default{_addVocabularies(){super._addVocabularies(),hbe.default.forEach(n=>this.addVocabulary(n)),this.opts.discriminator&&this.addKeyword(pbe.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;let n=this.opts.$data?this.$dataMetaSchema(VU,gbe):VU;this.addMetaSchema(n,zy,!1),this.refs["http://json-schema.org/schema"]=zy}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(zy)?zy:void 0)}};an.Ajv=Od;HT.exports=an=Od;HT.exports.Ajv=Od;Object.defineProperty(an,"__esModule",{value:!0});an.default=Od;var _be=xf();Object.defineProperty(an,"KeywordCxt",{enumerable:!0,get:function(){return _be.KeywordCxt}});var Nd=ot();Object.defineProperty(an,"_",{enumerable:!0,get:function(){return Nd._}});Object.defineProperty(an,"str",{enumerable:!0,get:function(){return Nd.str}});Object.defineProperty(an,"stringify",{enumerable:!0,get:function(){return Nd.stringify}});Object.defineProperty(an,"nil",{enumerable:!0,get:function(){return Nd.nil}});Object.defineProperty(an,"Name",{enumerable:!0,get:function(){return Nd.Name}});Object.defineProperty(an,"CodeGen",{enumerable:!0,get:function(){return Nd.CodeGen}});var ybe=by();Object.defineProperty(an,"ValidationError",{enumerable:!0,get:function(){return ybe.default}});var bbe=Tf();Object.defineProperty(an,"MissingRefError",{enumerable:!0,get:function(){return bbe.default}})});var UU=g(Lo=>{"use strict";Object.defineProperty(Lo,"__esModule",{value:!0});Lo.formatNames=Lo.fastFormats=Lo.fullFormats=void 0;function Ld(t,n){return{validate:t,compare:n}}Lo.fullFormats={date:Ld(zU,GT),time:Ld($U,WT),"date-time":Ld(Dbe,HU),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:xbe,"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:Pbe,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:Tbe,int32:{type:"number",validate:Mbe},int64:{type:"number",validate:Abe},float:{type:"number",validate:BU},double:{type:"number",validate:BU},password:!0,binary:!0};Lo.fastFormats=de(k({},Lo.fullFormats),{date:Ld(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,GT),time:Ld(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,WT),"date-time":Ld(/^\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,HU),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});Lo.formatNames=Object.keys(Lo.fullFormats);function vbe(t){return t%4===0&&(t%100!==0||t%400===0)}var Cbe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,wbe=[0,31,28,31,30,31,30,31,31,30,31,30,31];function zU(t){let n=Cbe.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&&vbe(e)?29:wbe[i])}function GT(t,n){if(t&&n)return t>n?1:t<n?-1:0}var UT=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function $U(t,n){let e=UT.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 WT(t,n){if(!(t&&n))return;let e=UT.exec(t),i=UT.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 qT=/t|\s/i;function Dbe(t){let n=t.split(qT);return n.length===2&&zU(n[0])&&$U(n[1],!0)}function HU(t,n){if(!(t&&n))return;let[e,i]=t.split(qT),[r,o]=n.split(qT),a=GT(e,r);if(a!==void 0)return a||WT(i,o)}var Ebe=/\/|:/,Sbe=/^(?:[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 xbe(t){return Ebe.test(t)&&Sbe.test(t)}var jU=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function Tbe(t){return jU.lastIndex=0,jU.test(t)}var Ibe=-(2**31),kbe=2**31-1;function Mbe(t){return Number.isInteger(t)&&t<=kbe&&t>=Ibe}function Abe(t){return Number.isInteger(t)}function BU(){return!0}var Rbe=/[^\\]\\Z/;function Pbe(t){if(Rbe.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var qU=g(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.formatLimitDefinition=void 0;var Fbe=zf(),so=ot(),Ss=so.operators,$y={formatMaximum:{okStr:"<=",ok:Ss.LTE,fail:Ss.GT},formatMinimum:{okStr:">=",ok:Ss.GTE,fail:Ss.LT},formatExclusiveMaximum:{okStr:"<",ok:Ss.LT,fail:Ss.GTE},formatExclusiveMinimum:{okStr:">",ok:Ss.GT,fail:Ss.LTE}},Obe={message:({keyword:t,schemaCode:n})=>so.str`should be ${$y[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>so._`{comparison: ${$y[t].okStr}, limit: ${n}}`};Vd.formatLimitDefinition={keyword:Object.keys($y),type:"string",schemaType:"string",$data:!0,error:Obe,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 Fbe.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",so._`${f}[${l.schemaCode}]`);t.fail$data(so.or(so._`typeof ${h} != "object"`,so._`${h} instanceof RegExp`,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?so._`${a.code.formats}${so.getProperty(f)}`:void 0});t.fail$data(m(p))}function m(f){return so._`${f}.compare(${e}, ${i}) ${$y[r].fail} 0`}},dependencies:["format"]};var Nbe=t=>(t.addKeyword(Vd.formatLimitDefinition),t);Vd.default=Nbe});var KU=g(($f,YU)=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});var jd=UU(),Lbe=qU(),YT=ot(),GU=new YT.Name("fullFormats"),Vbe=new YT.Name("fastFormats"),KT=(t,n={keywords:!0})=>{if(Array.isArray(n))return WU(t,n,jd.fullFormats,GU),t;let[e,i]=n.mode==="fast"?[jd.fastFormats,Vbe]:[jd.fullFormats,GU],r=n.formats||jd.formatNames;return WU(t,r,e,i),n.keywords&&Lbe.default(t),t};KT.get=(t,n="full")=>{let i=(n==="fast"?jd.fastFormats:jd.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function WU(t,n,e,i){var r,o;(r=(o=t.opts.code).formats)!==null&&r!==void 0||(o.formats=YT._`require("ajv-formats/dist/formats").${i}`);for(let a of n)t.addFormat(a,e[a])}YU.exports=$f=KT;Object.defineProperty($f,"__esModule",{value:!0});$f.default=KT});var ZU=g((jtt,QU)=>{"use strict";function jbe(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}}QU.exports=jbe});var QT=g((Btt,XU)=>{"use strict";var Bbe=ZU(),zbe=Bbe();XU.exports=zbe});var e3=g((ztt,JU)=>{"use strict";var $be=QT(),Hbe=Ro();function Ube(t,n){return t&&$be(t,n,Hbe)}JU.exports=Ube});var n3=g(($tt,t3)=>{"use strict";var qbe=Ca();function Gbe(t,n){return function(e,i){if(e==null)return e;if(!qbe(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}}t3.exports=Gbe});var Hy=g((Htt,i3)=>{"use strict";var Wbe=e3(),Ybe=n3(),Kbe=Ybe(Wbe);i3.exports=Kbe});var o3=g((Utt,r3)=>{"use strict";var Qbe=Hy();function Zbe(t,n){var e=[];return Qbe(t,function(i,r,o){n(i,r,o)&&e.push(i)}),e}r3.exports=Zbe});var s3=g((qtt,a3)=>{"use strict";var Xbe=ZS(),Jbe=o3(),eve=wa(),tve=vn();function nve(t,n){var e=tve(t)?Xbe:Jbe;return e(t,eve(n,3))}a3.exports=nve});var ZT=g((Gtt,l3)=>{"use strict";var ive=ry();function rve(t,n){return ive(t,n)}l3.exports=rve});var XT=g((Wtt,c3)=>{"use strict";var ove=ps(),ave=(function(){try{var t=ove(Object,"defineProperty");return t({},"",{}),t}catch{}})();c3.exports=ave});var Uy=g((Ytt,u3)=>{"use strict";var d3=XT();function sve(t,n,e){n=="__proto__"&&d3?d3(t,n,{configurable:!0,enumerable:!0,value:e,writable:!0}):t[n]=e}u3.exports=sve});var JT=g((Ktt,m3)=>{"use strict";var lve=Uy(),cve=yd();function dve(t,n,e){(e!==void 0&&!cve(t[n],e)||e===void 0&&!(n in t))&&lve(t,n,e)}m3.exports=dve});var eI=g((Hf,Bd)=>{"use strict";var uve=wi(),g3=typeof Hf=="object"&&Hf&&!Hf.nodeType&&Hf,f3=g3&&typeof Bd=="object"&&Bd&&!Bd.nodeType&&Bd,mve=f3&&f3.exports===g3,h3=mve?uve.Buffer:void 0,p3=h3?h3.allocUnsafe:void 0;function fve(t,n){if(n)return t.slice();var e=t.length,i=p3?p3(e):new t.constructor(e);return t.copy(i),i}Bd.exports=fve});var qy=g((Qtt,y3)=>{"use strict";var _3=WS();function hve(t){var n=new t.constructor(t.byteLength);return new _3(n).set(new _3(t)),n}y3.exports=hve});var tI=g((Ztt,b3)=>{"use strict";var pve=qy();function gve(t,n){var e=n?pve(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}b3.exports=gve});var zd=g((Xtt,v3)=>{"use strict";function _ve(t,n){var e=-1,i=t.length;for(n||(n=Array(i));++e<i;)n[e]=t[e];return n}v3.exports=_ve});var Uf=g((Jtt,w3)=>{"use strict";var yve=Xi(),C3=Object.create,bve=(function(){function t(){}return function(n){if(!yve(n))return{};if(C3)return C3(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}})();w3.exports=bve});var Gy=g((ent,D3)=>{"use strict";var vve=vS(),Cve=vve(Object.getPrototypeOf,Object);D3.exports=Cve});var nI=g((tnt,E3)=>{"use strict";var wve=Uf(),Dve=Gy(),Eve=tf();function Sve(t){return typeof t.constructor=="function"&&!Eve(t)?wve(Dve(t)):{}}E3.exports=Sve});var x3=g((nnt,S3)=>{"use strict";var xve=Ca(),Tve=Pi();function Ive(t){return Tve(t)&&xve(t)}S3.exports=Ive});var iI=g((int,I3)=>{"use strict";var kve=va(),Mve=Gy(),Ave=Pi(),Rve="[object Object]",Pve=Function.prototype,Fve=Object.prototype,T3=Pve.toString,Ove=Fve.hasOwnProperty,Nve=T3.call(Object);function Lve(t){if(!Ave(t)||kve(t)!=Rve)return!1;var n=Mve(t);if(n===null)return!0;var e=Ove.call(n,"constructor")&&n.constructor;return typeof e=="function"&&e instanceof e&&T3.call(e)==Nve}I3.exports=Lve});var rI=g((rnt,k3)=>{"use strict";function Vve(t,n){if(!(n==="constructor"&&typeof t[n]=="function")&&n!="__proto__")return t[n]}k3.exports=Vve});var Wy=g((ont,M3)=>{"use strict";var jve=Uy(),Bve=yd(),zve=Object.prototype,$ve=zve.hasOwnProperty;function Hve(t,n,e){var i=t[n];(!($ve.call(t,n)&&Bve(i,e))||e===void 0&&!(n in t))&&jve(t,n,e)}M3.exports=Hve});var $d=g((ant,A3)=>{"use strict";var Uve=Wy(),qve=Uy();function Gve(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?qve(e,s,l):Uve(e,s,l)}return e}A3.exports=Gve});var P3=g((snt,R3)=>{"use strict";function Wve(t){var n=[];if(t!=null)for(var e in Object(t))n.push(e);return n}R3.exports=Wve});var O3=g((lnt,F3)=>{"use strict";var Yve=Xi(),Kve=tf(),Qve=P3(),Zve=Object.prototype,Xve=Zve.hasOwnProperty;function Jve(t){if(!Yve(t))return Qve(t);var n=Kve(t),e=[];for(var i in t)i=="constructor"&&(n||!Xve.call(t,i))||e.push(i);return e}F3.exports=Jve});var Hd=g((cnt,N3)=>{"use strict";var e0e=jS(),t0e=O3(),n0e=Ca();function i0e(t){return n0e(t)?e0e(t,!0):t0e(t)}N3.exports=i0e});var V3=g((dnt,L3)=>{"use strict";var r0e=$d(),o0e=Hd();function a0e(t){return r0e(t,o0e(t))}L3.exports=a0e});var U3=g((unt,H3)=>{"use strict";var j3=JT(),s0e=eI(),l0e=tI(),c0e=zd(),d0e=nI(),B3=fd(),z3=vn(),u0e=x3(),m0e=pd(),f0e=ud(),h0e=Xi(),p0e=iI(),g0e=sf(),$3=rI(),_0e=V3();function y0e(t,n,e,i,r,o,a){var s=$3(t,e),l=$3(n,e),c=a.get(l);if(c){j3(t,e,c);return}var d=o?o(s,l,e+"",t,n,a):void 0,m=d===void 0;if(m){var f=z3(l),h=!f&&m0e(l),p=!f&&!h&&g0e(l);d=l,f||h||p?z3(s)?d=s:u0e(s)?d=c0e(s):h?(m=!1,d=s0e(l,!0)):p?(m=!1,d=l0e(l,!0)):d=[]:p0e(l)||B3(l)?(d=s,B3(s)?d=_0e(s):(!h0e(s)||f0e(s))&&(d=d0e(l))):m=!1}m&&(a.set(l,d),r(d,l,i,o,a),a.delete(l)),j3(t,e,d)}H3.exports=y0e});var W3=g((mnt,G3)=>{"use strict";var b0e=pf(),v0e=JT(),C0e=QT(),w0e=U3(),D0e=Xi(),E0e=Hd(),S0e=rI();function q3(t,n,e,i,r){t!==n&&C0e(n,function(o,a){if(r||(r=new b0e),D0e(o))w0e(t,n,a,e,q3,i,r);else{var s=i?i(S0e(t,a),o,a+"",t,n,r):void 0;s===void 0&&(s=o),v0e(t,a,s)}},E0e)}G3.exports=q3});var Yy=g((fnt,Y3)=>{"use strict";function x0e(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)}Y3.exports=x0e});var oI=g((hnt,Q3)=>{"use strict";var T0e=Yy(),K3=Math.max;function I0e(t,n,e){return n=K3(n===void 0?t.length-1:n,0),function(){for(var i=arguments,r=-1,o=K3(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),T0e(t,this,s)}}Q3.exports=I0e});var X3=g((pnt,Z3)=>{"use strict";function k0e(t){return function(){return t}}Z3.exports=k0e});var tq=g((gnt,eq)=>{"use strict";var M0e=X3(),J3=XT(),A0e=gf(),R0e=J3?function(t,n){return J3(t,"toString",{configurable:!0,enumerable:!1,value:M0e(n),writable:!0})}:A0e;eq.exports=R0e});var aI=g((_nt,nq)=>{"use strict";var P0e=800,F0e=16,O0e=Date.now;function N0e(t){var n=0,e=0;return function(){var i=O0e(),r=F0e-(i-e);if(e=i,r>0){if(++n>=P0e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}nq.exports=N0e});var Ky=g((ynt,iq)=>{"use strict";var L0e=tq(),V0e=aI(),j0e=V0e(L0e);iq.exports=j0e});var oq=g((bnt,rq)=>{"use strict";var B0e=gf(),z0e=oI(),$0e=Ky();function H0e(t,n){return $0e(z0e(t,n,B0e),t+"")}rq.exports=H0e});var sq=g((vnt,aq)=>{"use strict";var U0e=oq(),q0e=Q_();function G0e(t){return U0e(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&&q0e(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})}aq.exports=G0e});var Qy=g((Cnt,lq)=>{"use strict";var W0e=W3(),Y0e=sq(),K0e=Y0e(function(t,n,e){W0e(t,n,e)});lq.exports=K0e});var Zy=g((wnt,cq)=>{"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}cq.exports=Q0e});var sI=g((Dnt,dq)=>{"use strict";var Z0e=$d(),X0e=Ro();function J0e(t,n){return t&&Z0e(n,X0e(n),t)}dq.exports=J0e});var mq=g((Ent,uq)=>{"use strict";var eCe=$d(),tCe=Hd();function nCe(t,n){return t&&eCe(n,tCe(n),t)}uq.exports=nCe});var hq=g((Snt,fq)=>{"use strict";var iCe=$d(),rCe=ny();function oCe(t,n){return iCe(t,rCe(t),n)}fq.exports=oCe});var lI=g((xnt,pq)=>{"use strict";var aCe=ty(),sCe=Gy(),lCe=ny(),cCe=XS(),dCe=Object.getOwnPropertySymbols,uCe=dCe?function(t){for(var n=[];t;)aCe(n,lCe(t)),t=sCe(t);return n}:cCe;pq.exports=uCe});var _q=g((Tnt,gq)=>{"use strict";var mCe=$d(),fCe=lI();function hCe(t,n){return mCe(t,fCe(t),n)}gq.exports=hCe});var bq=g((Int,yq)=>{"use strict";var pCe=QS(),gCe=lI(),_Ce=Hd();function yCe(t){return pCe(t,_Ce,gCe)}yq.exports=yCe});var Cq=g((knt,vq)=>{"use strict";var bCe=Object.prototype,vCe=bCe.hasOwnProperty;function CCe(t){var n=t.length,e=new t.constructor(n);return n&&typeof t[0]=="string"&&vCe.call(t,"index")&&(e.index=t.index,e.input=t.input),e}vq.exports=CCe});var Dq=g((Mnt,wq)=>{"use strict";var wCe=qy();function DCe(t,n){var e=n?wCe(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}wq.exports=DCe});var Sq=g((Ant,Eq)=>{"use strict";var ECe=/\w*$/;function SCe(t){var n=new t.constructor(t.source,ECe.exec(t));return n.lastIndex=t.lastIndex,n}Eq.exports=SCe});var Mq=g((Rnt,kq)=>{"use strict";var xq=Fl(),Tq=xq?xq.prototype:void 0,Iq=Tq?Tq.valueOf:void 0;function xCe(t){return Iq?Object(Iq.call(t)):{}}kq.exports=xCe});var Rq=g((Pnt,Aq)=>{"use strict";var TCe=qy(),ICe=Dq(),kCe=Sq(),MCe=Mq(),ACe=tI(),RCe="[object Boolean]",PCe="[object Date]",FCe="[object Map]",OCe="[object Number]",NCe="[object RegExp]",LCe="[object Set]",VCe="[object String]",jCe="[object Symbol]",BCe="[object ArrayBuffer]",zCe="[object DataView]",$Ce="[object Float32Array]",HCe="[object Float64Array]",UCe="[object Int8Array]",qCe="[object Int16Array]",GCe="[object Int32Array]",WCe="[object Uint8Array]",YCe="[object Uint8ClampedArray]",KCe="[object Uint16Array]",QCe="[object Uint32Array]";function ZCe(t,n,e){var i=t.constructor;switch(n){case BCe:return TCe(t);case RCe:case PCe:return new i(+t);case zCe:return ICe(t,e);case $Ce:case HCe:case UCe:case qCe:case GCe:case WCe:case YCe:case KCe:case QCe:return ACe(t,e);case FCe:return new i;case OCe:case VCe:return new i(t);case NCe:return kCe(t);case LCe:return new i;case jCe:return MCe(t)}}Aq.exports=ZCe});var Fq=g((Fnt,Pq)=>{"use strict";var XCe=gs(),JCe=Pi(),ewe="[object Map]";function twe(t){return JCe(t)&&XCe(t)==ewe}Pq.exports=twe});var Vq=g((Ont,Lq)=>{"use strict";var nwe=Fq(),iwe=Y_(),Oq=K_(),Nq=Oq&&Oq.isMap,rwe=Nq?iwe(Nq):nwe;Lq.exports=rwe});var Bq=g((Nnt,jq)=>{"use strict";var owe=gs(),awe=Pi(),swe="[object Set]";function lwe(t){return awe(t)&&owe(t)==swe}jq.exports=lwe});var Uq=g((Lnt,Hq)=>{"use strict";var cwe=Bq(),dwe=Y_(),zq=K_(),$q=zq&&zq.isSet,uwe=$q?dwe($q):cwe;Hq.exports=uwe});var Jy=g((Vnt,Yq)=>{"use strict";var mwe=pf(),fwe=Zy(),hwe=Wy(),pwe=sI(),gwe=mq(),_we=eI(),ywe=zd(),bwe=hq(),vwe=_q(),Cwe=JS(),wwe=bq(),Dwe=gs(),Ewe=Cq(),Swe=Rq(),xwe=nI(),Twe=vn(),Iwe=pd(),kwe=Vq(),Mwe=Xi(),Awe=Uq(),Rwe=Ro(),Pwe=Hd(),Fwe=1,Owe=2,Nwe=4,qq="[object Arguments]",Lwe="[object Array]",Vwe="[object Boolean]",jwe="[object Date]",Bwe="[object Error]",Gq="[object Function]",zwe="[object GeneratorFunction]",$we="[object Map]",Hwe="[object Number]",Wq="[object Object]",Uwe="[object RegExp]",qwe="[object Set]",Gwe="[object String]",Wwe="[object Symbol]",Ywe="[object WeakMap]",Kwe="[object ArrayBuffer]",Qwe="[object DataView]",Zwe="[object Float32Array]",Xwe="[object Float64Array]",Jwe="[object Int8Array]",eDe="[object Int16Array]",tDe="[object Int32Array]",nDe="[object Uint8Array]",iDe="[object Uint8ClampedArray]",rDe="[object Uint16Array]",oDe="[object Uint32Array]",Xt={};Xt[qq]=Xt[Lwe]=Xt[Kwe]=Xt[Qwe]=Xt[Vwe]=Xt[jwe]=Xt[Zwe]=Xt[Xwe]=Xt[Jwe]=Xt[eDe]=Xt[tDe]=Xt[$we]=Xt[Hwe]=Xt[Wq]=Xt[Uwe]=Xt[qwe]=Xt[Gwe]=Xt[Wwe]=Xt[nDe]=Xt[iDe]=Xt[rDe]=Xt[oDe]=!0;Xt[Bwe]=Xt[Gq]=Xt[Ywe]=!1;function Xy(t,n,e,i,r,o){var a,s=n&Fwe,l=n&Owe,c=n&Nwe;if(e&&(a=r?e(t,i,r,o):e(t)),a!==void 0)return a;if(!Mwe(t))return t;var d=Twe(t);if(d){if(a=Ewe(t),!s)return ywe(t,a)}else{var m=Dwe(t),f=m==Gq||m==zwe;if(Iwe(t))return _we(t,s);if(m==Wq||m==qq||f&&!r){if(a=l||f?{}:xwe(t),!s)return l?vwe(t,gwe(a,t)):bwe(t,pwe(a,t))}else{if(!Xt[m])return r?t:{};a=Swe(t,m,s)}}o||(o=new mwe);var h=o.get(t);if(h)return h;o.set(t,a),Awe(t)?t.forEach(function(D){a.add(Xy(D,n,e,D,t,o))}):kwe(t)&&t.forEach(function(D,E){a.set(E,Xy(D,n,e,E,t,o))});var p=c?l?wwe:Cwe:l?Pwe:Rwe,b=d?void 0:p(t);return fwe(b||t,function(D,E){b&&(E=D,D=t[E]),hwe(a,E,Xy(D,n,e,E,t,o))}),a}Yq.exports=Xy});var eb=g((jnt,Kq)=>{"use strict";var aDe=Jy(),sDe=1,lDe=4;function cDe(t){return aDe(t,sDe|lDe)}Kq.exports=cDe});var Qq=g(Vi=>{"use strict";Vi.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"};Vi.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"]};Vi.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]};Vi.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};Vi.iterateeRearg={mapKeys:[1],reduceRight:[1,0]};Vi.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]};Vi.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}};Vi.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}};Vi.realToAlias=(function(){var t=Object.prototype.hasOwnProperty,n=Vi.aliasToReal,e={};for(var i in n){var r=n[i];t.call(e,r)?e[r].push(i):e[r]=[i]}return e})();Vi.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"};Vi.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0};Vi.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 tb=g((znt,Zq)=>{"use strict";Zq.exports={}});var t5=g(($nt,e5)=>{"use strict";var In=Qq(),dDe=tb(),Xq=Array.prototype.push;function uDe(t,n){return n==2?function(e,i){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}function cI(t,n){return n==2?function(e,i){return t(e,i)}:function(e){return t(e)}}function Jq(t){for(var n=t?t.length:0,e=Array(n);n--;)e[n]=t[n];return e}function mDe(t){return function(n){return t({},n)}}function fDe(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&&Xq.apply(a,o),n!=i&&Xq.apply(a,r.slice(n+1)),t.apply(this,a)}}function dI(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 uI(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:dDe,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,Y=f.isError,ce=f.isFunction,re=f.isWeakMap,Pe=f.keys,Fe=f.rearg,Me=f.toInteger,Le=f.toPath,gt=Pe(In.aryMethod),Ut={castArray:function(Se){return function(){var te=arguments[0];return P(te)?Se(Jq(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:cI(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 uI(t,Se(te),i)}}};function Ee(Se,te){if(a.cap){var Z=In.iterateeRearg[Se];if(Z)return Ze(te,Z);var ne=!r&&In.iterateeAry[Se];if(ne)return he(te,ne)}return te}function le(Se,te,Z){return l||a.curry&&Z>1?D(te,Z):te}function oe(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):fDe(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=Le(te);for(var Z=-1,ne=te.length,ge=ne-1,Dt=b(Object(Se)),jt=Dt;jt!=null&&++Z<ne;){var cn=te[Z],pn=jt[cn];pn!=null&&!(ce(pn)||Y(pn)||re(pn))&&(jt[cn]=b(Z==ge?pn:Object(pn))),jt=jt[cn]}return Dt}function H(Se){return at.runInContext.convert(Se)(void 0)}function W(Se,te){var Z=In.aliasToReal[Se]||Se,ne=In.remap[Z]||Z,ge=i;return function(Dt){var jt=r?m:f,cn=r?m[ne]:te,pn=p(p({},ge),Dt);return uI(jt,Z,cn,pn)}}function he(Se,te){return et(Se,function(Z){return typeof Z=="function"?cI(Z,te):Z})}function Ze(Se,te){return et(Se,function(Z){var ne=te.length;return uDe(Fe(cI(Z,ne),te),ne)})}function et(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=dI(te,Jq):In.mutate.object[ge]?Dt=dI(te,mDe(te)):In.mutate.set[ge]&&(Dt=dI(te,R))),E(gt,function(cn){return E(In.aryMethod[cn],function(pn){if(ge==pn){var ar=In.methodSpread[ge],Qn=ar&&ar.afterRearg;return ne=Qn?oe(ge,Ie(ge,Dt,cn),cn):Ie(ge,oe(ge,Dt,cn),cn),ne=Ee(ge,ne),ne=le(ge,ne,cn),!1}}),!ne}),ne||(ne=Dt),ne==te&&(ne=l?D(ne,1):function(){return te.apply(this,arguments)}),ne.convert=W(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=W(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}e5.exports=uI});var mI=g((Hnt,i5)=>{"use strict";var n5=ES(),hDe=n5&&new n5;i5.exports=hDe});var fI=g((Unt,o5)=>{"use strict";var pDe=gf(),r5=mI(),gDe=r5?function(t,n){return r5.set(t,n),t}:pDe;o5.exports=gDe});var qf=g((qnt,a5)=>{"use strict";var _De=Uf(),yDe=Xi();function bDe(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=_De(t.prototype),i=t.apply(e,n);return yDe(i)?i:e}}a5.exports=bDe});var l5=g((Gnt,s5)=>{"use strict";var vDe=qf(),CDe=wi(),wDe=1;function DDe(t,n,e){var i=n&wDe,r=vDe(t);function o(){var a=this&&this!==CDe&&this instanceof o?r:t;return a.apply(i?e:this,arguments)}return o}s5.exports=DDe});var hI=g((Wnt,c5)=>{"use strict";var EDe=Math.max;function SDe(t,n,e,i){for(var r=-1,o=t.length,a=e.length,s=-1,l=n.length,c=EDe(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}c5.exports=SDe});var pI=g((Ynt,d5)=>{"use strict";var xDe=Math.max;function TDe(t,n,e,i){for(var r=-1,o=t.length,a=-1,s=e.length,l=-1,c=n.length,d=xDe(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}d5.exports=TDe});var m5=g((Knt,u5)=>{"use strict";function IDe(t,n){for(var e=t.length,i=0;e--;)t[e]===n&&++i;return i}u5.exports=IDe});var nb=g((Qnt,f5)=>{"use strict";function kDe(){}f5.exports=kDe});var rb=g((Znt,h5)=>{"use strict";var MDe=Uf(),ADe=nb(),RDe=4294967295;function ib(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=RDe,this.__views__=[]}ib.prototype=MDe(ADe.prototype);ib.prototype.constructor=ib;h5.exports=ib});var g5=g((Xnt,p5)=>{"use strict";function PDe(){}p5.exports=PDe});var gI=g((Jnt,y5)=>{"use strict";var _5=mI(),FDe=g5(),ODe=_5?function(t){return _5.get(t)}:FDe;y5.exports=ODe});var v5=g((eit,b5)=>{"use strict";var NDe={};b5.exports=NDe});var D5=g((tit,w5)=>{"use strict";var C5=v5(),LDe=Object.prototype,VDe=LDe.hasOwnProperty;function jDe(t){for(var n=t.name+"",e=C5[n],i=VDe.call(C5,n)?e.length:0;i--;){var r=e[i],o=r.func;if(o==null||o==t)return r.name}return n}w5.exports=jDe});var _I=g((nit,E5)=>{"use strict";var BDe=Uf(),zDe=nb();function ob(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}ob.prototype=BDe(zDe.prototype);ob.prototype.constructor=ob;E5.exports=ob});var x5=g((iit,S5)=>{"use strict";var $De=rb(),HDe=_I(),UDe=zd();function qDe(t){if(t instanceof $De)return t.clone();var n=new HDe(t.__wrapped__,t.__chain__);return n.__actions__=UDe(t.__actions__),n.__index__=t.__index__,n.__values__=t.__values__,n}S5.exports=qDe});var k5=g((rit,I5)=>{"use strict";var GDe=rb(),T5=_I(),WDe=nb(),YDe=vn(),KDe=Pi(),QDe=x5(),ZDe=Object.prototype,XDe=ZDe.hasOwnProperty;function ab(t){if(KDe(t)&&!YDe(t)&&!(t instanceof GDe)){if(t instanceof T5)return t;if(XDe.call(t,"__wrapped__"))return QDe(t)}return new T5(t)}ab.prototype=WDe.prototype;ab.prototype.constructor=ab;I5.exports=ab});var A5=g((oit,M5)=>{"use strict";var JDe=rb(),eEe=gI(),tEe=D5(),nEe=k5();function iEe(t){var n=tEe(t),e=nEe[n];if(typeof e!="function"||!(n in JDe.prototype))return!1;if(t===e)return!0;var i=eEe(e);return!!i&&t===i[0]}M5.exports=iEe});var yI=g((ait,R5)=>{"use strict";var rEe=fI(),oEe=aI(),aEe=oEe(rEe);R5.exports=aEe});var F5=g((sit,P5)=>{"use strict";var sEe=/\{\n\/\* \[wrapped with (.+)\] \*/,lEe=/,? & /;function cEe(t){var n=t.match(sEe);return n?n[1].split(lEe):[]}P5.exports=cEe});var N5=g((lit,O5)=>{"use strict";var dEe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function uEe(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(dEe,`{
9
+ /* [wrapped with `+n+`] */
10
+ `)}O5.exports=uEe});var V5=g((cit,L5)=>{"use strict";var mEe=rx();function fEe(t,n){var e=t==null?0:t.length;return!!e&&mEe(t,n,0)>-1}L5.exports=fEe});var B5=g((dit,j5)=>{"use strict";var hEe=Zy(),pEe=V5(),gEe=1,_Ee=2,yEe=8,bEe=16,vEe=32,CEe=64,wEe=128,DEe=256,EEe=512,SEe=[["ary",wEe],["bind",gEe],["bindKey",_Ee],["curry",yEe],["curryRight",bEe],["flip",EEe],["partial",vEe],["partialRight",CEe],["rearg",DEe]];function xEe(t,n){return hEe(SEe,function(e){var i="_."+e[0];n&e[1]&&!pEe(t,i)&&t.push(i)}),t.sort()}j5.exports=xEe});var bI=g((uit,z5)=>{"use strict";var TEe=F5(),IEe=N5(),kEe=Ky(),MEe=B5();function AEe(t,n,e){var i=n+"";return kEe(t,IEe(i,MEe(TEe(i),e)))}z5.exports=AEe});var vI=g((mit,U5)=>{"use strict";var REe=A5(),PEe=yI(),FEe=bI(),OEe=1,NEe=2,LEe=4,VEe=8,$5=32,H5=64;function jEe(t,n,e,i,r,o,a,s,l,c){var d=n&VEe,m=d?a:void 0,f=d?void 0:a,h=d?o:void 0,p=d?void 0:o;n|=d?$5:H5,n&=~(d?H5:$5),n&LEe||(n&=~(OEe|NEe));var b=[t,n,r,h,m,p,f,s,l,c],D=e.apply(void 0,b);return REe(t)&&PEe(D,b),D.placeholder=i,FEe(D,t,n)}U5.exports=jEe});var CI=g((fit,q5)=>{"use strict";function BEe(t){var n=t;return n.placeholder}q5.exports=BEe});var W5=g((hit,G5)=>{"use strict";var zEe=zd(),$Ee=Vl(),HEe=Math.min;function UEe(t,n){for(var e=t.length,i=HEe(n.length,e),r=zEe(t);i--;){var o=n[i];t[i]=$Ee(o,e)?r[o]:void 0}return t}G5.exports=UEe});var sb=g((pit,K5)=>{"use strict";var Y5="__lodash_placeholder__";function qEe(t,n){for(var e=-1,i=t.length,r=0,o=[];++e<i;){var a=t[e];(a===n||a===Y5)&&(t[e]=Y5,o[r++]=e)}return o}K5.exports=qEe});var wI=g((git,X5)=>{"use strict";var GEe=hI(),WEe=pI(),YEe=m5(),Q5=qf(),KEe=vI(),QEe=CI(),ZEe=W5(),XEe=sb(),JEe=wi(),eSe=1,tSe=2,nSe=8,iSe=16,rSe=128,oSe=512;function Z5(t,n,e,i,r,o,a,s,l,c){var d=n&rSe,m=n&eSe,f=n&tSe,h=n&(nSe|iSe),p=n&oSe,b=f?void 0:Q5(t);function D(){for(var E=arguments.length,P=Array(E),Y=E;Y--;)P[Y]=arguments[Y];if(h)var ce=QEe(D),re=YEe(P,ce);if(i&&(P=GEe(P,i,r,h)),o&&(P=WEe(P,o,a,h)),E-=re,h&&E<c){var Pe=XEe(P,ce);return KEe(t,n,Z5,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=ZEe(P,s):p&&E>1&&P.reverse(),d&&l<E&&(P.length=l),this&&this!==JEe&&this instanceof D&&(Me=b||Q5(Me)),Me.apply(Fe,P)}return D}X5.exports=Z5});var e4=g((_it,J5)=>{"use strict";var aSe=Yy(),sSe=qf(),lSe=wI(),cSe=vI(),dSe=CI(),uSe=sb(),mSe=wi();function fSe(t,n,e){var i=sSe(t);function r(){for(var o=arguments.length,a=Array(o),s=o,l=dSe(r);s--;)a[s]=arguments[s];var c=o<3&&a[0]!==l&&a[o-1]!==l?[]:uSe(a,l);if(o-=c.length,o<e)return cSe(t,n,lSe,r.placeholder,void 0,a,c,void 0,void 0,e-o);var d=this&&this!==mSe&&this instanceof r?i:t;return aSe(d,this,a)}return r}J5.exports=fSe});var n4=g((yit,t4)=>{"use strict";var hSe=Yy(),pSe=qf(),gSe=wi(),_Se=1;function ySe(t,n,e,i){var r=n&_Se,o=pSe(t);function a(){for(var s=-1,l=arguments.length,c=-1,d=i.length,m=Array(d+l),f=this&&this!==gSe&&this instanceof a?o:t;++c<d;)m[c]=i[c];for(;l--;)m[c++]=arguments[++s];return hSe(f,r?e:this,m)}return a}t4.exports=ySe});var l4=g((bit,s4)=>{"use strict";var bSe=hI(),vSe=pI(),i4=sb(),r4="__lodash_placeholder__",DI=1,CSe=2,wSe=4,o4=8,Gf=128,a4=256,DSe=Math.min;function ESe(t,n){var e=t[1],i=n[1],r=e|i,o=r<(DI|CSe|Gf),a=i==Gf&&e==o4||i==Gf&&e==a4&&t[7].length<=n[8]||i==(Gf|a4)&&n[7].length<=n[8]&&e==o4;if(!(o||a))return t;i&DI&&(t[2]=n[2],r|=e&DI?0:wSe);var s=n[3];if(s){var l=t[3];t[3]=l?bSe(l,s,n[4]):s,t[4]=l?i4(t[3],r4):n[4]}return s=n[5],s&&(l=t[5],t[5]=l?vSe(l,s,n[6]):s,t[6]=l?i4(t[5],r4):n[6]),s=n[7],s&&(t[7]=s),i&Gf&&(t[8]=t[8]==null?n[8]:DSe(t[8],n[8])),t[9]==null&&(t[9]=n[9]),t[0]=n[0],t[1]=r,t}s4.exports=ESe});var lb=g((vit,f4)=>{"use strict";var SSe=fI(),xSe=l5(),TSe=e4(),ISe=wI(),kSe=n4(),MSe=gI(),ASe=l4(),RSe=yI(),PSe=bI(),c4=Dd(),FSe="Expected a function",d4=1,OSe=2,EI=8,SI=16,xI=32,u4=64,m4=Math.max;function NSe(t,n,e,i,r,o,a,s){var l=n&OSe;if(!l&&typeof t!="function")throw new TypeError(FSe);var c=i?i.length:0;if(c||(n&=~(xI|u4),i=r=void 0),a=a===void 0?a:m4(c4(a),0),s=s===void 0?s:c4(s),c-=r?r.length:0,n&u4){var d=i,m=r;i=r=void 0}var f=l?void 0:MSe(t),h=[t,n,e,i,r,d,m,o,a,s];if(f&&ASe(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:m4(h[9]-c,0),!s&&n&(EI|SI)&&(n&=~(EI|SI)),!n||n==d4)var p=xSe(t,n,e);else n==EI||n==SI?p=TSe(t,n,s):(n==xI||n==(d4|xI))&&!r.length?p=kSe(t,n,e,i):p=ISe.apply(void 0,h);var b=f?SSe:RSe;return PSe(b(p,h),t,n)}f4.exports=NSe});var p4=g((Cit,h4)=>{"use strict";var LSe=lb(),VSe=128;function jSe(t,n,e){return n=e?void 0:n,n=t&&n==null?t.length:n,LSe(t,VSe,void 0,void 0,void 0,void 0,n)}h4.exports=jSe});var _4=g((wit,g4)=>{"use strict";var BSe=Jy(),zSe=4;function $Se(t){return BSe(t,zSe)}g4.exports=$Se});var b4=g((Dit,y4)=>{"use strict";var HSe=lb(),USe=8;function TI(t,n,e){n=e?void 0:n;var i=HSe(t,USe,void 0,void 0,void 0,void 0,void 0,n);return i.placeholder=TI.placeholder,i}TI.placeholder={};y4.exports=TI});var C4=g((Eit,v4)=>{"use strict";var qSe=va(),GSe=Pi(),WSe=iI(),YSe="[object DOMException]",KSe="[object Error]";function QSe(t){if(!GSe(t))return!1;var n=qSe(t);return n==KSe||n==YSe||typeof t.message=="string"&&typeof t.name=="string"&&!WSe(t)}v4.exports=QSe});var D4=g((Sit,w4)=>{"use strict";var ZSe=gs(),XSe=Pi(),JSe="[object WeakMap]";function exe(t){return XSe(t)&&ZSe(t)==JSe}w4.exports=exe});var S4=g((xit,E4)=>{"use strict";var txe=Jy(),nxe=wa(),ixe=1;function rxe(t){return nxe(typeof t=="function"?t:txe(t,ixe))}E4.exports=rxe});var k4=g((Tit,I4)=>{"use strict";var x4=Fl(),oxe=fd(),axe=vn(),T4=x4?x4.isConcatSpreadable:void 0;function sxe(t){return axe(t)||oxe(t)||!!(T4&&t&&t[T4])}I4.exports=sxe});var R4=g((Iit,A4)=>{"use strict";var lxe=ty(),cxe=k4();function M4(t,n,e,i,r){var o=-1,a=t.length;for(e||(e=cxe),r||(r=[]);++o<a;){var s=t[o];n>0&&e(s)?n>1?M4(s,n-1,e,i,r):lxe(r,s):i||(r[r.length]=s)}return r}A4.exports=M4});var F4=g((kit,P4)=>{"use strict";var dxe=R4();function uxe(t){var n=t==null?0:t.length;return n?dxe(t,1):[]}P4.exports=uxe});var N4=g((Mit,O4)=>{"use strict";var mxe=F4(),fxe=oI(),hxe=Ky();function pxe(t){return hxe(fxe(t,void 0,mxe),t+"")}O4.exports=pxe});var V4=g((Ait,L4)=>{"use strict";var gxe=lb(),_xe=N4(),yxe=256,bxe=_xe(function(t,n){return gxe(t,yxe,void 0,void 0,void 0,n)});L4.exports=bxe});var B4=g((Rit,j4)=>{"use strict";var vxe=lf(),Cxe=zd(),wxe=vn(),Dxe=Nl(),Exe=HS(),Sxe=_s(),xxe=Ll();function Txe(t){return wxe(t)?vxe(t,Sxe):Dxe(t)?[t]:Cxe(Exe(xxe(t)))}j4.exports=Txe});var $4=g((Pit,z4)=>{"use strict";z4.exports={ary:p4(),assign:sI(),clone:_4(),curry:b4(),forEach:Zy(),isArray:vn(),isError:C4(),isFunction:ud(),isWeakMap:D4(),iteratee:S4(),keys:q_(),rearg:V4(),toInteger:Dd(),toPath:B4()}});var II=g((Fit,H4)=>{"use strict";var Ixe=t5(),kxe=$4();function Mxe(t,n,e){return Ixe(kxe,t,n,e)}H4.exports=Mxe});var G4=g((Oit,q4)=>{"use strict";var Axe=Wy(),Rxe=ff(),Pxe=Vl(),U4=Xi(),Fxe=_s();function Oxe(t,n,e,i){if(!U4(t))return t;n=Rxe(n,t);for(var r=-1,o=n.length,a=o-1,s=t;s!=null&&++r<o;){var l=Fxe(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=U4(d)?d:Pxe(n[r+1])?[]:{})}Axe(s,l,c),s=s[l]}return t}q4.exports=Oxe});var Y4=g((Nit,W4)=>{"use strict";var Nxe=G4();function Lxe(t,n,e){return t==null?t:Nxe(t,n,e)}W4.exports=Lxe});var Z4=g((Lit,Q4)=>{"use strict";var Vxe=II(),K4=Vxe("set",Y4());K4.placeholder=tb();Q4.exports=K4});var kI=g((Vit,X4)=>{"use strict";function jxe(t){var n=t==null?0:t.length;return n?t[n-1]:void 0}X4.exports=jxe});var eG=g((jit,J4)=>{"use strict";var Bxe=J_(),zxe=FS();function $xe(t,n){return n.length<2?t:Bxe(t,zxe(n,0,-1))}J4.exports=$xe});var MI=g((Bit,tG)=>{"use strict";var Hxe=ff(),Uxe=kI(),qxe=eG(),Gxe=_s();function Wxe(t,n){return n=Hxe(n,t),t=qxe(t,n),t==null||delete t[Gxe(Uxe(n))]}tG.exports=Wxe});var iG=g((zit,nG)=>{"use strict";var Yxe=MI();function Kxe(t,n){return t==null?!0:Yxe(t,n)}nG.exports=Kxe});var aG=g(($it,oG)=>{"use strict";var Qxe=II(),rG=Qxe("unset",iG());rG.placeholder=tb();oG.exports=rG});var lG=g((Hit,sG)=>{"use strict";var Zxe=Nl();function Xxe(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&&!Zxe(a):e(a,s)))var s=a,l=o}return l}sG.exports=Xxe});var dG=g((Uit,cG)=>{"use strict";function Jxe(t,n){return t>n}cG.exports=Jxe});var AI=g((qit,uG)=>{"use strict";var eTe=lG(),tTe=dG(),nTe=wa();function iTe(t,n){return t&&t.length?eTe(t,nTe(n,2),tTe):void 0}uG.exports=iTe});var fG=g((Git,mG)=>{"use strict";var rTe=MI(),oTe=Vl(),aTe=Array.prototype,sTe=aTe.splice;function lTe(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;oTe(r)?sTe.call(t,r,1):rTe(t,r)}}return t}mG.exports=lTe});var pG=g((Wit,hG)=>{"use strict";var cTe=wa(),dTe=fG();function uTe(t,n){var e=[];if(!(t&&t.length))return e;var i=-1,r=[],o=t.length;for(n=cTe(n,3);++i<o;){var a=t[i];n(a,i,t)&&(e.push(a),r.push(i))}return dTe(t,r),e}hG.exports=uTe});var _G=g((Yit,gG)=>{"use strict";function mTe(t,n,e){return t===t&&(e!==void 0&&(t=t<=e?t:e),n!==void 0&&(t=t>=n?t:n)),t}gG.exports=mTe});var bG=g((Kit,yG)=>{"use strict";var fTe=_G(),hTe=PS(),pTe=Dd(),gTe=Ll();function _Te(t,n,e){t=gTe(t),n=hTe(n);var i=t.length;e=e===void 0?i:fTe(pTe(e),0,i);var r=e;return e-=n.length,e>=0&&t.slice(e,r)==n}yG.exports=_Te});var CG=g((Qit,vG)=>{"use strict";function yTe(t,n,e,i,r){return r(t,function(o,a,s){e=i?(i=!1,o):n(e,o,a,s)}),e}vG.exports=yTe});var DG=g((Zit,wG)=>{"use strict";var bTe=RS(),vTe=Hy(),CTe=wa(),wTe=CG(),DTe=vn();function ETe(t,n,e){var i=DTe(t)?bTe:wTe,r=arguments.length<3;return i(t,CTe(n,4),e,r,vTe)}wG.exports=ETe});var SG=g((Xit,EG)=>{"use strict";var STe=lf();function xTe(t,n){return STe(n,function(e){return[e,t[e]]})}EG.exports=xTe});var TG=g((Jit,xG)=>{"use strict";function TTe(t){var n=-1,e=Array(t.size);return t.forEach(function(i){e[++n]=[i,i]}),e}xG.exports=TTe});var kG=g((ert,IG)=>{"use strict";var ITe=SG(),kTe=gs(),MTe=YS(),ATe=TG(),RTe="[object Map]",PTe="[object Set]";function FTe(t){return function(n){var e=kTe(n);return e==RTe?MTe(n):e==PTe?ATe(n):ITe(n,t(n))}}IG.exports=FTe});var AG=g((trt,MG)=>{"use strict";var OTe=kG(),NTe=Ro(),LTe=OTe(NTe);MG.exports=LTe});var PG=g((nrt,RG)=>{"use strict";function VTe(t){return t===void 0}RG.exports=VTe});var gW=g((Zrt,Ub)=>{"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 Y(_,y){return typeof _==a?_.apply(y&&y[0]||i,y):_}function ce(_,y){return _===i?y:_}function re(_,y,S){f(Le(y),function(I){_.addEventListener(I,S,!1)})}function Pe(_,y,S){f(Le(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 Le(_){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 Ee(_,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,pi){return jn[y]>pi[y]}):I=I.sort()),I}function le(_,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 oe=1;function Ie(){return oe++}function R(_){var y=_.ownerDocument||_;return y.defaultView||y.parentWindow||t}var H=/mobile|tablet|ip(ad|hone|od)|android/i,W="ontouchstart"in t,he=le(t,"PointerEvent")!==i,Ze=W&&H.test(navigator.userAgent),et="touch",vt="pen",at="mouse",ut="kinect",Se=25,te=1,Z=2,ne=4,ge=8,Dt=1,jt=2,cn=4,pn=8,ar=16,Qn=jt|cn,Nr=pn|ar,oc=Qn|Nr,i0=["x","y"],Rh=["clientX","clientY"];function sr(_,y){var S=this;this.manager=_,this.callback=y,this.element=_.element,this.target=_.options.inputTarget,this.domHandler=function(I){Y(_.options.enable,[_])&&S.handler(I)},this.init()}sr.prototype={handler:function(){},init:function(){this.evEl&&re(this.element,this.evEl,this.domHandler),this.evTarget&&re(this.target,this.evTarget,this.domHandler),this.evWin&&re(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 cK(_){var y,S=_.options.inputClass;return S?y=S:he?y=o0:Ze?y=Oh:W?y=a0:y=Fh,new y(_,dK)}function dK(_,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,uK(_,S),_.emit("hammer.input",S),_.recognize(S),_.session.prevInput=S}function uK(_,y){var S=_.session,I=y.pointers,Q=I.length;S.firstInput||(S.firstInput=wA(y)),Q>1&&!S.firstMultiple?S.firstMultiple=wA(y):Q===1&&(S.firstMultiple=!1);var xe=S.firstInput,Ct=S.firstMultiple,kn=Ct?Ct.center:xe.center,jn=y.center=DA(I);y.timeStamp=c(),y.deltaTime=y.timeStamp-xe.timeStamp,y.angle=r0(kn,jn),y.distance=Ph(kn,jn),mK(S,y),y.offsetDirection=SA(y.deltaX,y.deltaY);var pi=EA(y.deltaTime,y.deltaX,y.deltaY);y.overallVelocityX=pi.x,y.overallVelocityY=pi.y,y.overallVelocity=l(pi.x)>l(pi.y)?pi.x:pi.y,y.scale=Ct?pK(Ct.pointers,I):1,y.rotation=Ct?hK(Ct.pointers,I):0,y.maxPointers=S.prevInput?y.pointers.length>S.prevInput.maxPointers?y.pointers.length:S.prevInput.maxPointers:y.pointers.length,fK(S,y);var po=_.element;Fe(y.srcEvent.target,po)&&(po=y.srcEvent.target),y.target=po}function mK(_,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 fK(_,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,pi=y.deltaY-S.deltaY,po=EA(I,jn,pi);xe=po.x,Ct=po.y,Q=l(po.x)>l(po.y)?po.x:po.y,kn=SA(jn,pi),_.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 wA(_){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:DA(y),deltaX:_.deltaX,deltaY:_.deltaY}}function DA(_){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 EA(_,y,S){return{x:y/_||0,y:S/_||0}}function SA(_,y){return _===y?Dt:l(_)>=l(y)?_<0?jt:cn:y<0?pn:ar}function Ph(_,y,S){S||(S=i0);var I=y[S[0]]-_[S[0]],Q=y[S[1]]-_[S[1]];return Math.sqrt(I*I+Q*Q)}function r0(_,y,S){S||(S=i0);var I=y[S[0]]-_[S[0]],Q=y[S[1]]-_[S[1]];return Math.atan2(Q,I)*180/Math.PI}function hK(_,y){return r0(y[1],y[0],Rh)+r0(_[1],_[0],Rh)}function pK(_,y){return Ph(y[0],y[1],Rh)/Ph(_[0],_[1],Rh)}var gK={mousedown:te,mousemove:Z,mouseup:ne},_K="mousedown",yK="mousemove mouseup";function Fh(){this.evEl=_K,this.evWin=yK,this.pressed=!1,sr.apply(this,arguments)}E(Fh,sr,{handler:function(y){var S=gK[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 bK={pointerdown:te,pointermove:Z,pointerup:ne,pointercancel:ge,pointerout:ge},vK={2:et,3:vt,4:at,5:ut},xA="pointerdown",TA="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(xA="MSPointerDown",TA="MSPointerMove MSPointerUp MSPointerCancel");function o0(){this.evEl=xA,this.evWin=TA,sr.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}E(o0,sr,{handler:function(y){var S=this.store,I=!1,Q=y.type.toLowerCase().replace("ms",""),xe=bK[Q],Ct=vK[y.pointerType]||y.pointerType,kn=Ct==et,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 CK={touchstart:te,touchmove:Z,touchend:ne,touchcancel:ge},wK="touchstart",DK="touchstart touchmove touchend touchcancel";function IA(){this.evTarget=wK,this.evWin=DK,this.started=!1,sr.apply(this,arguments)}E(IA,sr,{handler:function(y){var S=CK[y.type];if(S===te&&(this.started=!0),!!this.started){var I=EK.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:et,srcEvent:y})}}});function EK(_,y){var S=Ut(_.touches),I=Ut(_.changedTouches);return y&(ne|ge)&&(S=Ee(S.concat(I),"identifier",!0)),[S,I]}var SK={touchstart:te,touchmove:Z,touchend:ne,touchcancel:ge},xK="touchstart touchmove touchend touchcancel";function Oh(){this.evTarget=xK,this.targetIds={},sr.apply(this,arguments)}E(Oh,sr,{handler:function(y){var S=SK[y.type],I=TK.call(this,y,S);I&&this.callback(this.manager,S,{pointers:I[0],changedPointers:I[1],pointerType:et,srcEvent:y})}});function TK(_,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(pi){return Fe(pi.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[Ee(xe.concat(kn),"identifier",!0),kn]}var IK=2500,kA=25;function a0(){sr.apply(this,arguments);var _=P(this.handler,this);this.touch=new Oh(this.manager,_),this.mouse=new Fh(this.manager,_),this.primaryTouch=null,this.lastTouches=[]}E(a0,sr,{handler:function(y,S,I){var Q=I.pointerType==et,xe=I.pointerType==at;if(!(xe&&I.sourceCapabilities&&I.sourceCapabilities.firesTouchEvents)){if(Q)kK.call(this,S,I);else if(xe&&MK.call(this,I))return;this.callback(y,S,I)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function kK(_,y){_&te?(this.primaryTouch=y.changedPointers[0].identifier,MA.call(this,y)):_&(ne|ge)&&MA.call(this,y)}function MA(_){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,IK)}}function MK(_){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<=kA&&Ct<=kA)return!0}return!1}var AA=le(o.style,"touchAction"),RA=AA!==i,PA="compute",FA="auto",s0="manipulation",Bs="none",Ru="pan-x",Pu="pan-y",Nh=RK();function l0(_,y){this.manager=_,this.set(y)}l0.prototype={set:function(_){_==PA&&(_=this.compute()),RA&&this.manager.element.style&&Nh[_]&&(this.manager.element.style[AA]=_),this.actions=_.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var _=[];return f(this.manager.recognizers,function(y){Y(y.options.enable,[y])&&(_=_.concat(y.getTouchAction()))}),AK(_.join(" "))},preventDefaults:function(_){var y=_.srcEvent,S=_.offsetDirection;if(this.manager.session.prevented){y.preventDefault();return}var I=this.actions,Q=Me(I,Bs)&&!Nh[Bs],xe=Me(I,Pu)&&!Nh[Pu],Ct=Me(I,Ru)&&!Nh[Ru];if(Q){var kn=_.pointers.length===1,jn=_.distance<2,pi=_.deltaTime<250;if(kn&&jn&&pi)return}if(!(Ct&&xe)&&(Q||xe&&S&Qn||Ct&&S&Nr))return this.preventSrc(y)},preventSrc:function(_){this.manager.session.prevented=!0,_.preventDefault()}};function AK(_){if(Me(_,Bs))return Bs;var y=Me(_,Ru),S=Me(_,Pu);return y&&S?Bs:y||S?y?Ru:Pu:Me(_,s0)?s0:FA}function RK(){if(!RA)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 Lh=1,lr=2,ac=4,Ba=8,Ko=Ba,Fu=16,ho=32;function Qo(_){this.options=p({},this.defaults,_||{}),this.id=Ie(),this.manager=null,this.options.enable=ce(this.options.enable,!0),this.state=Lh,this.simultaneous={},this.requireFail=[]}Qo.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 _=Vh(_,this),y[_.id]||(y[_.id]=_,_.recognizeWith(this)),this},dropRecognizeWith:function(_){return m(_,"dropRecognizeWith",this)?this:(_=Vh(_,this),delete this.simultaneous[_.id],this)},requireFailure:function(_){if(m(_,"requireFailure",this))return this;var y=this.requireFail;return _=Vh(_,this),gt(y,_)===-1&&(y.push(_),_.requireFailure(this)),this},dropRequireFailure:function(_){if(m(_,"dropRequireFailure",this))return this;_=Vh(_,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<Ba&&I(y.options.event+OA(S)),I(y.options.event),_.additionalEvent&&I(_.additionalEvent),S>=Ba&&I(y.options.event+OA(S))},tryEmit:function(_){if(this.canEmit())return this.emit(_);this.state=ho},canEmit:function(){for(var _=0;_<this.requireFail.length;){if(!(this.requireFail[_].state&(ho|Lh)))return!1;_++}return!0},recognize:function(_){var y=p({},_);if(!Y(this.options.enable,[this,y])){this.reset(),this.state=ho;return}this.state&(Ko|Fu|ho)&&(this.state=Lh),this.state=this.process(y),this.state&(lr|ac|Ba|Fu)&&this.tryEmit(y)},process:function(_){},getTouchAction:function(){},reset:function(){}};function OA(_){return _&Fu?"cancel":_&Ba?"end":_&ac?"move":_&lr?"start":""}function NA(_){return _==ar?"down":_==pn?"up":_==jt?"left":_==cn?"right":""}function Vh(_,y){var S=y.manager;return S?S.get(_):_}function Lr(){Qo.apply(this,arguments)}E(Lr,Qo,{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|ac),Q=this.attrTest(_);return I&&(S&ge||!Q)?y|Fu:I||Q?S&ne?y|Ba:y&lr?y|ac:lr:ho}});function jh(){Lr.apply(this,arguments),this.pX=null,this.pY=null}E(jh,Lr,{defaults:{event:"pan",threshold:10,pointers:1,direction:oc},getTouchAction:function(){var _=this.options.direction,y=[];return _&Qn&&y.push(Pu),_&Nr&&y.push(Ru),y},directionTest:function(_){var y=this.options,S=!0,I=_.distance,Q=_.direction,xe=_.deltaX,Ct=_.deltaY;return Q&y.direction||(y.direction&Qn?(Q=xe===0?Dt:xe<0?jt:cn,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 Lr.prototype.attrTest.call(this,_)&&(this.state&lr||!(this.state&lr)&&this.directionTest(_))},emit:function(_){this.pX=_.deltaX,this.pY=_.deltaY;var y=NA(_.direction);y&&(_.additionalEvent=this.options.event+y),this._super.emit.call(this,_)}});function c0(){Lr.apply(this,arguments)}E(c0,Lr,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Bs]},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 d0(){Qo.apply(this,arguments),this._timer=null,this._input=null}E(d0,Qo,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[FA]},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=Ko,this.tryEmit()},y.time,this);else if(_.eventType&ne)return Ko;return ho},reset:function(){clearTimeout(this._timer)},emit:function(_){this.state===Ko&&(_&&_.eventType&ne?this.manager.emit(this.options.event+"up",_):(this._input.timeStamp=c(),this.manager.emit(this.options.event,this._input)))}});function u0(){Lr.apply(this,arguments)}E(u0,Lr,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Bs]},attrTest:function(_){return this._super.attrTest.call(this,_)&&(Math.abs(_.rotation)>this.options.threshold||this.state&lr)}});function m0(){Lr.apply(this,arguments)}E(m0,Lr,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Qn|Nr,pointers:1},getTouchAction:function(){return jh.prototype.getTouchAction.call(this)},attrTest:function(_){var y=this.options.direction,S;return y&(Qn|Nr)?S=_.overallVelocity:y&Qn?S=_.overallVelocityX:y&Nr&&(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=NA(_.offsetDirection);y&&this.manager.emit(this.options.event+y,_),this.manager.emit(this.options.event,_)}});function Bh(){Qo.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}E(Bh,Qo,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[s0]},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||Ph(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=Ko,this.tryEmit()},y.interval,this),lr):Ko}return ho},failTimeout:function(){return this._timer=d(function(){this.state=ho},this.options.interval,this),ho},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Ko&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Zo(_,y){return y=y||{},y.recognizers=ce(y.recognizers,Zo.defaults.preset),new f0(_,y)}Zo.VERSION="2.0.7",Zo.defaults={domEvents:!1,touchAction:PA,enable:!0,inputTarget:null,inputClass:null,preset:[[u0,{enable:!1}],[c0,{enable:!1},["rotate"]],[m0,{direction:Qn}],[jh,{direction:Qn},["swipe"]],[Bh],[Bh,{event:"doubletap",taps:2},["tap"]],[d0]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var PK=1,LA=2;function f0(_,y){this.options=p({},Zo.defaults,y||{}),this.options.inputTarget=this.options.inputTarget||_,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=_,this.input=cK(this),this.touchAction=new l0(this,this.options.touchAction),VA(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)}f0.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=_?LA:PK},recognize:function(_){var y=this.session;if(!y.stopped){this.touchAction.preventDefaults(_);var S,I=this.recognizers,Q=y.curRecognizer;(!Q||Q&&Q.state&Ko)&&(Q=y.curRecognizer=null);for(var xe=0;xe<I.length;)S=I[xe],y.stopped!==LA&&(!Q||S==Q||S.canRecognizeWith(Q))?S.recognize(_):S.reset(),!Q&&S.state&(lr|ac|Ba)&&(Q=y.curRecognizer=S),xe++}},get:function(_){if(_ instanceof Qo)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(Le(_),function(I){S[I]=S[I]||[],S[I].push(y)}),this}},off:function(_,y){if(_!==i){var S=this.handlers;return f(Le(_),function(I){y?S[I]&&S[I].splice(gt(S[I],y),1):delete S[I]}),this}},emit:function(_,y){this.options.domEvents&&FK(_,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&&VA(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function VA(_,y){var S=_.element;if(S.style){var I;f(_.options.cssProps,function(Q,xe){I=le(S.style,xe),y?(_.oldCssProps[I]=S.style[I],S.style[I]=Q):S.style[I]=_.oldCssProps[I]||""}),y||(_.oldCssProps={})}}function FK(_,y){var S=n.createEvent("Event");S.initEvent(_,!0,!0),S.gesture=y,y.target.dispatchEvent(S)}p(Zo,{INPUT_START:te,INPUT_MOVE:Z,INPUT_END:ne,INPUT_CANCEL:ge,STATE_POSSIBLE:Lh,STATE_BEGAN:lr,STATE_CHANGED:ac,STATE_ENDED:Ba,STATE_RECOGNIZED:Ko,STATE_CANCELLED:Fu,STATE_FAILED:ho,DIRECTION_NONE:Dt,DIRECTION_LEFT:jt,DIRECTION_RIGHT:cn,DIRECTION_UP:pn,DIRECTION_DOWN:ar,DIRECTION_HORIZONTAL:Qn,DIRECTION_VERTICAL:Nr,DIRECTION_ALL:oc,Manager:f0,Input:sr,TouchAction:l0,TouchInput:Oh,MouseInput:Fh,PointerEventInput:o0,TouchMouseInput:a0,SingleTouchInput:IA,Recognizer:Qo,AttrRecognizer:Lr,Tap:Bh,Pan:jh,Swipe:m0,Pinch:c0,Rotate:u0,Press:d0,on:re,off:Pe,each:f,merge:D,extend:b,assign:p,inherit:E,bindFn:P,prefixed:le});var OK=typeof t<"u"?t:typeof self<"u"?self:{};OK.Hammer=Zo,typeof define=="function"&&define.amd?define(function(){return Zo}):typeof Ub<"u"&&Ub.exports?Ub.exports=Zo:t[e]=Zo})(window,document,"Hammer")});var Q6=g((EM,SM)=>{"use strict";(function(t,n){typeof EM=="object"&&typeof SM<"u"?SM.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs=n()})(EM,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(Ee){var le=["th","st","nd","rd"],oe=Ee%100;return"["+Ee+(le[(oe-20)%10]||le[oe]||le[0])+"]"}},E=function(Ee,le,oe){var Ie=String(Ee);return!Ie||Ie.length>=le?Ee:""+Array(le+1-Ie.length).join(oe)+Ee},P={s:E,z:function(Ee){var le=-Ee.utcOffset(),oe=Math.abs(le),Ie=Math.floor(oe/60),R=oe%60;return(le<=0?"+":"-")+E(Ie,2,"0")+":"+E(R,2,"0")},m:function Ee(le,oe){if(le.date()<oe.date())return-Ee(oe,le);var Ie=12*(oe.year()-le.year())+(oe.month()-le.month()),R=le.clone().add(Ie,c),H=oe-R<0,W=le.clone().add(Ie+(H?-1:1),c);return+(-(Ie+(oe-R)/(H?R-W:W-R))||0)},a:function(Ee){return Ee<0?Math.ceil(Ee)||0:Math.floor(Ee)},p:function(Ee){return{M:c,y:m,w:l,d:s,D:f,h:a,m:o,s:r,ms:i,Q:d}[Ee]||String(Ee||"").toLowerCase().replace(/s$/,"")},u:function(Ee){return Ee===void 0}},Y="en",ce={};ce[Y]=D;var re="$isDayjsObject",Pe=function(Ee){return Ee instanceof gt||!(!Ee||!Ee[re])},Fe=function Ee(le,oe,Ie){var R;if(!le)return Y;if(typeof le=="string"){var H=le.toLowerCase();ce[H]&&(R=H),oe&&(ce[H]=oe,R=H);var W=le.split("-");if(!R&&W.length>1)return Ee(W[0])}else{var he=le.name;ce[he]=le,R=he}return!Ie&&R&&(Y=R),R||!Ie&&Y},Me=function(Ee,le){if(Pe(Ee))return Ee.clone();var oe=typeof le=="object"?le:{};return oe.date=Ee,oe.args=arguments,new gt(oe)},Le=P;Le.l=Fe,Le.i=Pe,Le.w=function(Ee,le){return Me(Ee,{locale:le.$L,utc:le.$u,x:le.$x,$offset:le.$offset})};var gt=(function(){function Ee(oe){this.$L=Fe(oe.locale,null,!0),this.parse(oe),this.$x=this.$x||oe.x||{},this[re]=!0}var le=Ee.prototype;return le.parse=function(oe){this.$d=(function(Ie){var R=Ie.date,H=Ie.utc;if(R===null)return new Date(NaN);if(Le.u(R))return new Date;if(R instanceof Date)return new Date(R);if(typeof R=="string"&&!/Z$/i.test(R)){var W=R.match(p);if(W){var he=W[2]-1||0,Ze=(W[7]||"0").substring(0,3);return H?new Date(Date.UTC(W[1],he,W[3]||1,W[4]||0,W[5]||0,W[6]||0,Ze)):new Date(W[1],he,W[3]||1,W[4]||0,W[5]||0,W[6]||0,Ze)}}return new Date(R)})(oe),this.init()},le.init=function(){var oe=this.$d;this.$y=oe.getFullYear(),this.$M=oe.getMonth(),this.$D=oe.getDate(),this.$W=oe.getDay(),this.$H=oe.getHours(),this.$m=oe.getMinutes(),this.$s=oe.getSeconds(),this.$ms=oe.getMilliseconds()},le.$utils=function(){return Le},le.isValid=function(){return this.$d.toString()!==h},le.isSame=function(oe,Ie){var R=Me(oe);return this.startOf(Ie)<=R&&R<=this.endOf(Ie)},le.isAfter=function(oe,Ie){return Me(oe)<this.startOf(Ie)},le.isBefore=function(oe,Ie){return this.endOf(Ie)<Me(oe)},le.$g=function(oe,Ie,R){return Le.u(oe)?this[Ie]:this.set(R,oe)},le.unix=function(){return Math.floor(this.valueOf()/1e3)},le.valueOf=function(){return this.$d.getTime()},le.startOf=function(oe,Ie){var R=this,H=!!Le.u(Ie)||Ie,W=Le.p(oe),he=function(Z,ne){var ge=Le.w(R.$u?Date.UTC(R.$y,ne,Z):new Date(R.$y,ne,Z),R);return H?ge:ge.endOf(s)},Ze=function(Z,ne){return Le.w(R.toDate()[Z].apply(R.toDate("s"),(H?[0,0,0,0]:[23,59,59,999]).slice(ne)),R)},et=this.$W,vt=this.$M,at=this.$D,ut="set"+(this.$u?"UTC":"");switch(W){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=(et<Se?et+7:et)-Se;return he(H?at-te:at+(6-te),vt);case s:case f:return Ze(ut+"Hours",0);case a:return Ze(ut+"Minutes",1);case o:return Ze(ut+"Seconds",2);case r:return Ze(ut+"Milliseconds",3);default:return this.clone()}},le.endOf=function(oe){return this.startOf(oe,!1)},le.$set=function(oe,Ie){var R,H=Le.p(oe),W="set"+(this.$u?"UTC":""),he=(R={},R[s]=W+"Date",R[f]=W+"Date",R[c]=W+"Month",R[m]=W+"FullYear",R[a]=W+"Hours",R[o]=W+"Minutes",R[r]=W+"Seconds",R[i]=W+"Milliseconds",R)[H],Ze=H===s?this.$D+(Ie-this.$W):Ie;if(H===c||H===m){var et=this.clone().set(f,1);et.$d[he](Ze),et.init(),this.$d=et.set(f,Math.min(this.$D,et.daysInMonth())).$d}else he&&this.$d[he](Ze);return this.init(),this},le.set=function(oe,Ie){return this.clone().$set(oe,Ie)},le.get=function(oe){return this[Le.p(oe)]()},le.add=function(oe,Ie){var R,H=this;oe=Number(oe);var W=Le.p(Ie),he=function(vt){var at=Me(H);return Le.w(at.date(at.date()+Math.round(vt*oe)),H)};if(W===c)return this.set(c,this.$M+oe);if(W===m)return this.set(m,this.$y+oe);if(W===s)return he(1);if(W===l)return he(7);var Ze=(R={},R[o]=n,R[a]=e,R[r]=t,R)[W]||1,et=this.$d.getTime()+oe*Ze;return Le.w(et,this)},le.subtract=function(oe,Ie){return this.add(-1*oe,Ie)},le.format=function(oe){var Ie=this,R=this.$locale();if(!this.isValid())return R.invalidDate||h;var H=oe||"YYYY-MM-DDTHH:mm:ssZ",W=Le.z(this),he=this.$H,Ze=this.$m,et=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 Le.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 Le.s(Ie.$y,4,"0");case"M":return et+1;case"MM":return Le.s(et+1,2,"0");case"MMM":return Se(R.monthsShort,et,at,3);case"MMMM":return Se(at,et);case"D":return Ie.$D;case"DD":return Le.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 Le.s(he,2,"0");case"h":return te(1);case"hh":return te(2);case"a":return Z(he,Ze,!0);case"A":return Z(he,Ze,!1);case"m":return String(Ze);case"mm":return Le.s(Ze,2,"0");case"s":return String(Ie.$s);case"ss":return Le.s(Ie.$s,2,"0");case"SSS":return Le.s(Ie.$ms,3,"0");case"Z":return W}return null})(ne)||W.replace(":","")})},le.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},le.diff=function(oe,Ie,R){var H,W=this,he=Le.p(Ie),Ze=Me(oe),et=(Ze.utcOffset()-this.utcOffset())*n,vt=this-Ze,at=function(){return Le.m(W,Ze)};switch(he){case m:H=at()/12;break;case c:H=at();break;case d:H=at()/3;break;case l:H=(vt-et)/6048e5;break;case s:H=(vt-et)/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:Le.a(H)},le.daysInMonth=function(){return this.endOf(c).$D},le.$locale=function(){return ce[this.$L]},le.locale=function(oe,Ie){if(!oe)return this.$L;var R=this.clone(),H=Fe(oe,Ie,!0);return H&&(R.$L=H),R},le.clone=function(){return Le.w(this.$d,this)},le.toDate=function(){return new Date(this.valueOf())},le.toJSON=function(){return this.isValid()?this.toISOString():null},le.toISOString=function(){return this.$d.toISOString()},le.toString=function(){return this.$d.toUTCString()},Ee})(),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(Ee){Ut[Ee[1]]=function(le){return this.$g(le,Ee[0],Ee[1])}}),Me.extend=function(Ee,le){return Ee.$i||(Ee(le,gt,Me),Ee.$i=!0),Me},Me.locale=Fe,Me.isDayjs=Pe,Me.unix=function(Ee){return Me(1e3*Ee)},Me.en=ce[Y],Me.Ls=ce,Me.p={},Me})});var Z6=g((xM,TM)=>{"use strict";(function(t,n){typeof xM=="object"&&typeof TM<"u"?TM.exports=n():typeof define=="function"&&define.amd?define(n):(t=typeof globalThis<"u"?globalThis:t||self).dayjs_plugin_customParseFormat=n()})(xM,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,Le,gt){var Ut=gt&&gt.toUpperCase();return Le||D[gt]||t[gt]||D[Ut].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Ee,le,oe){return le||oe.slice(1)})})).match(n),P=E.length,Y=0;Y<P;Y+=1){var ce=E[Y],re=f[ce],Pe=re&&re[0],Fe=re&&re[1];E[Y]=Fe?{regex:Pe,parser:Fe}:ce.replace(/^\[|\]$/g,"")}return function(Me){for(var Le={},gt=0,Ut=0;gt<P;gt+=1){var Ee=E[gt];if(typeof Ee=="string")Ut+=Ee.length;else{var le=Ee.regex,oe=Ee.parser,Ie=Me.slice(Ut),R=le.exec(Ie)[0];oe.call(Le,R),Me=Me.replace(R,"")}}return(function(H){var W=H.afternoon;if(W!==void 0){var he=H.hours;W?he<12&&(H.hours+=12):he===12&&(H.hours=0),delete H.afternoon}})(Le),Le}}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(Y){var ce=Y.date,re=Y.utc,Pe=Y.args;this.$u=re;var Fe=Pe[1];if(typeof Fe=="string"){var Me=Pe[2]===!0,Le=Pe[3]===!0,gt=Me||Le,Ut=Pe[2];Le&&(Ut=Pe[2]),a=this.$locale(),!Me&&Ut&&(a=D.Ls[Ut]),this.$d=(function(Ie,R,H,W){try{if(["x","X"].indexOf(R)>-1)return new Date((R==="X"?1e3:1)*Ie);var he=h(R)(Ie),Ze=he.year,et=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||(Ze||et?1:ge.getDate()),jt=Ze||ge.getFullYear(),cn=0;Ze&&!et||(cn=et>0?et-1:ge.getMonth());var pn,ar=at||0,Qn=ut||0,Nr=Se||0,oc=te||0;return Z?new Date(Date.UTC(jt,cn,Dt,ar,Qn,Nr,oc+60*Z.offset*1e3)):H?new Date(Date.UTC(jt,cn,Dt,ar,Qn,Nr,oc)):(pn=new Date(jt,cn,Dt,ar,Qn,Nr,oc),ne&&(pn=W(pn).week(ne).toDate()),pn)}catch{return new Date("")}})(ce,Fe,re,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 Ee=Fe.length,le=1;le<=Ee;le+=1){Pe[1]=Fe[le-1];var oe=D.apply(this,Pe);if(oe.isValid()){this.$d=oe.$d,this.$L=oe.$L,this.init();break}le===Ee&&(this.$d=new Date(""))}else P.call(this,Y)}}})});var J6=g(($mt,X6)=>{"use strict";var w1e=Hy();function D1e(t,n){var e;return w1e(t,function(i,r,o){return e=n(i,r,o),!e}),!!e}X6.exports=D1e});var t9=g((Hmt,e9)=>{"use strict";var E1e=qS(),S1e=wa(),x1e=J6(),T1e=vn(),I1e=Q_();function k1e(t,n,e){var i=T1e(t)?E1e:x1e;return e&&I1e(t,n,e)&&(n=void 0),i(t,S1e(n,3))}e9.exports=k1e});var Y9=g(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.formatNames=Wo.fastFormats=Wo.fullFormats=void 0;function Go(t,n){return{validate:t,compare:n}}Wo.fullFormats={date:Go(U9,zM),time:Go(jM(!0),$M),"date-time":Go(z9(!0),G9),"iso-time":Go(jM(),q9),"iso-date-time":Go(z9(),W9),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:qFe,"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:XFe,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:GFe,int32:{type:"number",validate:KFe},int64:{type:"number",validate:QFe},float:{type:"number",validate:H9},double:{type:"number",validate:H9},password:!0,binary:!0};Wo.fastFormats=de(k({},Wo.fullFormats),{date:Go(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,zM),time:Go(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,$M),"date-time":Go(/^\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,G9),"iso-time":Go(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,q9),"iso-date-time":Go(/^\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,W9),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});Wo.formatNames=Object.keys(Wo.fullFormats);function BFe(t){return t%4===0&&(t%100!==0||t%400===0)}var zFe=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,$Fe=[0,31,28,31,30,31,30,31,31,30,31,30,31];function U9(t){let n=zFe.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&&BFe(e)?29:$Fe[i])}function zM(t,n){if(t&&n)return t>n?1:t<n?-1:0}var VM=/^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;function jM(t){return function(e){let i=VM.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 $M(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 q9(t,n){if(!(t&&n))return;let e=VM.exec(t),i=VM.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 BM=/t|\s/i;function z9(t){let n=jM(t);return function(i){let r=i.split(BM);return r.length===2&&U9(r[0])&&n(r[1])}}function G9(t,n){if(!(t&&n))return;let e=new Date(t).valueOf(),i=new Date(n).valueOf();if(e&&i)return e-i}function W9(t,n){if(!(t&&n))return;let[e,i]=t.split(BM),[r,o]=n.split(BM),a=zM(e,r);if(a!==void 0)return a||$M(i,o)}var HFe=/\/|:/,UFe=/^(?:[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 qFe(t){return HFe.test(t)&&UFe.test(t)}var $9=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function GFe(t){return $9.lastIndex=0,$9.test(t)}var WFe=-(2**31),YFe=2**31-1;function KFe(t){return Number.isInteger(t)&&t<=YFe&&t>=WFe}function QFe(t){return Number.isInteger(t)}function H9(){return!0}var ZFe=/[^\\]\\Z/;function XFe(t){if(ZFe.test(t))return!1;try{return new RegExp(t),!0}catch{return!1}}});var K9=g(Eu=>{"use strict";Object.defineProperty(Eu,"__esModule",{value:!0});Eu.formatLimitDefinition=void 0;var JFe=zf(),co=ot(),Vs=co.operators,Ev={formatMaximum:{okStr:"<=",ok:Vs.LTE,fail:Vs.GT},formatMinimum:{okStr:">=",ok:Vs.GTE,fail:Vs.LT},formatExclusiveMaximum:{okStr:"<",ok:Vs.LT,fail:Vs.GTE},formatExclusiveMinimum:{okStr:">",ok:Vs.GT,fail:Vs.LTE}},eOe={message:({keyword:t,schemaCode:n})=>(0,co.str)`should be ${Ev[t].okStr} ${n}`,params:({keyword:t,schemaCode:n})=>(0,co._)`{comparison: ${Ev[t].okStr}, limit: ${n}}`};Eu.formatLimitDefinition={keyword:Object.keys(Ev),type:"string",schemaType:"string",$data:!0,error:eOe,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 JFe.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,co._)`${f}[${l.schemaCode}]`);t.fail$data((0,co.or)((0,co._)`typeof ${h} != "object"`,(0,co._)`${h} instanceof RegExp`,(0,co._)`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,co._)`${a.code.formats}${(0,co.getProperty)(f)}`:void 0});t.fail$data(m(p))}function m(f){return(0,co._)`${f}.compare(${e}, ${i}) ${Ev[r].fail} 0`}},dependencies:["format"]};var tOe=t=>(t.addKeyword(Eu.formatLimitDefinition),t);Eu.default=tOe});var J9=g((Dh,X9)=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});var Su=Y9(),nOe=K9(),HM=ot(),Q9=new HM.Name("fullFormats"),iOe=new HM.Name("fastFormats"),UM=(t,n={keywords:!0})=>{if(Array.isArray(n))return Z9(t,n,Su.fullFormats,Q9),t;let[e,i]=n.mode==="fast"?[Su.fastFormats,iOe]:[Su.fullFormats,Q9],r=n.formats||Su.formatNames;return Z9(t,r,e,i),n.keywords&&(0,nOe.default)(t),t};UM.get=(t,n="full")=>{let i=(n==="fast"?Su.fastFormats:Su.fullFormats)[t];if(!i)throw new Error(`Unknown format "${t}"`);return i};function Z9(t,n,e,i){var r,o;(r=(o=t.opts.code).formats)!==null&&r!==void 0||(o.formats=(0,HM._)`require("ajv-formats/dist/formats").${i}`);for(let a of n)t.addFormat(a,e[a])}X9.exports=Dh=UM;Object.defineProperty(Dh,"__esModule",{value:!0});Dh.default=UM});function HK(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 $h=function(t,...n){if($h.translate){let i=$h.translate(t,n);t=i[0],n=i[1]}let e=zA(t[0],t.raw[0]);for(let i=1;i<t.length;i++)e+=n[i-1]+zA(t[i],t.raw[i]);return e},UK=":";function zA(t,n){return n.charAt(0)===UK?t.substring(HK(t,n)+1):t}globalThis.$localize=$h;var g0;function Hh(){return g0}function go(t){let n=g0;return g0=t,n}var $A=Symbol("NotFound");function sc(t){return t===$A||t?.name==="\u0275NotFound"}function Yh(t,n){return Object.is(t,n)}var Zn=null,Uh=!1,_0=1,qK=null,Dn=Symbol("SIGNAL");function We(t){let n=Zn;return Zn=t,n}function Kh(){return Zn}var $s={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 Hs(t){if(Uh)throw new Error("");if(Zn===null)return;Zn.consumerOnSignalRead(t);let n=Zn.producersTail;if(n!==void 0&&n.producer===t)return;let e,i=Zn.recomputing;if(i&&(e=n!==void 0?n.nextProducer:Zn.producers,e!==void 0&&e.producer===t)){Zn.producersTail=e,e.lastReadVersion=t.version;return}let r=t.consumersTail;if(r!==void 0&&r.consumer===Zn&&(!i||WK(r,Zn)))return;let o=lc(Zn),a={producer:t,consumer:Zn,nextProducer:e,prevConsumer:r,lastReadVersion:t.version,nextConsumer:void 0};Zn.producersTail=a,n!==void 0?n.nextProducer=a:Zn.producers=a,o&&UA(t,a)}function HA(){_0++}function Qh(t){if(!(lc(t)&&!t.dirty)&&!(!t.dirty&&t.lastCleanEpoch===_0)){if(!t.producerMustRecompute(t)&&!qs(t)){Wh(t);return}t.producerRecomputeValue(t),Wh(t)}}function y0(t){if(t.consumers===void 0)return;let n=Uh;Uh=!0;try{for(let e=t.consumers;e!==void 0;e=e.nextConsumer){let i=e.consumer;i.dirty||GK(i)}}finally{Uh=n}}function b0(){return Zn?.consumerAllowSignalWrites!==!1}function GK(t){t.dirty=!0,y0(t),t.consumerMarkedDirty?.(t)}function Wh(t){t.dirty=!1,t.lastCleanEpoch=_0}function za(t){return t&&(t.producersTail=void 0,t.recomputing=!0),We(t)}function Us(t,n){if(We(n),!t)return;t.recomputing=!1;let e=t.producersTail,i=e!==void 0?e.nextProducer:t.producers;if(i!==void 0){if(lc(t))do i=v0(i);while(i!==void 0);e!==void 0?e.nextProducer=void 0:t.producers=void 0}}function qs(t){for(let n=t.producers;n!==void 0;n=n.nextProducer){let e=n.producer,i=n.lastReadVersion;if(i!==e.version||(Qh(e),i!==e.version))return!0}return!1}function $a(t){if(lc(t)){let n=t.producers;for(;n!==void 0;)n=v0(n)}t.producers=void 0,t.producersTail=void 0,t.consumers=void 0,t.consumersTail=void 0}function UA(t,n){let e=t.consumersTail,i=lc(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)UA(r.producer,r)}function v0(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,!lc(n)){let o=n.producers;for(;o!==void 0;)o=v0(o)}return e}function lc(t){return t.consumerIsAlwaysLive||t.consumers!==void 0}function Zh(t){qK?.(t)}function WK(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 Nu(t,n){let e=Object.create(YK);e.computation=t,n!==void 0&&(e.equal=n);let i=()=>{if(Qh(e),Hs(e),e.value===Ou)throw e.error;return e.value};return i[Dn]=e,Zh(e),i}var qh=Symbol("UNSET"),Gh=Symbol("COMPUTING"),Ou=Symbol("ERRORED"),YK=de(k({},$s),{value:qh,dirty:!0,error:null,equal:Yh,kind:"computed",producerMustRecompute(t){return t.value===qh||t.value===Gh},producerRecomputeValue(t){if(t.value===Gh)throw new Error("");let n=t.value;t.value=Gh;let e=za(t),i,r=!1;try{i=t.computation(),We(null),r=n!==qh&&n!==Ou&&i!==Ou&&t.equal(n,i)}catch(o){i=Ou,t.error=o}finally{Us(t,e)}if(r){t.value=n;return}t.value=i,t.version++}});function KK(){throw new Error}var qA=KK;function GA(t){qA(t)}function C0(t){qA=t}var QK=null;function w0(t,n){let e=Object.create(Lu);e.value=t,n!==void 0&&(e.equal=n);let i=()=>WA(e);return i[Dn]=e,Zh(e),[i,a=>cc(e,a),a=>D0(e,a)]}function WA(t){return Hs(t),t.value}function cc(t,n){b0()||GA(t),t.equal(t.value,n)||(t.value=n,ZK(t))}function D0(t,n){b0()||GA(t),cc(t,n(t.value))}var Lu=de(k({},$s),{equal:Yh,value:void 0,kind:"signal"});function ZK(t){t.version++,HA(),y0(t),QK?.(t)}function qe(t){return typeof t=="function"}function Xh(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 Jh=Xh(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 Gs(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(qe(i))try{i()}catch(o){n=o instanceof Jh?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{YA(o)}catch(a){n=n??[],a instanceof Jh?n=[...n,...a.errors]:n.push(a)}}if(n)throw new Jh(n)}}add(n){var e;if(n&&n!==this)if(this.closed)YA(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)&&Gs(e,n)}remove(n){let{_finalizers:e}=this;e&&Gs(e,n),n instanceof t&&n._removeParent(this)}};be.EMPTY=(()=>{let t=new be;return t.closed=!0,t})();var E0=be.EMPTY;function ep(t){return t instanceof be||t&&"closed"in t&&qe(t.remove)&&qe(t.add)&&qe(t.unsubscribe)}function YA(t){qe(t)?t():t.unsubscribe()}var Vr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var dc={setTimeout(t,n,...e){let{delegate:i}=dc;return i?.setTimeout?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){let{delegate:n}=dc;return(n?.clearTimeout||clearTimeout)(t)},delegate:void 0};function tp(t){dc.setTimeout(()=>{let{onUnhandledError:n}=Vr;if(n)n(t);else throw t})}function Ws(){}var KA=S0("C",void 0,void 0);function QA(t){return S0("E",void 0,t)}function ZA(t){return S0("N",t,void 0)}function S0(t,n,e){return{kind:t,value:n,error:e}}var Ys=null;function uc(t){if(Vr.useDeprecatedSynchronousErrorHandling){let n=!Ys;if(n&&(Ys={errorThrown:!1,error:null}),t(),n){let{errorThrown:e,error:i}=Ys;if(Ys=null,e)throw i}}else t()}function XA(t){Vr.useDeprecatedSynchronousErrorHandling&&Ys&&(Ys.errorThrown=!0,Ys.error=t)}var Ks=class extends be{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,ep(n)&&n.add(this)):this.destination=e7}static create(n,e,i){return new Xo(n,e,i)}next(n){this.isStopped?T0(ZA(n),this):this._next(n)}error(n){this.isStopped?T0(QA(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?T0(KA,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()}}},XK=Function.prototype.bind;function x0(t,n){return XK.call(t,n)}var I0=class{constructor(n){this.partialObserver=n}next(n){let{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){np(i)}}error(n){let{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){np(i)}else np(n)}complete(){let{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){np(e)}}},Xo=class extends Ks{constructor(n,e,i){super();let r;if(qe(n)||!n)r={next:n??void 0,error:e??void 0,complete:i??void 0};else{let o;this&&Vr.useDeprecatedNextContext?(o=Object.create(n),o.unsubscribe=()=>this.unsubscribe(),r={next:n.next&&x0(n.next,o),error:n.error&&x0(n.error,o),complete:n.complete&&x0(n.complete,o)}):r=n}this.destination=new I0(r)}};function np(t){Vr.useDeprecatedSynchronousErrorHandling?XA(t):tp(t)}function JK(t){throw t}function T0(t,n){let{onStoppedNotification:e}=Vr;e&&dc.setTimeout(()=>e(t,n))}var e7={closed:!0,next:Ws,error:JK,complete:Ws};var mc=typeof Symbol=="function"&&Symbol.observable||"@@observable";function jr(t){return t}function JA(t){return t.length===0?jr:t.length===1?t[0]:function(e){return t.reduce((i,r)=>r(i),e)}}var Ve=(()=>{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=n7(e)?e:new Xo(e,i,r);return uc(()=>{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=eR(i),new i((r,o)=>{let a=new Xo({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)}[mc](){return this}pipe(...e){return JA(e)(this)}toPromise(e){return e=eR(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 eR(t){var n;return(n=t??Vr.Promise)!==null&&n!==void 0?n:Promise}function t7(t){return t&&qe(t.next)&&qe(t.error)&&qe(t.complete)}function n7(t){return t&&t instanceof Ks||t7(t)&&ep(t)}function k0(t){return qe(t?.lift)}function mt(t){return n=>{if(k0(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 M0(t,n,e,i,r)}var M0=class extends Ks{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 tR(){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 Vu=class extends Ve{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,k0(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 tR()(this)}};var fc={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame,{delegate:i}=fc;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}=fc;return(n?.requestAnimationFrame||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){let{delegate:n}=fc;return(n?.cancelAnimationFrame||cancelAnimationFrame)(...t)},delegate:void 0};var nR=Xh(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var V=(()=>{class t extends Ve{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){let i=new ip(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new nR}next(e){uc(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let i of this.currentObservers)i.next(e)}})}error(e){uc(()=>{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(){uc(()=>{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?E0:(this.currentObservers=null,o.push(e),new be(()=>{this.currentObservers=null,Gs(o,e)}))}_checkFinalizedStatuses(e){let{hasError:i,thrownError:r,isStopped:o}=this;i?e.error(r):o&&e.complete()}asObservable(){let e=new Ve;return e.source=this,e}}return t.create=(n,e)=>new ip(n,e),t})(),ip=class extends V{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:E0}};var Ii=class extends V{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 ju={now(){return(ju.delegate||Date).now()},delegate:void 0};var Qs=class extends V{constructor(n=1/0,e=1/0,i=ju){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 rp=class extends be{constructor(n,e){super()}schedule(n,e=0){return this}};var Bu={setInterval(t,n,...e){let{delegate:i}=Bu;return i?.setInterval?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){let{delegate:n}=Bu;return(n?.clearInterval||clearInterval)(t)},delegate:void 0};var hc=class extends rp{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 Bu.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&&Bu.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,Gs(i,this),n!=null&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}};var pc=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)}};pc.now=ju.now;var gc=class extends pc{constructor(n,e=pc.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 Jo=new gc(hc),iR=Jo;var op=class extends hc{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=fc.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&&(fc.cancelAnimationFrame(e),n._scheduled=void 0)}};var ap=class extends gc{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 sp=new ap(op);var Br=new Ve(t=>t.complete());function lp(t){return t&&qe(t.schedule)}function A0(t){return t[t.length-1]}function cp(t){return qe(A0(t))?t.pop():void 0}function _o(t){return lp(A0(t))?t.pop():void 0}function rR(t,n){return typeof A0(t)=="number"?t.pop():n}function aR(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 oR(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 Zs(t){return this instanceof Zs?(this.v=t,this):new Zs(t)}function sR(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 Zs?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 lR(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 oR=="function"?oR(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 _c=t=>t&&typeof t.length=="number"&&typeof t!="function";function dp(t){return qe(t?.then)}function up(t){return qe(t[mc])}function mp(t){return Symbol.asyncIterator&&qe(t?.[Symbol.asyncIterator])}function fp(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 i7(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var hp=i7();function pp(t){return qe(t?.[hp])}function gp(t){return sR(this,arguments,function*(){let e=t.getReader();try{for(;;){let{value:i,done:r}=yield Zs(e.read());if(r)return yield Zs(void 0);yield yield Zs(i)}}finally{e.releaseLock()}})}function _p(t){return qe(t?.getReader)}function Pt(t){if(t instanceof Ve)return t;if(t!=null){if(up(t))return r7(t);if(_c(t))return o7(t);if(dp(t))return a7(t);if(mp(t))return cR(t);if(pp(t))return s7(t);if(_p(t))return l7(t)}throw fp(t)}function r7(t){return new Ve(n=>{let e=t[mc]();if(qe(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function o7(t){return new Ve(n=>{for(let e=0;e<t.length&&!n.closed;e++)n.next(t[e]);n.complete()})}function a7(t){return new Ve(n=>{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,tp)})}function s7(t){return new Ve(n=>{for(let e of t)if(n.next(e),n.closed)return;n.complete()})}function cR(t){return new Ve(n=>{c7(t,n).catch(e=>n.error(e))})}function l7(t){return cR(gp(t))}function c7(t,n){var e,i,r,o;return aR(this,void 0,void 0,function*(){try{for(e=lR(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 ki(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 yp(t,n=0){return mt((e,i)=>{e.subscribe(lt(i,r=>ki(i,t,()=>i.next(r),n),()=>ki(i,t,()=>i.complete(),n),r=>ki(i,t,()=>i.error(r),n)))})}function bp(t,n=0){return mt((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function dR(t,n){return Pt(t).pipe(bp(n),yp(n))}function uR(t,n){return Pt(t).pipe(bp(n),yp(n))}function mR(t,n){return new Ve(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}function fR(t,n){return new Ve(e=>{let i;return ki(e,n,()=>{i=t[hp](),ki(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)}),()=>qe(i?.return)&&i.return()})}function vp(t,n){if(!t)throw new Error("Iterable cannot be null");return new Ve(e=>{ki(e,n,()=>{let i=t[Symbol.asyncIterator]();ki(e,n,()=>{i.next().then(r=>{r.done?e.complete():e.next(r.value)})},0,!0)})})}function hR(t,n){return vp(gp(t),n)}function pR(t,n){if(t!=null){if(up(t))return dR(t,n);if(_c(t))return mR(t,n);if(dp(t))return uR(t,n);if(mp(t))return vp(t,n);if(pp(t))return fR(t,n);if(_p(t))return hR(t,n)}throw fp(t)}function dr(t,n){return n?pR(t,n):Pt(t)}function en(...t){let n=_o(t);return dr(t,n)}function R0(t,n){let e=qe(t)?t:()=>t,i=r=>r.error(e());return new Ve(n?r=>n.schedule(i,0,r):i)}function Cp(t){return!!t&&(t instanceof Ve||qe(t.lift)&&qe(t.subscribe))}function gR(t){return t instanceof Date&&!isNaN(t)}function tt(t,n){return mt((e,i)=>{let r=0;e.subscribe(lt(i,o=>{i.next(t.call(n,o,r++))}))})}var{isArray:d7}=Array;function u7(t,n){return d7(n)?t(...n):t(n)}function yc(t){return tt(n=>u7(t,n))}var{isArray:m7}=Array,{getPrototypeOf:f7,prototype:h7,keys:p7}=Object;function wp(t){if(t.length===1){let n=t[0];if(m7(n))return{args:n,keys:null};if(g7(n)){let e=p7(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}function g7(t){return t&&typeof t=="object"&&f7(t)===h7}function Dp(t,n){return t.reduce((e,i,r)=>(e[i]=n[r],e),{})}function P0(...t){let n=_o(t),e=cp(t),{args:i,keys:r}=wp(t);if(i.length===0)return dr([],n);let o=new Ve(_7(i,n,r?a=>Dp(r,a):jr));return e?o.pipe(yc(e)):o}function _7(t,n,e=jr){return i=>{_R(n,()=>{let{length:r}=t,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)_R(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 _R(t,n,e){t?ki(e,t,n):n()}function yR(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;Pt(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?ki(n,a,()=>p(E)):p(E)}f()}catch(E){n.error(E)}}))};return t.subscribe(lt(n,h,()=>{m=!0,f()})),()=>{s?.()}}function yo(t,n,e=1/0){return qe(n)?yo((i,r)=>tt((o,a)=>n(i,o,r,a))(Pt(t(i,r))),e):(typeof n=="number"&&(e=n),mt((i,r)=>yR(i,r,t,e)))}function Ep(t=1/0){return yo(jr,t)}function bR(){return Ep(1)}function Ha(...t){return bR()(dr(t,_o(t)))}function zu(t){return new Ve(n=>{Pt(t()).subscribe(n)})}function $u(...t){let n=cp(t),{args:e,keys:i}=wp(t),r=new Ve(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;Pt(e[d]).subscribe(lt(o,f=>{m||(m=!0,c--),s[d]=f},()=>l--,void 0,()=>{(!l||!m)&&(c||o.next(i?Dp(i,s):s),o.complete())}))}});return n?r.pipe(yc(n)):r}var y7=["addListener","removeListener"],b7=["addEventListener","removeEventListener"],v7=["on","off"];function Hu(t,n,e,i){if(qe(e)&&(i=e,e=void 0),i)return Hu(t,n,e).pipe(yc(i));let[r,o]=D7(t)?b7.map(a=>s=>t[a](n,s,e)):C7(t)?y7.map(vR(t,n)):w7(t)?v7.map(vR(t,n)):[];if(!r&&_c(t))return yo(a=>Hu(a,n,e))(Pt(t));if(!r)throw new TypeError("Invalid event target");return new Ve(a=>{let s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function vR(t,n){return e=>i=>t[e](n,i)}function C7(t){return qe(t.addListener)&&qe(t.removeListener)}function w7(t){return qe(t.on)&&qe(t.off)}function D7(t){return qe(t.addEventListener)&&qe(t.removeEventListener)}function ea(t=0,n,e=iR){let i=-1;return n!=null&&(lp(n)?e=n:i=n),new Ve(r=>{let o=gR(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 F0(t=0,n=Jo){return t<0&&(t=0),ea(t,t,n)}function Ft(...t){let n=_o(t),e=rR(t,1/0),i=t;return i.length?i.length===1?Pt(i[0]):Ep(e)(dr(i,n)):Br}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 CR(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||Pt(t(c)).subscribe(o=lt(e,s,l))},()=>{a=!0,(!i||!o||o.closed)&&e.complete()}))})}function Sp(t,n=Jo){return CR(()=>ea(t,n))}function xp(t){return mt((n,e)=>{let i=null,r=!1,o;i=n.subscribe(lt(e,void 0,void 0,a=>{o=Pt(t(a,xp(t)(n))),i?(i.unsubscribe(),i=null,o.subscribe(e)):r=!0})),r&&(i.unsubscribe(),i=null,o.subscribe(e))})}function O0(t,n){return qe(n)?yo(t,n,1):yo(t,1)}function zr(t,n=Jo){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?()=>Br:mt((n,e)=>{let i=0;n.subscribe(lt(e,r=>{++i<=t&&(e.next(r),t<=i&&e.complete())}))})}function wR(){return mt((t,n)=>{t.subscribe(lt(n,Ws))})}function bc(t){return tt(()=>t)}function N0(t,n){return n?e=>Ha(n.pipe(wn(1),wR()),e.pipe(N0(t))):yo((e,i)=>Pt(t(e,i)).pipe(wn(1),bc(e)))}function L0(t,n=Jo){let e=ea(t,n);return N0(()=>e)}function Tp(t,n=jr){return t=t??E7,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 E7(t,n){return t===n}function Ip(t){return mt((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}function kp(){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 Uu(t={}){let{connector:n=()=>new V,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=V0(p,r))}),E.subscribe(D),!a&&c>0&&(a=new Xo({next:P=>E.next(P),error:P=>{m=!0,f(),s=V0(h,e,P),E.error(P)},complete:()=>{d=!0,f(),s=V0(h,i),E.complete()}}),Pt(b).subscribe(a))})(o)}}function V0(t,n,...e){if(n===!0){t();return}if(n===!1)return;let i=new Xo({next:()=>{i.unsubscribe(),t()}});return Pt(n(...e)).subscribe(i)}function Mp(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,Uu({connector:()=>new Qs(i,n,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:r})}function Xs(t){return _t((n,e)=>t<=e)}function Nt(...t){let n=_o(t);return mt((e,i)=>{(n?Ha(t,e,n):Ha(t,e)).subscribe(i)})}function Xn(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++;Pt(t(l,d)).subscribe(r=lt(i,m=>i.next(n?n(l,m,d,c++):m),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function Ye(t){return mt((n,e)=>{Pt(t).subscribe(lt(e,()=>e.complete(),Ws)),!e.closed&&n.subscribe(e)})}function j0(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 $r(t,n,e){let i=qe(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)}))}):jr}function DR(t){let n=We(null);try{return t()}finally{We(n)}}var ER=de(k({},$s),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,kind:"effect"});function SR(t){if(t.dirty=!1,t.hasRun&&!qs(t))return;t.hasRun=!0;let n=za(t);try{t.cleanup(),t.fn()}finally{Us(t,n)}}var Op="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",X=class extends Error{code;constructor(n,e){super(na(n,e)),this.code=n}};function S7(t){return`NG0${Math.abs(t)}`}function na(t,n){return`${S7(t)}${n?": "+n:""}`}var Cc=globalThis;function qt(t){for(let n in t)if(t[n]===qt)return n;throw Error("")}function IR(t,n){for(let e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function Ua(t){if(typeof t=="string")return t;if(Array.isArray(t))return`[${t.map(Ua).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 Np(t,n){return t?n?`${t} ${n}`:t:n||""}var x7=qt({__forward_ref__:qt});function dn(t){return t.__forward_ref__=dn,t.toString=function(){return Ua(this())},t}function Bn(t){return Z0(t)?t():t}function Z0(t){return typeof t=="function"&&t.hasOwnProperty(x7)&&t.__forward_ref__===dn}function kR(t,n,e){t!=n&&Lp(e,t,n,"==")}function MR(t,n){t==null&&Lp(n,t,null,"!=")}function Lp(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 Vp(t){return T7(t,jp)}function T7(t,n){return t.hasOwnProperty(n)&&t[n]||null}function I7(t){let n=t?.[jp]??null;return n||null}function z0(t){return t&&t.hasOwnProperty(Rp)?t[Rp]:null}var jp=qt({\u0275prov:qt}),Rp=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 X0(t){return t&&!!t.\u0275providers}var J0=qt({\u0275cmp:qt}),eC=qt({\u0275dir:qt}),tC=qt({\u0275pipe:qt});var Wu=qt({\u0275fac:qt}),il=qt({__NG_ELEMENT_ID__:qt}),xR=qt({__NG_ENV_ID__:qt});function rl(t){return typeof t=="string"?t:t==null?"":String(t)}function Pp(t){return typeof t=="function"?t.name||t.toString():typeof t=="object"&&t!=null&&typeof t.type=="function"?t.type.name||t.type.toString():rl(t)}var nC=qt({ngErrorCode:qt}),AR=qt({ngErrorMessage:qt}),Gu=qt({ngTokenPath:qt});function iC(t,n){return RR("",-200,n)}function Bp(t,n){throw new X(-201,!1)}function k7(t,n){t[Gu]??=[];let e=t[Gu],i;typeof n=="object"&&"multi"in n&&n?.multi===!0?(MR(n.provide,"Token with multi: true should have a provide property"),i=Pp(n.provide)):i=Pp(n),e[0]!==i&&t[Gu].unshift(i)}function M7(t,n){let e=t[Gu],i=t[nC],r=t[AR]||t.message;return t.message=R7(r,i,e,n),t}function RR(t,n,e){let i=new X(n,t);return i[nC]=n,i[AR]=t,e&&(i[Gu]=e),i}function A7(t){return t[nC]}function R7(t,n,e=[],i=null){let r="";e&&e.length>1&&(r=` Path: ${e.join(" -> ")}.`);let o=i?` Source: ${i}.`:"";return na(n,`${t}${o}${r}`)}var $0;function PR(){return $0}function gi(t){let n=$0;return $0=t,n}function rC(t,n,e){let i=Vp(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;Bp(t,"Injector")}var P7={},Js=P7,H0="__NG_DI_FLAG__",U0=class{injector;constructor(n){this.injector=n}retrieve(n,e){let i=el(e)||0;try{return this.injector.get(n,i&8?null:Js,i)}catch(r){if(sc(r))return r;throw r}}};function F7(t,n=0){let e=Hh();if(e===void 0)throw new X(-203,!1);if(e===null)return rC(t,void 0,n);{let i=O7(n),r=e.retrieve(t,i);if(sc(r)){if(i.optional)return null;throw r}return r}}function ze(t,n=0){return(PR()||F7)(Bn(t),n)}function u(t,n){return ze(t,el(n))}function el(t){return typeof t>"u"||typeof t=="number"?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function O7(t){return{optional:!!(t&8),host:!!(t&1),self:!!(t&2),skipSelf:!!(t&4)}}function q0(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=N7(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 oC(t,n){return t[H0]=n,t.prototype[H0]=n,t}function N7(t){return t[H0]}function qa(t,n){let e=t.hasOwnProperty(Wu);return e?t[Wu]:null}function FR(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 OR(t){return t.flat(Number.POSITIVE_INFINITY)}function zp(t,n){t.forEach(e=>Array.isArray(e)?zp(e,n):n(e))}function aC(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 NR(t,n){let e=[];for(let i=0;i<t;i++)e.push(n);return e}function LR(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 $p(t,n,e){let i=wc(t,n);return i>=0?t[i|1]=e:(i=~i,LR(t,i,n,e)),i}function Hp(t,n){let e=wc(t,n);if(e>=0)return t[e|1]}function wc(t,n){return L7(t,n,1)}function L7(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 Wa={},zn=[],ia=new A(""),sC=new A("",-1),lC=new A(""),Yu=class{get(n,e=Js){if(e===Js){let r=RR("",-201);throw r.name="\u0275NotFound",r}return e}};function Ya(t){return t[J0]||null}function cC(t){return t[eC]||null}function VR(t){return t[tC]||null}function ol(t){return{\u0275providers:t}}function jR(t){return ol([{provide:ia,multi:!0,useValue:t}])}function BR(...t){return{\u0275providers:dC(!0,t),\u0275fromNgModule:!0}}function dC(t,...n){let e=[],i=new Set,r,o=a=>{e.push(a)};return zp(n,a=>{let s=a;Fp(s,o,[],i)&&(r||=[],r.push(s))}),r!==void 0&&zR(r,o),e}function zR(t,n){for(let e=0;e<t.length;e++){let{ngModule:i,providers:r}=t[e];uC(r,o=>{n(o,i)})}}function Fp(t,n,e,i){if(t=Bn(t),!t)return!1;let r=null,o=z0(t),a=!o&&Ya(t);if(!o&&!a){let l=t.ngModule;if(o=z0(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)Fp(c,n,e,i)}}else if(o){if(o.imports!=null&&!s){i.add(r);let c;try{zp(o.imports,d=>{Fp(d,n,e,i)&&(c||=[],c.push(d))})}finally{}c!==void 0&&zR(c,n)}if(!s){let c=qa(r)||(()=>new r);n({provide:r,useFactory:c,deps:zn},r),n({provide:lC,useValue:r,multi:!0},r),n({provide:ia,useValue:()=>ze(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let c=t;uC(l,d=>{n(d,c)})}}else return!1;return r!==t&&t.providers!==void 0}function uC(t,n){for(let e of t)X0(e)&&(e=e.\u0275providers),Array.isArray(e)?uC(e,n):n(e)}var V7=qt({provide:String,useValue:qt});function $R(t){return t!==null&&typeof t=="object"&&V7 in t}function j7(t){return!!(t&&t.useExisting)}function B7(t){return!!(t&&t.useFactory)}function tl(t){return typeof t=="function"}function HR(t){return!!t.useClass}var Zu=new A(""),Ap={},TR={},B0;function Dc(){return B0===void 0&&(B0=new Yu),B0}var gn=class{},nl=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,W0(n,a=>this.processProvider(a)),this.records.set(sC,vc(void 0,this)),r.has("environment")&&this.records.set(gn,vc(void 0,this));let o=this.records.get(Zu);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(lC,zn,{self:!0}))}retrieve(n,e){let i=el(e)||0;try{return this.get(n,Js,i)}catch(r){if(sc(r))return r;throw r}}destroy(){qu(this),this._destroyed=!0;let n=We(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(),We(n)}}onDestroy(n){return qu(this),this._onDestroyHooks.push(n),()=>this.removeOnDestroy(n)}runInContext(n){qu(this);let e=go(this),i=gi(void 0),r;try{return n()}finally{go(e),gi(i)}}get(n,e=Js,i){if(qu(this),n.hasOwnProperty(xR))return n[xR](this);let r=el(i),o,a=go(this),s=gi(void 0);try{if(!(r&4)){let c=this.records.get(n);if(c===void 0){let d=q7(n)&&Vp(n);d&&this.injectableDefInScope(d)?c=vc(G0(n),Ap):c=null,this.records.set(n,c)}if(c!=null)return this.hydrate(n,c,r)}let l=r&2?Dc():this.parent;return e=r&8&&e===Js?null:e,l.get(n,e)}catch(l){let c=A7(l);throw c===-200||c===-201?new X(c,null):l}finally{gi(s),go(a)}}resolveInjectorInitializers(){let n=We(null),e=go(this),i=gi(void 0),r;try{let o=this.get(ia,zn,{self:!0});for(let a of o)a()}finally{go(e),gi(i),We(n)}}toString(){let n=[],e=this.records;for(let i of e.keys())n.push(Ua(i));return`R3Injector[${n.join(", ")}]`}processProvider(n){n=Bn(n);let e=tl(n)?n:Bn(n&&n.provide),i=$7(n);if(!tl(n)&&n.multi===!0){let r=this.records.get(e);r||(r=vc(void 0,Ap,!0),r.factory=()=>q0(r.multi),this.records.set(e,r)),e=n,r.multi.push(n)}this.records.set(e,i)}hydrate(n,e,i){let r=We(null);try{if(e.value===TR)throw iC(Ua(n));return e.value===Ap&&(e.value=TR,e.value=e.factory(void 0,i)),typeof e.value=="object"&&e.value&&U7(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}finally{We(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 G0(t){let n=Vp(t),e=n!==null?n.factory:qa(t);if(e!==null)return e;if(t instanceof A)throw new X(204,!1);if(t instanceof Function)return z7(t);throw new X(204,!1)}function z7(t){if(t.length>0)throw new X(204,!1);let e=I7(t);return e!==null?()=>e.factory(t):()=>new t}function $7(t){if($R(t))return vc(void 0,t.useValue);{let n=mC(t);return vc(n,Ap)}}function mC(t,n,e){let i;if(tl(t)){let r=Bn(t);return qa(r)||G0(r)}else if($R(t))i=()=>Bn(t.useValue);else if(B7(t))i=()=>t.useFactory(...q0(t.deps||[]));else if(j7(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(H7(t))i=()=>new r(...q0(t.deps));else return qa(r)||G0(r)}return i}function qu(t){if(t.destroyed)throw new X(205,!1)}function vc(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function H7(t){return!!t.deps}function U7(t){return t!==null&&typeof t=="object"&&typeof t.ngOnDestroy=="function"}function q7(t){return typeof t=="function"||typeof t=="object"&&t.ngMetadataName==="InjectionToken"}function W0(t,n){for(let e of t)Array.isArray(e)?W0(e,n):e&&X0(e)?W0(e.\u0275providers,n):n(e)}function Xu(t,n){let e;t instanceof nl?(qu(t),e=t):e=new U0(t);let i,r=go(e),o=gi(void 0);try{return n()}finally{go(r),gi(o)}}function UR(){return PR()!==void 0||Hh()!=null}var Hr=0,$e=1,Ge=2,En=3,ur=4,Jn=5,al=6,Ec=7,_n=8,sl=9,ra=10,Lt=11,Sc=12,fC=13,ll=14,ei=15,Ka=16,cl=17,bo=18,Ju=19,hC=20,ta=21,Up=22,oa=23,qi=24,dl=25,Gt=26,qR=1,pC=6,Qa=7,em=8,ul=9,An=10;function vo(t){return Array.isArray(t)&&typeof t[qR]=="object"}function Ur(t){return Array.isArray(t)&&t[qR]===!0}function gC(t){return(t.flags&4)!==0}function aa(t){return t.componentOffset>-1}function xc(t){return(t.flags&1)===1}function Co(t){return!!t.template}function Tc(t){return(t[Ge]&512)!==0}function ml(t){return(t[Ge]&256)===256}var _C="svg",GR="math";function Gi(t){for(;Array.isArray(t);)t=t[Hr];return t}function yC(t,n){return Gi(n[t])}function mr(t,n){return Gi(n[t.index])}function tm(t,n){return t.data[n]}function nm(t,n){return t[n]}function bC(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 vo(e)?e:e[Hr]}function WR(t){return(t[Ge]&4)===4}function qp(t){return(t[Ge]&128)===128}function YR(t){return Ur(t[En])}function Ai(t,n){return n==null?null:t[n]}function vC(t){t[cl]=0}function Gp(t){t[Ge]&1024||(t[Ge]|=1024,qp(t)&&Za(t))}function KR(t,n){for(;t>0;)n=n[ll],t--;return n}function Ic(t){return!!(t[Ge]&9216||t[qi]?.dirty)}function Wp(t){t[ra].changeDetectionScheduler?.notify(8),t[Ge]&64&&(t[Ge]|=1024),Ic(t)&&Za(t)}function Za(t){t[ra].changeDetectionScheduler?.notify(0);let n=Ga(t);for(;n!==null&&!(n[Ge]&8192||(n[Ge]|=8192,!qp(n)));)n=Ga(n)}function CC(t,n){if(ml(t))throw new X(911,!1);t[ta]===null&&(t[ta]=[]),t[ta].push(n)}function QR(t,n){if(t[ta]===null)return;let e=t[ta].indexOf(n);e!==-1&&t[ta].splice(e,1)}function Ga(t){let n=t[En];return Ur(n)?n[En]:n}function wC(t){return t[Ec]??=[]}function DC(t){return t.cleanup??=[]}function ZR(t,n,e,i){let r=wC(n);r.push(e),t.firstCreatePass&&DC(t).push(i,r.length-1)}var nt={lFrame:l1(null),bindingsEnabled:!0,skipHydrationRootTNode:null},im=(function(t){return t[t.Off=0]="Off",t[t.Exhaustive=1]="Exhaustive",t[t.OnlyDirtyViews=2]="OnlyDirtyViews",t})(im||{}),G7=0,Y0=!1;function XR(){return nt.lFrame.elementDepthCount}function JR(){nt.lFrame.elementDepthCount++}function EC(){nt.lFrame.elementDepthCount--}function Yp(){return nt.bindingsEnabled}function SC(){return nt.skipHydrationRootTNode!==null}function xC(t){return nt.skipHydrationRootTNode===t}function TC(){nt.skipHydrationRootTNode=null}function je(){return nt.lFrame.lView}function Kt(){return nt.lFrame.tView}function q(t){return nt.lFrame.contextLView=t,t[_n]}function G(t){return nt.lFrame.contextLView=null,t}function Sn(){let t=IC();for(;t!==null&&t.type===64;)t=t.parent;return t}function IC(){return nt.lFrame.currentTNode}function kc(){let t=nt.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function sa(t,n){let e=nt.lFrame;e.currentTNode=t,e.isParent=n}function kC(){return nt.lFrame.isParent}function MC(){nt.lFrame.isParent=!1}function e1(){return nt.lFrame.contextLView}function AC(t){Lp("Must never be called in production mode"),G7=t}function RC(){return Y0}function Mc(t){let n=Y0;return Y0=t,n}function Ac(){let t=nt.lFrame,n=t.bindingRootIndex;return n===-1&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function t1(){return nt.lFrame.bindingIndex}function n1(t){return nt.lFrame.bindingIndex=t}function wo(){return nt.lFrame.bindingIndex++}function Kp(t){let n=nt.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function i1(){return nt.lFrame.inI18n}function PC(t){nt.lFrame.inI18n=t}function r1(t,n){let e=nt.lFrame;e.bindingIndex=e.bindingRootIndex=t,Qp(n)}function o1(){return nt.lFrame.currentDirectiveIndex}function Qp(t){nt.lFrame.currentDirectiveIndex=t}function a1(t){let n=nt.lFrame.currentDirectiveIndex;return n===-1?null:t[n]}function Zp(){return nt.lFrame.currentQueryIndex}function rm(t){nt.lFrame.currentQueryIndex=t}function W7(t){let n=t[$e];return n.type===2?n.declTNode:n.type===1?t[Jn]:null}function FC(t,n,e){if(e&4){let r=n,o=t;for(;r=r.parent,r===null&&!(e&1);)if(r=W7(o),r===null||(o=o[ll],r.type&10))break;if(r===null)return!1;n=r,t=o}let i=nt.lFrame=s1();return i.currentTNode=n,i.lView=t,!0}function Xp(t){let n=s1(),e=t[$e];nt.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function s1(){let t=nt.lFrame,n=t===null?null:t.child;return n===null?l1(t):n}function l1(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 c1(){let t=nt.lFrame;return nt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}var OC=c1;function Jp(){let t=c1();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 d1(t){return(nt.lFrame.contextLView=KR(t,nt.lFrame.contextLView))[_n]}function Do(){return nt.lFrame.selectedIndex}function Xa(t){nt.lFrame.selectedIndex=t}function Rc(){let t=nt.lFrame;return tm(t.tView,t.selectedIndex)}function ti(){nt.lFrame.currentNamespace=_C}function Ja(){Y7()}function Y7(){nt.lFrame.currentNamespace=null}function u1(){return nt.lFrame.currentNamespace}var m1=!0;function om(){return m1}function Pc(t){m1=t}var K7={elements:void 0};function eg(){return K7}function K0(t,n=null,e=null,i){let r=f1(t,n,e,i);return r.resolveInjectorInitializers(),r}function f1(t,n=null,e=null,i,r=new Set){let o=[e||zn,BR(t)];return i=i||(typeof t=="object"?void 0:Ua(t)),new nl(o,n||Dc(),i||null,r)}var Re=class t{static THROW_IF_NOT_FOUND=Js;static NULL=new Yu;static create(n,e){if(Array.isArray(n))return K0({name:""},e,n,"");{let i=n.name??"";return K0({name:i},n.parent,n.providers,i)}}static \u0275prov=z({token:t,providedIn:"any",factory:()=>ze(sC)});static __NG_ELEMENT_ID__=-1},ke=new A(""),_i=(()=>{class t{static __NG_ELEMENT_ID__=Q7;static __NG_ENV_ID__=e=>e}return t})(),Ku=class extends _i{_lView;constructor(n){super(),this._lView=n}get destroyed(){return ml(this._lView)}onDestroy(n){let e=this._lView;return CC(e,n),()=>QR(e,n)}};function Q7(){return new Ku(je())}var Mn=class{_console=console;handleError(n){this._console.error("ERROR",n)}},qr=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))}}}),h1={provide:ia,useValue:()=>void u(Mn),multi:!0},Z7=new A("",{providedIn:"root",factory:()=>{let t=u(ke).defaultView;if(!t)return;let n=u(qr),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(_i).onDestroy(()=>{t.removeEventListener("error",i),t.removeEventListener("unhandledrejection",e)})}});function NC(){return ol([jR(()=>void u(Z7))])}function Eo(t){return typeof t=="function"&&t[Dn]!==void 0}function pe(t,n){let[e,i,r]=w0(t,n?.equal),o=e,a=o[Dn];return o.set=i,o.update=r,o.asReadonly=LC.bind(o),o}function LC(){let t=this[Dn];if(t.readonlyFn===void 0){let n=()=>this();n[Dn]=t,t.readonlyFn=n}return t.readonlyFn}function VC(t){return Eo(t)&&typeof t.set=="function"}var Mi=class{},Fc=new A("",{providedIn:"root",factory:()=>!1});var jC=new A(""),tg=new A("");var fl=(()=>{class t{view;node;constructor(e,i){this.view=e,this.node=i}static __NG_ELEMENT_ID__=X7}return t})();function X7(){return new fl(je(),Sn())}var hl=(()=>{class t{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new Ii(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new Ve(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 pl(...t){}var am=(()=>{class t{static \u0275prov=z({token:t,providedIn:"root",factory:()=>new Q0})}return t})(),Q0=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 Uc(t){return{toString:t}.toString()}var ng="__parameters__";function aQ(t){return function(...e){if(t){let i=t(...e);for(let r in i)this[r]=i[r]}}}function U1(t,n,e){return Uc(()=>{let i=aQ(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(ng)?l[ng]:Object.defineProperty(l,ng,{value:[]})[ng];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 qc=oC(U1("Optional"),8);var Sg=oC(U1("SkipSelf"),4);function sQ(t){return typeof t=="function"}var ug=class{previousValue;currentValue;firstChange;constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}};function q1(t,n,e,i){n!==null?n.applyValueToInputSignal(n,i):t[e]=i}var it=(()=>{let t=()=>G1;return t.ngInherit=!0,t})();function G1(t){return t.type.prototype.ngOnChanges&&(t.setInput=cQ),lQ}function lQ(){let t=Y1(this),n=t?.current;if(n){let e=t.previous;if(e===Wa)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function cQ(t,n,e,i,r){let o=this.declaredInputs[i],a=Y1(t)||dQ(t,{previous:Wa,current:null}),s=a.current||(a.current={}),l=a.previous,c=l[o];s[o]=new ug(c&&c.currentValue,e,l===Wa),q1(t,n,r,e)}var W1="__ngSimpleChanges__";function Y1(t){return t[W1]||null}function dQ(t,n){return t[W1]=n}var p1=[];var Bt=function(t,n=null,e){for(let i=0;i<p1.length;i++){let r=p1[i];r(t,n,e)}};function uQ(t,n,e){let{ngOnChanges:i,ngOnInit:r,ngDoCheck:o}=n.type.prototype;if(i){let a=G1(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 K1(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 ag(t,n,e){Q1(t,n,3,e)}function sg(t,n,e,i){(t[Ge]&3)===e&&Q1(t,n,e,i)}function BC(t,n){let e=t[Ge];(e&3)===n&&(e&=16383,e+=1,t[Ge]=e)}function Q1(t,n,e,i){let r=i!==void 0?t[cl]&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[cl]+=65536),(s<o||o==-1)&&(mQ(t,e,n,l),t[cl]=(t[cl]&4294901760)+l+2),l++}function g1(t,n){Bt(4,t,n);let e=We(null);try{n.call(t)}finally{We(e),Bt(5,t,n)}}function mQ(t,n,e,i){let r=e[i]<0,o=e[i+1],a=r?-e[i]:e[i],s=t[a];r?t[Ge]>>14<t[cl]>>16&&(t[Ge]&3)===n&&(t[Ge]+=16384,g1(s,o)):g1(s,o)}var Nc=-1,_l=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 fQ(t){return(t.flags&8)!==0}function hQ(t){return(t.flags&16)!==0}function pQ(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];gQ(o)?t.setProperty(n,o,a):t.setAttribute(n,o,a),i++}}return i}function Z1(t){return t===3||t===4||t===6}function gQ(t){return t.charCodeAt(0)===64}function Lc(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?_1(t,e,r,null,n[++i]):_1(t,e,r,null,null))}}return t}function _1(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 X1(t){return t!==Nc}function mg(t){return t&32767}function _Q(t){return t>>16}function fg(t,n){let e=_Q(t),i=n;for(;e>0;)i=i[ll],e--;return i}var JC=!0;function hg(t){let n=JC;return JC=t,n}var yQ=256,J1=yQ-1,eP=5,bQ=0,So={};function vQ(t,n,e){let i;typeof e=="string"?i=e.charCodeAt(0)||0:e.hasOwnProperty(il)&&(i=e[il]),i==null&&(i=e[il]=bQ++);let r=i&J1,o=1<<r;n.data[t+(r>>eP)]|=o}function pg(t,n){let e=tP(t,n);if(e!==-1)return e;let i=n[$e];i.firstCreatePass&&(t.injectorIndex=n.length,zC(i.data,t),zC(n,null),zC(i.blueprint,null));let r=qw(t,n),o=t.injectorIndex;if(X1(r)){let a=mg(r),s=fg(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 zC(t,n){t.push(0,0,0,0,0,0,0,0,n)}function tP(t,n){return t.injectorIndex===-1||t.parent&&t.parent.injectorIndex===t.injectorIndex||n[t.injectorIndex+8]===null?-1:t.injectorIndex}function qw(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=aP(r),i===null)return Nc;if(e++,r=r[ll],i.injectorIndex!==-1)return i.injectorIndex|e<<16}return Nc}function ew(t,n,e){vQ(t,n,e)}function CQ(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(Z1(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 nP(t,n,e){if(e&8||t!==void 0)return t;Bp(n,"NodeInjector")}function iP(t,n,e,i){if(e&8&&i===void 0&&(i=null),(e&3)===0){let r=t[sl],o=gi(void 0);try{return r?r.get(n,i,e&8):rC(n,i,e&8)}finally{gi(o)}}return nP(i,n,e)}function rP(t,n,e,i=0,r){if(t!==null){if(n[Ge]&2048&&!(i&2)){let a=SQ(t,n,e,i,So);if(a!==So)return a}let o=oP(t,n,e,i,So);if(o!==So)return o}return iP(n,e,i,r)}function oP(t,n,e,i,r){let o=DQ(e);if(typeof o=="function"){if(!FC(n,t,i))return i&1?nP(r,e,i):iP(n,e,i,r);try{let a;if(a=o(i),a==null&&!(i&8))Bp(e);else return a}finally{OC()}}else if(typeof o=="number"){let a=null,s=tP(t,n),l=Nc,c=i&1?n[ei][Jn]:null;for((s===-1||i&4)&&(l=s===-1?qw(t,n):n[s+8],l===Nc||!b1(i,!1)?s=-1:(a=n[$e],s=mg(l),n=fg(l,n)));s!==-1;){let d=n[$e];if(y1(o,s,d.data)){let m=wQ(s,n,e,a,i,c);if(m!==So)return m}l=n[s+8],l!==Nc&&b1(i,n[$e].data[s+8]===c)&&y1(o,s,n)?(a=d,s=mg(l),n=fg(l,n)):s=-1}}return r}function wQ(t,n,e,i,r,o){let a=n[$e],s=a.data[t+8],l=i==null?aa(s)&&JC:i!=a&&(s.type&3)!==0,c=r&1&&o===s,d=lg(s,a,e,l,c);return d!==null?dm(n,a,d,s,r):So}function lg(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&&Co(h)&&h.type===e)return l}return null}function dm(t,n,e,i,r){let o=t[e],a=n.data;if(o instanceof _l){let s=o;if(s.resolving){let h=Pp(a[e]);throw iC(h)}let l=hg(s.canSeeViewProviders);s.resolving=!0;let c=a[e].type||a[e],d,m=s.injectImpl?gi(s.injectImpl):null,f=FC(t,i,0);try{o=t[e]=s.factory(void 0,r,a,t,i),n.firstCreatePass&&e>=i.directiveStart&&uQ(e,a[e],n)}finally{m!==null&&gi(m),hg(l),s.resolving=!1,OC()}}return o}function DQ(t){if(typeof t=="string")return t.charCodeAt(0)||0;let n=t.hasOwnProperty(il)?t[il]:void 0;return typeof n=="number"?n>=0?n&J1:EQ:n}function y1(t,n,e){let i=1<<t;return!!(e[n+(t>>eP)]&i)}function b1(t,n){return!(t&2)&&!(t&1&&n)}var gl=class{_tNode;_lView;constructor(n,e){this._tNode=n,this._lView=e}get(n,e,i){return rP(this._tNode,this._lView,n,el(i),e)}};function EQ(){return new gl(Sn(),je())}function Ke(t){return Uc(()=>{let n=t.prototype.constructor,e=n[Wu]||tw(n),i=Object.prototype,r=Object.getPrototypeOf(t.prototype).constructor;for(;r&&r!==i;){let o=r[Wu]||tw(r);if(o&&o!==e)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function tw(t){return Z0(t)?()=>{let n=tw(Bn(t));return n&&n()}:qa(t)}function SQ(t,n,e,i,r){let o=t,a=n;for(;o!==null&&a!==null&&a[Ge]&2048&&!Tc(a);){let s=oP(o,a,e,i|2,So);if(s!==So)return s;let l=o.parent;if(!l){let c=a[hC];if(c){let d=c.get(e,So,i);if(d!==So)return d}l=aP(a),a=a[ll]}o=l}return r}function aP(t){let n=t[$e],e=n.type;return e===2?n.declTNode:e===1?t[Jn]:null}function Gw(t){return CQ(Sn(),t)}function xQ(){return Gc(Sn(),je())}function Gc(t,n){return new K(mr(t,n))}var K=(()=>{class t{nativeElement;constructor(e){this.nativeElement=e}static __NG_ELEMENT_ID__=xQ}return t})();function sP(t){return t instanceof K?t.nativeElement:t}function TQ(){return this._results[Symbol.iterator]()}var Wi=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 V}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=OR(n);(this._changesDetected=!FR(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]=TQ};function lP(t){return(t.flags&128)===128}var Ww=(function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t})(Ww||{}),cP=new Map,IQ=0;function kQ(){return IQ++}function MQ(t){cP.set(t[Ju],t)}function nw(t){cP.delete(t[Ju])}var v1="__ngContext__";function Vc(t,n){vo(n)?(t[v1]=n[Ju],MQ(n)):t[v1]=n}function dP(t){return mP(t[Sc])}function uP(t){return mP(t[ur])}function mP(t){for(;t!==null&&!Ur(t);)t=t[ur];return t}var iw;function Yw(t){iw=t}function Kw(){if(iw!==void 0)return iw;if(typeof document<"u")return document;throw new X(210,!1)}var ns=new A("",{providedIn:"root",factory:()=>AQ}),AQ="ng",xg=new A(""),is=new A("",{providedIn:"platform",factory:()=>"unknown"});var rs=new A(""),Wc=new A("",{providedIn:"root",factory:()=>Kw().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var RQ="h",PQ="b";var fP="r";var hP="di";var pP=!1,gP=new A("",{providedIn:"root",factory:()=>pP});var FQ=(t,n,e,i)=>{};function OQ(t,n,e,i){FQ(t,n,e,i)}function Tg(t){return(t.flags&32)===32}var NQ=()=>null;function _P(t,n,e=!1){return NQ(t,n,e)}function yP(t,n){let e=t.contentQueries;if(e!==null){let i=We(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];rm(o),s.contentQueries(2,n[a],a)}}}finally{We(i)}}}function rw(t,n,e){rm(0);let i=We(null);try{n(t,e)}finally{We(i)}}function Qw(t,n,e){if(gC(n)){let i=We(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{We(i)}}}var ca=(function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t})(ca||{}),ig;function LQ(){if(ig===void 0&&(ig=null,Cc.trustedTypes))try{ig=Cc.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return ig}function Ig(t){return LQ()?.createHTML(t)||t}var da=class{changingThisBreaksApplicationSecurity;constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Op})`}},ow=class extends da{getTypeName(){return"HTML"}},aw=class extends da{getTypeName(){return"Style"}},sw=class extends da{getTypeName(){return"Script"}},lw=class extends da{getTypeName(){return"URL"}},cw=class extends da{getTypeName(){return"ResourceURL"}};function ua(t){return t instanceof da?t.changingThisBreaksApplicationSecurity:t}function bl(t,n){let e=bP(t);if(e!=null&&e!==n){if(e==="ResourceURL"&&n==="URL")return!0;throw new Error(`Required a safe ${n}, got a ${e} (see ${Op})`)}return e===n}function bP(t){return t instanceof da&&t.getTypeName()||null}function Zw(t){return new ow(t)}function Xw(t){return new aw(t)}function Jw(t){return new sw(t)}function eD(t){return new lw(t)}function tD(t){return new cw(t)}function vP(t){let n=new uw(t);return VQ()?new dw(n):n}var dw=class{inertDocumentHelper;constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n="<body><remove></remove>"+n;try{let e=new window.DOMParser().parseFromString(Ig(n),"text/html").body;return e===null?this.inertDocumentHelper.getInertBodyElement(n):(e.firstChild?.remove(),e)}catch{return null}}},uw=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=Ig(n),e}};function VQ(){try{return!!new window.DOMParser().parseFromString(Ig(""),"text/html")}catch{return!1}}var jQ=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function _m(t){return t=String(t),t.match(jQ)?t:"unsafe:"+t}function ma(t){let n={};for(let e of t.split(","))n[e]=!0;return n}function ym(...t){let n={};for(let e of t)for(let i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}var CP=ma("area,br,col,hr,img,wbr"),wP=ma("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),DP=ma("rp,rt"),BQ=ym(DP,wP),zQ=ym(wP,ma("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")),$Q=ym(DP,ma("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")),mw=ym(CP,zQ,$Q,BQ),nD=ma("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),HQ=ma("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"),UQ=ma("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"),EP=ym(nD,HQ,UQ),qQ=ma("script,style,template"),fw=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=YQ(e);continue}for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=WQ(e);if(o){e=o;break}e=r.pop()}}return this.buf.join("")}startElement(n){let e=C1(n).toLowerCase();if(!mw.hasOwnProperty(e))return this.sanitizedSomething=!0,!qQ.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(!EP.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;nD[s]&&(l=_m(l)),this.buf.push(" ",a,'="',w1(l),'"')}return this.buf.push(">"),!0}endElement(n){let e=C1(n).toLowerCase();mw.hasOwnProperty(e)&&!CP.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))}chars(n){this.buf.push(w1(n))}};function GQ(t,n){return(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function WQ(t){let n=t.nextSibling;if(n&&t!==n.previousSibling)throw SP(n);return n}function YQ(t){let n=t.firstChild;if(n&&GQ(t,n))throw SP(n);return n}function C1(t){let n=t.nodeName;return typeof n=="string"?n:"FORM"}function SP(t){return new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`)}var KQ=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,QQ=/([^\#-~ |!])/g;function w1(t){return t.replace(/&/g,"&amp;").replace(KQ,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,"&lt;").replace(/>/g,"&gt;")}var rg;function iD(t,n){let e=null;try{rg=rg||vP(t);let i=n?String(n):"";e=rg.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=rg.getInertBodyElement(i)}while(i!==o);let s=new fw().sanitizeChildren(hw(e)||e);return Ig(s)}finally{if(e){let i=hw(e)||e;for(;i.firstChild;)i.firstChild.remove()}}}function hw(t){return"content"in t&&ZQ(t)?t.content:null}function ZQ(t){return t.nodeType===Node.ELEMENT_NODE&&t.nodeName==="TEMPLATE"}var bi=(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})(bi||{});var XQ=/^>|^->|<!--|-->|--!>|<!-$/g,JQ=/(<|>)/g,eZ="\u200B$1\u200B";function tZ(t){return t.replace(XQ,n=>n.replace(JQ,eZ))}function nZ(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 xP="ng-template";function iZ(t,n,e,i){let r=0;if(i){for(;r<n.length&&typeof n[r]=="string";r+=2)if(n[r]==="class"&&nZ(n[r+1].toLowerCase(),e,0)!==-1)return!0}else if(rD(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 rD(t){return t.type===4&&t.value!==xP}function rZ(t,n,e){let i=t.type===4&&!e?xP:t.value;return n===i}function oZ(t,n,e){let i=4,r=t.attrs,o=r!==null?lZ(r):0,a=!1;for(let s=0;s<n.length;s++){let l=n[s];if(typeof l=="number"){if(!a&&!Gr(i)&&!Gr(l))return!1;if(a&&Gr(l))continue;a=!1,i=l|i&1;continue}if(!a)if(i&4){if(i=2|i&1,l!==""&&!rZ(t,l,e)||l===""&&n.length===1){if(Gr(i))return!1;a=!0}}else if(i&8){if(r===null||!iZ(t,r,l,e)){if(Gr(i))return!1;a=!0}}else{let c=n[++s],d=aZ(l,r,rD(t),e);if(d===-1){if(Gr(i))return!1;a=!0;continue}if(c!==""){let m;if(d>o?m="":m=r[d+1].toLowerCase(),i&2&&c!==m){if(Gr(i))return!1;a=!0}}}}return Gr(i)||a}function Gr(t){return(t&1)===0}function aZ(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 cZ(n,t)}function TP(t,n,e=!1){for(let i=0;i<n.length;i++)if(oZ(t,n[i],e))return!0;return!1}function sZ(t){let n=t.attrs;if(n!=null){let e=n.indexOf(5);if((e&1)===0)return n[e+1]}return null}function lZ(t){for(let n=0;n<t.length;n++){let e=t[n];if(Z1(e))return n}return t.length}function cZ(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 dZ(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 D1(t,n){return t?":not("+n.trim()+")":n}function uZ(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!==""&&!Gr(a)&&(n+=D1(o,r),r=""),i=a,o=o||!Gr(i);e++}return r!==""&&(n+=D1(o,r)),n}function mZ(t){return t.map(uZ).join(",")}function fZ(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(!Gr(r))break;r=o}i++}return e.length&&n.push(1,...e),n}var ni={};function IP(t,n){return t.createText(n)}function hZ(t,n,e){t.setValue(n,e)}function kP(t,n){return t.createComment(tZ(n))}function oD(t,n,e){return t.createElement(n,e)}function jc(t,n,e,i,r){t.insertBefore(n,e,i,r)}function MP(t,n,e){t.appendChild(n,e)}function E1(t,n,e,i,r){i!==null?jc(t,n,e,i,r):MP(t,n,e)}function AP(t,n,e){t.removeChild(null,n,e)}function pZ(t,n,e){t.setAttribute(n,"style",e)}function gZ(t,n,e){e===""?t.removeAttribute(n,"class"):t.setAttribute(n,"class",e)}function RP(t,n,e){let{mergedAttrs:i,classes:r,styles:o}=e;i!==null&&pQ(t,n,i),r!==null&&gZ(t,n,r),o!==null&&pZ(t,n,o)}function aD(t,n,e,i,r,o,a,s,l,c,d){let m=Gt+i,f=m+r,h=_Z(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 _Z(t,n){let e=[];for(let i=0;i<n;i++)e.push(i<t?null:ni);return e}function yZ(t){let n=t.tView;return n===null||n.incompleteFirstPass?t.tView=aD(1,null,t.template,t.decls,t.vars,t.directiveDefs,t.pipeDefs,t.viewQuery,t.schemas,t.consts,t.id):n}function sD(t,n,e,i,r,o,a,s,l,c,d){let m=n.blueprint.slice();return m[Hr]=r,m[Ge]=i|4|128|8|64|1024,(c!==null||t&&t[Ge]&2048)&&(m[Ge]|=2048),vC(m),m[En]=m[ll]=t,m[_n]=e,m[ra]=a||t&&t[ra],m[Lt]=s||t&&t[Lt],m[sl]=l||t&&t[sl]||null,m[Jn]=o,m[Ju]=kQ(),m[al]=d,m[hC]=c,m[ei]=n.type==2?t[ei]:m,m}function bZ(t,n,e){let i=mr(n,t),r=yZ(e),o=t[ra].rendererFactory,a=lD(t,sD(t,r,null,PP(e),i,n,null,o.createRenderer(i,e),null,null,null));return t[n.index]=a}function PP(t){let n=16;return t.signals?n=4096:t.onPush&&(n=64),n}function bm(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 lD(t,n){return t[Sc]?t[fC][ur]=n:t[Sc]=n,t[fC]=n,n}function C(t=1){FP(Kt(),je(),Do()+t,!1)}function FP(t,n,e,i){if(!i)if((n[Ge]&3)===3){let o=t.preOrderCheckHooks;o!==null&&ag(n,o,e)}else{let o=t.preOrderHooks;o!==null&&sg(n,o,0,e)}Xa(e)}var kg=(function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t})(kg||{});function pw(t,n,e,i){let r=We(null);try{let[o,a,s]=t.inputs[e],l=null;(a&kg.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):q1(n,l,o,i)}finally{We(r)}}var Yr=(function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t})(Yr||{}),gw;function cD(t,n){return gw(t,n)}function vZ(t){gw===void 0&&(gw=t())}function Oc(t,n,e,i,r){if(i!=null){let o,a=!1;Ur(i)?o=i:vo(i)&&(a=!0,i=i[Hr]);let s=Gi(i);t===0&&e!==null?r==null?MP(n,e,s):jc(n,e,s,r||null,!0):t===1&&e!==null?jc(n,e,s,r||null,!0):t===2?AP(n,s,a):t===3&&n.destroyNode(s),o!=null&&TZ(n,t,o,e,r)}}function CZ(t,n){OP(t,n),n[Hr]=null,n[Jn]=null}function wZ(t,n,e,i,r,o){i[Hr]=r,i[Jn]=n,Ag(t,i,e,1,r,o)}function OP(t,n){n[ra].changeDetectionScheduler?.notify(9),Ag(t,n,n[Lt],2,null,null)}function DZ(t){let n=t[Sc];if(!n)return $C(t[$e],t);for(;n;){let e=null;if(vo(n))e=n[Sc];else{let i=n[An];i&&(e=i)}if(!e){for(;n&&!n[ur]&&n!==t;)vo(n)&&$C(n[$e],n),n=n[En];n===null&&(n=t),vo(n)&&$C(n[$e],n),e=n&&n[ur]}n=e}}function dD(t,n){let e=t[ul],i=e.indexOf(n);e.splice(i,1)}function Mg(t,n){if(ml(n))return;let e=n[Lt];e.destroyNode&&Ag(t,n,e,3,null,null),DZ(n)}function $C(t,n){if(ml(n))return;let e=We(null);try{n[Ge]&=-129,n[Ge]|=256,n[qi]&&$a(n[qi]),SZ(t,n),EZ(t,n),n[$e].type===1&&n[Lt].destroy();let i=n[Ka];if(i!==null&&Ur(n[En])){i!==n[En]&&dD(i,n);let r=n[bo];r!==null&&r.detachView(t)}nw(n)}finally{We(e)}}function EZ(t,n){let e=t.cleanup,i=n[Ec];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[Ec]=null);let r=n[ta];if(r!==null){n[ta]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=n[oa];if(o!==null){n[oa]=null;for(let a of o)a.destroy()}}function SZ(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 _l)){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 NP(t,n,e){return LP(t,n.parent,e)}function LP(t,n,e){let i=n;for(;i!==null&&i.type&168;)n=i,i=n.parent;if(i===null)return e[Hr];if(aa(i)){let{encapsulation:r}=t.data[i.directiveStart+i.componentOffset];if(r===ca.None||r===ca.Emulated)return null}return mr(i,e)}function VP(t,n,e){return BP(t,n,e)}function jP(t,n,e){return t.type&40?mr(t,e):null}var BP=jP,_w;function zP(t,n){BP=t,_w=n}function uD(t,n,e,i){let r=NP(t,i,n),o=n[Lt],a=i.parent||n[Jn],s=VP(a,i,n);if(r!=null)if(Array.isArray(e))for(let l=0;l<e.length;l++)E1(o,r,e[l],s,!1);else E1(o,r,e,s,!1);_w!==void 0&&_w(o,i,n,e,r)}function sm(t,n){if(n!==null){let e=n.type;if(e&3)return mr(n,t);if(e&4)return yw(-1,t[n.index]);if(e&8){let i=n.child;if(i!==null)return sm(t,i);{let r=t[n.index];return Ur(r)?yw(-1,r):Gi(r)}}else{if(e&128)return sm(t,n.next);if(e&32)return cD(n,t)()||Gi(t[n.index]);{let i=$P(t,n);if(i!==null){if(Array.isArray(i))return i[0];let r=Ga(t[ei]);return sm(r,i)}else return sm(t,n.next)}}}return null}function $P(t,n){if(n!==null){let i=t[ei][Jn],r=n.projection;return i.projection[r]}return null}function yw(t,n){let e=An+t+1;if(e<n.length){let i=n[e],r=i[$e].firstChild;if(r!==null)return sm(i,r)}return n[Qa]}function mD(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&&Vc(Gi(s),i),e.flags|=2),!Tg(e))if(l&8)mD(t,n,e.child,i,r,o,!1),Oc(n,t,r,s,o);else if(l&32){let c=cD(e,i),d;for(;d=c();)Oc(n,t,r,d,o);Oc(n,t,r,s,o)}else l&16?HP(t,n,i,e,r,o):Oc(n,t,r,s,o);e=a?e.projectionNext:e.next}}function Ag(t,n,e,i,r,o){mD(e,i,t.firstChild,n,r,o,!1)}function xZ(t,n,e){let i=n[Lt],r=NP(t,e,n),o=e.parent||n[Jn],a=VP(o,e,n);HP(i,0,n,e,r,a)}function HP(t,n,e,i,r,o){let a=e[ei],l=a[Jn].projection[i.projection];if(Array.isArray(l))for(let c=0;c<l.length;c++){let d=l[c];Oc(n,t,r,d,o)}else{let c=l,d=a[En];lP(i)&&(c.flags|=128),mD(t,n,c,d,r,o,!0)}}function TZ(t,n,e,i,r){let o=e[Qa],a=Gi(e);o!==a&&Oc(n,t,i,o,r);for(let s=An;s<e.length;s++){let l=e[s];Ag(l[$e],l,t,n,i,o)}}function IZ(t,n,e,i,r){if(n)r?t.addClass(e,i):t.removeClass(e,i);else{let o=i.indexOf("-")===-1?void 0:Yr.DashCase;r==null?t.removeStyle(e,i,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Yr.Important),t.setStyle(e,i,r,o))}}function UP(t,n,e,i,r){let o=Do(),a=i&2;try{Xa(-1),a&&n.length>Gt&&FP(t,n,Gt,!1),Bt(a?2:0,r,e),e(i,r)}finally{Xa(o),Bt(a?3:1,r,e)}}function Rg(t,n,e){PZ(t,n,e),(e.flags&64)===64&&FZ(t,n,e)}function vm(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 kZ(t,n,e,i){let o=i.get(gP,pP)||e===ca.ShadowDom,a=t.selectRootElement(n,o);return MZ(a),a}function MZ(t){AZ(t)}var AZ=()=>null;function RZ(t){return t==="class"?"className":t==="for"?"htmlFor":t==="formaction"?"formAction":t==="innerHtml"?"innerHTML":t==="readonly"?"readOnly":t==="tabindex"?"tabIndex":t}function qP(t,n,e,i,r,o){let a=n[$e];if(Pg(t,a,n,e,i)){aa(t)&&WP(n,t.index);return}t.type&3&&(e=RZ(e)),GP(t,n,e,i,r,o)}function GP(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 WP(t,n){let e=fr(n,t);e[Ge]&16||(e[Ge]|=64)}function PZ(t,n,e){let i=e.directiveStart,r=e.directiveEnd;aa(e)&&bZ(n,e,t.data[i+e.componentOffset]),t.firstCreatePass||pg(e,n);let o=e.initialInputs;for(let a=i;a<r;a++){let s=t.data[a],l=dm(n,t,a,e);if(Vc(l,n),o!==null&&LZ(n,a-i,l,s,e,o),Co(s)){let c=fr(e.index,n);c[_n]=dm(n,t,a,e)}}}function FZ(t,n,e){let i=e.directiveStart,r=e.directiveEnd,o=e.index,a=o1();try{Xa(o);for(let s=i;s<r;s++){let l=t.data[s],c=n[s];Qp(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&OZ(l,c)}}finally{Xa(-1),Qp(a)}}function OZ(t,n){t.hostBindings!==null&&t.hostBindings(1,n)}function fD(t,n){let e=t.directiveRegistry,i=null;if(e)for(let r=0;r<e.length;r++){let o=e[r];TP(n,o.selectors,!1)&&(i??=[],Co(o)?i.unshift(o):i.push(o))}return i}function NZ(t,n,e,i,r,o){let a=mr(t,n);YP(n[Lt],a,o,t.value,e,i,r)}function YP(t,n,e,i,r,o,a){if(o==null)t.removeAttribute(n,r,e);else{let s=a==null?rl(o):a(o,i||"",r);t.setAttribute(n,r,s,e)}}function LZ(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];pw(i,e,l,c)}}function hD(t,n,e,i,r){let o=Gt+e,a=n[$e],s=r(a,n,t,i,e);n[o]=s,sa(t,!0);let l=t.type===2;return l?(RP(n[Lt],s,t),(XR()===0||xc(t))&&Vc(s,n),JR()):Vc(s,n),om()&&(!l||!Tg(t))&&uD(a,n,s,t),t}function pD(t){let n=t;return kC()?MC():(n=n.parent,sa(n,!1)),n}function VZ(t,n){let e=t[sl];if(!e)return;let i;try{i=e.get(qr,null)}catch{i=null}i?.(n)}function Pg(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];pw(m,e[c],d,r),s=!0}if(o)for(let l of o){let c=e[l],d=n.data[l];pw(d,c,i,r),s=!0}return s}function jZ(t,n){let e=fr(n,t),i=e[$e];BZ(i,e);let r=e[Hr];r!==null&&e[al]===null&&(e[al]=_P(r,e[sl])),Bt(18),gD(i,e,e[_n]),Bt(19,e[_n])}function BZ(t,n){for(let e=n.length;e<t.blueprint.length;e++)n.push(t.blueprint[e])}function gD(t,n,e){Xp(n);try{let i=t.viewQuery;i!==null&&rw(1,i,e);let r=t.template;r!==null&&UP(t,n,r,1,e),t.firstCreatePass&&(t.firstCreatePass=!1),n[bo]?.finishViewCreation(t),t.staticContentQueries&&yP(t,n),t.staticViewQueries&&rw(2,t.viewQuery,e);let o=t.components;o!==null&&zZ(n,o)}catch(i){throw t.firstCreatePass&&(t.incompleteFirstPass=!0,t.firstCreatePass=!1),i}finally{n[Ge]&=-5,Jp()}}function zZ(t,n){for(let e=0;e<n.length;e++)jZ(t,n[e])}function Cm(t,n,e,i){let r=We(null);try{let o=n.tView,s=t[Ge]&4096?4096:16,l=sD(t,o,e,s,null,n,null,null,i?.injector??null,i?.embeddedViewInjector??null,i?.dehydratedView??null),c=t[n.index];l[Ka]=c;let d=t[bo];return d!==null&&(l[bo]=d.createEmbeddedView(o)),gD(o,l,e),l}finally{We(r)}}function Bc(t,n){return!n||n.firstChild===null||lP(t)}var S1=!1,$Z=new A("");function um(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(Gi(o)),Ur(o)&&KP(o,i);let a=e.type;if(a&8)um(t,n,e.child,i);else if(a&32){let s=cD(e,n),l;for(;l=s();)i.push(l)}else if(a&16){let s=$P(n,e);if(Array.isArray(s))i.push(...s);else{let l=Ga(n[ei]);um(l[$e],l,s,i,!0)}}e=r?e.projectionNext:e.next}return i}function KP(t,n){for(let e=An;e<t.length;e++){let i=t[e],r=i[$e].firstChild;r!==null&&um(i[$e],i,r,n)}t[Qa]!==t[Hr]&&n.push(t[Qa])}function QP(t){if(t[dl]!==null){for(let n of t[dl])n.impl.addSequence(n);t[dl].length=0}}var ZP=[];function HZ(t){return t[qi]??UZ(t)}function UZ(t){let n=ZP.pop()??Object.create(GZ);return n.lView=t,n}function qZ(t){t.lView[qi]!==t&&(t.lView=null,ZP.push(t))}var GZ=de(k({},$s),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{Za(t.lView)},consumerOnSignalRead(){this.lView[qi]=this}});function WZ(t){let n=t[qi]??Object.create(YZ);return n.lView=t,n}var YZ=de(k({},$s),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:t=>{let n=Ga(t.lView);for(;n&&!XP(n[$e]);)n=Ga(n);n&&Gp(n)},consumerOnSignalRead(){this.lView[qi]=this}});function XP(t){return t.type!==2}function JP(t){if(t[oa]===null)return;let n=!0;for(;n;){let e=!1;for(let i of t[oa])i.dirty&&(e=!0,i.zone===null||Zone.current===i.zone?i.run():i.zone.run(()=>i.run()));n=e&&!!(t[Ge]&8192)}}var KZ=100;function _D(t,n=0){let i=t[ra].rendererFactory,r=!1;r||i.begin?.();try{QZ(t,n)}finally{r||i.end?.()}}function QZ(t,n){let e=RC();try{Mc(!0),bw(t,n);let i=0;for(;Ic(t);){if(i===KZ)throw new X(103,!1);i++,bw(t,1)}}finally{Mc(e)}}function eF(t,n){AC(n?im.Exhaustive:im.OnlyDirtyViews);try{_D(t)}finally{AC(im.Off)}}function ZZ(t,n,e,i){if(ml(n))return;let r=n[Ge],o=!1,a=!1;Xp(n);let s=!0,l=null,c=null;o||(XP(t)?(c=HZ(n),l=za(c)):Kh()===null?(s=!1,c=WZ(n),l=za(c)):n[qi]&&($a(n[qi]),n[qi]=null));try{vC(n),n1(t.bindingStartIndex),e!==null&&UP(t,n,e,2,i);let d=(r&3)===3;if(!o)if(d){let h=t.preOrderCheckHooks;h!==null&&ag(n,h,null)}else{let h=t.preOrderHooks;h!==null&&sg(n,h,0,null),BC(n,0)}if(a||XZ(n),JP(n),tF(n,0),t.contentQueries!==null&&yP(t,n),!o)if(d){let h=t.contentCheckHooks;h!==null&&ag(n,h)}else{let h=t.contentHooks;h!==null&&sg(n,h,1),BC(n,1)}eX(t,n);let m=t.components;m!==null&&iF(n,m,0);let f=t.viewQuery;if(f!==null&&rw(2,f,i),!o)if(d){let h=t.viewCheckHooks;h!==null&&ag(n,h)}else{let h=t.viewHooks;h!==null&&sg(n,h,2),BC(n,2)}if(t.firstUpdatePass===!0&&(t.firstUpdatePass=!1),n[Up]){for(let h of n[Up])h();n[Up]=null}o||(QP(n),n[Ge]&=-73)}catch(d){throw o||Za(n),d}finally{c!==null&&(Us(c,l),s&&qZ(c)),Jp()}}function tF(t,n){for(let e=dP(t);e!==null;e=uP(e))for(let i=An;i<e.length;i++){let r=e[i];nF(r,n)}}function XZ(t){for(let n=dP(t);n!==null;n=uP(n)){if(!(n[Ge]&2))continue;let e=n[ul];for(let i=0;i<e.length;i++){let r=e[i];Gp(r)}}}function JZ(t,n,e){Bt(18);let i=fr(n,t);nF(i,e),Bt(19,i[_n])}function nF(t,n){qp(t)&&bw(t,n)}function bw(t,n){let i=t[$e],r=t[Ge],o=t[qi],a=!!(n===0&&r&16);if(a||=!!(r&64&&n===0),a||=!!(r&1024),a||=!!(o?.dirty&&qs(o)),a||=!1,o&&(o.dirty=!1),t[Ge]&=-9217,a)ZZ(i,t,i.template,t[_n]);else if(r&8192){let s=We(null);try{JP(t),tF(t,1);let l=i.components;l!==null&&iF(t,l,1),QP(t)}finally{We(s)}}}function iF(t,n,e){for(let i=0;i<n.length;i++)JZ(t,n[i],e)}function eX(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)Xa(~r);else{let o=r,a=e[++i],s=e[++i];r1(a,o);let l=n[o];Bt(24,l),s(2,l),Bt(25,l)}}}finally{Xa(-1)}}function yD(t,n){let e=RC()?64:1088;for(t[ra].changeDetectionScheduler?.notify(n);t;){t[Ge]|=e;let i=Ga(t);if(Tc(t)&&!i)return t;t=i}return null}function rF(t,n,e,i){return[t,!0,0,n,null,i,null,e,null,null]}function oF(t,n){let e=An+n;if(e<t.length)return t[e]}function wm(t,n,e,i=!0){let r=n[$e];if(tX(r,n,t,e),i){let a=yw(e,t),s=n[Lt],l=s.parentNode(t[Qa]);l!==null&&wZ(r,t[Jn],s,n,l,a)}let o=n[al];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function aF(t,n){let e=mm(t,n);return e!==void 0&&Mg(e[$e],e),e}function mm(t,n){if(t.length<=An)return;let e=An+n,i=t[e];if(i){let r=i[Ka];r!==null&&r!==t&&dD(r,i),n>0&&(t[e-1][ur]=i[ur]);let o=Qu(t,An+n);CZ(i[$e],i);let a=o[bo];a!==null&&a.detachView(o[$e]),i[En]=null,i[ur]=null,i[Ge]&=-129}return i}function tX(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],aC(e,An+i,n)):(e.push(n),n[ur]=null),n[En]=e;let a=n[Ka];a!==null&&e!==a&&sF(a,n);let s=n[bo];s!==null&&s.insertView(t),Wp(n),n[Ge]|=128}function sF(t,n){let e=t[ul],i=n[En];if(vo(i))t[Ge]|=2;else{let r=i[En][ei];n[ei]!==r&&(t[Ge]|=2)}e===null?t[ul]=[n]:e.push(n)}var es=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let n=this._lView,e=n[$e];return um(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 ml(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let n=this._lView[En];if(Ur(n)){let e=n[em],i=e?e.indexOf(this):-1;i>-1&&(mm(n,i),Qu(e,i))}this._attachedToViewContainer=!1}Mg(this._lView[$e],this._lView)}onDestroy(n){CC(this._lView,n)}markForCheck(){yD(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[Ge]&=-129}reattach(){Wp(this._lView),this._lView[Ge]|=128}detectChanges(){this._lView[Ge]|=1024,_D(this._lView)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let n=Tc(this._lView),e=this._lView[Ka];e!==null&&!n&&dD(e,this._lView),OP(this._lView[$e],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new X(902,!1);this._appRef=n;let e=Tc(this._lView),i=this._lView[Ka];i!==null&&!e&&sF(i,this._lView),Wp(this._lView)}};function bD(t){return Ic(t._lView)||!!(t._lView[Ge]&64)}function vD(t){Gp(t._lView)}var At=(()=>{class t{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=nX;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=Cm(this._declarationLView,this._declarationTContainer,e,{embeddedViewInjector:i,dehydratedView:r});return new es(o)}}return t})();function nX(){return Fg(Sn(),je())}function Fg(t,n){return t.type&4?new At(n,t,Gc(t,n)):null}function lF(t,n,e){let i=n.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return r===null?jP(t,n,e):Gi(e[r])}function cF(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]];jc(t,a,c,s,!1)}}}function Yc(t,n,e,i,r){let o=t.data[n];if(o===null)o=CD(t,n,e,i,r),i1()&&(o.flags|=32);else if(o.type&64){o.type=e,o.value=i,o.attrs=r;let a=kc();o.injectorIndex=a===null?-1:a.injectorIndex}return sa(o,!0),o}function CD(t,n,e,i,r){let o=IC(),a=kC(),s=a?o:o&&o.parent,l=t.data[n]=rX(t,s,e,n,i,r);return iX(t,l,o,a),l}function iX(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 rX(t,n,e,i,r,o){let a=n?n.injectorIndex:-1,s=0;return SC()&&(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 dF(t,n){if(t.push(n),t.length>1)for(let e=t.length-2;e>=0;e--){let i=t[e];uF(i)||oX(i,n)&&aX(i)===null&&sX(i,n.index)}}function uF(t){return!(t.type&64)}function oX(t,n){return uF(n)||t.index>n.index}function aX(t){let n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function sX(t,n){let e=t.insertBeforeIndex;Array.isArray(e)?e[0]=n:(zP(lF,cF),t.insertBeforeIndex=n)}function lX(t,n,e){let i=t.data[n];i===null?t.data[n]=e:i.value=e}function cX(t,n){let e=t.insertBeforeIndex;e===null?(zP(lF,cF),e=t.insertBeforeIndex=[null,n]):(kR(Array.isArray(e),!0,"Expecting array here"),e.push(n))}function dX(t,n,e){let i=CD(t,e,64,null,null);return dF(n,i),i}function uX(t,n){let e=n[t.currentCaseLViewIndex];return e===null?e:e<0?~e:e}function mX(t,n,e){return t|n<<17|e<<1}function fX(t){return t===-1}function mF(t,n,e){t.index=0;let i=uX(n,e);i!==null?t.removes=n.remove[i]:t.removes=zn}function vw(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 mF(t,i,t.lView),vw(t)}}else return t.stack.length===0?null:(t.removes=t.stack.pop(),t.index=t.stack.pop(),vw(t))}function hX(){let t={stack:[],index:-1};function n(e,i){for(t.lView=i;t.stack.length;)t.stack.pop();return mF(t,e.value,i),vw.bind(null,t)}return n}var cUe=new RegExp(`^(\\d+)*(${PQ}|${RQ})*(.*)`);var pX=()=>{};function gX(t,n,e,i){pX(t,n,e,i)}function _X(t){let n=t[pC]??[],i=t[En][Lt],r=[];for(let o of n)o.data[hP]!==void 0?r.push(o):yX(o,i);t[pC]=r}function yX(t,n){let e=0,i=t.firstChild;if(i){let r=t.data[fP];for(;e<r;){let o=i.nextSibling;AP(n,i,!1),i=o,e++}}}var bX=()=>null,vX=()=>null;function gg(t,n){return bX(t,n)}function fF(t,n,e){return vX(t,n,e)}var hF=class{},Og=class{},Cw=class{resolveComponentFactory(n){throw new X(917,!1)}},fa=class{static NULL=new Cw},tn=class{},yt=(()=>{class t{destroyNode=null;static __NG_ELEMENT_ID__=()=>CX()}return t})();function CX(){let t=je(),n=Sn(),e=fr(n.index,t);return(vo(e)?e:t)[Lt]}var pF=(()=>{class t{static \u0275prov=z({token:t,providedIn:"root",factory:()=>null})}return t})();var cg={},ww=class{injector;parentInjector;constructor(n,e){this.injector=n,this.parentInjector=e}get(n,e,i){let r=this.injector.get(n,cg,i);return r!==cg||e===cg?r:this.parentInjector.get(n,e,i)}};function _g(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=Np(r,s);else if(o==2){let l=s,c=n[++a];i=Np(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 rP(i,e,Bn(t),n)}function wD(){let t="invalid";throw new Error(t)}function gF(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}EX(t,n,e,s,o,l,c)}o!==null&&i!==null&&wX(e,i,o)}function wX(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 DX(t,n,e){n.componentOffset=e,(t.components??=[]).push(n.index)}function EX(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&&Co(h)&&(l=!0,DX(t,e,f)),ew(pg(e,n),t,h.type)}MX(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=bm(t,n,s,null);s>0&&(e.directiveToIndex=new Map);for(let f=0;f<s;f++){let h=i[f];if(e.mergedAttrs=Lc(e.mergedAttrs,h.hostAttrs),xX(t,e,n,m,h),kX(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++}SX(t,e,o)}function SX(t,n,e){for(let i=n.directiveStart;i<n.directiveEnd;i++){let r=t.data[i];if(e===null||!e.has(r))x1(0,n,r,i),x1(1,n,r,i),I1(n,i,!1);else{let o=e.get(r);T1(0,n,o,i),T1(1,n,o,i),I1(n,i,!0)}}}function x1(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),_F(n,o)}}function T1(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),_F(n,a)}}function _F(t,n){n==="class"?t.flags|=8:n==="style"&&(t.flags|=16)}function I1(t,n,e){let{attrs:i,inputs:r,hostDirectiveInputs:o}=t;if(i===null||!e&&r===null||e&&o===null||rD(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 xX(t,n,e,i,r){t.data[i]=r;let o=r.factory||(r.factory=qa(r.type,!0)),a=new _l(o,Co(r),me,null);t.blueprint[i]=a,e[i]=a,TX(t,n,i,bm(t,e,r.hostVars,ni),r)}function TX(t,n,e,i,r){let o=r.hostBindings;if(o){let a=t.hostBindingOpCodes;a===null&&(a=t.hostBindingOpCodes=[]);let s=~n.index;IX(a)!=s&&a.push(s),a.push(e,i,o)}}function IX(t){let n=t.length;for(;n>0;){let e=t[--n];if(typeof e=="number"&&e<0)return e}return 0}function kX(t,n,e){if(e){if(n.exportAs)for(let i=0;i<n.exportAs.length;i++)e[n.exportAs[i]]=t;Co(n)&&(e[""]=t)}}function MX(t,n,e){t.flags|=1,t.directiveStart=n,t.directiveEnd=n+e,t.providerIndexes=n}function DD(t,n,e,i,r,o,a,s){let l=n[$e],c=l.consts,d=Ai(c,a),m=Yc(l,t,e,i,d);return o&&gF(l,n,m,Ai(c,s),r),m.mergedAttrs=Lc(m.mergedAttrs,m.attrs),m.attrs!==null&&_g(m,m.attrs,!1),m.mergedAttrs!==null&&_g(m,m.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,m),m}function ED(t,n){K1(t,n),gC(n)&&t.queries.elementEnd(n)}function AX(t,n,e,i,r,o){let a=n.consts,s=Ai(a,r),l=Yc(n,t,e,i,s);if(l.mergedAttrs=Lc(l.mergedAttrs,l.attrs),o!=null){let c=Ai(a,o);l.localNames=[];for(let d=0;d<c.length;d+=2)l.localNames.push(c[d],-1)}return l.attrs!==null&&_g(l,l.attrs,!1),l.mergedAttrs!==null&&_g(l,l.mergedAttrs,!0),n.queries!==null&&n.queries.elementStart(n,l),l}function SD(t){return Ng(t)?Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t:!1}function yF(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 Ng(t){return t!==null&&(typeof t=="function"||typeof t=="object")}function Lg(t,n,e){return t[n]=e}function RX(t,n){return t[n]}function yi(t,n,e){if(e===ni)return!1;let i=t[n];return Object.is(i,e)?!1:(t[n]=e,!0)}function xD(t,n,e,i){let r=yi(t,n,e);return yi(t,n+1,i)||r}function PX(t,n,e,i,r){let o=xD(t,n,e,i);return yi(t,n+2,r)||o}function HC(t,n,e){return function i(r){let o=aa(t)?fr(t.index,n):n;yD(o,5);let a=n[_n],s=k1(n,a,e,r),l=i.__ngNextListenerFn__;for(;l;)s=k1(n,a,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function k1(t,n,e,i){let r=We(null);try{return Bt(6,n,e),e(i)!==!1}catch(o){return VZ(t,o),!1}finally{Bt(7,n,e),We(r)}}function FX(t,n,e,i,r,o,a,s){let l=xc(t),c=!1,d=null;if(!i&&l&&(d=OX(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;OQ(e,f,o,s);let h=r.listen(f,o,s),p=i?b=>i(Gi(b[t.index])):t.index;bF(p,n,e,o,s,h,!1)}return c}function OX(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[Ec],l=r[o+2];return s&&s.length>l?s[l]:null}typeof a=="string"&&(o+=2)}return null}function bF(t,n,e,i,r,o,a){let s=n.firstCreatePass?DC(n):null,l=wC(e),c=l.length;l.push(r,o),s&&s.push(i,t,c,(c+1)*(a?-1:1))}function M1(t,n,e,i,r,o){let a=n[e],s=n[$e],c=s.data[e].outputs[i],m=a[c].subscribe(o);bF(t.index,s,n,r,o,m,!0)}var Dw=Symbol("BINDING");var Ew=class extends fa{ngModule;constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){let e=Ya(n);return new zc(e,this.ngModule)}};function NX(t){return Object.keys(t).map(n=>{let[e,i,r]=t[n],o={propName:e,templateName:n,isSignal:(i&kg.SignalBased)!==0};return r&&(o.transform=r),o})}function LX(t){return Object.keys(t).map(n=>({propName:t[n],templateName:n}))}function VX(t,n,e){let i=n instanceof gn?n:n?.injector;return i&&t.getStandaloneInjector!==null&&(i=t.getStandaloneInjector(i)||i),i?new ww(e,i):e}function jX(t){let n=t.get(tn,null);if(n===null)throw new X(407,!1);let e=t.get(pF,null),i=t.get(Mi,null);return{rendererFactory:n,sanitizer:e,changeDetectionScheduler:i,ngReflect:!1}}function BX(t,n){let e=vF(t);return oD(n,e,e==="svg"?_C:e==="math"?GR:null)}function vF(t){return(t.selectors[0][0]||"div").toLowerCase()}var zc=class extends Og{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=NX(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=LX(this.componentDef.outputs),this.cachedOutputs}constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=mZ(n.selectors),this.ngContentSelectors=n.ngContentSelectors??[],this.isBoundToModule=!!e}create(n,e,i,r,o,a){Bt(22);let s=We(null);try{let l=this.componentDef,c=zX(i,l,a,o),d=VX(l,r||this.ngModule,n),m=jX(d),f=m.rendererFactory.createRenderer(null,l),h=i?kZ(f,i,l.encapsulation,d):BX(l,f),p=a?.some(A1)||o?.some(E=>typeof E!="function"&&E.bindings.some(A1)),b=sD(null,c,null,512|PP(l),null,null,m,f,d,null,_P(h,d,!0));b[Gt]=h,Xp(b);let D=null;try{let E=DD(Gt,b,2,"#host",()=>c.directiveRegistry,!0,0);h&&(RP(f,h,E),Vc(h,b)),Rg(c,b,E),Qw(c,E,b),ED(c,E),e!==void 0&&HX(E,this.ngContentSelectors,e),D=fr(E.index,b),b[_n]=D[_n],gD(c,b,null)}catch(E){throw D!==null&&nw(D),nw(b),E}finally{Bt(23),Jp()}return new yg(this.componentType,b,!!p)}finally{We(s)}}};function zX(t,n,e,i){let r=t?["ng-version","20.2.4"]:fZ(n.selectors[0]),o=null,a=null,s=0;if(e)for(let d of e)s+=d[Dw].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[Dw].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=cC(m);l.push(f)}return aD(0,null,$X(o,a),1,s,l,null,null,null,[r],null)}function $X(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 A1(t){let n=t[Dw].kind;return n==="input"||n==="twoWay"}var yg=class extends hF{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(n,e,i){super(),this._rootLView=e,this._hasInputBindings=i,this._tNode=tm(e[$e],Gt),this.location=Gc(this._tNode,e),this.instance=fr(this._tNode.index,e)[_n],this.hostView=this.changeDetectorRef=new es(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=Pg(i,r[$e],r,n,e);this.previousInputValues.set(n,e);let a=fr(i.index,r);yD(a,1)}get injector(){return new gl(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}};function HX(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__=UX}return t})();function UX(){let t=Sn();return wF(t,je())}var qX=rt,CF=class extends qX{_lContainer;_hostTNode;_hostLView;constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return Gc(this._hostTNode,this._hostLView)}get injector(){return new gl(this._hostTNode,this._hostLView)}get parentInjector(){let n=qw(this._hostTNode,this._hostLView);if(X1(n)){let e=fg(n,this._hostLView),i=mg(n),r=e[$e].data[i+8];return new gl(r,e)}else return new gl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){let e=R1(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=gg(this._lContainer,n.ssrId),s=n.createEmbeddedViewImpl(e||{},o,a);return this.insertImpl(s,r,Bc(this._hostTNode,a)),s}createComponent(n,e,i,r,o,a,s){let l=n&&!sQ(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 zc(Ya(n)),m=i||this.parentInjector;if(!o&&d.ngModule==null){let E=(l?m:this.parentInjector).get(gn,null);E&&(o=E)}let f=Ya(d.componentType??{}),h=gg(this._lContainer,f?.id??null),p=h?.firstChild??null,b=d.create(m,r,p,o,a,s);return this.insertImpl(b.hostView,c,Bc(this._hostTNode,h)),b}insert(n,e){return this.insertImpl(n,e,!0)}insertImpl(n,e,i){let r=n._lView;if(YR(r)){let s=this.indexOf(n);if(s!==-1)this.detach(s);else{let l=r[En],c=new CF(l,l[Jn],l[En]);c.detach(c.indexOf(n))}}let o=this._adjustIndex(e),a=this._lContainer;return wm(a,r,o,i),n.attachToViewContainerRef(),aC(UC(a),o,n),n}move(n,e){return this.insert(n,e)}indexOf(n){let e=R1(this._lContainer);return e!==null?e.indexOf(n):-1}remove(n){let e=this._adjustIndex(n,-1),i=mm(this._lContainer,e);i&&(Qu(UC(this._lContainer),e),Mg(i[$e],i))}detach(n){let e=this._adjustIndex(n,-1),i=mm(this._lContainer,e);return i&&Qu(UC(this._lContainer),e)!=null?new es(i):null}_adjustIndex(n,e=0){return n??this.length+e}};function R1(t){return t[em]}function UC(t){return t[em]||(t[em]=[])}function wF(t,n){let e,i=n[t.index];return Ur(i)?e=i:(e=rF(i,n,null,t),n[t.index]=e,lD(n,e)),WX(e,n,t,i),new CF(e,t,n)}function GX(t,n){let e=t[Lt],i=e.createComment(""),r=mr(n,t),o=e.parentNode(r);return jc(e,o,i,e.nextSibling(r),!1),i}var WX=QX,YX=()=>!1;function KX(t,n,e){return YX(t,n,e)}function QX(t,n,e,i){if(t[Qa])return;let r;e.type&8?r=Gi(i):r=GX(n,e),t[Qa]=r}var Sw=class t{queryList;matches=null;constructor(n){this.queryList=n}clone(){return new t(this.queryList)}setDirty(){this.queryList.setDirty()}},xw=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++)ID(n,e).matches!==null&&this.queries[e].setDirty()}},bg=class{flags;read;predicate;constructor(n,e,i=null){this.flags=e,this.read=i,typeof n=="string"?this.predicate=tJ(n):this.predicate=n}},Tw=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)}},Iw=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,ZX(e,o)),this.matchTNodeWithReadOption(n,e,lg(e,n,o,!1,!1))}else i===At?e.type&4&&this.matchTNodeWithReadOption(n,e,-1):this.matchTNodeWithReadOption(n,e,lg(e,n,i,!1,!1))}matchTNodeWithReadOption(n,e,i){if(i!==null){let r=this.metadata.read;if(r!==null)if(r===K||r===rt||r===At&&e.type&4)this.addMatch(e.index,-2);else{let o=lg(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 ZX(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 XX(t,n){return t.type&11?Gc(t,n):t.type&4?Fg(t,n):null}function JX(t,n,e,i){return e===-1?XX(n,t):e===-2?eJ(t,n,i):dm(t,t[$e],e,n)}function eJ(t,n,e){if(e===K)return Gc(n,t);if(e===At)return Fg(n,t);if(e===rt)return wF(n,t)}function DF(t,n,e,i){let r=n[bo].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(JX(n,d,a[l+1],e.metadata.read))}}r.matches=s}return r.matches}function kw(t,n,e,i){let r=t.queries.getByIndex(e),o=r.matches;if(o!==null){let a=DF(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[Ka]===f[En]&&kw(f[$e],f,c,i)}if(d[ul]!==null){let m=d[ul];for(let f=0;f<m.length;f++){let h=m[f];kw(h[$e],h,c,i)}}}}}return i}function TD(t,n){return t[bo].queries[n].queryList}function EF(t,n,e){let i=new Wi((e&4)===4);return ZR(t,n,i,i.destroy),(n[bo]??=new xw).queries.push(new Sw(i))-1}function SF(t,n,e){let i=Kt();return i.firstCreatePass&&(TF(i,new bg(t,n,e),-1),(n&2)===2&&(i.staticViewQueries=!0)),EF(i,je(),n)}function xF(t,n,e,i){let r=Kt();if(r.firstCreatePass){let o=Sn();TF(r,new bg(n,e,i),o.index),nJ(r,t),(e&2)===2&&(r.staticContentQueries=!0)}return EF(r,je(),e)}function tJ(t){return t.split(",").map(n=>n.trim())}function TF(t,n,e){t.queries===null&&(t.queries=new Tw),t.queries.track(new Iw(n,e))}function nJ(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 ID(t,n){return t.queries.getByIndex(n)}function IF(t,n){let e=t[$e],i=ID(e,n);return i.crossesNgTemplate?kw(e,t,n,[]):DF(e,t,i,n)}function kF(t,n,e){let i,r=Nu(()=>{i._dirtyCounter();let o=iJ(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 kD(t){return kF(!0,!1,t)}function MD(t){return kF(!0,!0,t)}function MF(t,n){let e=t[Dn];e._lView=je(),e._queryIndex=n,e._queryList=TD(e._lView,n),e._queryList.onDirty(()=>e._dirtyCounter.update(i=>i+1))}function iJ(t,n){let e=t._lView,i=t._queryIndex;if(e===void 0||i===void 0||e[Ge]&4)return n?void 0:zn;let r=TD(e,i),o=IF(e,i);return r.reset(o,sP),n?r.first:r._changesDetected||t._flatValue===void 0?t._flatValue=r.toArray():t._flatValue}var P1=new Set;function xo(t){P1.has(t)||(P1.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}var ts=class{};var fm=class extends ts{injector;componentFactoryResolver=new Ew(this);instance=null;constructor(n){super();let e=new nl([...n.providers,{provide:ts,useValue:this},{provide:fa,useValue:this.componentFactoryResolver}],n.parent||Dc(),n.debugName,new Set(["environment"]));this.injector=e,n.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(n){this.injector.onDestroy(n)}};function AF(t,n,e=null){return new fm({providers:t,parent:n,debugName:e,runEnvironmentInitializers:!0}).injector}var rJ=(()=>{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=dC(!1,e.type),r=i.length>0?AF([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 M(t){return Uc(()=>{let n=RF(t),e=de(k({},n),{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Ww.OnPush,directiveDefs:null,pipeDefs:null,dependencies:n.standalone&&t.dependencies||null,getStandaloneInjector:n.standalone?r=>r.get(rJ).getOrCreateStandaloneInjector(e):null,getExternalStyles:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||ca.Emulated,styles:t.styles||zn,_:null,schemas:t.schemas||null,tView:null,id:""});n.standalone&&xo("NgStandalone"),PF(e);let i=t.dependencies;return e.directiveDefs=F1(i,oJ),e.pipeDefs=F1(i,VR),e.id=lJ(e),e})}function oJ(t){return Ya(t)||cC(t)}function ve(t){return Uc(()=>({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 aJ(t,n){if(t==null)return Wa;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=kg.None,l=null),e[o]=[i,s,l],n[o]=a}return e}function sJ(t){if(t==null)return Wa;let n={};for(let e in t)t.hasOwnProperty(e)&&(n[t[e]]=e);return n}function N(t){return Uc(()=>{let n=RF(t);return PF(n),n})}function ha(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 RF(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||Wa,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:aJ(t.inputs,n),outputs:sJ(t.outputs),debugInfo:null}}function PF(t){t.features?.forEach(n=>n(t))}function F1(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 lJ(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 cJ(t){return Object.getPrototypeOf(t.prototype).constructor}function ee(t){let n=cJ(t.type),e=!0,i=[t];for(;n;){let r;if(Co(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=qC(t.inputs),a.declaredInputs=qC(t.declaredInputs),a.outputs=qC(t.outputs);let s=r.hostBindings;s&&hJ(t,s);let l=r.viewQuery,c=r.contentQueries;if(l&&mJ(t,l),c&&fJ(t,c),dJ(t,r),IR(t.outputs,r.outputs),Co(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)}uJ(i)}function dJ(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 uJ(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=Lc(r.hostAttrs,e=Lc(e,r.hostAttrs))}}function qC(t){return t===Wa?{}:t===zn?[]:t}function mJ(t,n){let e=t.viewQuery;e?t.viewQuery=(i,r)=>{n(i,r),e(i,r)}:t.viewQuery=n}function fJ(t,n){let e=t.contentQueries;e?t.contentQueries=(i,r,o)=>{n(i,r,o),e(i,r,o)}:t.contentQueries=n}function hJ(t,n){let e=t.hostBindings;e?t.hostBindings=(i,r)=>{n(i,r),e(i,r)}:t.hostBindings=n}function FF(t,n,e,i,r,o,a,s){if(e.firstCreatePass){t.mergedAttrs=Lc(t.mergedAttrs,t.attrs);let d=t.tView=aD(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),sa(t,!1);let l=gJ(e,n,t,i);om()&&uD(e,n,l,t),Vc(l,n);let c=rF(l,n,l,t);n[i+Gt]=c,lD(n,c),KX(c,t,n)}function pJ(t,n,e,i,r,o,a,s,l,c,d){let m=e+Gt,f;return n.firstCreatePass?(f=Yc(n,m,4,a||null,s||null),Yp()&&gF(n,t,f,Ai(n.consts,c),fD),K1(n,f)):f=n.data[m],FF(f,t,n,e,i,r,o,l),xc(f)&&Rg(n,t,f),c!=null&&vm(t,f,d),f}function $c(t,n,e,i,r,o,a,s,l,c,d){let m=e+Gt,f;if(n.firstCreatePass){if(f=Yc(n,m,4,a||null,s||null),c!=null){let h=Ai(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 FF(f,t,n,e,i,r,o,l),c!=null&&vm(t,f,d),f}function Te(t,n,e,i,r,o,a,s){let l=je(),c=Kt(),d=Ai(c.consts,o);return pJ(l,c,t,n,e,i,r,d,void 0,a,s),Te}function Kr(t,n,e,i,r,o,a,s){let l=je(),c=Kt(),d=Ai(c.consts,o);return $c(l,c,t,n,e,i,r,d,void 0,a,s),Kr}var gJ=_J;function _J(t,n,e,i){return Pc(!0),n[Lt].createComment("")}var Vg=(function(t){return t[t.CHANGE_DETECTION=0]="CHANGE_DETECTION",t[t.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",t})(Vg||{}),os=new A(""),OF=!1,Mw=class extends V{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(n=!1){super(),this.__isAsync=n,UR()&&(this.destroyRef=u(_i,{optional:!0})??void 0,this.pendingTasks=u(hl,{optional:!0})??void 0)}emit(n){let e=We(null);try{super.next(n)}finally{We(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=Mw;function NF(t){let n,e;function i(){t=pl;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 O1(t){return queueMicrotask(()=>t()),()=>{t=pl}}var AD="isAngularZone",vg=AD+"_ID",yJ=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=OF}=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,CJ(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(AD)===!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,bJ,pl,pl);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)}},bJ={};function RD(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 vJ(t){if(t.isCheckStableRunning||t.callbackScheduled)return;t.callbackScheduled=!0;function n(){NF(()=>{t.callbackScheduled=!1,Aw(t),t.isCheckStableRunning=!0,RD(t),t.isCheckStableRunning=!1})}t.scheduleInRootZone?Zone.root.run(()=>{n()}):t._outer.run(()=>{n()}),Aw(t)}function CJ(t){let n=()=>{vJ(t)},e=yJ++;t._inner=t._inner.fork({name:"angular",properties:{[AD]:!0,[vg]:e,[vg+e]:!0},onInvokeTask:(i,r,o,a,s,l)=>{if(wJ(l))return i.invokeTask(o,a,s,l);try{return N1(t),i.invokeTask(o,a,s,l)}finally{(t.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||t.shouldCoalesceRunChangeDetection)&&n(),L1(t)}},onInvoke:(i,r,o,a,s,l,c)=>{try{return N1(t),i.invoke(o,a,s,l,c)}finally{t.shouldCoalesceRunChangeDetection&&!t.callbackScheduled&&!DJ(l)&&n(),L1(t)}},onHasTask:(i,r,o,a)=>{i.hasTask(o,a),r===o&&(a.change=="microTask"?(t._hasPendingMicrotasks=a.microTask,Aw(t),RD(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 Aw(t){t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&t.callbackScheduled===!0?t.hasPendingMicrotasks=!0:t.hasPendingMicrotasks=!1}function N1(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function L1(t){t._nesting--,RD(t)}var hm=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 wJ(t){return LF(t,"__ignore_ng_zone__")}function DJ(t){return LF(t,"__scheduler_tick__")}function LF(t,n){return!Array.isArray(t)||t.length!==1?!1:t[0]?.data?.[n]===!0}var jg=(()=>{class t{impl=null;execute(){this.impl?.execute()}static \u0275prov=z({token:t,providedIn:"root",factory:()=>new t})}return t})(),PD=[0,1,2,3],FD=(()=>{class t{ngZone=u(J);scheduler=u(Mi);errorHandler=u(Mn,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){u(os,{optional:!0})}execute(){let e=this.sequences.size>0;e&&Bt(16),this.executing=!0;for(let i of PD)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[dl]??=[]).push(e),Za(i),i[Ge]|=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(Vg.AFTER_NEXT_RENDER,e):e()}static \u0275prov=z({token:t,providedIn:"root",factory:()=>new t})}return t})(),pm=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?.[dl];n&&(this.view[dl]=n.filter(e=>e!==this))}};function Vt(t,n){let e=n?.injector??u(Re);return xo("NgAfterNextRender"),SJ(t,e,n,!0)}function EJ(t){return t instanceof Function?[void 0,void 0,t,void 0]:[t.earlyRead,t.write,t.mixedReadWrite,t.read]}function SJ(t,n,e,i){let r=n.get(jg);r.impl??=n.get(FD);let o=n.get(os,null,{optional:!0}),a=e?.manualCleanup!==!0?n.get(_i):null,s=n.get(fl,null,{optional:!0}),l=new pm(r.impl,EJ(t),s?.view,i,a,o?.snapshot(null));return r.impl.register(l),l}var OD=new A("");function vl(t){return!!t&&typeof t.then=="function"}function Bg(t){return!!t&&typeof t.subscribe=="function"}var VF=new A("");var ND=(()=>{class t{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((e,i)=>{this.resolve=e,this.reject=i});appInits=u(VF,{optional:!0})??[];injector=u(Re);constructor(){}runInitializers(){if(this.initialized)return;let e=[];for(let r of this.appInits){let o=Xu(this.injector,r);if(vl(o))e.push(o);else if(Bg(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})(),jF=new A("");function BF(){C0(()=>{let t="";throw new X(600,t)})}function zF(t){return t.isBoundToModule}var xJ=10;var Ri=(()=>{class t{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=u(qr);afterRenderManager=u(jg);zonelessEnabled=u(Fc);rootEffectScheduler=u(am);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new V;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=u(hl);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(tt(e=>!e))}constructor(){u(os,{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 Og;if(!this._injector.get(ND).done){let p="";throw new X(405,p)}let l;a?l=e:l=this._injector.get(fa).resolveComponentFactory(e),this.componentTypes.push(l.componentType);let c=zF(l)?void 0:this._injector.get(ts),d=i||l.selector,m=l.create(r,[],d,c),f=m.location.nativeElement,h=m.injector.get(OD,null);return h?.registerApplication(f),m.onDestroy(()=>{this.detachView(m.hostView),lm(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(Vg.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new X(101,!1);let e=We(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,We(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++<xJ;)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&&!Ic(r))continue;let o=i&&!this.zonelessEnabled?0:1;_D(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})=>Ic(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;lm(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(jF,[]).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),()=>lm(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 lm(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var GC="aria";function zg(t,n){let e=je(),i=wo();if(yi(e,i,n)){let r=Kt(),o=Rc();if(Pg(o,r,e,t,n))aa(o)&&WP(e,o.index);else{let s=mr(o,e),l=TJ(t);YP(e[Lt],s,null,o.value,l,n,null)}}return zg}function TJ(t){return t.charAt(GC.length)!=="-"?GC+"-"+t.slice(GC.length).toLowerCase():t}function fe(t,n,e,i){let r=je(),o=wo();if(yi(r,o,n)){let a=Kt(),s=Rc();NZ(s,r,t,n,e,i)}return fe}var LD=new A("",{providedIn:"root",factory:()=>!1}),VD=new A("",{providedIn:"root",factory:()=>IJ}),IJ=4e3;var pUe=typeof document<"u"&&typeof document?.documentElement?.getAnimations=="function";var Rw=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 WC(t,n,e,i,r){return t===e&&Object.is(n,i)?1:Object.is(r(t,n),r(e,i))?-1:0}function kJ(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=WC(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=WC(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 Cg,r??=j1(t,o,a,e),Pw(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;)V1(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=WC(o,d,o,m,e);if(f!==0)f<0&&t.updateValue(o,m),o++,c=l.next();else{i??=new Cg,r??=j1(t,o,a,e);let h=e(o,m);if(Pw(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;)V1(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 Pw(t,n,e,i){return n!==void 0&&n.has(i)?(t.attach(e,n.get(i)),n.delete(i),!0):!1}function V1(t,n,e,i,r){if(Pw(t,n,i,e(i,r)))t.updateValue(i,r);else{let o=t.create(i,r);t.attach(i,o)}}function j1(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 Cg=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 Ce(t,n,e,i,r,o,a,s){xo("NgControlFlow");let l=je(),c=Kt(),d=Ai(c.consts,o);return $c(l,c,t,n,e,i,r,d,256,a,s),jD}function jD(t,n,e,i,r,o,a,s){xo("NgControlFlow");let l=je(),c=Kt(),d=Ai(c.consts,o);return $c(l,c,t,n,e,i,r,d,512,a,s),jD}function we(t,n){xo("NgControlFlow");let e=je(),i=wo(),r=e[i]!==ni?e[i]:-1,o=r!==-1?wg(e,Gt+r):void 0,a=0;if(yi(e,i,t)){let s=We(null);try{if(o!==void 0&&aF(o,a),t!==-1){let l=Gt+t,c=wg(e,l),d=Lw(e[$e],l),m=fF(c,d,e),f=Cm(e,d,n,{dehydratedView:m});wm(c,f,a,Bc(d,m))}}finally{We(s)}}else if(o!==void 0){let s=oF(o,a);s!==void 0&&(s[_n]=n)}}var Fw=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 Dm(t){return t}function $g(t,n){return n}var Ow=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){xo("NgControlFlow");let h=je(),p=Kt(),b=l!==void 0,D=je(),E=s?a.bind(D[ei][_n]):a,P=new Ow(b,E);D[Gt+t]=P,$c(h,p,t+1,n,e,i,r,Ai(p.consts,o),256),b&&$c(h,p,t+2,l,c,d,m,Ai(p.consts,f),512)}var Nw=class extends Rw{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[al];this.needsIndexUpdate||=n!==this.length,wm(this.lContainer,e,n,Bc(this.templateTNode,i))}detach(n){return this.needsIndexUpdate||=n!==this.length-1,MJ(this.lContainer,n)}create(n,e){let i=gg(this.lContainer,this.templateTNode.tView.ssrId),r=Cm(this.hostLView,this.templateTNode,new Fw(this.lContainer,e,n),{dehydratedView:i});return this.operationsCounter?.recordCreate(),r}destroy(n){Mg(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 AJ(this.lContainer,n)}};function pr(t){let n=We(null),e=Do();try{let i=je(),r=i[$e],o=i[e],a=e+1,s=wg(i,a);if(o.liveCollection===void 0){let c=Lw(r,a);o.liveCollection=new Nw(s,i,c)}else o.liveCollection.reset();let l=o.liveCollection;if(kJ(l,t,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let c=wo(),d=l.length===0;if(yi(i,c,d)){let m=e+2,f=wg(i,m);if(d){let h=Lw(r,m),p=fF(f,h,i),b=Cm(i,h,void 0,{dehydratedView:p});wm(f,b,0,Bc(h,p))}else r.firstUpdatePass&&_X(f),aF(f,0)}}}finally{We(n)}}function wg(t,n){return t[n]}function MJ(t,n){return mm(t,n)}function AJ(t,n){return oF(t,n)}function Lw(t,n){return tm(t,n)}function x(t,n,e){let i=je(),r=wo();if(yi(i,r,n)){let o=Kt(),a=Rc();qP(a,i,t,n,i[Lt],e)}return x}function Vw(t,n,e,i,r){Pg(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?DD(a,r,2,n,fD,Yp(),e,i):o.data[a];if(hD(s,r,t,n,$F),xc(s)){let l=r[$e];Rg(l,r,s),Qw(l,s,r)}return i!=null&&vm(r,s),v}function w(){let t=Kt(),n=Sn(),e=pD(n);return t.firstCreatePass&&ED(t,e),xC(e)&&TC(),EC(),e.classesWithoutHost!=null&&fQ(e)&&Vw(t,e,je(),e.classesWithoutHost,!0),e.stylesWithoutHost!=null&&hQ(e)&&Vw(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?AX(a,o,2,n,e,i):o.data[a];return hD(s,r,t,n,$F),i!=null&&vm(r,s),xn}function Rn(){let t=Sn(),n=pD(t);return xC(n)&&TC(),EC(),Rn}function ii(t,n,e,i){return xn(t,n,e,i),Rn(),ii}var $F=(t,n,e,i,r)=>(Pc(!0),oD(n[Lt],i,u1()));function Yi(t,n,e){let i=je(),r=i[$e],o=t+Gt,a=r.firstCreatePass?DD(o,i,8,"ng-container",fD,Yp(),n,e):r.data[o];if(hD(a,i,t,"ng-container",RJ),xc(a)){let s=i[$e];Rg(s,i,a),Qw(s,a,i)}return e!=null&&vm(i,a),Yi}function Ki(){let t=Kt(),n=Sn(),e=pD(n);return t.firstCreatePass&&ED(t,e),Ki}function ri(t,n,e){return Yi(t,n,e),Ki(),ri}var RJ=(t,n,e,i,r)=>(Pc(!0),kP(n[Lt],""));function Oe(){return je()}function $n(t,n,e){let i=je(),r=wo();if(yi(i,r,n)){let o=Kt(),a=Rc();GP(a,i,t,n,i[Lt],e)}return $n}var Em="en-US";var PJ={marker:"element"},FJ={marker:"ICU"},la=(function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t})(la||{}),OJ=Em;function HF(t){typeof t=="string"&&(OJ=t.toLowerCase().replace(/_/g,"-"))}function NJ(t,n,e){let i=t[Lt];switch(e){case Node.COMMENT_NODE:return kP(i,n);case Node.TEXT_NODE:return IP(i,n);case Node.ELEMENT_NODE:return oD(i,n,null)}}var LJ=(t,n,e,i)=>(Pc(!0),NJ(t,e,i));function VJ(t,n,e,i){let r=t[Lt];for(let o=0;o<n.length;o++){let a=n[o++],s=n[o],l=(a&la.COMMENT)===la.COMMENT,c=(a&la.APPEND_EAGERLY)===la.APPEND_EAGERLY,d=a>>>la.SHIFT,m=t[d],f=!1;m===null&&(m=t[d]=LJ(t,d,s,l?Node.COMMENT_NODE:Node.TEXT_NODE),f=om()),c&&e!==null&&f&&jc(r,e,m,i,!1)}}var Dg=/�(\d+):?\d*�/gi;var jJ=/�(\d+)�/,UF=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,cm="\uFFFD",BJ=/�\/?\*(\d+:\d+)�/gi,zJ=/�(\/?[#*]\d+):?\d*�/gi,$J=/\uE500/g;function HJ(t){return t.replace($J," ")}function UJ(t,n,e,i,r,o){let a=kc(),s=[],l=[],c=[[]],d=[[]];r=GJ(r,o);let m=HJ(r).split(zJ);for(let f=0;f<m.length;f++){let h=m[f];if((f&1)===0){let p=jw(h);for(let b=0;b<p.length;b++){let D=p[b];if((b&1)===0){let E=D;E!==""&&qJ(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 Y=qF(t,a,c[0],e,s,"",!0).index;WF(d[0],t,e,l,n,E,Y)}}}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(),sa(kc(),!1);else{let E=dX(t,c[0],D);c.unshift([]),sa(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 qF(t,n,e,i,r,o,a){let s=bm(t,i,1,null),l=s<<la.SHIFT,c=kc();n===c&&(c=null),c===null&&(l|=la.APPEND_EAGERLY),a&&(l|=la.COMMENT,vZ(hX)),r.push(l,o===null?"":o);let d=CD(t,s,a?32:1,o===null?"":o,null);dF(e,d);let m=d.index;return sa(d,!1),c!==null&&n!==c&&cX(c,m),d}function qJ(t,n,e,i,r,o,a,s){let l=s.match(Dg),d=qF(n,e,i,a,r,l?null:s,!1).index;l&&dg(o,s,d,null,0,null),t.push({kind:0,index:d})}function dg(t,n,e,i,r,o){let a=t.length,s=a+1;t.push(null,null);let l=a+2,c=n.split(Dg),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|GF(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 GF(t){return 1<<Math.min(t,31)}function B1(t){let n,e="",i=0,r=!1,o;for(;(n=BJ.exec(t))!==null;)r?n[0]===`${cm}/*${o}${cm}`&&(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 GJ(t,n){if(fX(n))return B1(t);{let e=t.indexOf(`:${n}${cm}`)+2+n.toString().length,i=t.search(new RegExp(`${cm}\\/\\*\\d+:${n}${cm}`));return B1(t.substring(e,i))}}function WF(t,n,e,i,r,o,a){let s=0,l={type:o.type,currentCaseLViewIndex:bm(n,e,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};QJ(i,o,a),lX(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=YJ(p,n,l,e,i,r,o.cases[m],f.join(""),h)|s}s&&ZJ(i,s,a),t.push({kind:3,index:a,cases:d,currentCaseLViewIndex:l.currentCaseLViewIndex})}function WJ(t){let n=[],e=[],i=1,r=0;t=t.replace(UF,function(a,s,l){return l==="select"?i=0:i=1,r=parseInt(s.slice(1),10),""});let o=jw(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=jw(o[a++]);n.length>e.length&&e.push(l)}return{type:i,mainBinding:r,cases:n,values:e}}function jw(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);UF.test(l)?i.push(WJ(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 YJ(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=vP(Kw()).getInertBodyElement(s),p=hw(h)||h;return p?YF(t,n,e,i,r,c,d,m,p,o,l,0):0}function YF(t,n,e,i,r,o,a,s,l,c,d,m){let f=0,h=l.firstChild;for(;h;){let p=bm(n,i,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:let b=h,D=b.tagName.toLowerCase();if(mw.hasOwnProperty(D)){YC(o,PJ,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(Dg)?EP.hasOwnProperty(Me)&&(nD[Me]?dg(s,Fe.value,p,Fe.name,0,_m):dg(s,Fe.value,p,Fe.name,0,null)):XJ(o,p,Fe)}let re={kind:1,index:p,children:[]};t.push(re),f=YF(re.children,n,e,i,r,o,a,s,h,p,d,m+1)|f,z1(a,p,m)}break;case Node.TEXT_NODE:let E=h.textContent||"",P=E.match(Dg);YC(o,null,P?"":E,c,p),z1(a,p,m),P&&(f=dg(s,E,p,null,0,null)|f),t.push({kind:0,index:p});break;case Node.COMMENT_NODE:let Y=jJ.exec(h.textContent||"");if(Y){let ce=parseInt(Y[1],10),re=d[ce];YC(o,FJ,"",c,p),WF(t,n,i,r,c,re,p),KJ(a,p,m)}break}h=h.nextSibling}return f}function z1(t,n,e){e===0&&t.push(n)}function KJ(t,n,e){e===0&&(t.push(~n),t.push(n))}function QJ(t,n,e){t.push(GF(n.mainBinding),2,-1-n.mainBinding,e<<2|2)}function ZJ(t,n,e){t.push(n,1,e<<2|3)}function YC(t,n,e,i,r){n!==null&&t.push(n),t.push(e,r,mX(0,i,r))}function XJ(t,n,e){t.push(n<<1|1,e.name,e.value)}function KF(t,n,e=-1){let i=Kt(),r=je(),o=Gt+t,a=Ai(i.consts,n),s=kc();if(i.firstCreatePass&&UJ(i,s===null?0:s.index,r,o,a,e),i.type===2){let f=r[ei];f[Ge]|=32}else r[Ge]|=32;let l=i.data[o],c=s===r[Jn]?null:s,d=LP(i,c,r),m=s&&s.type&8?r[s.index]:null;gX(r,o,s,e),VJ(r,l.create,d,m),PC(!0)}function QF(){PC(!1)}function Sm(t,n,e){KF(t,n,e),QF()}function L(t,n,e){let i=je(),r=Kt(),o=Sn();return ZF(r,i,i[Lt],o,t,n,e),L}function ZF(t,n,e,i,r,o,a){let s=!0,l=null;if((i.type&3||a)&&(l??=HC(i,n,o),FX(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??=HC(i,n,o),M1(i,n,f,h,r,l)}if(c&&c.length)for(let m of c)l??=HC(i,n,o),M1(i,n,m,r,r,l)}}function T(t=1){return d1(t)}function JJ(t,n){let e=null,i=sZ(t);for(let r=0;r<n.length;r++){let o=n[r];if(o==="*"){e=r;continue}if(i===null?TP(t,o,!0):dZ(i,o))return r}return e}function Be(t){let n=je()[ei][Jn];if(!n.projection){let e=t?t.length:1,i=n.projection=NR(e,null),r=i.slice(),o=n.child;for(;o!==null;){if(o.type!==128){let a=t?JJ(o,t):0;a!==null&&(r[a]?r[a].projectionNext=o:i[a]=o,r[a]=o)}o=o.next}}}function ae(t,n=0,e,i,r,o){let a=je(),s=Kt(),l=i?t+1:null;l!==null&&$c(a,s,l,i,r,o,null,e);let c=Yc(s,Gt+t,16,null,e||null);c.projection===null&&(c.projection=n),MC();let m=!a[al]||SC();a[ei][Jn].projection[c.projection]===null&&l!==null?eee(a,s,l):m&&!Tg(c)&&xZ(s,a,c)}function eee(t,n,e){let i=Gt+e,r=n.data[i],o=t[i],a=gg(o,r.tView.ssrId),s=Cm(t,r,void 0,{dehydratedView:a});wm(o,s,0,Bc(r,a))}function Qe(t,n,e,i){xF(t,n,e,i)}function _e(t,n,e){SF(t,n,e)}function j(t){let n=je(),e=Kt(),i=Zp();rm(i+1);let r=ID(e,i);if(t.dirty&&WR(n)===((r.metadata.flags&2)===2)){if(r.matches===null)t.reset([]);else{let o=IF(n,i);t.reset(o,sP),t.notifyOnChanges()}return!0}return!1}function B(){return TD(je(),Zp())}function BD(t,n,e,i,r){MF(n,xF(t,e,i,r))}function Kc(t,n,e,i){MF(t,SF(n,e,i))}function Hg(t=1){rm(Zp()+t)}function Tn(t){let n=e1();return nm(n,Gt+t)}function og(t,n){return t<<17|n<<2}function yl(t){return t>>17&32767}function tee(t){return(t&2)==2}function nee(t,n){return t&131071|n<<17}function Bw(t){return t|2}function Hc(t){return(t&131068)>>2}function KC(t,n){return t&-131069|n<<2}function iee(t){return(t&1)===1}function zw(t){return t|1}function ree(t,n,e,i,r,o){let a=o?n.classBindings:n.styleBindings,s=yl(a),l=Hc(a);t[i]=e;let c=!1,d;if(Array.isArray(e)){let m=e;d=m[1],(d===null||wc(m,d)>0)&&(c=!0)}else d=e;if(r)if(l!==0){let f=yl(t[s+1]);t[i+1]=og(f,s),f!==0&&(t[f+1]=KC(t[f+1],i)),t[s+1]=nee(t[s+1],i)}else t[i+1]=og(s,0),s!==0&&(t[s+1]=KC(t[s+1],i)),s=i;else t[i+1]=og(l,0),s===0?s=i:t[l+1]=KC(t[l+1],i),l=i;c&&(t[i+1]=Bw(t[i+1])),$1(t,d,i,!0),$1(t,d,i,!1),oee(n,d,t,i,o),a=og(s,l),o?n.classBindings=a:n.styleBindings=a}function oee(t,n,e,i,r){let o=r?t.residualClasses:t.residualStyles;o!=null&&typeof n=="string"&&wc(o,n)>=0&&(e[i+1]=zw(e[i+1]))}function $1(t,n,e,i){let r=t[e+1],o=n===null,a=i?yl(r):Hc(r),s=!1;for(;a!==0&&(s===!1||o);){let l=t[a],c=t[a+1];aee(l,n)&&(s=!0,t[a+1]=i?zw(c):Bw(c)),a=i?yl(c):Hc(c)}s&&(t[e+1]=i?Bw(r):zw(r))}function aee(t,n){return t===null||n==null||(Array.isArray(t)?t[1]:t)===n?!0:Array.isArray(t)&&typeof n=="string"?wc(t,n)>=0:!1}var Wr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function see(t){return t.substring(Wr.key,Wr.keyEnd)}function lee(t){return cee(t),XF(t,JF(t,0,Wr.textEnd))}function XF(t,n){let e=Wr.textEnd;return e===n?-1:(n=Wr.keyEnd=dee(t,Wr.key=n,e),JF(t,n,e))}function cee(t){Wr.key=0,Wr.keyEnd=0,Wr.value=0,Wr.valueEnd=0,Wr.textEnd=t.length}function JF(t,n,e){for(;n<e&&t.charCodeAt(n)<=32;)n++;return n}function dee(t,n,e){for(;n<e&&t.charCodeAt(n)>32;)n++;return n}function zt(t,n,e){return eO(t,n,e,!1),zt}function U(t,n){return eO(t,n,null,!0),U}function nn(t){mee(yee,uee,t,!0)}function uee(t,n){for(let e=lee(n);e>=0;e=XF(n,e))$p(t,see(n),!0)}function eO(t,n,e,i){let r=je(),o=Kt(),a=Kp(2);if(o.firstUpdatePass&&nO(o,t,a,i),n!==ni&&yi(r,a,n)){let s=o.data[Do()];iO(o,s,r,r[Lt],t,r[a+1]=vee(n,e),i,a)}}function mee(t,n,e,i){let r=Kt(),o=Kp(2);r.firstUpdatePass&&nO(r,null,o,i);let a=je();if(e!==ni&&yi(a,o,e)){let s=r.data[Do()];if(rO(s,i)&&!tO(r,o)){let l=i?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(e=Np(l,e||"")),Vw(r,s,a,e,i)}else bee(r,s,a,a[Lt],a[o+1],a[o+1]=_ee(t,n,e),i,o)}}function tO(t,n){return n>=t.expandoStartIndex}function nO(t,n,e,i){let r=t.data;if(r[e+1]===null){let o=r[Do()],a=tO(t,e);rO(o,i)&&n===null&&!a&&(n=!1),n=fee(r,o,n,i),ree(r,o,n,e,a,i)}}function fee(t,n,e,i){let r=a1(t),o=i?n.residualClasses:n.residualStyles;if(r===null)(i?n.classBindings:n.styleBindings)===0&&(e=QC(null,t,n,e,i),e=gm(e,n.attrs,i),o=null);else{let a=n.directiveStylingLast;if(a===-1||t[a]!==r)if(e=QC(r,t,n,e,i),o===null){let l=hee(t,n,i);l!==void 0&&Array.isArray(l)&&(l=QC(null,t,n,l[1],i),l=gm(l,n.attrs,i),pee(t,n,i,l))}else o=gee(t,n,i)}return o!==void 0&&(i?n.residualClasses=o:n.residualStyles=o),e}function hee(t,n,e){let i=e?n.classBindings:n.styleBindings;if(Hc(i)!==0)return t[yl(i)]}function pee(t,n,e,i){let r=e?n.classBindings:n.styleBindings;t[yl(r)]=i}function gee(t,n,e){let i,r=n.directiveEnd;for(let o=1+n.directiveStylingLast;o<r;o++){let a=t[o].hostAttrs;i=gm(i,a,e)}return gm(i,n.attrs,e)}function QC(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=gm(i,o.hostAttrs,r),o!==t);)s++;return t!==null&&(e.directiveStylingLast=s),i}function gm(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]),$p(t,a,e?!0:n[++o]))}return t===void 0?null:t}function _ee(t,n,e){if(e==null||e==="")return zn;let i=[],r=ua(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 yee(t,n,e){let i=String(n);i!==""&&!i.includes(" ")&&$p(t,i,e)}function bee(t,n,e,i,r,o,a,s){r===ni&&(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&&iO(t,n,e,i,p,b,a,s),d=l<r.length?r[l]:null,m=c<o.length?o[c]:null}}function iO(t,n,e,i,r,o,a,s){if(!(n.type&3))return;let l=t.data,c=l[s+1],d=iee(c)?H1(l,n,e,r,Hc(c),a):void 0;if(!Eg(d)){Eg(o)||tee(c)&&(o=H1(l,null,e,r,s,a));let m=yC(Do(),e);IZ(i,a,m,r,o)}}function H1(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===ni&&(f=m?zn:void 0);let h=m?Hp(f,i):d===i?f:void 0;if(c&&!Eg(h)&&(h=Hp(l,i)),Eg(h)&&(s=h,a))return s;let p=t[r+1];r=a?yl(p):Hc(p)}if(n!==null){let l=o?n.residualClasses:n.residualStyles;l!=null&&(s=Hp(l,i))}return s}function Eg(t){return t!==void 0}function vee(t,n){return t==null||t===""||(typeof n=="string"?t=t+n:typeof t=="object"&&(t=Ua(ua(t)))),t}function rO(t,n){return(t.flags&(n?8:16))!==0}function O(t,n=""){let e=je(),i=Kt(),r=t+Gt,o=i.firstCreatePass?Yc(i,r,1,n,null):i.data[r],a=Cee(i,e,o,n,t);e[r]=a,om()&&uD(i,e,a,o),sa(o,!1)}var Cee=(t,n,e,i,r)=>(Pc(!0),IP(n[Lt],i));function oO(t,n,e,i=""){return yi(t,wo(),e)?n+rl(e)+i:ni}function wee(t,n,e,i,r,o=""){let a=t1(),s=xD(t,a,e,r);return Kp(2),s?n+rl(e)+i+rl(r)+o:ni}function ie(t){return un("",t),ie}function un(t,n,e){let i=je(),r=oO(i,t,n,e);return r!==ni&&aO(i,Do(),r),un}function xm(t,n,e,i,r){let o=je(),a=wee(o,t,n,e,i,r);return a!==ni&&aO(o,Do(),a),xm}function aO(t,n,e){let i=yC(n,t);hZ(t[Lt],i,e)}function Qc(t,n,e){VC(n)&&(n=n());let i=je(),r=wo();if(yi(i,r,n)){let o=Kt(),a=Rc();qP(a,i,t,n,i[Lt],e)}return Qc}function Tm(t,n){let e=VC(t);return e&&t.set(n),e}function Zc(t,n){let e=je(),i=Kt(),r=Sn();return ZF(i,e,e[Lt],r,t,n),Zc}function pa(t){return yi(je(),wo(),t)?rl(t):ni}function zD(t,n,e=""){return oO(je(),t,n,e)}function Dee(t,n,e){let i=Kt();if(i.firstCreatePass){let r=Co(t);$w(e,i.data,i.blueprint,r,!0),$w(n,i.data,i.blueprint,r,!1)}}function $w(t,n,e,i,r){if(t=Bn(t),Array.isArray(t))for(let o=0;o<t.length;o++)$w(t[o],n,e,i,r);else{let o=Kt(),a=je(),s=Sn(),l=tl(t)?t:Bn(t.provide),c=mC(t),d=s.providerIndexes&1048575,m=s.directiveStart,f=s.providerIndexes>>20;if(tl(t)||!t.multi){let h=new _l(c,r,me,null),p=XC(l,n,r?d:d+f,m);p===-1?(ew(pg(s,a),o,l),ZC(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=XC(l,n,d+f,m),p=XC(l,n,d,d+f),b=h>=0&&e[h],D=p>=0&&e[p];if(r&&!D||!r&&!b){ew(pg(s,a),o,l);let E=xee(r?See:Eee,e.length,r,i,c,t);!r&&D&&(e[p].providerFactory=E),ZC(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=sO(e[r?p:h],c,!r&&i);ZC(o,t,h>-1?h:p,E)}!r&&i&&D&&e[p].componentProviders++}}}function ZC(t,n,e,i){let r=tl(n),o=HR(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 sO(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function XC(t,n,e,i){for(let r=e;r<i;r++)if(n[r]===t)return r;return-1}function Eee(t,n,e,i,r){return Hw(this.multi,[])}function See(t,n,e,i,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=dm(i,i[$e],this.providerFactory.index,r);a=l.slice(0,s),Hw(o,a);for(let c=s;c<l.length;c++)a.push(l[c])}else a=[],Hw(o,a);return a}function Hw(t,n){for(let e=0;e<t.length;e++){let i=t[e];n.push(i())}return n}function xee(t,n,e,i,r,o){let a=new _l(t,e,me,null);return a.multi=[],a.index=n,a.componentProviders=0,sO(a,r,i&&!e),a}function De(t,n=[]){return e=>{e.providersResolver=(i,r)=>Dee(i,r?r(t):t,n)}}function $D(t,n,e){let i=Ac()+t,r=je();return r[i]===ni?Lg(r,i,e?n.call(e):n()):RX(r,i)}function yn(t,n,e,i){return lO(je(),Ac(),t,n,e,i)}function HD(t,n){let e=t[n];return e===ni?void 0:e}function lO(t,n,e,i,r,o){let a=n+e;return yi(t,a,r)?Lg(t,a+1,o?i.call(o,r):i(r)):HD(t,a+1)}function Tee(t,n,e,i,r,o,a){let s=n+e;return xD(t,s,r,o)?Lg(t,s+2,a?i.call(a,r,o):i(r,o)):HD(t,s+2)}function Iee(t,n,e,i,r,o,a,s){let l=n+e;return PX(t,l,r,o,a)?Lg(t,l+3,s?i.call(s,r,o,a):i(r,o,a)):HD(t,l+3)}function Rt(t,n){let e=Kt(),i,r=t+Gt;e.firstCreatePass?(i=kee(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=qa(i.type,!0)),a,s=gi(me);try{let l=hg(!1),c=o();return hg(l),bC(e,je(),r,c),c}finally{gi(s)}}function kee(t,n){if(n)for(let e=n.length-1;e>=0;e--){let i=n[e];if(t===i.name)return i}}function Wt(t,n,e){let i=t+Gt,r=je(),o=nm(r,i);return qD(r,i)?lO(r,Ac(),n,o.transform,e,o):o.transform(e)}function UD(t,n,e,i){let r=t+Gt,o=je(),a=nm(o,r);return qD(o,r)?Tee(o,Ac(),n,a.transform,e,i,a):a.transform(e,i)}function Im(t,n,e,i,r){let o=t+Gt,a=je(),s=nm(a,o);return qD(a,o)?Iee(a,Ac(),n,s.transform,e,i,r,s):s.transform(e,i,r)}function qD(t,n){return t[$e].data[n].pure}function To(t,n){return Fg(t,n)}var Mee=(()=>{class t{zone=u(J);changeDetectionScheduler=u(Mi);applicationRef=u(Ri);applicationErrorHandler=u(qr);_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 cO({ngZoneFactory:t,ignoreChangesOutsideZone:n,scheduleInRootZone:e}){return t??=()=>new J(de(k({},dO()),{scheduleInRootZone:e})),[{provide:J,useFactory:t},{provide:ia,multi:!0,useFactory:()=>{let i=u(Mee,{optional:!0});return()=>i.initialize()}},{provide:ia,multi:!0,useFactory:()=>{let i=u(Aee);return()=>{i.initialize()}}},n===!0?{provide:jC,useValue:!0}:[],{provide:tg,useValue:e??OF},{provide:qr,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 dO(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}var Aee=(()=>{class t{subscription=new be;initialized=!1;zone=u(J);pendingTasks=u(hl);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 GD=(()=>{class t{applicationErrorHandler=u(qr);appRef=u(Ri);taskService=u(hl);ngZone=u(J);zonelessEnabled=u(Fc);tracing=u(os,{optional:!0});disableScheduling=u(jC,{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(vg):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(u(tg,{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 hm||!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?O1:NF;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(vg+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,O1(()=>{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 WD(){return xo("NgZoneless"),ol([{provide:Mi,useExisting:GD},{provide:J,useClass:hm},{provide:Fc,useValue:!0},{provide:tg,useValue:!1},[]])}function Ree(){return typeof $localize<"u"&&$localize.locale||Em}var Xc=new A("",{providedIn:"root",factory:()=>u(Xc,{optional:!0,skipSelf:!0})||Ree()});var Ug=class{destroyed=!1;listeners=null;errorHandler=u(Mn,{optional:!0});destroyRef=u(_i);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(na(953,!1));return}if(this.listeners===null)return;let e=We(null);try{for(let i of this.listeners)try{i(n)}catch(r){this.errorHandler?.handleError(r)}}finally{We(e)}}};function oi(t){return DR(t)}function He(t,n){return Nu(t,n?.equal)}var YD=class{[Dn];constructor(n){this[Dn]=n}destroy(){this[Dn].destroy()}};function sn(t,n){let e=n?.injector??u(Re),i=n?.manualCleanup!==!0?e.get(_i):null,r,o=e.get(fl,null,{optional:!0}),a=e.get(Mi);return o!==null?(r=Oee(o.view,a,t),i instanceof Ku&&i._lView===o.view&&(i=null)):r=Nee(t,e.get(am),a),r.injector=e,i!==null&&(r.onDestroyFn=i.onDestroy(()=>r.destroy())),new YD(r)}var uO=de(k({},ER),{cleanupFns:void 0,zone:null,onDestroyFn:pl,run(){let t=Mc(!1);try{SR(this)}finally{Mc(t)}},cleanup(){if(!this.cleanupFns?.length)return;let t=We(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],We(t)}}}),Pee=de(k({},uO),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){$a(this),this.onDestroyFn(),this.cleanup(),this.scheduler.remove(this)}}),Fee=de(k({},uO),{consumerMarkedDirty(){this.view[Ge]|=8192,Za(this.view),this.notifier.notify(13)},destroy(){$a(this),this.onDestroyFn(),this.cleanup(),this.view[oa]?.delete(this)}});function Oee(t,n,e){let i=Object.create(Fee);return i.view=t,i.zone=typeof Zone<"u"?Zone.current:null,i.notifier=n,i.fn=mO(i,e),t[oa]??=new Set,t[oa].add(i),i.consumerMarkedDirty(i),i}function Nee(t,n,e){let i=Object.create(Pee);return i.fn=mO(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 mO(t,n){return()=>{n(e=>(t.cleanupFns??=[]).push(e))}}var bO=Symbol("InputSignalNode#UNSET"),Zee=de(k({},Lu),{transformFn:void 0,applyValueToInputSignal(t,n){cc(t,n)}});function vO(t,n){let e=Object.create(Zee);e.value=t,e.transformFn=n?.transform;function i(){if(Hs(e),e.value===bO){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__=()=>Gw(this.attributeName);toString(){return`HostAttributeToken ${this.attributeName}`}},Xee=new A("");Xee.__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 Jc(t){return new Ug}function fO(t,n){return vO(t,n)}function Jee(t){return vO(bO,t)}var ai=(fO.required=Jee,fO);function hO(t,n){return kD(n)}function ete(t,n){return MD(n)}var Mm=(hO.required=ete,hO);function pO(t,n){return kD(n)}function tte(t,n){return MD(n)}var CO=(pO.required=tte,pO);var QD=new A(""),nte=new A("");function km(t){return!t.moduleRef}function ite(t){let n=km(t)?t.r3Injector:t.moduleRef.injector,e=n.get(J);return e.run(()=>{km(t)?t.r3Injector.resolveInjectorInitializers():t.moduleRef.resolveInjectorInitializers();let i=n.get(qr),r;if(e.runOutsideAngular(()=>{r=e.onError.subscribe({next:i})}),km(t)){let o=()=>n.destroy(),a=t.platformInjector.get(QD);a.add(o),n.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>t.moduleRef.destroy(),a=t.platformInjector.get(QD);a.add(o),t.moduleRef.onDestroy(()=>{lm(t.allPlatformModules,t.moduleRef),r.unsubscribe(),a.delete(o)})}return ote(i,e,()=>{let o=n.get(hl),a=o.add(),s=n.get(ND);return s.runInitializers(),s.donePromise.then(()=>{let l=n.get(Xc,Em);if(HF(l||Em),!n.get(nte,!0))return km(t)?n.get(Ri):(t.allPlatformModules.push(t.moduleRef),t.moduleRef);if(km(t)){let d=n.get(Ri);return t.rootComponent!==void 0&&d.bootstrap(t.rootComponent),d}else return rte?.(t.moduleRef,t.allPlatformModules),t.moduleRef}).finally(()=>void o.remove(a))})})}var rte;function ote(t,n,e){try{let i=e();return vl(i)?i.catch(r=>{throw n.runOutsideAngular(()=>t(r)),r}):i}catch(i){throw n.runOutsideAngular(()=>t(i)),i}}var qg=null;function ate(t=[],n){return Re.create({name:n,providers:[{provide:Zu,useValue:"platform"},{provide:QD,useValue:new Set([()=>qg=null])},...t]})}function ste(t=[]){if(qg)return qg;let n=ate(t);return qg=n,BF(),lte(n),n}function lte(t){let n=t.get(xg,null);Xu(t,()=>{n?.forEach(e=>e())})}var Ae=(()=>{class t{static __NG_ELEMENT_ID__=cte}return t})();function cte(t){return dte(Sn(),je(),(t&16)===16)}function dte(t,n,e){if(aa(t)&&!e){let i=fr(t.index,n);return new es(i,i)}else if(t.type&175){let i=n[ei];return new es(i,n)}return null}var ZD=class{constructor(){}supports(n){return SD(n)}create(n){return new XD(n)}},ute=(t,n)=>n,XD=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||ute}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<gO(i,r,o)?e:i,s=gO(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=[]),!SD(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,yF(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 JD(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 Gg),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 Gg),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}},JD=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}},eE=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}},Gg=class{map=new Map;put(n){let e=n.trackById,i=this.map.get(e);i||(i=new eE,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 gO(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 tE=class{constructor(){}supports(n){return n instanceof Map||Ng(n)}create(){return new nE}},nE=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||Ng(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 iE(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))}},iE=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(n){this.key=n}};function _O(){return new Io([new ZD])}var Io=(()=>{class t{factories;static \u0275prov=z({token:t,providedIn:"root",factory:_O});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||_O())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i!=null)return i;throw new X(901,!1)}}return t})();function yO(){return new oE([new tE])}var oE=(()=>{class t{static \u0275prov=z({token:t,providedIn:"root",factory:yO});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||yO())}}}find(e){let i=this.factories.find(r=>r.supports(e));if(i)return i;throw new X(901,!1)}}return t})();function wO(t){Bt(8);try{let{rootComponent:n,appProviders:e,platformProviders:i}=t,r=ste(i),o=[cO({}),{provide:Mi,useExisting:GD},h1,...e||[]],a=new fm({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return ite({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 KD=Symbol("NOT_SET"),DO=new Set,mte=de(k({},Lu),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,value:KD,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!==KD&&!qs(this))return this.signal;try{for(let r of this.cleanup??DO)r()}finally{this.cleanup?.clear()}let n=[];t!==void 0&&n.push(t),n.push(this.registerCleanupFn);let e=za(this),i;try{i=this.userFn.apply(null,n)}finally{Us(this,e)}return(this.value===KD||!this.equal(this.value,i))&&(this.value=i,this.version++),this.signal}}),rE=class extends pm{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(_i),a),this.scheduler=r;for(let s of PD){let l=e[s];if(l===void 0)continue;let c=Object.create(mte);c.sequence=this,c.phase=s,c.userFn=l,c.dirty=!0,c.signal=()=>(Hs(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??DO)e()}finally{$a(n)}}};function EO(t,n){let e=n?.injector??u(Re),i=e.get(Mi),r=e.get(jg),o=e.get(os,null,{optional:!0});r.impl??=e.get(FD);let a=t;typeof a=="function"&&(a={mixedReadWrite:t});let s=e.get(fl,null,{optional:!0}),l=new rE(r.impl,[a.earlyRead,a.write,a.mixedReadWrite,a.read],s?.view,i,e,o?.snapshot(null));return r.impl.register(l),l}function Wg(t,n){let e=Ya(t),i=n.elementInjector||Dc();return new zc(e).create(i,n.projectableNodes,n.hostElement,n.environmentInjector,n.directives,n.bindings)}var TO=null;function gr(){return TO}function aE(t){TO??=t}var Am=class{},sE=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:()=>u(IO),providedIn:"platform"})}return t})();var IO=(()=>{class t extends sE{_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 kO(t,n){return t?n?t.endsWith("/")?n.startsWith("/")?t+n.slice(1):t+n:n.startsWith("/")?t+n:`${t}/${n}`:t:n}function SO(t){let n=t.search(/#|\?|$/);return t[n-1]==="/"?t.slice(0,n-1)+t.slice(n):t}function as(t){return t&&t[0]!=="?"?`?${t}`:t}var Yg=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:()=>u(AO),providedIn:"root"})}return t})(),MO=new A(""),AO=(()=>{class t extends Yg{_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 kO(this._baseHref,e)}path(e=!1){let i=this._platformLocation.pathname+as(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${i}${r}`:i}pushState(e,i,r,o){let a=this.prepareExternalUrl(r+as(o));this._platformLocation.pushState(e,i,a)}replaceState(e,i,r,o){let a=this.prepareExternalUrl(r+as(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(sE),ze(MO,8))};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Kg=(()=>{class t{_subject=new V;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let i=this._locationStrategy.getBaseHref();this._basePath=pte(SO(xO(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+as(i))}normalize(e){return t.stripTrailingSlash(hte(this._basePath,xO(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+as(i)),r)}replaceState(e,i="",r=null){this._locationStrategy.replaceState(r,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+as(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=as;static joinWithSlash=kO;static stripTrailingSlash=SO;static \u0275fac=function(i){return new(i||t)(ze(Yg))};static \u0275prov=z({token:t,factory:()=>fte(),providedIn:"root"})}return t})();function fte(){return new Kg(ze(Yg))}function hte(t,n){if(!t||!n.startsWith(t))return n;let e=n.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:n}function xO(t){return t.replace(/\/index.html$/,"")}function pte(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var lE=/\s+/,RO=[],ko=(()=>{class t{_ngEl;_renderer;initialClasses=RO;rawClass;stateMap=new Map;constructor(e,i){this._ngEl=e,this._renderer=i}set klass(e){this.initialClasses=e!=null?e.trim().split(lE):RO}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(lE):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(lE).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(K),me(yt))};static \u0275dir=N({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})();var Qg=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}},qn=(()=>{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 Qg(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),PO(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);PO(o,r)})}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||t)(me(rt),me(At),me(Io))};static \u0275dir=N({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function PO(t,n){t.context.$implicit=n.item}var Pn=(()=>{class t{_viewContainer;_context=new Zg;_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){FO(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){FO(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})(),Zg=class{$implicit=null;ngIf=null};function FO(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:Yr.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(K),me(oE),me(yt))};static \u0275dir=N({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),uE=(()=>{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:[it]})}return t})();function gte(t,n){return new X(2100,!1)}var cE=class{createSubscription(n,e,i){return oi(()=>n.subscribe({next:e,error:i}))}dispose(n){oi(()=>n.unsubscribe())}},dE=class{createSubscription(n,e,i){return n.then(r=>e?.(r),r=>i?.(r)),{unsubscribe:()=>{e=null,i=null}}}dispose(n){n.unsubscribe()}},_te=new dE,yte=new cE,mE=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;applicationErrorHandler=u(qr);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(vl(e))return _te;if(Bg(e))return yte;throw gte(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=ha({name:"async",type:t,pure:!1})}return t})();var fE=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=ha({name:"json",type:t,pure:!1})}return t})();function hE(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 Rm=class{};var pE="browser";function OO(t){return t===pE}var Jg=new A(""),vE=(()=>{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(Jg),ze(J))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),Pm=class{_doc;constructor(n){this._doc=n}manager},gE="ng-app-id";function NO(t){for(let n of t)n.remove()}function LO(t,n){let e=n.createElement("style");return e.textContent=t,e}function Cte(t,n,e,i){let r=t.head?.querySelectorAll(`style[${gE}="${n}"],link[${gE}="${n}"]`);if(r)for(let o of r)o.removeAttribute(gE),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 yE(t,n){let e=n.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var CE=(()=>{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,Cte(e,i,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,i){for(let r of e)this.addUsage(r,this.inline,LO);i?.forEach(r=>this.addUsage(r,this.external,yE))}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&&(NO(r.elements),i.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])NO(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[i,{elements:r}]of this.inline)r.push(this.addElement(e,LO(i,this.doc)));for(let[i,{elements:r}]of this.external)r.push(this.addElement(e,yE(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(ns),ze(Wc,8),ze(is))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),_E={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"},wE=/%COMP%/g;var jO="%COMP%",wte=`_nghost-${jO}`,Dte=`_ngcontent-${jO}`,Ete=!0,Ste=new A("",{providedIn:"root",factory:()=>Ete});function xte(t){return Dte.replace(wE,t)}function Tte(t){return wte.replace(wE,t)}function BO(t,n){return n.map(e=>e.replace(wE,t))}var Nm=(()=>{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 Fm(e,a,l,this.platformIsServer,this.tracingService,this.registry=eg(),this.maxAnimationTimeout)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,i);return r instanceof Xg?r.applyToHost(e):r instanceof Om&&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 ca.Emulated:o=new Xg(l,c,i,this.appId,d,a,s,m,f,this.registry,this.animationDisabled,this.maxAnimationTimeout);break;case ca.ShadowDom:return new bE(l,c,e,i,a,s,this.nonce,m,f,this.registry,this.maxAnimationTimeout);default:o=new Om(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(vE),ze(CE),ze(ns),ze(Ste),ze(ke),ze(is),ze(J),ze(Wc),ze(LD),ze(VD),ze(os,8))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),Fm=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(_E[e]||e,n):this.doc.createElement(n)}createComment(n){return this.doc.createComment(n)}createText(n){return this.doc.createTextNode(n)}appendChild(n,e){(VO(n)?n.content:n).appendChild(e)}insertBefore(n,e,i){n&&(VO(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=_E[r];o?n.setAttributeNS(o,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){let r=_E[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&(Yr.DashCase|Yr.Important)?n.style.setProperty(e,i,r&Yr.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&Yr.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 VO(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var bE=class extends Fm{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=BO(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=yE(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)}},Om=class extends Fm{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?BO(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)}}},Xg=class extends Om{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=xte(h),this.hostAttr=Tte(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 e_=class t extends Am{supportsDOMEvents=!0;static makeCurrent(){aE(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=Ite();return e==null?null:kte(e)}resetBaseElement(){Lm=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return hE(document.cookie,n)}},Lm=null;function Ite(){return Lm=Lm||document.head.querySelector("base"),Lm?Lm.getAttribute("href"):null}function kte(t){return new URL(t,document.baseURI).pathname}var Mte=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),$O=(()=>{class t extends Pm{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})(),zO=["alt","control","meta","shift"],Ate={"\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"},Rte={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},HO=(()=>{class t extends Pm{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."),zO.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=Ate[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"),zO.forEach(a=>{if(a!==r){let s=Rte[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 DE(t){return wO(Pte(t))}function Pte(t){return{appProviders:[...Vte,...t?.providers??[]],platformProviders:Lte}}function Fte(){e_.makeCurrent()}function Ote(){return new Mn}function Nte(){return Yw(document),document}var Lte=[{provide:is,useValue:pE},{provide:xg,useValue:Fte,multi:!0},{provide:ke,useFactory:Nte}];var Vte=[{provide:Zu,useValue:"root"},{provide:Mn,useFactory:Ote},{provide:Jg,useClass:$O,multi:!0,deps:[ke]},{provide:Jg,useClass:HO,multi:!0,deps:[ke]},Nm,CE,vE,{provide:tn,useExisting:Nm},{provide:Rm,useClass:Mte},[]];var SE=class{};var Cl=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 xE=class{encodeKey(n){return UO(n)}encodeValue(n){return UO(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}};function jte(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 Bte=/%(\d[a-f0-9])/gi,zte={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function UO(t){return encodeURIComponent(t).replace(Bte,(n,e)=>zte[e]??n)}function t_(t){return`${t}`}var ga=class t{map;encoder;updates=null;cloneFrom=null;constructor(n={}){if(this.encoder=n.encoder||new xE,n.fromString){if(n.fromObject)throw new X(2805,!1);this.map=jte(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(t_):[t_(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(t_(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(t_(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 TE=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 $te(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function qO(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function GO(t){return typeof Blob<"u"&&t instanceof Blob}function WO(t){return typeof FormData<"u"&&t instanceof FormData}function Hte(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var Ute="X-Request-URL",YO="text/plain",KO="application/json",s6e=`${KO}, ${YO}, */*`,ed=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($te(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 Cl,this.context??=new TE,!this.params)this.params=new ga,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"||qO(this.body)||GO(this.body)||WO(this.body)||Hte(this.body)?this.body:this.body instanceof ga?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||WO(this.body)?null:GO(this.body)?this.body.type||null:qO(this.body)?null:typeof this.body=="string"?YO:this.body instanceof ga?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?KO: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,Y=n.params||this.params,ce=n.context??this.context;return n.setHeaders!==void 0&&(P=Object.keys(n.setHeaders).reduce((re,Pe)=>re.set(Pe,n.setHeaders[Pe]),P)),n.setParams&&(Y=Object.keys(n.setParams).reduce((re,Pe)=>re.set(Pe,n.setParams[Pe]),Y)),new t(e,i,b,{params:Y,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})}},kE=(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})(kE||{}),IE=class{headers;status;statusText;url;ok;type;redirected;constructor(n,e=200,i="OK"){this.headers=n.headers||new Cl,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 n_=class t extends IE{body;constructor(n={}){super(n),this.body=n.body!==void 0?n.body:null}type=kE.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 EE(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 ME=(()=>{class t{handler;constructor(e){this.handler=e}request(e,i,r={}){let o;if(e instanceof ed)o=e;else{let l;r.headers instanceof Cl?l=r.headers:l=new Cl(r.headers);let c;r.params&&(r.params instanceof ga?c=r.params:c=new ga({fromObject:r.params})),o=new ed(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(O0(l=>this.handler.handle(l)));if(e instanceof ed||r.observe==="events")return a;let s=a.pipe(_t(l=>l instanceof n_));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(tt(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new X(2806,!1);return l.body}));case"blob":return s.pipe(tt(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new X(2807,!1);return l.body}));case"text":return s.pipe(tt(l=>{if(l.body!==null&&typeof l.body!="string")throw new X(2808,!1);return l.body}));case"json":default:return s.pipe(tt(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 ga().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,EE(r,i))}post(e,i,r={}){return this.request("POST",e,EE(r,i))}put(e,i,r={}){return this.request("PUT",e,EE(r,i))}static \u0275fac=function(i){return new(i||t)(ze(SE))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();var l6e=RegExp(`^${Ute}:`,"m");var RE=(()=>{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(Gte),r},providedIn:"root"})}return t})(),Gte=(()=>{class t extends RE{_doc;constructor(e){super(),this._doc=e}sanitize(e,i){if(i==null)return null;switch(e){case bi.NONE:return i;case bi.HTML:return bl(i,"HTML")?ua(i):iD(this._doc,String(i)).toString();case bi.STYLE:return bl(i,"Style")?ua(i):i;case bi.SCRIPT:if(bl(i,"Script"))return ua(i);throw new X(5200,!1);case bi.URL:return bl(i,"URL")?ua(i):_m(String(i));case bi.RESOURCE_URL:if(bl(i,"ResourceURL"))return ua(i);throw new X(5201,!1);default:throw new X(5202,!1)}}bypassSecurityTrustHtml(e){return Zw(e)}bypassSecurityTrustStyle(e){return Xw(e)}bypassSecurityTrustScript(e){return Jw(e)}bypassSecurityTrustUrl(e){return eD(e)}bypassSecurityTrustResourceUrl(e){return tD(e)}static \u0275fac=function(i){return new(i||t)(ze(ke))};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Yte={schedule(t,n){let e=setTimeout(t,n);return()=>clearTimeout(e)}};function Kte(t){return t.replace(/[A-Z]/g,n=>`-${n.toLowerCase()}`)}function Qte(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}var PE;function Zte(t,n){if(!PE){let e=Element.prototype;PE=e.matches||e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector}return t.nodeType===Node.ELEMENT_NODE?PE.call(t,n):!1}function Xte(t){let n={};return t.forEach(({propName:e,templateName:i,transform:r})=>{n[Kte(i)]=[e,r]}),n}function Jte(t,n){return n.get(fa).resolveComponentFactory(t).inputs}function ene(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=tne(s,n,r);l!==-1&&i[l].push(s)}return i}function tne(t,n,e){let i=e;return Qte(t)&&n.some((r,o)=>r!=="*"&&Zte(t,r)?(i=o,!0):!1),i}var nne=10,FE=class{componentFactory;inputMap=new Map;constructor(n,e){this.componentFactory=e.get(fa).resolveComponentFactory(n);for(let i of this.componentFactory.inputs)this.inputMap.set(i.propName,i.templateName)}create(n){return new OE(this.componentFactory,n,this.inputMap)}},OE=class{componentFactory;injector;inputMap;eventEmitters=new Qs(1);events=this.eventEmitters.pipe(Xn(n=>Ft(...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(Ri),this.cdScheduler=e.get(Mi),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=Yte.schedule(()=>{this.componentRef!==null&&(this.componentRef.destroy(),this.componentRef=null)},nne))})}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),bD(this.componentRef.hostView)&&(vD(this.componentRef.changeDetectorRef),this.cdScheduler.notify(6))})}initializeComponent(n){let e=Re.create({providers:[],parent:this.injector}),i=ene(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 Ve(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()}},NE=class extends HTMLElement{ngElementEventsSubscription=null};function QO(t,n){let e=Jte(t,n.injector),i=n.strategyFactory||new FE(t,n.injector),r=Xte(e);class o extends NE{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 LE={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 Mo=class t{_data=pe(LE);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(LE)}static \u0275fac=function(e){return new(e||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})};var ZO={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","lifetimePerformance.category":"Lifetime Performance Adjustments","lifetimePerformance.dailyGain.label":"Average daily gain (kg)","lifetimePerformance.liveWeight.label":"Average live weight (kg)","lifetimePerformance.milkProductionReport.label":"Average yearly milk production (kg)","validation.schema.exactlyOneLivestockSource":"Please select exactly one livestock duration source (TVD Original, TVD Final, or Self-Reported)","validation.schema.durationCorrectionDaysRequired":"Duration correction days required when correction quantity is specified","validation.schema.durationCorrectionDaysRange":"Correction days must be between 1 and 365","validation.schema.linearCorrectionDurationRequired":"Linear correction duration is required when linear correction is enabled","validation.schema.stableSystemPermitted":"Stable system must be one of: {{allowedValues}}","validation.schema.generic":"Validation error","validation.panel.singleIssue":"1 validation issue","validation.panel.multipleIssues":"{{count}} validation issues","validation.panel.expandHint":"Review details","validation.panel.collapse":"Collapse"};var XO={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","lifetimePerformance.category":"Lebensleistungskorrekturen","lifetimePerformance.dailyGain.label":"Durchschnittliche t\xE4gliche Zunahme (kg)","lifetimePerformance.liveWeight.label":"Durchschnittliches Lebendgewicht (kg)","lifetimePerformance.milkProductionReport.label":"Durchschnittliche Jahresmilchmenge (kg)","validation.schema.exactlyOneLivestockSource":"Bitte w\xE4hlen Sie genau eine Quelle f\xFCr die Tierhaltungsdauer (TVD Original, TVD Final oder Selbstgemeldet)","validation.schema.durationCorrectionDaysRequired":"Korrektur-Tage erforderlich, wenn Korrektur-Menge angegeben ist","validation.schema.durationCorrectionDaysRange":"Korrektur-Tage m\xFCssen zwischen 1 und 365 liegen","validation.schema.linearCorrectionDurationRequired":"Korrekturdauer ist erforderlich, wenn lineare Korrektur aktiviert ist","validation.schema.stableSystemPermitted":"Stallsystem muss eines von sein: {{allowedValues}}","validation.schema.generic":"Validierungsfehler","validation.panel.singleIssue":"1 Validierungsproblem","validation.panel.multipleIssues":"{{count}} Validierungsprobleme","validation.panel.expandHint":"Details anzeigen","validation.panel.collapse":"Einklappen"};var one={en:ZO,de:XO},Gn=class t{_locale=pe("en");locale=this._locale.asReadonly();translator=(n,e)=>one[this._locale()][n]??e??n;jsonFormsI18n=He(()=>({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"})},si=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=He(()=>this.i18n.t(n,e)),this.cache.set(i,r)),r}static \u0275fac=function(e){return new(e||t)(me(Gn,16))};static \u0275pipe=ha({name:"t",type:t,pure:!0})};function i_(t){return t&&typeof t.connect=="function"&&!(t instanceof Vu)}var ss=(function(t){return t[t.REPLACED=0]="REPLACED",t[t.INSERTED=1]="INSERTED",t[t.MOVED=2]="MOVED",t[t.REMOVED=3]="REMOVED",t})(ss||{}),td=new A("_ViewRepeater");var wl=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=ss.INSERTED}else l==null?(e.remove(s),d=ss.REMOVED):(c=e.get(s),e.move(c,l),d=ss.MOVED);o&&o({context:c?.context,operation:d,record:a})})}detach(){}};var ane=new A("cdk-dir-doc",{providedIn:"root",factory:sne});function sne(){return u(ke)}var lne=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function JO(t){let n=t?.toLowerCase()||"";return n==="auto"&&typeof navigator<"u"&&navigator?.language?lne.test(navigator.language)?"rtl":"ltr":n==="rtl"?"rtl":"ltr"}var Ot=(()=>{class t{get value(){return this.valueSignal()}valueSignal=pe("ltr");change=new F;constructor(){let e=u(ane,{optional:!0});if(e){let i=e.body?e.body.dir:null,r=e.documentElement?e.documentElement.dir:null;this.valueSignal.set(JO(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 VE;try{VE=typeof Intl<"u"&&Intl.v8BreakIterator}catch{VE=!1}var Ue=(()=>{class t{_platformId=u(is);isBrowser=this._platformId?OO(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||VE)&&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 li(t,n=0){return eN(t)?Number(t):arguments.length===2?n:0}function eN(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function ln(t){return t instanceof K?t.nativeElement:t}var Qr=(function(t){return t[t.NORMAL=0]="NORMAL",t[t.NEGATED=1]="NEGATED",t[t.INVERTED=2]="INVERTED",t})(Qr||{}),r_,Dl;function o_(){if(Dl==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return Dl=!1,Dl;if("scrollBehavior"in document.documentElement.style)Dl=!0;else{let t=Element.prototype.scrollTo;t?Dl=!/\{\s*\[native code\]\s*\}/.test(t.toString()):Dl=!1}}return Dl}function nd(){if(typeof document!="object"||!document)return Qr.NORMAL;if(r_==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),r_=Qr.NORMAL,t.scrollLeft===0&&(t.scrollLeft=1,r_=t.scrollLeft===0?Qr.NEGATED:Qr.INVERTED),t.remove()}return r_}var ls=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var cne=20,Zr=(()=>{class t{_ngZone=u(J);_platform=u(Ue);_renderer=u(tn).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new V;_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=cne){return this._platform.isBrowser?new Ve(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=e>0?this._scrolled.pipe(Sp(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=ln(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})(),_a=(()=>{class t{elementRef=u(K);scrollDispatcher=u(Zr);ngZone=u(J);dir=u(Ot,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new V;_renderer=u(yt);_cleanupScroll;_elementScrolled=new V;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&&nd()!=Qr.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),nd()==Qr.INVERTED?e.left=e.right:nd()==Qr.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;o_()?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&&nd()==Qr.INVERTED?e==i?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&nd()==Qr.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})(),dne=20,On=(()=>{class t{_platform=u(Ue);_listeners;_viewportSize;_change=new V;_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=dne){return e>0?this._change.pipe(Sp(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 cs=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})(),Vm=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ls,cs,ls,cs]})}return t})();var une=[[["caption"]],[["colgroup"],["col"]],"*"],mne=["caption","colgroup, col","*"];function fne(t,n){t&1&&ae(0,2)}function hne(t,n){t&1&&(v(0,"thead",0),ri(1,1),w(),v(2,"tbody",0),ri(3,2)(4,3),w(),v(5,"tfoot",0),ri(6,4),w())}function pne(t,n){t&1&&ri(0,1)(1,2)(2,3)(3,4)}var Xr=new A("CDK_TABLE");var c_=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkCellDef",""]]})}return t})(),d_=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkHeaderCellDef",""]]})}return t})(),rN=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","cdkFooterCellDef",""]]})}return t})(),id=(()=>{class t{_table=u(Xr,{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&&(Qe(o,c_,5),Qe(o,d_,5),Qe(o,rN,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:[De([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}])]})}return t})(),s_=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},oN=(()=>{class t extends s_{constructor(){super(u(id),u(K))}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 aN=(()=>{class t extends s_{constructor(){let e=u(id),i=u(K);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 BE=(()=>{class t{template=u(At);_differs=u(Io);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 jm?e.headerCell.template:this instanceof zE?e.footerCell.template:e.cell.template}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,features:[it]})}return t})(),jm=(()=>{class t extends BE{_table=u(Xr,{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(Io))}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,it]})}return t})(),zE=(()=>{class t extends BE{_table=u(Xr,{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(Io))}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,it]})}return t})(),u_=(()=>{class t extends BE{_table=u(Xr,{optional:!0});when;constructor(){super(u(At),u(Io))}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})(),El=(()=>{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})(),$E=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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&&ri(0,0)},dependencies:[El],encapsulation:2})}return t})();var HE=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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&&ri(0,0)},dependencies:[El],encapsulation:2})}return t})(),sN=(()=>{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})(),tN=["top","bottom","left","right"],jE=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));Vt({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]}),Vt({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=[];Vt({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&&Vt({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]);tN.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 tN)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&&gne(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 gne(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var l_=new A("CDK_SPL");var UE=(()=>{class t{viewContainer=u(rt);elementRef=u(K);constructor(){let e=u(Xr);e._rowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","rowOutlet",""]]})}return t})(),qE=(()=>{class t{viewContainer=u(rt);elementRef=u(K);constructor(){let e=u(Xr);e._headerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","headerRowOutlet",""]]})}return t})(),GE=(()=>{class t{viewContainer=u(rt);elementRef=u(K);constructor(){let e=u(Xr);e._footerRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","footerRowOutlet",""]]})}return t})(),WE=(()=>{class t{viewContainer=u(rt);elementRef=u(K);constructor(){let e=u(Xr);e._noDataRowOutlet=this,e._outletAssigned()}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","noDataRowOutlet",""]]})}return t})(),YE=(()=>{class t{_differs=u(Io);_changeDetectorRef=u(Ae);_elementRef=u(K);_dir=u(Ot,{optional:!0});_platform=u(Ue);_viewRepeater=u(td);_viewportRuler=u(On);_stickyPositioningListener=u(l_,{optional:!0,skipSelf:!0});_document=u(ke);_data;_onDestroy=new V;_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 Ii({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(Ye(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(),i_(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===ss.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=nN(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=nN(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(),a_(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=a_(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=a_(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=a_(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=[],i_(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;i_(this.dataSource)?e=this.dataSource.connect(this):Cp(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=en(this.dataSource)),this._renderChangeSubscription=e.pipe(Ye(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))El.mostRecentCellOutlet&&El.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 jE(this._isNativeHtmlTable,this.stickyCssClass,this._platform.isBrowser,this.needsPositionStickyOnElement,e,this._stickyPositioningListener,this._injector),(this._dir?this._dir.change:en()).pipe(Ye(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=M({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,sN,5),Qe(o,id,5),Qe(o,u_,5),Qe(o,jm,5),Qe(o,zE,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:[De([{provide:Xr,useExisting:t},{provide:td,useClass:wl},{provide:l_,useValue:null}])],ngContentSelectors:mne,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Be(une),ae(0),ae(1,1),Ce(2,fne,1,0),Ce(3,hne,7,0)(4,pne,4,0)),i&2&&(C(2),we(r._isServer?2:-1),C(),we(r._isNativeHtmlTable?3:4))},dependencies:[qE,UE,WE,GE],styles:[`.cdk-table-fixed-layout{table-layout:fixed}
17
+ `],encapsulation:2})}return t})();function a_(t,n){return t.concat(Array.from(n))}function nN(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 lN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[Vm]})}return t})();var Bm=(()=>{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 zm=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 V;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 Sl(t){return t.buttons===0||t.detail===0}function xl(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 KE;function cN(){if(KE==null){let t=typeof document<"u"?document.head:null;KE=!!(t&&(t.createShadowRoot||t.attachShadow))}return KE}function Tl(t){if(cN()){let n=t.getRootNode?t.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}function ya(){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 $m;function dN(){if($m==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>$m=!0}))}finally{$m=$m||!1}return $m}function ds(t){return dN()?t:!!t.capture}var uN=new A("cdk-input-modality-detector-options"),mN={ignoreKeys:[18,17,224,91,16]},fN=650,QE={passive:!0,capture:!0},hN=(()=>{class t{_platform=u(Ue);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new Ii(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<fN||(this._modality.next(Sl(e)?"keyboard":"mouse"),this._mostRecentTarget=mn(e))};_onTouchstart=e=>{if(xl(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(uN,{optional:!0});if(this._options=k(k({},mN),r),this.modalityDetected=this._modality.pipe(Xs(1)),this.modalityChanged=this.modalityDetected.pipe(Tp()),this._platform.isBrowser){let o=u(tn).createRenderer(null,null);this._listenerCleanups=e.runOutsideAngular(()=>[o.listen(i,"keydown",this._onKeydown,QE),o.listen(i,"mousedown",this._onMousedown,QE),o.listen(i,"touchstart",this._onTouchstart,QE)])}}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})(),Hm=(function(t){return t[t.IMMEDIATE=0]="IMMEDIATE",t[t.EVENTUAL=1]="EVENTUAL",t})(Hm||{}),pN=new A("cdk-focus-monitor-default-options"),m_=ds({passive:!0,capture:!0}),Qi=(()=>{class t{_ngZone=u(J);_platform=u(Ue);_inputModalityDetector=u(hN);_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 V;constructor(){let e=u(pN,{optional:!0});this._detectionMode=e?.detectionMode||Hm.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=ln(e);if(!this._platform.isBrowser||r.nodeType!==1)return en();let o=Tl(r)||this._document,a=this._elementInfo.get(r);if(a)return i&&(a.checkChildren=!0),a.subject;let s={checkChildren:i,subject:new V,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(e){let i=ln(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=ln(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===Hm.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===Hm.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?fN: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,m_),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,m_)}),this._rootNodeFocusListenerCount.set(i,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(Ye(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,m_),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,m_),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})(),Um=(()=>{class t{_elementRef=u(K);_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 f_=new WeakMap,wt=(()=>{class t{_appRef;_injector=u(Re);_environmentInjector=u(gn);load(e){let i=this._appRef=this._appRef||this._injector.get(Ri),r=f_.get(i);r||(r={loaders:new Set,refs:[]},f_.set(i,r),i.onDestroy(()=>{f_.get(i)?.refs.forEach(o=>o.destroy()),f_.delete(i)})),r.loaders.has(e)||(r.loaders.add(e),r.refs.push(Wg(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=M({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 Jr(t){return Array.isArray(t)?t:[t]}var gN=new Set,Il,h_=(()=>{class t{_platform=u(Ue);_nonce=u(Wc,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):yne}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&_ne(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 _ne(t,n){if(!gN.has(t))try{Il||(Il=document.createElement("style"),n&&Il.setAttribute("nonce",n),Il.setAttribute("type","text/css"),document.head.appendChild(Il)),Il.sheet&&(Il.sheet.insertRule(`@media ${t} {body{ }}`,0),gN.add(t))}catch(e){console.error(e)}}function yne(t){return{matches:t==="all"||t==="",media:t,addListener:()=>{},removeListener:()=>{}}}var qm=(()=>{class t{_mediaMatcher=u(h_);_zone=u(J);_queries=new Map;_destroySubject=new V;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return _N(Jr(e)).some(r=>this._registerQuery(r).mql.matches)}observe(e){let r=_N(Jr(e)).map(a=>this._registerQuery(a).observable),o=P0(r);return o=Ha(o.pipe(wn(1)),o.pipe(Xs(1),zr(0))),o.pipe(tt(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 Ve(a=>{let s=l=>this._zone.run(()=>a.next(l));return i.addListener(s),()=>{i.removeListener(s)}}).pipe(Nt(i),tt(({matches:a})=>({query:e,matches:a})),Ye(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 _N(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}function bne(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 yN=(()=>{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})(),vne=(()=>{class t{_mutationObserverFactory=u(yN);_observedElements=new Map;_ngZone=u(J);constructor(){}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){let i=ln(e);return new Ve(r=>{let a=this._observeElement(i).pipe(tt(s=>s.filter(l=>!bne(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 V,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})(),p_=(()=>{class t{_contentObserver=u(vne);_elementRef=u(K);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=li(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(zr(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})(),g_=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({providers:[yN]})}return t})();var rd=(()=>{class t{_platform=u(Ue);constructor(){}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return wne(e)&&getComputedStyle(e).visibility==="visible"}isTabbable(e){if(!this._platform.isBrowser)return!1;let i=Cne(Mne(e));if(i&&(bN(i)===-1||!this.isVisible(i)))return!1;let r=e.nodeName.toLowerCase(),o=bN(e);return e.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!Ine(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 kne(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 Cne(t){try{return t.frameElement}catch{return null}}function wne(t){return!!(t.offsetWidth||t.offsetHeight||typeof t.getClientRects=="function"&&t.getClientRects().length)}function Dne(t){let n=t.nodeName.toLowerCase();return n==="input"||n==="select"||n==="button"||n==="textarea"}function Ene(t){return xne(t)&&t.type=="hidden"}function Sne(t){return Tne(t)&&t.hasAttribute("href")}function xne(t){return t.nodeName.toLowerCase()=="input"}function Tne(t){return t.nodeName.toLowerCase()=="a"}function wN(t){if(!t.hasAttribute("tabindex")||t.tabIndex===void 0)return!1;let n=t.getAttribute("tabindex");return!!(n&&!isNaN(parseInt(n,10)))}function bN(t){if(!wN(t))return null;let n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}function Ine(t){let n=t.nodeName.toLowerCase(),e=n==="input"&&t.type;return e==="text"||e==="password"||n==="select"||n==="textarea"}function kne(t){return Ene(t)?!1:Dne(t)||Sne(t)||t.hasAttribute("contenteditable")||wN(t)}function Mne(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}var __=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?Vt(n,{injector:this._injector}):setTimeout(n)}},y_=(()=>{class t{_checker=u(rd);_ngZone=u(J);_document=u(ke);_injector=u(Re);constructor(){u(wt).load(_r)}create(e,i=!1){return new __(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})(),XE=(()=>{class t{_elementRef=u(K);_focusTrapFactory=u(y_);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(e){this.focusTrap&&(this.focusTrap.enabled=e)}autoCapture;constructor(){u(Ue).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=ya(),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:[it]})}return t})(),DN=new A("liveAnnouncerElement",{providedIn:"root",factory:EN});function EN(){return null}var SN=new A("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Ane=0,JE=(()=>{class t{_ngZone=u(J);_defaultOptions=u(SN,{optional:!0});_liveElement;_document=u(ke);_previousTimeout;_currentPromise;_currentResolve;constructor(){let e=u(DN,{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-${Ane++}`,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 us=(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})(us||{}),vN="cdk-high-contrast-black-on-white",CN="cdk-high-contrast-white-on-black",ZE="cdk-high-contrast-active",eS=(()=>{class t{_platform=u(Ue);_hasCheckedHighContrastMode;_document=u(ke);_breakpointSubscription;constructor(){this._breakpointSubscription=u(qm).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return us.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 us.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return us.BLACK_ON_WHITE}return us.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let e=this._document.body.classList;e.remove(ZE,vN,CN),this._hasCheckedHighContrastMode=!0;let i=this.getHighContrastMode();i===us.BLACK_ON_WHITE?e.add(ZE,vN):i===us.WHITE_ON_BLACK&&e.add(ZE,CN)}}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var tS={},Tt=(()=>{class t{_appId=u(ns);getId(e){return this._appId!=="ng"&&(e+=this._appId),tS.hasOwnProperty(e)||(tS[e]=0),`${e}${tS[e]++}`}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Rne=200,b_=class{_letterKeyStream=new V;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new V;selectedItem=this._selectedItem;constructor(n,e){let i=typeof e?.debounceInterval=="number"?e.debounceInterval:Rne;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($r(e=>this._pressedLetters.push(e)),zr(n),_t(()=>this._pressedLetters.length>0),tt(()=>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 od=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 Wi?this._itemChangesSubscription=n.changes.subscribe(i=>this._itemsChanged(i.toArray())):Eo(n)&&(this._effectRef=sn(()=>this._itemsChanged(n()),{injector:e}))}tabOut=new V;change=new V;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 b_(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 Eo(this._items)?this._items():this._items instanceof Wi?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 Al=class extends od{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}};var Rl=class extends od{_origin="program";setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}};var MN=" ";function ad(t,n,e){let i=D_(t,n);e=e.trim(),!i.some(r=>r.trim()===e)&&(i.push(e),t.setAttribute(n,i.join(MN)))}function ms(t,n,e){let i=D_(t,n);e=e.trim();let r=i.filter(o=>o!==e);r.length?t.setAttribute(n,r.join(MN)):t.removeAttribute(n)}function D_(t,n){return t.getAttribute(n)?.match(/\S+/g)??[]}var AN="cdk-describedby-message",w_="cdk-describedby-host",iS=0,E_=(()=>{class t{_platform=u(Ue);_document=u(ke);_messageRegistry=new Map;_messagesContainer=null;_id=`${iS++}`;constructor(){u(wt).load(_r),this._id=u(ns)+"-"+iS++}describe(e,i,r){if(!this._canBeDescribed(e,i))return;let o=nS(i,r);typeof i!="string"?(IN(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=nS(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(`[${w_}="${this._id}"]`);for(let i=0;i<e.length;i++)this._removeCdkDescribedByReferenceIds(e[i]),e[i].removeAttribute(w_);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(e,i){let r=this._document.createElement("div");IN(r,this._id),r.textContent=e,i&&r.setAttribute("role",i),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(nS(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=D_(e,"aria-describedby").filter(r=>r.indexOf(AN)!=0);e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){let r=this._messageRegistry.get(i);ad(e,"aria-describedby",r.messageElement.id),e.setAttribute(w_,this._id),r.referenceCount++}_removeMessageReference(e,i){let r=this._messageRegistry.get(i);r.referenceCount--,ms(e,"aria-describedby",r.messageElement.id),e.removeAttribute(w_)}_isElementDescribedByMessage(e,i){let r=D_(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 nS(t,n){return typeof t=="string"?`${n||""}/${t}`:t}function IN(t,n){t.id||(t.id=`${AN}-${n}-${iS++}`)}var ct=(()=>{class t{constructor(){u(eS)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ls,ls]})}return t})();function bn(t){return t==null?"":typeof t=="string"?t:`${t}px`}function fn(t){return t!=null&&`${t}`!="false"}function RN(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 Pne=[[["caption"]],[["colgroup"],["col"]],"*"],Fne=["caption","colgroup, col","*"];function One(t,n){t&1&&ae(0,2)}function Nne(t,n){t&1&&(v(0,"thead",0),ri(1,1),w(),v(2,"tbody",2),ri(3,3)(4,4),w(),v(5,"tfoot",0),ri(6,5),w())}function Lne(t,n){t&1&&ri(0,1)(1,3)(2,4)(3,5)}var sd=(()=>{class t extends YE{stickyCssClass="mat-mdc-table-sticky";needsPositionStickyOnElement=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({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:[De([{provide:YE,useExisting:t},{provide:Xr,useExisting:t},{provide:td,useClass:wl},{provide:l_,useValue:null}]),ee],ngContentSelectors:Fne,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(Pne),ae(0),ae(1,1),Ce(2,One,1,0),Ce(3,Nne,7,0)(4,Lne,4,0)),i&2&&(C(2),we(r._isServer?2:-1),C(),we(r._isNativeHtmlTable?3:4))},dependencies:[qE,UE,WE,GE],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})(),S_=(()=>{class t extends c_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matCellDef",""]],features:[De([{provide:c_,useExisting:t}]),ee]})}return t})(),x_=(()=>{class t extends d_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderCellDef",""]],features:[De([{provide:d_,useExisting:t}]),ee]})}return t})();var T_=(()=>{class t extends id{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=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},features:[De([{provide:id,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ee]})}return t})(),I_=(()=>{class t extends oN{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(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 k_=(()=>{class t extends aN{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(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 M_=(()=>{class t extends jm{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",$]},features:[De([{provide:jm,useExisting:t}]),ee]})}return t})();var A_=(()=>{class t extends u_{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},features:[De([{provide:u_,useExisting:t}]),ee]})}return t})(),R_=(()=>{class t extends $E{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({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:[De([{provide:$E,useExisting:t}]),ee],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ri(0,0)},dependencies:[El],encapsulation:2})}return t})();var P_=(()=>{class t extends HE{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[De([{provide:HE,useExisting:t}]),ee],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&ri(0,0)},dependencies:[El],encapsulation:2})}return t})();var PN=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,lN,ct]})}return t})();function rS(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var ld,ON=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function oS(){if(ld)return ld;if(typeof document!="object"||!document)return ld=new Set(ON),ld;let t=document.createElement("input");return ld=new Set(ON.filter(n=>(t.setAttribute("type",n),t.type===n))),ld}var NN={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 Vne=new A("MATERIAL_ANIMATIONS");var LN=null;function jne(){return u(Vne,{optional:!0})?.animationsDisabled||u(rs,{optional:!0})==="NoopAnimations"?"di-disabled":(LN??=u(h_).matchMedia("(prefers-reduced-motion)").matches,LN?"reduced-motion":"enabled")}function ft(){return jne()!=="enabled"}var vi=(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})(vi||{}),aS=class{_renderer;element;config;_animationForciblyDisabledThroughCss;state=vi.HIDDEN;constructor(n,e,i,r=!1){this._renderer=n,this.element=e,this.config=i,this._animationForciblyDisabledThroughCss=r}fadeOut(){this._renderer.fadeOutRipple(this)}},VN=ds({passive:!0,capture:!0}),sS=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,VN)})}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,VN)))}_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))})}},Ym={enterDuration:225,exitDuration:150},Bne=800,jN=ds({passive:!0,capture:!0}),BN=["mousedown","touchstart"],zN=["mouseup","mouseleave","touchend","touchcancel"],zne=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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})(),Pl=class t{_target;_ngZone;_platform;_containerElement;_triggerElement;_isPointerDown=!1;_activeRipples=new Map;_mostRecentTransientRipple;_lastTouchStartEvent;_pointerUpEventsRegistered=!1;_containerRect;static _eventManager=new sS;constructor(n,e,i,r,o){this._target=n,this._ngZone=e,this._platform=r,r.isBrowser&&(this._containerElement=ln(i)),o&&o.get(wt).load(zne)}fadeInRipple(n,e,i={}){let r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=k(k({},Ym),i.animation);i.centered&&(n=r.left+r.width/2,e=r.top+r.height/2);let a=i.radius||$ne(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 aS(this,d,i,p);d.style.transform="scale3d(1, 1, 1)",b.state=vi.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(Y),this._finishRippleTransition(b)},P=()=>this._destroyRipple(b),Y=setTimeout(P,c+100);d.addEventListener("transitionend",E),d.addEventListener("transitioncancel",P),D={onTransitionEnd:E,onTransitionCancel:P,fallbackTimer:Y}}),this._activeRipples.set(b,D),(p||!c)&&this._finishRippleTransition(b),b}fadeOutRipple(n){if(n.state===vi.FADING_OUT||n.state===vi.HIDDEN)return;let e=n.element,i=k(k({},Ym),n.config.animation);e.style.transitionDuration=`${i.exitDuration}ms`,e.style.opacity="0",n.state=vi.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=ln(n);!this._platform.isBrowser||!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,BN.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(()=>{zN.forEach(e=>{this._triggerElement.addEventListener(e,this,jN)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(n){n.state===vi.FADING_IN?this._startFadeOutTransition(n):n.state===vi.FADING_OUT&&this._destroyRipple(n)}_startFadeOutTransition(n){let e=n===this._mostRecentTransientRipple,{persistent:i}=n.config;n.state=vi.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=vi.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=Sl(n),i=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+Bne;!this._target.rippleDisabled&&!e&&!i&&(this._isPointerDown=!0,this.fadeInRipple(n.clientX,n.clientY,this._target.rippleConfig))}_onTouchStart(n){if(!this._target.rippleDisabled&&!xl(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===vi.VISIBLE||n.config.terminateOnPointerUp&&n.state===vi.FADING_IN;!n.config.persistent&&e&&n.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){let n=this._triggerElement;n&&(BN.forEach(e=>t._eventManager.removeHandler(e,n,this)),this._pointerUpEventsRegistered&&(zN.forEach(e=>n.removeEventListener(e,this,jN)),this._pointerUpEventsRegistered=!1))}};function $ne(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 fs=new A("mat-ripple-global-options"),br=(()=>{class t{_elementRef=u(K);_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(Ue),r=u(fs,{optional:!0}),o=u(Re);this._globalOptions=r||{},this._rippleRenderer=new Pl(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:k(k(k({},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,k(k({},this.rippleConfig),r)):this._rippleRenderer.fadeInRipple(0,0,k(k({},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 Hne={capture:!0},Une=["focus","mousedown","mouseenter","touchstart"],lS="mat-ripple-loader-uninitialized",cS="mat-ripple-loader-class-name",$N="mat-ripple-loader-centered",F_="mat-ripple-loader-disabled",HN=(()=>{class t{_document=u(ke);_animationsDisabled=ft();_globalRippleOptions=u(fs,{optional:!0});_platform=u(Ue);_ngZone=u(J);_injector=u(Re);_eventCleanups;_hosts=new Map;constructor(){let e=u(tn).createRenderer(null,null);this._eventCleanups=this._ngZone.runOutsideAngular(()=>Une.map(i=>e.listen(this._document,i,this._onInteraction,Hne)))}ngOnDestroy(){let e=this._hosts.keys();for(let i of e)this.destroyRipple(i);this._eventCleanups.forEach(i=>i())}configureRipple(e,i){e.setAttribute(lS,this._globalRippleOptions?.namespace??""),(i.className||!e.hasAttribute(cS))&&e.setAttribute(cS,i.className||""),i.centered&&e.setAttribute($N,""),i.disabled&&e.setAttribute(F_,"")}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(F_,""):e.removeAttribute(F_)}_onInteraction=e=>{let i=mn(e);if(i instanceof HTMLElement){let r=i.closest(`[${lS}="${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(cS)),e.append(i);let r=this._globalRippleOptions,o=this._animationsDisabled?0:r?.animation?.enterDuration??Ym.enterDuration,a=this._animationsDisabled?0:r?.animation?.exitDuration??Ym.exitDuration,s={rippleDisabled:this._animationsDisabled||r?.disabled||e.hasAttribute(F_),rippleConfig:{centered:e.hasAttribute($N),terminateOnPointerUp:r?.terminateOnPointerUp,animation:{enterDuration:o,exitDuration:a}}},l=new Pl(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(lS)}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=M({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 qne=["mat-icon-button",""],Gne=["*"],Wne=new A("MAT_BUTTON_CONFIG");function UN(t){return t==null?void 0:Zt(t)}var O_=(()=>{class t{_elementRef=u(K);_ngZone=u(J);_animationsDisabled=ft();_config=u(Wne,{optional:!0});_focusMonitor=u(Qi);_cleanupClick;_renderer=u(yt);_rippleLoader=u(HN);_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",UN],_tabindex:[2,"tabindex","_tabindex",UN]}})}return t})(),to=(()=>{class t extends O_{constructor(){super(),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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:qne,ngContentSelectors:Gne,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(),ii(0,"span",0),ae(1),ii(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 cd=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var Yne=["matButton",""],WN=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],YN=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],Kne=["mat-fab",""];var qN=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 O_{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?qN.get(this._appearance):null,o=qN.get(e);r&&i.remove(...r),i.add(...o),this._appearance=e}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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:Yne,ngContentSelectors:YN,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(WN),ii(0,"span",0),ae(1),xn(2,"span",1),ae(3,1),Rn(),ae(4,2),ii(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 Zne=new A("mat-mdc-fab-default-options",{providedIn:"root",factory:KN});function KN(){return{color:"accent"}}var GN=KN(),QN=(()=>{class t extends O_{_options=u(Zne,{optional:!0});_isFab=!0;extended;constructor(){super(),this._options=this._options||GN,this.color=this._options.color||GN.color}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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:Kne,ngContentSelectors:YN,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(WN),ii(0,"span",0),ae(1),xn(2,"span",1),ae(3,1),Rn(),ae(4,2),ii(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,cd,ct]})}return t})();var N_;function Xne(){if(N_===void 0&&(N_=null,typeof window<"u")){let t=window;t.trustedTypes!==void 0&&(N_=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return N_}function Qm(t){return Xne()?.createHTML(t)||t}function ZN(t){return Error(`Unable to find icon with the name "${t}"`)}function Jne(){return Error("Could not find HttpClient for use with Angular Material icons. Please add provideHttpClient() to your providers.")}function XN(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function JN(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}var ba=class{url;svgText;options;svgElement;constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}},tL=(()=>{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 ba(r,null,o))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,r,o){let a=this._sanitizer.sanitize(bi.HTML,r);if(!a)throw JN(r);let s=Qm(a);return this._addSvgIconConfig(e,i,new ba("",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 ba(i,null,r))}addSvgIconSetLiteralInNamespace(e,i,r){let o=this._sanitizer.sanitize(bi.HTML,i);if(!o)throw JN(i);let a=Qm(o);return this._addSvgIconSetConfig(e,new ba("",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(bi.RESOURCE_URL,e);if(!i)throw XN(e);let r=this._cachedIconsByUrl.get(i);return r?en(L_(r)):this._loadSvgIconFromConfig(new ba(e,null)).pipe($r(o=>this._cachedIconsByUrl.set(i,o)),tt(o=>L_(o)))}getNamedSvgIcon(e,i=""){let r=eL(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):R0(ZN(r))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?en(L_(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(tt(i=>L_(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(xp(s=>{let c=`Loading icon set URL: ${this._sanitizer.sanitize(bi.RESOURCE_URL,a.url)} failed: ${s.message}`;return this._errorHandler.handleError(new Error(c)),en(null)})));return $u(o).pipe(tt(()=>{let a=this._extractIconWithNameFromAnySet(e,i);if(!a)throw ZN(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($r(i=>e.svgText=i),tt(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?en(null):this._fetchIcon(e).pipe($r(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 Jne();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let a=this._sanitizer.sanitize(bi.RESOURCE_URL,i);if(!a)throw XN(i);let s=this._inProgressUrlFetches.get(a);if(s)return s;let l=this._httpClient.get(a,{responseType:"text",withCredentials:o}).pipe(tt(c=>Qm(c)),Ip(()=>this._inProgressUrlFetches.delete(a)),Uu());return this._inProgressUrlFetches.set(a,l),l}_addSvgIconConfig(e,i,r){return this._svgIconConfigs.set(eL(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 eie(o)?new ba(o.url,null,o.options):new ba(o,null)}}static \u0275fac=function(i){return new(i||t)(ze(ME,8),ze(RE),ze(ke,8),ze(Mn))};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function L_(t){return t.cloneNode(!0)}function eL(t,n){return t+":"+n}function eie(t){return!!(t.url&&t.options)}var tie=["*"],nie=new A("MAT_ICON_DEFAULT_OPTIONS"),iie=new A("mat-icon-location",{providedIn:"root",factory:rie});function rie(){let t=u(ke),n=t?t.location:null;return{getPathname:()=>n?n.pathname+n.search:""}}var nL=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],oie=nL.map(t=>`[${t}]`).join(", "),aie=/^url\(['"]?#(.*?)['"]?\)$/,Ao=(()=>{class t{_elementRef=u(K);_iconRegistry=u(tL);_location=u(iie);_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(nie,{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(oie),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let o=0;o<i.length;o++)nL.forEach(a=>{let s=i[o],l=s.getAttribute(a),c=l?l.match(aie):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=M({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:tie,decls:1,vars:0,template:function(i,r){i&1&&(Be(),ae(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})(),hs=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();function mS(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"?oL(t,n):(i==="input"||i==="select"||i==="textarea")&&rL(t,n),iL("canvas",t,n,oL),iL("input, textarea, select",t,n,rL),n}function iL(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 sie=0;function rL(t,n){n.type!=="file"&&(n.value=t.value),n.type==="radio"&&n.name&&(n.name=`mat-clone-${n.name}-${sie++}`)}function oL(t,n){let e=n.getContext("2d");if(e)try{e.drawImage(t,0,0)}catch{}}function yS(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 fS(t,n,e){let{top:i,bottom:r,left:o,right:a}=t;return e>=i&&e<=r&&n>=o&&n<=a}function lie(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 Jm(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function aL(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 j_=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:yS(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)&&Jm(c.clientRect,s,l)}),r.top=o,r.left=a,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function bL(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 bS(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 dd(t,n){let e=n?"":"none";bS(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 sL(t,n,e){bS(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function B_(t,n){return n&&n!="none"?t+" "+n:t}function lL(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=ef(n.left,n.top)}function ef(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}function cL(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function cie(t){let n=getComputedStyle(t),e=dS(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),o=dS(n,"transition-duration"),a=dS(n,"transition-delay");return cL(o[r])+cL(a[r])}function dS(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var die=new Set(["position"]),hS=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),dL(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 cie(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=bL(a,this._document),this._previewEmbeddedView=a,n.matchSize?lL(r,o):r.style.transform=ef(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=mS(this._rootElement),lL(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return bS(r.style,{"pointer-events":"none",margin:dL(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},die),dd(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 dL(t){return"showPopover"in t}var uie={passive:!0},uL={passive:!1},mie={passive:!1,capture:!0},fie=800,mL="cdk-drag-placeholder",fL=new Set(["position"]),pS=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 V;_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=>dd(e,n)))}_disabled=!1;beforeStarted=new V;started=new V;released=new V;ended=new V;entered=new V;exited=new V;dropped=new V;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 j_(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=>ln(i)),this._handles.forEach(i=>dd(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=ln(n);if(e!==this._rootElement){this._removeRootElementListeners();let i=this._renderer;this._rootElementCleanups=this._ngZone.runOutsideAngular(()=>[i.listen(e,"mousedown",this._pointerDown,uL),i.listen(e,"touchstart",this._pointerDown,uie),i.listen(e,"dragstart",this._nativeDragStart,uL)]),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?ln(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&&lie(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=ef(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),dd(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),dd(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){Zm(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",hie,mie)}),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 hS(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)),sL(r,!1,fL),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=Zm(e),o=!r&&e.button!==0,a=this._rootElement,s=mn(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+fie>Date.now(),c=r?xl(e):Sl(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=yS(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){sL(this._rootElement,!0,fL),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=bL(this._placeholderRef,this._document)):i=mS(this._rootElement),i.style.pointerEvents="none",i.classList.add(mL),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,o=r?r.getBoundingClientRect():n,a=Zm(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=Zm(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=hL(i,f,h),r=hL(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,dd(this._rootElement,n))}_removeRootElementListeners(){this._rootElementCleanups?.forEach(n=>n()),this._rootElementCleanups=void 0}_applyRootElementTransform(n,e){let i=1/this.scale,r=ef(n*i,e*i),o=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=o.transform&&o.transform!="none"?o.transform:""),o.transform=B_(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=ef(n,e);this._preview.setTransform(B_(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:Zm(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)&&Jm(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=Tl(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 ln(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??=mS(this._placeholder);r.classList.remove(mL),r.classList.add("cdk-drag-anchor"),r.style.transform="",i?i.before(r):ln(e.element).appendChild(r)}}};function hL(t,n,e){return Math.max(n,Math.min(e,t))}function Zm(t){return t.type[0]==="t"}function hie(t){t.preventDefault()}function $_(t,n,e){let i=pL(n,t.length-1),r=pL(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 pL(t,n){return Math.max(0,Math.min(n,t))}var z_=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 $_(o,l,a),o.forEach((D,E)=>{if(b[E]===D)return;let P=D.drag===n,Y=P?h:p,ce=P?n.getPlaceholderElement():D.drag.getRootElement();D.offset+=Y;let re=Math.round(D.offset*(1/D.drag.scale));s?(ce.style.transform=B_(`translate3d(${re}px, 0, 0)`,D.initialTransform),Jm(D.clientRect,0,Y)):(ce.style.transform=B_(`translate3d(0, ${re}px, 0)`,D.initialTransform),Jm(D.clientRect,Y,0))}),this._previousSwap.overlaps=fS(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})=>{Jm(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:yS(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}},gS=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),$_(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=Tl(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}},gL=.05,vL=.05,Cr=(function(t){return t[t.NONE=0]="NONE",t[t.UP=1]="UP",t[t.DOWN=2]="DOWN",t})(Cr||{}),Ci=(function(t){return t[t.NONE=0]="NONE",t[t.LEFT=1]="LEFT",t[t.RIGHT=2]="RIGHT",t})(Ci||{}),_S=class{_dragDropRegistry;_ngZone;_viewportRuler;element;disabled=!1;sortingDisabled=!1;lockAxis;autoScrollDisabled=!1;autoScrollStep=2;hasAnchor=!1;enterPredicate=()=>!0;sortPredicate=()=>!0;beforeStarted=new V;entered=new V;exited=new V;dropped=new V;sorted=new V;receivingStarted=new V;receivingStopped=new V;data;_container;_isDragging=!1;_parentPositions;_sortStrategy;_domRect;_draggables=[];_siblings=[];_activeSiblings=new Set;_viewportScrollSubscription=be.EMPTY;_verticalScrollDirection=Cr.NONE;_horizontalScrollDirection=Ci.NONE;_scrollNode;_stopScrollTimers=new V;_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=ln(n);this._document=i,this.withOrientation("vertical").withElementContainer(a),e.registerDropContainer(this),this._parentPositions=new j_(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 z_&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new gS(this._document,this._dragDropRegistry);else{let e=new z_(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=ln(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||!aL(this._domRect,gL,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=Ci.NONE;if(this._parentPositions.positions.forEach((a,s)=>{s===this._document||!a.clientRect||i||aL(a.clientRect,gL,n,e)&&([r,o]=pie(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=CL(l,e),o=wL(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(),F0(0,sp).pipe(Ye(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===Ci.LEFT?n.scrollBy(-e,0):this._horizontalScrollDirection===Ci.RIGHT&&n.scrollBy(e,0)})};_isOverContainer(n,e){return this._domRect!=null&&fS(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||!fS(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=Tl(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 CL(t,n){let{top:e,bottom:i,height:r}=t,o=r*vL;return n>=e-o&&n<=e+o?Cr.UP:n>=i-o&&n<=i+o?Cr.DOWN:Cr.NONE}function wL(t,n){let{left:e,right:i,width:r}=t,o=r*vL;return n>=e-o&&n<=e+o?Ci.LEFT:n>=i-o&&n<=i+o?Ci.RIGHT:Ci.NONE}function pie(t,n,e,i,r){let o=CL(n,r),a=wL(n,i),s=Cr.NONE,l=Ci.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===Ci.RIGHT?c<0&&(l=Ci.RIGHT):t.scrollWidth+c>t.clientWidth&&(l=Ci.LEFT):a===Ci.LEFT?c>0&&(l=Ci.LEFT):t.scrollWidth-c>t.clientWidth&&(l=Ci.RIGHT)}return[s,l]}var Xm={capture:!0},uS={passive:!1,capture:!0},gie=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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})(),DL=(()=>{class t{_ngZone=u(J);_document=u(ke);_styleLoader=u(wt);_renderer=u(tn).createRenderer(null,null);_cleanupDocumentTouchmove;_scroll=new V;_dropInstances=new Set;_dragInstances=new Set;_activeDragInstances=pe([]);_globalListeners;_draggingPredicate=e=>e.isDragging();_domNodesToDirectives=null;pointerMove=new V;pointerUp=new V;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,uS)})}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(gie),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),Xm],["selectstart",this._preventDefaultWhileDragging,uS]];r?a.push(["touchend",o,Xm],["touchcancel",o,Xm]):a.push(["mouseup",o,Xm]),r||a.push(["mousemove",s=>this.pointerMove.next(s),uS]),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 Ve(r=>this._ngZone.runOutsideAngular(()=>{let o=this._renderer.listen(e,"scroll",a=>{this._activeDragInstances().length&&r.next(a)},Xm);return()=>{o()}}))),Ft(...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})(),_ie={dragStartThreshold:5,pointerDirectionChangeThreshold:5},EL=(()=>{class t{_document=u(ke);_ngZone=u(J);_viewportRuler=u(On);_dragDropRegistry=u(DL);_renderer=u(tn).createRenderer(null,null);constructor(){}createDrag(e,i=_ie){return new pS(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry,this._renderer)}createDropList(e){return new _S(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})(),_L=new A("CDK_DRAG_PARENT");var yie=new A("CdkDragHandle");var SL=new A("CDK_DRAG_CONFIG"),xL=new A("CdkDropList"),TL=(()=>{class t{element=u(K);dropContainer=u(xL,{optional:!0,skipSelf:!0});_ngZone=u(J);_viewContainerRef=u(rt);_dir=u(Ot,{optional:!0});_changeDetectorRef=u(Ae);_selfHandle=u(yie,{optional:!0,self:!0});_parentDrag=u(_L,{optional:!0,skipSelf:!0});_dragDropRegistry=u(DL);_destroyed=new V;_handles=new Ii([]);_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 Ve(e=>{let i=this._dragRef.moved.pipe(tt(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(SL,{optional:!0}),r=u(EL);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(Ye(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(){Vt(()=>{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):ln(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:li(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($r(e=>{let i=e.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),Xn(e=>Ft(...e.map(i=>i._stateChanges.pipe(Nt(i))))),Ye(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:[De([{provide:_L,useExisting:t}]),it]})}return t})(),yL=new A("CdkDropListGroup");var IL=(()=>{class t{element=u(K);_changeDetectorRef=u(Ae);_scrollDispatcher=u(Zr);_dir=u(Ot,{optional:!0});_group=u(yL,{optional:!0,skipSelf:!0});_latestSortedRefs;_destroyed=new V;_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(EL),i=u(SL,{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(Nt(this._dir.value),Ye(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=Jr(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=li(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()}),Ft(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:[De([{provide:yL,useValue:void 0},{provide:xL,useExisting:t}])]})}return t})();var no=[{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 H_=[{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 Cie={animalCategoryPRIF:no,utilisation:H_},wr=class t{i18n=u(Gn);locale=this.i18n.locale;indices=Object.fromEntries(Object.entries(Cie).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 wie(t,n){t&1&&ue(0,"th",19)}function Die(t,n){t&1&&(v(0,"td",20)(1,"mat-icon",21),O(2,"drag_handle"),w()())}function Eie(t,n){t&1&&(v(0,"th",22),O(1),Rt(2,"t"),w()),t&2&&(C(),ie(Wt(2,1,"animalStock.table.header.animalCategory")()))}function Sie(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),ie(i.resolveAnimalCategory(e.animalCategoryPRIF))}}function xie(t,n){t&1&&(v(0,"th",22),O(1),Rt(2,"t"),w()),t&2&&(C(),ie(Wt(2,1,"animalStock.table.header.utilisation")()))}function Tie(t,n){if(t&1&&(v(0,"td",23),O(1),w()),t&2){let e=n.$implicit,i=T(2);C(),ie(i.resolveUtilisation(e.utilisation))}}function Iie(t,n){t&1&&(v(0,"th",26),O(1),Rt(2,"t"),w()),t&2&&(C(),ie(Wt(2,1,"animalStock.table.header.actions")()))}function kie(t,n){if(t&1){let e=Oe();v(0,"td",27)(1,"div",28)(2,"button",29),L("click",function(r){let o=q(e).index,a=T(2);return G(a.onDelete(o,r))}),v(3,"mat-icon"),O(4,"delete"),w()()()()}}function Mie(t,n){t&1&&ue(0,"tr",30)}function Aie(t,n){if(t&1){let e=Oe();v(0,"tr",31),L("click",function(){let r=q(e).index,o=T(2);return G(o.select.emit(r))}),w()}if(t&2){let e=n.$implicit;x("cdkDragData",e)}}function Rie(t,n){if(t&1){let e=Oe();v(0,"table",6),L("cdkDropListDropped",function(r){q(e);let o=T();return G(o.drop(r))}),Yi(1,7),Te(2,wie,1,0,"th",8)(3,Die,3,0,"td",9),Ki(),Yi(4,10),Te(5,Eie,3,3,"th",11)(6,Sie,4,1,"td",12),Ki(),Yi(7,13),Te(8,xie,3,3,"th",11)(9,Tie,2,1,"td",12),Ki(),Yi(10,14),Te(11,Iie,3,3,"th",15)(12,kie,5,0,"td",16),Ki(),Te(13,Mie,1,0,"tr",17)(14,Aie,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 Pie(t,n){t&1&&(v(0,"p"),O(1,"No animal stock entries yet."),w())}var U_=class t{masterData=u(wr);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=M({type:t,selectors:[["app-animal-stock-list"]],viewQuery:function(e,i){if(e&1&&_e(sd,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),Rt(4,"t"),w()(),Ce(5,Rie,15,4,"table",3)(6,Pie,2,0,"p"),v(7,"div",4)(8,"button",5),L("click",function(){return i.add.emit()}),v(9,"mat-icon"),O(10,"add"),w(),O(11),Rt(12,"t"),w()()()),e&2&&(C(3),ie(Wt(4,3,"animalStock.list.title")()),C(2),we(i.rows().length?5:6),C(6),un(" ",Wt(12,5,"animalStock.list.add")()))},dependencies:[PN,sd,x_,M_,T_,S_,A_,I_,k_,R_,P_,Zi,vr,to,hs,Ao,IL,TL,si],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(AS()),zI=st(VS()),jG=st(Ro()),BG=st(bj()),Ln=st(hf()),$I=st(wB()),HI=st(Kz()),UI=st(vn()),qI=st(l$()),zG=st(zf()),$G=st(KU()),FI=st(s3()),GI=st(ZT()),HG=st(Qy()),Ud=st(eb()),UG=st(Z4()),qG=st(aG()),GG=st(ud()),WG=st(AI()),YG=st(pG()),jTe=st(bG()),BTe=st(kI()),OI=st(DG()),KG=st(AG()),zTe=st(PG());var db="additionalProperties",ub="required",$Te=(t,n)=>{let e={};return t.filter(i=>{let r=n(i);return Object.prototype.hasOwnProperty.call(e,r)?!1:(e[r]=!0,!0)})},NI=class{constructor(n){this.findOption=n,this.schemaObject=e=>{let i=this.properties(e),r={type:"object",properties:i,additionalProperties:this.findOption(i)(db)},o=this.findOption(i)(ub);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=$Te(i,o=>JSON.stringify(o));return r.length===1?{type:"array",items:r[0]}:{type:"array",items:{oneOf:r}}}else return{type:"array",items:{}}}}},qd=(t,n={})=>{let e=r=>o=>{switch(o){case db:return Object.prototype.hasOwnProperty.call(n,db)?n[db]:!0;case ub:return Object.prototype.hasOwnProperty.call(n,ub)?n[ub](r):Object.keys(r);default:return}};return new NI(e).schemaObject(t)},WI=new Set,QG=(t,n)=>n<=1?t:t+n.toString(),HTe=(t,n)=>{let e=QG(t,n);return!WI.has(e)},ZG=t=>{t===void 0&&(t="undefined");let n=0;for(;!HTe(t,n);)n++;let e=QG(t,n);return WI.add(e),e},XG=t=>WI.delete(t);var JG=(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}`},e8=t=>{let i=t.replace(/(anyOf|allOf|oneOf)\/[\d]+\//g,"").replace(/(then|else)\//g,"").split("/").map(Yl),o=i[0]==="#"||i[0]===""?2:1;return(0,BG.default)(o,i.length,2).map(a=>i[a])};var YI=t=>t?.replace(/~/g,"~0").replace(/\//g,"~1"),Yl=t=>t?.replace(/~1/g,"/").replace(/~0/,"~");var RI=(t,n)=>{if(n&&typeof n.title=="string")return n.title;if(typeof t.scope=="string"){let e=t.scope,i=Yl(e.substr(e.lastIndexOf("/")+1));return(0,zI.default)(i)}return""};var UTe=(t,n)=>{let e=t.label;if(typeof e=="boolean")return cb(RI(t,n),e);if(typeof e=="string")return cb(e,!0);if(typeof e=="object"){let i=typeof e.text=="string"?e.text:RI(t,n),r=typeof e.show=="boolean"?e.show:!0;return cb(i,r)}return cb(RI(t,n),!0)},cb=(t,n)=>({text:t,show:n});var mb=(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 qTe=t=>t==="#"||t===void 0||t==="",Ir=(t,n,e)=>{let i=n?.split("/").map(Yl);return fb(t,i,e)},fb=(t,n,e)=>{if(typeof t?.$ref=="string"&&(t=Ir(e,t.$ref,e)),!n||n.length===0)return t;if((0,St.default)(t))return;let[i,...r]=n;if(qTe(i))return fb(t,r,e);let o=(0,Ln.default)(t,i),a=fb(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=fb(c,[i,...r],e),s)break;return s}};var Ma=(function(t){return t.HIDE="HIDE",t.SHOW="SHOW",t.ENABLE="ENABLE",t.DISABLE="DISABLE",t})(Ma||{}),t8=t=>n=>{n.options||(n.options={}),n.options.readonly=t},Qf=t=>{KI(t,t8(!0))},n8=t=>{KI(t,t8(!1))},KI=(t,n)=>{if(!(0,St.default)(t)){if(r8(t)){t.elements.forEach(e=>KI(e,n));return}n(t)}};var Gd=(t,n)=>{if(!YTe(t))return n??"";let e=e8(t.scope);return(0,St.default)(e)?n??"":JG(n,e.join("."))},i8=t=>typeof t=="object"&&t!==null&&typeof t.i18n=="string",GTe=t=>t.type==="Group",r8=t=>t.elements!==void 0,WTe=t=>!!t&&typeof t=="object",YTe=t=>WTe(t)&&typeof t.scope=="string",KTe=t=>!!t&&typeof t=="object";var QTe=t=>t.type==="OR",ZTe=t=>t.type==="AND",XTe=t=>t.type==="LEAF",JTe=t=>(0,$I.default)(t,"schema"),eIe=t=>(0,$I.default)(t,"validate")&&typeof t.validate=="function",PI=(t,n)=>Gd(t,n),LI=(t,n,e,i,r)=>{if(ZTe(e))return e.conditions.reduce((o,a)=>o&&LI(t,n,a,i,r),!0);if(QTe(e))return e.conditions.reduce((o,a)=>o||LI(t,n,a,i,r),!1);if(XTe(e))return mb(t,PI(e,i))===e.expectedValue;if(JTe(e)){let o=mb(t,PI(e,i));return e.failWhenUndefined&&o===void 0?!1:r.validate(e.schema,o)}else if(eIe(e)){let a={data:mb(t,PI(e,i)),fullData:t,path:i,uischemaElement:n};return e.validate(a)}else return!0},o8=(t,n,e,i)=>{let r=t.rule.condition;return LI(n,t,r,e,i)},tIe=(t,n,e=void 0,i)=>{let r=o8(t,n,e,i);switch(t.rule.effect){case Ma.HIDE:return!r;case Ma.SHOW:return r;default:return!0}},nIe=(t,n,e=void 0,i)=>{let r=o8(t,n,e,i);switch(t.rule.effect){case Ma.DISABLE:return!r;case Ma.ENABLE:return r;default:return!0}},QI=t=>!!(t.rule&&(t.rule.effect===Ma.SHOW||t.rule.effect===Ma.HIDE)),iIe=t=>!!(t.rule&&(t.rule.effect===Ma.ENABLE||t.rule.effect===Ma.DISABLE)),Kl=(t,n,e=void 0,i)=>t.rule?tIe(t,n,e,i):!0,rIe=(t,n,e=void 0,i)=>t.rule?nIe(t,n,e,i):!0,a8=t=>{if(t&&typeof t=="object"&&"properties"in t&&t.properties)return(0,HI.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")})},pb=t=>!!t&&Object.prototype.hasOwnProperty.call(t,"oneOf")&&t.oneOf&&t.oneOf.every(n=>n.const!==void 0),oIe=t=>!!t&&typeof t=="object"&&(Object.prototype.hasOwnProperty.call(t,"enum")||Object.prototype.hasOwnProperty.call(t,"const")),aIe=(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 mi=(t,n)=>(0,qI.default)(ka(t),n),ka=t=>{if((0,St.default)(t))return[];if(!(0,St.default)(t.type)&&typeof t.type=="string")return[t.type];if((0,UI.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"):ka(e).forEach(i=>n.add(i))}),Array.from(n)}if(!(0,St.default)(t.allOf)){let n=(0,HI.default)(t.allOf,e=>ka(e).length!==0);if(n)return ka(n)}return[]},Aa={schema:Ir,data:mb},sIe=t=>e8(t.scope).join("."),ZI={compose:JG,fromScoped:sIe};var lIe=t=>{let n=new zG.default(k({allErrors:!0,verbose:!0,strict:!1,addUsedSchema:!1},t));return(0,$G.default)(n),n},Ia=(t,n)=>t===void 0?[]:t(n)?[]:t.errors,XI="YYYY-MM-DD";var cIe=t=>{switch(t.keyword){case"required":case"dependencies":return t.params.missingProperty;case"additionalProperties":return t.params.additionalProperty;default:return}},VI=t=>{let n=t.dataPath||t.instancePath||"";n=n.replace(/\//g,".");let e=cIe(t);return e!==void 0&&!n.endsWith(e)&&(n=`${n}.${e}`),n=n.replace(/^./,""),n=Yl(n),n},dIe=(t,n,e)=>i=>{let r=(0,FI.default)(i,o=>o.keyword==="oneOf"||o.keyword==="anyOf").map(o=>VI(o));return(0,FI.default)(i,o=>{if(mIe.indexOf(o.keyword)!==-1&&!pb(o.parentSchema))return!1;let a=VI(o),s=e(a),l=o.parentSchema;return s&&!uIe(l)&&!pb(l)&&r.findIndex(c=>t.startsWith(c))!==-1&&(s=s&&(0,GI.default)(l,n)),s})},uIe=t=>t?.type==="object"||!!t?.properties,mIe=["additionalProperties","allOf","anyOf","oneOf"],fIe=t=>t==null?"":t.join(`
29
+ `);var s8=t=>({type:t,elements:[]}),hb=t=>({type:"Control",scope:t}),hIe=(t,n)=>{if(!(0,St.default)(t)&&!r8(t)){let e=s8(n);return e.elements.push(t),e}return t},pIe=(t,n)=>{if(!(0,St.default)(n)){let e=(0,zI.default)(n);if(GTe(t))t.label=e;else{let i={type:"Label",text:e};t.elements.push(i)}}},gIe=t=>!(0,St.default)(t)&&(!(0,St.default)(t.oneOf)||!(0,St.default)(t.anyOf)||!(0,St.default)(t.allOf)),jI=(t,n,e,i,r,o)=>{if(!(0,St.default)(t)&&t.$ref!==void 0)return jI(Ir(o,t.$ref,o),n,e,i,r,o);if(gIe(t)){let s=hb(e);return n.push(s),s}let a=ka(t);if(a.length===0)return null;if(a.length>1){let s=hb(e);return n.push(s),s}if(e==="#"&&a[0]==="object"){let s=s8(r);if(n.push(s),t.properties&&(0,jG.default)(t.properties).length>1&&pIe(s,i),!(0,St.default)(t.properties)){let l=e+"/properties";Object.keys(t.properties).map(c=>{let d=t.properties[c],m=`${l}/${YI(c)}`;d.$ref!==void 0&&(d=Ir(o,d.$ref,o)),jI(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=hb(e);return n.push(s),s}default:throw new Error("Unknown type: "+JSON.stringify(t))}},Wd=(t,n="VerticalLayout",e="#",i=t)=>hIe(jI(t,[],e,"",n,i),n),gb={jsonSchema:qd,uiSchema:Wd,controlElement:hb},JI="jsonforms/INIT",ek="jsonforms/UPDATE_CORE",tk="jsonforms/SET_AJV",nk="jsonforms/UPDATE",ik="jsonforms/UPDATE_ERRORS",_Ie="jsonforms/VALIDATE",l8="jsonforms/ADD_RENDERER",c8="jsonforms/REMOVE_RENDERER",d8="jsonforms/ADD_CELL",u8="jsonforms/REMOVE_CELL",rk="jsonforms/SET_CONFIG",ok="jsonforms/ADD_UI_SCHEMA",ak="jsonforms/REMOVE_UI_SCHEMA",sk="jsonforms/SET_SCHEMA",lk="jsonforms/SET_UISCHEMA",ck="jsonforms/SET_VALIDATION_MODE",dk="jsonforms/SET_LOCALE",uk="jsonforms/SET_TRANSLATOR",mk="jsonforms/UPDATE_I18N",m8="jsonforms/ADD_DEFAULT_DATA",f8="jsonforms/REMOVE_DEFAULT_DATA",yIe=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}},bIe=(t,n=qd(t),e,i)=>({type:JI,data:t,schema:n,uischema:typeof e=="object"?e:Wd(n),options:i}),vIe=(t,n,e,i)=>({type:ek,data:t,schema:n,uischema:e,options:i}),CIe=(t,n)=>({type:m8,schemaPath:t,data:n}),wIe=t=>({type:f8,schemaPath:t}),DIe=t=>({type:tk,ajv:t}),Wf=(t,n,e)=>({type:nk,path:t,updater:n,context:e}),EIe=t=>({type:ik,errors:t}),SIe=(t,n)=>({type:l8,tester:t,renderer:n}),xIe=(t,n)=>({type:d8,tester:t,cell:n}),TIe=(t,n)=>({type:u8,tester:t,cell:n}),IIe=(t,n)=>({type:c8,tester:t,renderer:n}),fk=t=>({type:rk,config:t}),kIe=t=>({type:ck,validationMode:t}),MIe=(t,n)=>({type:ok,tester:t,uischema:n}),AIe=t=>({type:ak,tester:t}),RIe=t=>({type:dk,locale:t}),PIe=t=>({type:sk,schema:t}),FIe=(t,n)=>({type:uk,translator:t,errorTranslator:n}),hk=(t,n,e)=>({type:mk,locale:t,translator:n,errorTranslator:e}),OIe=t=>({type:lk,uischema:t}),xi=Object.freeze({__proto__:null,INIT:JI,UPDATE_CORE:ek,SET_AJV:tk,UPDATE_DATA:nk,UPDATE_ERRORS:ik,VALIDATE:_Ie,ADD_RENDERER:l8,REMOVE_RENDERER:c8,ADD_CELL:d8,REMOVE_CELL:u8,SET_CONFIG:rk,ADD_UI_SCHEMA:ok,REMOVE_UI_SCHEMA:ak,SET_SCHEMA:sk,SET_UISCHEMA:lk,SET_VALIDATION_MODE:ck,SET_LOCALE:dk,SET_TRANSLATOR:uk,UPDATE_I18N:mk,ADD_DEFAULT_DATA:m8,REMOVE_DEFAULT_DATA:f8,isUpdateArrayContext:yIe,init:bIe,updateCore:vIe,registerDefaultData:CIe,unregisterDefaultData:wIe,setAjv:DIe,update:Wf,updateErrors:EIe,registerRenderer:SIe,registerCell:xIe,unregisterCell:TIe,unregisterRenderer:IIe,setConfig:fk,setValidationMode:kIe,registerUISchema:MIe,unregisterUISchema:AIe,setLocale:RIe,setSchema:PIe,setTranslator:FIe,updateI18n:hk,setUISchema:OIe});var NIe={restrict:!1,trim:!1,showUnfocusedDescription:!1,hideRequiredAsterisk:!1},FG=(t={})=>(0,HG.default)({},NIe,t),pk=(t=FG(),n)=>{switch(n.type){case rk:return FG(n.config);default:return t}},LIe={data:{},schema:{},uischema:void 0,errors:[],validator:void 0,ajv:void 0,validationMode:"ValidateAndShow",additionalErrors:[]},OG=(t,n)=>n&&VIe(n.options)?n.options.validationMode:t.validationMode,VIe=t=>t?t.validationMode!==void 0:!1,jIe=t=>t?t.additionalErrors!==void 0:!1,NG=(t,n)=>n&&jIe(n.options)?n.options.additionalErrors:t.additionalErrors,LG=(t,n)=>{if(n){if(BIe(n.options))return n.options.ajv;if(n.options!==void 0&&(0,GG.default)(n.options.compile))return n.options}return t.ajv?t.ajv:lIe()},BIe=t=>t?t.ajv!==void 0:!1,Yd=(t=LIe,n)=>{switch(n.type){case JI:{let e=LG(t,n),i=OG(t,n),r=i==="NoValidation"?void 0:e.compile(n.schema),o=Ia(r,n.data),a=NG(t,n);return de(k({},t),{data:n.data,schema:n.schema,uischema:n.uischema,additionalErrors:a,errors:o,validator:r,ajv:e,validationMode:i})}case ek:{let e=LG(t,n),i=OG(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=Ia(r,n.data)):t.data!==n.data&&(o=Ia(r,n.data));let a=NG(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(k({},t),{data:n.data,schema:n.schema,uischema:n.uischema,ajv:e,errors:(0,GI.default)(o,t.errors)?t.errors:o,validator:r,validationMode:i,additionalErrors:a}):t}case tk:{let e=n.ajv,i=t.validationMode==="NoValidation"?void 0:e.compile(t.schema),r=Ia(i,t.data);return de(k({},t),{validator:i,errors:r})}case sk:{let i=n.schema&&t.ajv&&t.validationMode!=="NoValidation"?t.ajv.compile(n.schema):t.validator,r=Ia(i,t.data);return de(k({},t),{validator:i,schema:n.schema,errors:r})}case lk:return de(k({},t),{uischema:n.uischema});case nk:{if(n.path===void 0||n.path===null)return t;if(n.path===""){let e=n.updater((0,Ud.default)(t.data)),i=Ia(t.validator,e);return de(k({},t),{data:e,errors:i})}else{let e=(0,Ln.default)(t.data,n.path),i=n.updater((0,Ud.default)(e)),r;i!==void 0?r=(0,UG.default)(n.path,i,t.data===void 0?{}:t.data):r=(0,qG.default)(n.path,t.data===void 0?{}:t.data);let o=Ia(t.validator,r);return de(k({},t),{data:r,errors:o})}}case ik:return de(k({},t),{errors:n.errors});case ck:{if(t.validationMode===n.validationMode)return t;if(n.validationMode==="NoValidation"){let e=Ia(void 0,t.data);return de(k({},t),{errors:e,validationMode:n.validationMode})}if(t.validationMode==="NoValidation"){let e=t.ajv.compile(t.schema),i=Ia(e,t.data);return de(k({},t),{validator:e,errors:i,validationMode:n.validationMode})}return de(k({},t),{validationMode:n.validationMode})}default:return t}};var Si=(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})(Si||{}),Zf=[{key:Si.addTooltip,default:t=>t?`Add to ${t}`:"Add"},{key:Si.addAriaLabel,default:t=>t?`Add to ${t} button`:"Add button"},{key:Si.removeTooltip,default:()=>"Delete"},{key:Si.removeAriaLabel,default:()=>"Delete button"},{key:Si.upAriaLabel,default:()=>"Move item up"},{key:Si.up,default:()=>"Up"},{key:Si.down,default:()=>"Down"},{key:Si.downAriaLabel,default:()=>"Move item down"},{key:Si.noDataMessage,default:()=>"No data"},{key:Si.noSelection,default:()=>"No selection"},{key:Si.deleteDialogTitle,default:()=>"Confirm Deletion"},{key:Si.deleteDialogMessage,default:()=>"Are you sure you want to delete the selected entry?"},{key:Si.deleteDialogAccept,default:()=>"Yes"},{key:Si.deleteDialogDecline,default:()=>"No"}],Yf=(function(t){return t.clearDialogTitle="clearDialogTitle",t.clearDialogMessage="clearDialogMessage",t.clearDialogAccept="clearDialogAccept",t.clearDialogDecline="clearDialogDecline",t})(Yf||{}),irt=[{key:Yf.clearDialogTitle,default:()=>"Clear form?"},{key:Yf.clearDialogMessage,default:()=>"Your data will be cleared. Do you want to proceed?"},{key:Yf.clearDialogAccept,default:()=>"Yes"},{key:Yf.clearDialogDecline,default:()=>"No"}],gk=(t,n)=>i8(n)?n.i18n:t?.i18n??void 0,zIe=t=>t?.split(".").filter(n=>!/^\d+$/.test(n)).join(".")||"root",h8=(t,n,e)=>gk(t,n)??zIe(e),_b=(t,n,e,i)=>`${h8(t,n,e)}.${i}`,$Ie=(t,n)=>`${t}.${n}`,_k=(t,n)=>n,yk=(t,n,e)=>{let i=_b(t.parentSchema,e,VI(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},p8=(t,n,e,i,r,o)=>{if(t.length>0&&e){let a=_b(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 fIe(t.map(a=>n(a,e,r)))},Xf=(t,n)=>{if(t.label===!1||(t.label===void 0||t.label===null||t.label===!0)&&!i8(t))return;let e=typeof t.label=="string"?t.label:JSON.stringify(t.label),i=gk(void 0,t),r=typeof i=="string"?`${i}.label`:e;return n(r,e,{uischema:t})},Jf=(t,n,e,i)=>{let r={};return n.forEach(o=>{let a=$Ie(e,o.key);r[o.key]=t(a,o.default(i))}),r};var HIe=t=>t===void 0?_k:t.translate,UIe=t=>t===void 0?yk:t.translateError;var yb=()=>t=>HIe((0,Ln.default)(t,"jsonforms.i18n")),g8=()=>t=>UIe((0,Ln.default)(t,"jsonforms.i18n")),Tr={locale:"en",translate:_k,translateError:yk},bk=(t=Tr,n)=>{switch(n.type){case mk:{let e=n.locale??Tr.locale,i=n.translator??Tr.translate,r=n.errorTranslator??Tr.translateError;return e!==t.locale||i!==t.translate||r!==t.translateError?de(k({},t),{locale:e,translate:i,translateError:r}):t}case uk:return de(k({},t),{translate:n.translator??_k,translateError:n.errorTranslator??yk});case dk:return de(k({},t),{locale:n.locale??navigator.languages[0]});default:return t}};var _8=-1,Kd=t=>!(0,St.default)(t)&&t.scope!==void 0,Vo=t=>(n,e,i)=>{if((0,St.default)(n)||!Kd(n)||(0,St.default)(e))return!1;let r=n.scope;if((0,St.default)(r))return!1;let o=e;return mi(e,"object")&&(o=Ir(e,r,i?.rootSchema)),o===void 0?!1:t(o,i?.rootSchema)},y8=(t,n)=>(e,i,r)=>{if((0,St.default)(e)||!Kd(e))return!1;let o=e.scope,a=i;return mi(i,"object")&&(a=Ir(i,o,r?.rootSchema)),a=(0,Ln.default)(a,t),a===void 0?!1:n(a,r?.rootSchema)},xs=t=>Vo(n=>!(0,St.default)(n)&&mi(n,t)),vk=t=>Vo(n=>!(0,St.default)(n)&&n.format===t&&mi(n,"string")),Jt=t=>n=>!(0,St.default)(n)&&n.type===t,Ts=(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),Ql=(...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:_8;var Ck=hn(Jt("Control"),xs("boolean")),b8=hn(Jt("Control"),xs("object")),rrt=hn(Jt("Control"),Vo(t=>Object.prototype.hasOwnProperty.call(t,"allOf"))),ort=hn(Jt("Control"),Vo(t=>Object.prototype.hasOwnProperty.call(t,"anyOf"))),art=hn(Jt("Control"),Vo(t=>Object.prototype.hasOwnProperty.call(t,"oneOf"))),v8=hn(Jt("Control"),Vo(t=>oIe(t))),srt=hn(Jt("Control"),Vo(t=>pb(t))),C8=hn(Jt("Control"),xs("integer")),eh=hn(Jt("Control"),xs("number")),w8=hn(Jt("Control"),xs("string")),D8=hn(Jt("Control"),Ts("multi",!0)),E8=hn(Jt("Control"),Ql(vk("date"),Ts("format","date"))),lrt=hn(Jt("Control"),Ql(vk("time"),Ts("format","time"))),crt=hn(Jt("Control"),Ql(vk("date-time"),Ts("format","date-time"))),qIe=hn(Vo((t,n)=>mi(t,"array")&&!Array.isArray(Ir(t,"items",n))),y8("items",(t,n)=>{let e=t.$ref?Ir(n,t.$ref,n):t;return mi(e,"object")})),S8=hn(Jt("Control"),qIe),Kf=(t,n,e)=>{if((0,UI.default)(t))return(0,OI.default)(t,(i,r)=>i||Kf(r,n,e),!1);if(n(t))return!0;if(t.$ref){let i=Ir(e,t.$ref,e);if(i&&!i.$ref)return Kf(i,n,e)}return t.items?Kf(t.items,n,e):t.properties?(0,OI.default)((0,KG.default)(t.properties),(i,[r,o])=>i||Kf(o,n,e),!1):!1},x8=(t,n,e)=>{if(!Jt("Control")(t,n,e))return!1;let i=t.scope,r=Ir(n,i,e?.rootSchema??n),o=0;if(r!==void 0&&r.items!==void 0){if(Kf(r.items,a=>a===n||a.$ref!==void 0?!1:!!(a.anyOf||a.allOf||a.oneOf&&!pb(a)||mi(a,"object")&&(o++,o===2)||mi(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 T8=hn(Jt("Control"),Vo((t,n)=>ka(t).length!==0&&!Array.isArray(Ir(t,"items",n))),y8("items",(t,n)=>{let e=t.$ref?Ir(n,t.$ref,n):t,i=ka(e);return i.length===1&&(0,qI.default)(["integer","number","boolean","string"],i[0])})),I8=hn(Jt("Control"),Ql(xs("number"),xs("integer")),Vo(t=>Object.prototype.hasOwnProperty.call(t,"maximum")&&Object.prototype.hasOwnProperty.call(t,"minimum")&&Object.prototype.hasOwnProperty.call(t,"default")),Ts("slider",!0)),drt=hn(Jt("Control"),xs("integer"),Ts("format",!0)),GIe=t=>t.type==="Categorization",WIe=t=>t.type==="Category",k8=t=>(0,St.default)(t.elements)?!1:t.elements.map(n=>GIe(n)?k8(n):WIe(n)).reduce((n,e)=>n&&e,!0),M8=t=>k8(t);var A8=(t=[],n)=>{switch(n.type){case ok:return t.slice().concat({tester:n.tester,uischema:n.uischema});case ak:{let e=t.slice();return(0,YG.default)(e,i=>i.tester===n.tester),e}default:return t}},YIe=t=>(n,e,i)=>{let r=(0,WG.default)(t,o=>o.tester(n,e,i));if(r!==void 0&&r.tester(n,e,i)!==_8)return r.uischema};var bb=(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():gb.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=YIe(t)(n,e,i);return s===void 0?typeof r=="function"?r():gb.uiSchema(n,r,"#",a):s},wk=(t,n,e)=>e(t,n),R8=(t,n,e)=>i=>{let r=i.errors??[],o=i.additionalErrors??[];return dIe(t,n,e)(i.validationMode==="ValidateAndHide"?o:[...r,...o])},KIe=(t,n)=>R8(t,n,e=>e===t),QIe=(t,n)=>R8(t,n,e=>e.startsWith(t+".")),ZIe=(t,n)=>e=>KIe(t,n)(e.jsonforms.core),P8=(t,n)=>e=>QIe(t,n)(e.jsonforms.core),Dk=t=>JIe((0,Ln.default)(t,"jsonforms.core")),BI=t=>eke((0,Ln.default)(t,"jsonforms.core")),XIe=t=>tke((0,Ln.default)(t,"jsonforms.core")),Is=t=>nke((0,Ln.default)(t,"jsonforms.core")),Ek=t=>(0,Ln.default)(t,"jsonforms.renderers"),Sk=t=>(0,Ln.default)(t,"jsonforms.cells");var JIe=t=>(0,Ln.default)(t,"data"),eke=t=>(0,Ln.default)(t,"schema"),tke=t=>(0,Ln.default)(t,"uischema"),nke=t=>(0,Ln.default)(t,"ajv"),Wl=t=>t.jsonforms.config,F8=(t,n,e,i,r,o)=>t?.jsonforms?.readonly?!1:e&&iIe(e)?rIe(e,r,n?.path,Is(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,O8=(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]])},ike=(t,n)=>{O8(t,n,-1)},rke=(t,n)=>{O8(t,n,1)},oke=(t,n,e)=>{let i=n.split("/"),r=Yl(i[i.length-1]),a=i.slice(0,i.length-2).join("/"),s=Aa.schema(t,a,e);return s!==void 0&&s.required!==void 0&&s.required.indexOf(r)!==-1},N8=(t,n,e)=>`${t??""}${n&&!e?"*":""}`;var vb=(t,n)=>{let e=L8(t,n);return e===void 0?{}:e},L8=(t,n)=>{let e=typeof t.$ref=="string"?Aa.schema(n,t.$ref,n):t;if(e.default!==void 0)return VG(e,n);if(mi(e,"string"))return e.format==="date-time"||e.format==="date"||e.format==="time"?aIe(new Date,e.format):"";if(mi(e,"integer")||mi(e,"number"))return 0;if(mi(e,"boolean"))return!1;if(mi(e,"array"))return[];if(mi(e,"object"))return VG(e,n);if(mi(e,"null"))return null;let i=["oneOf","anyOf","allOf"];for(let r of i)if(t[r]&&Array.isArray(t[r])){let o=ake(t[r],n);if(o!==void 0)return o}},ake=(t,n)=>{if(t.length>0)for(let e of t){let i=L8(e,n);if(i!==void 0)return i}},VG=(t,n)=>{if(mi(t,"object")&&t.default===void 0){let e={};for(let i in t.properties){let r=t.properties[i],o=r.$ref?Aa.schema(n,r.$ref,n):r;o&&o.default!==void 0&&(e[i]=(0,Ud.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?Aa.schema(n,o.$ref,n):o;a&&a.default!==void 0&&(e[r]=(0,Ud.default)(a.default))}}),e}return(0,Ud.default)(t.default)};var xk=(t,n)=>{let{uischema:e}=n,i=Dk(t),r=Gd(e,n.path),o=n.visible===void 0||QI(e)?Kl(e,i,n.path,Is(t)):n.visible,a=e,s=n.id,l=BI(t),c=a.scope!==void 0&&oke(n.schema,a.scope,l),d=Aa.schema(n.schema||l,a.scope,l),m=ZIe(r,d)(t),f=d!==void 0?d.description:"",h=Aa.data(i,r),p=UTe(e,d),b=p.show?p.text:"",D=Wl(t),E=F8(t,n,e,d||l,i,D),P=d??l,Y=yb()(t),ce=g8()(t),re=h8(P,e,r),Pe=Y(_b(P,e,r,"label"),b,{schema:P,uischema:e,path:r,errors:m}),Fe=Y(_b(P,e,r,"description"),f,{schema:P,uischema:e,path:r,errors:m}),Me=p8(m,ce,Y,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:Wl(t),cells:n.cells||t.jsonforms.cells,rootSchema:l,i18nKeyPrefix:re}};var Cb=(t,n)=>{let e=zs(xk(t,n),[]);return de(k({},e),{uischemas:t.jsonforms.uischemas})},wb=(t,n)=>{let c=Cb(t,n),{path:e,schema:i,uischema:r,label:o}=c,a=zs(c,["path","schema","uischema","label"]),s=Aa.schema(i,"items",a.rootSchema),l=P8(e,s)(t);return de(k({},a),{label:o,path:e,uischema:r,schema:s,arraySchema:i,childErrors:l,renderers:n.renderers||Ek(t),cells:n.cells||Sk(t)})},Db=t=>({addItem:(n,e)=>()=>{t(Wf(n,i=>i==null?[e]:(i.push(e),i),{type:"ADD",values:[e]}))},removeItems:(n,e)=>()=>{t(Wf(n,i=>(e.sort((r,o)=>r-o).reverse().forEach(r=>i.splice(r,1)),i),{type:"REMOVE",indices:e}))},moveUp:(n,e)=>()=>{t(Wf(n,i=>(ike(i,e),i),{type:"MOVE",moves:[{from:e,to:e-1}]}))},moveDown:(n,e)=>()=>{t(Wf(n,i=>(rke(i,e),i),{type:"MOVE",moves:[{from:e,to:e+1}]}))}});var Tk={visible:!0,enabled:!0,path:"",direction:"column"},ske=t=>t.type==="HorizontalLayout"?"row":t.type==="VerticalLayout"?"column":Tk.direction,Ra=(t,n)=>{let e=Dk(t),{uischema:i}=n,r=n.visible===void 0||QI(i)?Kl(n.uischema,e,n.path,Is(t)):n.visible,o=Aa.data(e,n.path),a=Wl(t),s=F8(t,n,i,void 0,e,a),l=yb()(t),c=KTe(i)?Xf(i,l):void 0;return de(k({},Tk),{renderers:n.renderers||Ek(t),cells:n.cells||Sk(t),visible:r,enabled:s,path:n.path,data:o,uischema:n.uischema,schema:n.schema,direction:n.direction??ske(i),config:a,label:c})},V8=(t,n)=>({renderers:n.renderers||(0,Ln.default)(t.jsonforms,"renderers"),cells:n.cells||(0,Ln.default)(t.jsonforms,"cells"),schema:n.schema||BI(t),rootSchema:BI(t),uischema:n.uischema||XIe(t),path:n.path,enabled:n.enabled,config:Wl(t)}),urt=de(k({},Tk),{errors:[]});var j8=(t,n)=>{let f=Cb(t,n),{path:e,schema:i,uischema:r,errors:o,label:a}=f,s=zs(f,["path","schema","uischema","errors","label"]),l=Aa.schema(i,"items",s.rootSchema),c=yb()(t),d=p8(P8(e,l)(t),g8()(t),c,void 0,void 0,void 0),m=o+(o.length>0&&d.length>0?`
30
+ `:"")+d;return de(k({},s),{label:a,path:e,uischema:r,schema:l,arraySchema:i,data:s.data?s.data.length:0,errors:m,minItems:i.minItems})},B8=(t,n)=>{let{uischema:e}=n,i=n.visible===void 0||QI(e)?Kl(n.uischema,Dk(t),n.path,Is(t)):n.visible,r=e.text,o=yb()(t),a=gk(void 0,e),s=a?`${a}.text`:r??"";return{text:o(s,r,{uischema:e}),visible:i,config:Wl(t),renderers:n.renderers||Ek(t),cells:n.cells||Sk(t),uischema:e}};var G8=(()=>{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(K))};static \u0275dir=N({type:t})}return t})(),lke=(()=>{class t extends G8{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,features:[ee]})}return t})(),kr=new A("");var cke={provide:kr,useExisting:dn(()=>As),multi:!0};function dke(){let t=gr()?gr().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}var uke=new A(""),As=(()=>{class t extends G8{_compositionMode;_composing=!1;constructor(e,i,r){super(e,i),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!dke())}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(K),me(uke,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&&L("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:[De([cke]),ee]})}return t})();function Mk(t){return t==null||Ak(t)===0}function Ak(t){return t==null?null:Array.isArray(t)||typeof t=="string"?t.length:t instanceof Set?t.size:null}var Pa=new A(""),Rk=new A(""),mke=/^(?=.{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])?)*$/,ks=class{static min(n){return fke(n)}static max(n){return hke(n)}static required(n){return pke(n)}static requiredTrue(n){return gke(n)}static email(n){return _ke(n)}static minLength(n){return yke(n)}static maxLength(n){return bke(n)}static pattern(n){return vke(n)}static nullValidator(n){return W8()}static compose(n){return J8(n)}static composeAsync(n){return eW(n)}};function fke(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 hke(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 pke(t){return Mk(t.value)?{required:!0}:null}function gke(t){return t.value===!0?null:{required:!0}}function _ke(t){return Mk(t.value)||mke.test(t.value)?null:{email:!0}}function yke(t){return n=>{let e=n.value?.length??Ak(n.value);return e===null||e===0?null:e<t?{minlength:{requiredLength:t,actualLength:e}}:null}}function bke(t){return n=>{let e=n.value?.length??Ak(n.value);return e!==null&&e>t?{maxlength:{requiredLength:t,actualLength:e}}:null}}function vke(t){if(!t)return W8;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(Mk(i.value))return null;let r=i.value;return n.test(r)?null:{pattern:{requiredPattern:e,actualValue:r}}}}function W8(t){return null}function Y8(t){return t!=null}function K8(t){return vl(t)?dr(t):t}function Q8(t){let n={};return t.forEach(e=>{n=e!=null?k(k({},n),e):n}),Object.keys(n).length===0?null:n}function Z8(t,n){return n.map(e=>e(t))}function Cke(t){return!t.validate}function X8(t){return t.map(n=>Cke(n)?n:e=>n.validate(e))}function J8(t){if(!t)return null;let n=t.filter(Y8);return n.length==0?null:function(e){return Q8(Z8(e,n))}}function Pk(t){return t!=null?J8(X8(t)):null}function eW(t){if(!t)return null;let n=t.filter(Y8);return n.length==0?null:function(e){let i=Z8(e,n).map(K8);return $u(i).pipe(tt(Q8))}}function Fk(t){return t!=null?eW(X8(t)):null}function z8(t,n){return t===null?[n]:Array.isArray(t)?[...t,n]:[t,n]}function tW(t){return t._rawValidators}function nW(t){return t._rawAsyncValidators}function Ik(t){return t?Array.isArray(t)?t:[t]:[]}function Sb(t,n){return Array.isArray(t)?t.includes(n):t===n}function $8(t,n){let e=Ik(n);return Ik(t).forEach(r=>{Sb(e,r)||e.push(r)}),e}function H8(t,n){return Ik(n).filter(e=>!Sb(t,e))}var xb=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=Pk(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=Fk(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}},Zl=class extends xb{name;get formDirective(){return null}get path(){return null}},jo=class extends xb{_parent=null;name=null;valueAccessor=null},kk=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}},wke={"[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"},krt=de(k({},wke),{"[class.ng-submitted]":"isSubmitted"}),Bo=(()=>{class t extends kk{constructor(e){super(e)}static \u0275fac=function(i){return new(i||t)(me(jo,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 th="VALID",Eb="INVALID",Qd="PENDING",nh="DISABLED",Ms=class{},Tb=class extends Ms{value;source;constructor(n,e){super(),this.value=n,this.source=e}},rh=class extends Ms{pristine;source;constructor(n,e){super(),this.pristine=n,this.source=e}},oh=class extends Ms{touched;source;constructor(n,e){super(),this.touched=n,this.source=e}},Zd=class extends Ms{status;source;constructor(n,e){super(),this.status=n,this.source=e}},Ib=class extends Ms{source;constructor(n){super(),this.source=n}},kb=class extends Ms{source;constructor(n){super(),this.source=n}};function iW(t){return(Nb(t)?t.validators:t)||null}function Dke(t){return Array.isArray(t)?Pk(t):t||null}function rW(t,n){return(Nb(n)?n.asyncValidators:t)||null}function Eke(t){return Array.isArray(t)?Fk(t):t||null}function Nb(t){return t!=null&&!Array.isArray(t)&&typeof t=="object"}function Ske(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 xke(t,n,e){t._forEachChild((i,r)=>{if(e[r]===void 0)throw new X(1002,"")})}var Mb=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 oi(this.statusReactive)}set status(n){oi(()=>this.statusReactive.set(n))}_status=He(()=>this.statusReactive());statusReactive=pe(void 0);get valid(){return this.status===th}get invalid(){return this.status===Eb}get pending(){return this.status==Qd}get disabled(){return this.status===nh}get enabled(){return this.status!==nh}errors;get pristine(){return oi(this.pristineReactive)}set pristine(n){oi(()=>this.pristineReactive.set(n))}_pristine=He(()=>this.pristineReactive());pristineReactive=pe(!0);get dirty(){return!this.pristine}get touched(){return oi(this.touchedReactive)}set touched(n){oi(()=>this.touchedReactive.set(n))}_touched=He(()=>this.touchedReactive());touchedReactive=pe(!1);get untouched(){return!this.touched}_events=new V;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($8(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators($8(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(H8(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(H8(n,this._rawAsyncValidators))}hasValidator(n){return Sb(this._rawValidators,n)}hasAsyncValidator(n){return Sb(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(k({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new oh(!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 oh(!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(k({},n),{sourceControl:i})),e&&n.emitEvent!==!1&&this._events.next(new rh(!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 rh(!0,i))}markAsPending(n={}){this.status=Qd;let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Zd(this.status,e)),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.markAsPending(de(k({},n),{sourceControl:e}))}disable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=nh,this.errors=null,this._forEachChild(r=>{r.disable(de(k({},n),{onlySelf:!0}))}),this._updateValue();let i=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Tb(this.value,i)),this._events.next(new Zd(this.status,i)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(de(k({},n),{skipPristineCheck:e}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(n={}){let e=this._parentMarkedDirty(n.onlySelf);this.status=th,this._forEachChild(i=>{i.enable(de(k({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(de(k({},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===th||this.status===Qd)&&this._runAsyncValidator(i,n.emitEvent)}let e=n.sourceControl??this;n.emitEvent!==!1&&(this._events.next(new Tb(this.value,e)),this._events.next(new Zd(this.status,e)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(de(k({},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()?nh:th}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n,e){if(this.asyncValidator){this.status=Qd,this._hasOwnPendingAsyncValidator={emitEvent:e!==!1,shouldHaveEmitted:n!==!1};let i=K8(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 Zd(this.status,e)),this._parent&&this._parent._updateControlsErrors(n,e,i)}_initObservables(){this.valueChanges=new F,this.statusChanges=new F}_calculateStatus(){return this._allControlsDisabled()?nh:this.errors?Eb:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Qd)?Qd:this._anyControlsHaveStatus(Eb)?Eb:th}_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 rh(this.pristine,e))}_updateTouched(n={},e){this.touched=this._anyControlsTouched(),this._events.next(new oh(this.touched,e)),this._parent&&!n.onlySelf&&this._parent._updateTouched(n,e)}_onDisabledChange=[];_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Nb(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=Dke(this._rawValidators)}_assignAsyncValidators(n){this._rawAsyncValidators=Array.isArray(n)?n.slice():n,this._composedAsyncValidatorFn=Eke(this._rawAsyncValidators)}},Ab=class extends Mb{constructor(n,e,i){super(iW(e),rW(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={}){xke(this,!0,n),Object.keys(n).forEach(i=>{Ske(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 Lb=new A("",{providedIn:"root",factory:()=>Ok}),Ok="always";function Rb(t,n,e=Ok){Nk(t,n),n.valueAccessor.writeValue(t.value),(t.disabled||e==="always")&&n.valueAccessor.setDisabledState?.(t.disabled),Ike(t,n),Mke(t,n),kke(t,n),Tke(t,n)}function Pb(t,n,e=!0){let i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),Ob(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function Fb(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function Tke(t,n){if(n.valueAccessor.setDisabledState){let e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}function Nk(t,n){let e=tW(t);n.validator!==null?t.setValidators(z8(e,n.validator)):typeof e=="function"&&t.setValidators([e]);let i=nW(t);n.asyncValidator!==null?t.setAsyncValidators(z8(i,n.asyncValidator)):typeof i=="function"&&t.setAsyncValidators([i]);let r=()=>t.updateValueAndValidity();Fb(n._rawValidators,r),Fb(n._rawAsyncValidators,r)}function Ob(t,n){let e=!1;if(t!==null){if(n.validator!==null){let r=tW(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=nW(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 Fb(n._rawValidators,i),Fb(n._rawAsyncValidators,i),e}function Ike(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,t.updateOn==="change"&&oW(t,n)})}function kke(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,t.updateOn==="blur"&&t._pendingChange&&oW(t,n),t.updateOn!=="submit"&&t.markAsTouched()})}function oW(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Mke(t,n){let e=(i,r)=>{n.valueAccessor.writeValue(i),r&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}function aW(t,n){t==null,Nk(t,n)}function Ake(t,n){return Ob(t,n)}function Rke(t,n){if(!t.hasOwnProperty("model"))return!1;let e=t.model;return e.isFirstChange()?!0:!Object.is(n,e.currentValue)}function Pke(t){return Object.getPrototypeOf(t.constructor)===lke}function sW(t,n){t._syncPendingControls(),n.forEach(e=>{let i=e.control;i.updateOn==="submit"&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function Fke(t,n){if(!n)return null;Array.isArray(n);let e,i,r;return n.forEach(o=>{o.constructor===As?e=o:Pke(o)?i=o:r=o}),r||i||e||null}function Oke(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}var Nke={provide:Zl,useExisting:dn(()=>Xd)},ih=Promise.resolve(),Xd=(()=>{class t extends Zl{callSetDisabledState;get submitted(){return oi(this.submittedReactive)}_submitted=He(()=>this.submittedReactive());submittedReactive=pe(!1);_directives=new Set;form;ngSubmit=new F;options;constructor(e,i,r){super(),this.callSetDisabledState=r,this.form=new Ab({},Pk(e),Fk(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ih.then(()=>{let i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Rb(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ih.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){ih.then(()=>{let i=this._findContainer(e.path),r=new Ab({});aW(r,e),i.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ih.then(()=>{let i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){ih.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submittedReactive.set(!0),sW(this.form,this._directives),this.ngSubmit.emit(e),this.form._events.next(new Ib(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 kb(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(Pa,10),me(Rk,10),me(Lb,8))};static \u0275dir=N({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(i,r){i&1&&L("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:[De([Nke]),ee]})}return t})();function U8(t,n){let e=t.indexOf(n);e>-1&&t.splice(e,1)}function q8(t){return typeof t=="object"&&t!==null&&Object.keys(t).length===2&&"value"in t&&"disabled"in t}var Lk=class extends Mb{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(n=null,e,i){super(iW(e),rW(i,e)),this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Nb(e)&&(e.nonNullable||e.initialValueIsDefault)&&(q8(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){U8(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){U8(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){q8(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 Lke=t=>t instanceof Lk;var lW=new A(""),Vke={provide:jo,useExisting:dn(()=>lo)},lo=(()=>{class t extends jo{_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=Fke(this,r)}ngOnChanges(e){if(this._isControlChanged(e)){let i=e.form.previousValue;i&&Pb(i,this,!1),Rb(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Rke(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Pb(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(Pa,10),me(Rk,10),me(kr,10),me(lW,8),me(Lb,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:[De([Vke]),ee,it]})}return t})(),jke={provide:Zl,useExisting:dn(()=>Jd)},Jd=(()=>{class t extends Zl{callSetDisabledState;get submitted(){return oi(this._submittedReactive)}set submitted(e){this._submittedReactive.set(e)}_submitted=He(()=>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&&(Ob(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 Rb(i,e,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Pb(e.control||null,e,!1),Oke(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),sW(this.form,this.directives),this.ngSubmit.emit(e),this.form._events.next(new Ib(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 kb(this.form))}_updateDomValue(){this.directives.forEach(e=>{let i=e.control,r=this.form.get(e.path);i!==r&&(Pb(i||null,e),Lke(r)&&(Rb(r,e,this.callSetDisabledState),e.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){let i=this.form.get(e.path);aW(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){let i=this.form.get(e.path);i&&Ake(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Nk(this.form,this),this._oldForm&&Ob(this._oldForm,this)}static \u0275fac=function(i){return new(i||t)(me(Pa,10),me(Rk,10),me(Lb,8))};static \u0275dir=N({type:t,selectors:[["","formGroup",""]],hostBindings:function(i,r){i&1&&L("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:[De([jke]),ee,it]})}return t})();var Bke=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var Vb=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:lW,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Lb,useValue:e.callSetDisabledState??Ok}]}}static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[Bke]})}return t})();var jk=st(eb(),1),cW=st(Qy(),1),dW=st(AI(),1),uW=st(ZT(),1),Ji=st(hf(),1);var zke=["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})(),Mr=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=wk){this.middleware=e,this._state=n,this._state.config=pk(void 0,fk(this._state.config)),this._state.i18n=bk(this._state.i18n,hk(this._state.i18n?.locale,this._state.i18n?.translate,this._state.i18n?.translateError)),this.state=new Ii({jsonforms:this._state});let i=n.core.data,r=n.core.schema??qd(i),o=n.core.uischema??Wd(r);this.updateCore(xi.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,xi.setValidationMode(n),Yd);this._state.core=e,this.updateSubject()}updateI18n(n){let e=bk(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,Yd);return e!==this._state.core&&(this._state.core=e,this.updateSubject()),n}updateUiSchema(n){let e=A8(this._state.uischemas,n);return this._state.uischemas=e,this.updateSubject(),n}setUiSchemas(n){this._state.uischemas=n,this.updateSubject()}updateConfig(n){let e=pk(this._state.config,n);return this._state.config=e,this.updateSubject(),n}setUiSchema(n){let e=n??Wd(this._state.core.schema),i=this.middleware(this._state.core,xi.updateCore(this._state.core.data,this._state.core.schema,e),Yd);i!==this._state.core&&(this._state.core=i,this.updateSubject())}setSchema(n){let e=this.middleware(this._state.core,xi.updateCore(this._state.core.data,n??qd(this._state.core.data),this._state.core.uischema),Yd);e!==this._state.core&&(this._state.core=e,this.updateSubject())}setData(n){let e=this.middleware(this._state.core,xi.updateCore(n,this._state.core.schema,this._state.core.uischema),Yd);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,jk.default)({jsonforms:this._state})}getConfig(){return(0,jk.default)(this._state.config)}refresh(){this.updateSubject()}updateCoreState(n,e,i,r,o,a){let s=n===Mr?this._state.core.data:n,l=e===Mr?this._state.core.schema:e??qd(s),c=i===Mr?this._state.core.uischema:i??Wd(l),d=r===Mr?this._state.core.ajv:r,m=o===Mr?this._state.core.validationMode:o,f=a===Mr?this._state.core.additionalErrors:a;this.updateCore(xi.updateCore(s,l,c,{ajv:d,validationMode:m,additionalErrors:f}))}updateSubject(){this.state.next({jsonforms:this._state})}},sh=(()=>{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 Lk({value:"",disabled:!0},{updateOn:"change",validators:this.validator.bind(this)})}getEventValue=e=>e.value;onChange(e){this.jsonFormsService.updateCore(xi.update(this.propsPath,()=>this.getEventValue(e))),this.triggerValidation()}shouldShowUnfocusedDescription(){let e=this.jsonFormsService.getConfig();return!!(0,cW.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=N8(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(),XG(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=M({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})(),ji=class extends sh{mapToProps(n){let e=xk(n,this.getOwnProps());return k({},e)}},jb=class extends sh{mapToProps(n){let e=Cb(n,this.getOwnProps());return k({},e)}},ah=class extends sh{mapToProps(n){let e=wb(n,this.getOwnProps()),i=n.jsonforms.i18n?.translate??Tr.translate,r=Jf(i,Zf,e.i18nKeyPrefix,e.label);return de(k({},e),{translations:r})}},$ke=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["unknown",8,"renderer"]],standalone:!1,attrs:zke,decls:1,vars:0,template:function(i,r){i&1&&O(0,"No applicable renderer found!")},encapsulation:2})}return t})(),Hke=(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,uW.default)((0,Ji.default)(t,"uischema"),(0,Ji.default)(n,"uischema"))&&(0,Ji.default)(t,"path")===(0,Ji.default)(n,"path"),Ar=(()=>{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=V8(e,{schema:this.schema,uischema:this.uischema,path:this.path});if(Hke(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:Wl(e)},l=(0,dW.default)(r,f=>f.tester(a,o,s)),c=$ke;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 ji&&f.id===void 0){let p=Kd(i.uischema)?ZG(i.uischema.scope):void 0;f.id=p}}}static \u0275fac=function(i){return new(i||t)(me(rt),me(fa),me(xt))};static \u0275dir=N({type:t,selectors:[["jsonforms-outlet"]],inputs:{renderProps:"renderProps"},standalone:!1,features:[ee]})}return t})(),Bb=(()=>{class t{jsonformsService;uischema;schema;data;renderers;uischemas;dataChange=new F;readonly;validationMode;ajv;config;i18n;additionalErrors;middleware=wk;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(xi.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:Mr,r?r.currentValue:Mr,o?o.currentValue:Mr,m?m.currentValue:Mr,d?d.currentValue:Mr,h?h.currentValue:Mr),a&&!a.isFirstChange()&&this.jsonformsService.setRenderers(a.currentValue),s&&!s.isFirstChange()&&this.jsonformsService.setUiSchemas(s.currentValue),l&&!l.isFirstChange()&&this.jsonformsService.updateI18n(xi.updateI18n(l.currentValue?.locale,l.currentValue?.translate,l.currentValue?.translateError)),c&&!c.isFirstChange()&&this.jsonformsService.setReadonly(c.currentValue),f&&!f.isFirstChange()&&this.jsonformsService.updateConfig(xi.setConfig(f.currentValue))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=M({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:[De([xt]),it],decls:1,vars:0,template:function(i,r){i&1&&ue(0,"jsonforms-outlet")},dependencies:[Ar],encapsulation:2})}return t})(),Xl=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var mW={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 zb={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 lh={$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 fW(t,n){let e=JSON.parse(JSON.stringify(t));if(n.properties&&typeof n.properties=="object"){let i={type:"object",properties:k({},n.properties)};e.properties&&typeof e.properties=="object"?Object.assign(e.properties,n.properties):Array.isArray(e.allOf)?e.allOf.push(i):e.properties=k({},n.properties)}return e}function hW(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 pW(t,n){let e=k({},t);for(let i of n)delete e[i];return e}var Yrt=Object.keys(lh.properties||{}),Bk=[{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 Wke(t){let n={};for(let e of Bk){if(!e.derive)continue;let i=e.derive(t);i!==void 0&&(n[e.key]=i)}return n}function Yke(t){let n=Wke(t),e=k({},t);for(let i of Bk){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 Kke(t){let n=k({},t);for(let e of Bk)delete n[e.key];return n}function $b(t){return t?Yke(t):null}function Hb(t){return Kke(t)}var qmt=st(gW(),1);var _W=(()=>{class t{_animationsDisabled=ft();state="unchecked";disabled=!1;appearance="full";constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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"],Zke=[[["mat-icon"]],"*"],Xke=["mat-icon","*"];function Jke(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 eMe(t,n){if(t&1&&ue(0,"mat-pseudo-checkbox",3),t&2){let e=T();x("disabled",e.disabled)}}function tMe(t,n){if(t&1&&(v(0,"span",4),O(1),w()),t&2){let e=T();C(),un("(",e.group.label,")")}}var nu=new A("MAT_OPTION_PARENT_COMPONENT"),iu=new A("MatOptgroup");var tu=class{source;isUserInput;constructor(n,e=!1){this.source=n,this.isUserInput=e}},Bi=(()=>{class t{_element=u(K);_changeDetectorRef=u(Ae);_parent=u(nu,{optional:!0});group=u(iu,{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 V;constructor(){let e=u(wt);e.load(Nn),e.load(_r),this._signalDisableRipple=!!this._parent&&Eo(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 tu(this,e))}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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&&L("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:Xke,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(Zke),Ce(0,Jke,1,2,"mat-pseudo-checkbox",1),ae(1),v(2,"span",2,0),ae(4,1),w(),Ce(5,eMe,1,1,"mat-pseudo-checkbox",3),Ce(6,tMe,2,1,"span",4),ue(7,"div",5)),i&2&&(we(r.multiple?0:-1),C(5),we(!r.multiple&&r.selected&&!r.hideSingleSelectionIndicator?5:-1),C(),we(r.group&&r.group._inert?6:-1),C(),x("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disabled||r.disableRipple))},dependencies:[_W,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 ch(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 dh(t,n,e,i){return t<e?t:t+n>e+i?Math.max(0,t-i+n):e}var uh=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}},Rs=class extends uh{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 uh{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()}},zk=class extends uh{element;constructor(n){super(),this.element=n instanceof K?n.nativeElement:n}},qb=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(n){if(n instanceof Rs)return this._attachedPortal=n,this.attachComponentPortal(n);if(n instanceof tr)return this._attachedPortal=n,this.attachTemplatePortal(n);if(this.attachDomPortal&&n instanceof zk)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)}},Gb=class extends qb{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(ts,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=Wg(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]}},yW=(()=>{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 Ps=(()=>{class t extends qb{_moduleRef=u(ts,{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 mh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var bW=o_();function Jb(t){return new Wb(t.get(On),t.get(ke))}var Wb=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"),bW&&(i.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),bW&&(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 xW(t,n){return new Yb(t.get(Zr),t.get(J),t.get(On),n)}var Yb=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 fh=class{enable(){}disable(){}attach(){}};function $k(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 vW(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 Kb(t.get(Zr),t.get(On),t.get(J),n)}var Kb=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();$k(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}},TW=(()=>{class t{_injector=u(Re);constructor(){}noop=()=>new fh;close=e=>xW(this._injector,e);block=()=>Jb(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})(),Fa=class{positionStrategy;scrollStrategy=new fh;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 Qb=class{connectionPair;scrollableViewProperties;constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}};var IW=(()=>{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})(),kW=(()=>{class t extends IW{_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=Ke(t)))(r||t)}})();static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),MW=(()=>{class t extends IW{_platform=u(Ue);_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(CW(s.overlayElement,i)||CW(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=Ke(t)))(r||t)}})();static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function CW(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 AW=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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})(),RW=(()=>{class t{_platform=u(Ue);_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||rS()){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),rS()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(AW)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Hk=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()}},Zb=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new V;_attachments=new V;_detachments=new V;_positionStrategy;_scrollStrategy;_locationChanges=be.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new V;_outsidePointerEvents=new V;_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=Vt(()=>{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=k(k({},this._config),n),this._updateElementSize()}setDirection(n){this._config=de(k({},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 Hk(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=Jr(e||[]).filter(o=>!!o);r.length&&(i?n.classList.add(...r):n.classList.remove(...r))}_detachContentWhenEmpty(){let n=!1;try{this._detachContentAfterRenderRef=Vt(()=>{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?.()}},wW="cdk-overlay-connected-position-bounding-box",nMe=/([A-Za-z%]+)$/;function Oa(t,n){return new ru(n,t.get(On),t.get(ke),t.get(Ue),t.get(RW))}var ru=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 V;_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(wW),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&&Jl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(wW),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=EW(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=DW(this._overlayRef.getConfig().minHeight),s=DW(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=EW(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||!iMe(this._lastScrollVisibility,i)){let r=new Qb(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,Jl(this._boundingBox.style,r)}_resetBoundingBoxStyles(){Jl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Jl(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();Jl(i,this._getExactOverlayY(e,n,d)),Jl(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="")),Jl(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:vW(n,i),isOriginOutsideView:$k(n,i),isOverlayClipped:vW(e,i),isOverlayOutsideView:$k(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&&Jr(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 K)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 Jl(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function DW(t){if(typeof t!="number"&&t!=null){let[n,e]=t.split(nMe);return!e||e==="px"?parseFloat(n):null}return t||null}function EW(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 iMe(t,n){return t===n?!0:t.isOriginClipped===n.isOriginClipped&&t.isOriginOutsideView===n.isOriginOutsideView&&t.isOverlayClipped===n.isOverlayClipped&&t.isOverlayOutsideView===n.isOverlayOutsideView}var SW="cdk-global-overlay-wrapper";function ev(t){return new Xb}var Xb=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(SW),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(SW),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},PW=(()=>{class t{_injector=u(Re);constructor(){}global(){return ev()}flexibleConnectedTo(e){return Oa(this._injector,e)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Na(t,n){t.get(wt).load(AW);let e=t.get(RW),i=t.get(ke),r=t.get(Tt),o=t.get(Ri),a=t.get(Ot),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 Gb(l,o,t),d=new Fa(n),m=t.get(yt,null,{optional:!0})||t.get(tn).createRenderer(null,null);return d.direction=d.direction||a.value,new Zb(c,s,l,d,t.get(J),t.get(kW),i,t.get(Kg),t.get(MW),n?.disableAnimations??t.get(rs,null,{optional:!0})==="NoopAnimations",t.get(gn),m)}var FW=(()=>{class t{scrollStrategies=u(TW);_positionBuilder=u(PW);_injector=u(Re);constructor(){}create(e){return Na(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})(),rMe=[{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"}],OW=new A("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}}),ou=(()=>{class t{elementRef=u(K);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})(),tv=(()=>{class t{_dir=u(Ot,{optional:!0});_injector=u(Re);_overlayRef;_templatePortal;_backdropSubscription=be.EMPTY;_attachSubscription=be.EMPTY;_detachSubscription=be.EMPTY;_positionSubscription=be.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=u(OW);_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=rMe);let e=this._overlayRef=Na(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 Fa({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=Oa(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof ou?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof ou?this.origin.elementRef.nativeElement:this.origin instanceof K?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(j0(()=>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:[it]})}return t})();function oMe(t){let n=u(Re);return()=>nr(n)}var aMe={provide:OW,useFactory:oMe},hh=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({providers:[FW,aMe],imports:[ls,mh,Vm,Vm]})}return t})();var Uk=class{_box;_destroyed=new V;_resizeSubject=new V;_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 Ve(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)),Mp({bufferSize:1,refCount:!0}),Ye(this._destroyed))),this._elementObservables.get(n)}destroy(){this._destroyed.next(),this._destroyed.complete(),this._resizeSubject.complete(),this._elementObservables.clear()}},nv=(()=>{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 Uk(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 sMe=["notch"],lMe=["matFormFieldNotchedOutline",""],cMe=["*"],NW=["iconPrefixContainer"],LW=["textPrefixContainer"],VW=["iconSuffixContainer"],jW=["textSuffixContainer"],dMe=["textField"],uMe=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],mMe=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];function fMe(t,n){t&1&&ue(0,"span",20)}function hMe(t,n){if(t&1&&(v(0,"label",19),ae(1,1),Ce(2,fMe,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),we(!e.hideRequiredMarker&&e._control.required?2:-1)}}function pMe(t,n){if(t&1&&Ce(0,hMe,3,5,"label",19),t&2){let e=T();we(e._hasFloatingLabel()?0:-1)}}function gMe(t,n){t&1&&ue(0,"div",7)}function _Me(t,n){}function yMe(t,n){if(t&1&&Te(0,_Me,0,0,"ng-template",13),t&2){T(2);let e=Tn(1);x("ngTemplateOutlet",e)}}function bMe(t,n){if(t&1&&(v(0,"div",9),Ce(1,yMe,1,1,null,13),w()),t&2){let e=T();x("matFormFieldNotchedOutlineOpen",e._shouldLabelFloat()),C(),we(e._forceDisplayInfixLabel()?-1:1)}}function vMe(t,n){t&1&&(v(0,"div",10,2),ae(2,2),w())}function CMe(t,n){t&1&&(v(0,"div",11,3),ae(2,3),w())}function wMe(t,n){}function DMe(t,n){if(t&1&&Te(0,wMe,0,0,"ng-template",13),t&2){T();let e=Tn(1);x("ngTemplateOutlet",e)}}function EMe(t,n){t&1&&(v(0,"div",14,4),ae(2,4),w())}function SMe(t,n){t&1&&(v(0,"div",15,5),ae(2,5),w())}function xMe(t,n){t&1&&ue(0,"div",16)}function TMe(t,n){t&1&&ae(0,6)}function IMe(t,n){if(t&1&&(v(0,"mat-hint",21),O(1),w()),t&2){let e=T(2);x("id",e._hintLabelId),C(),ie(e.hintLabel)}}function kMe(t,n){if(t&1&&(Ce(0,IMe,2,2,"mat-hint",21),ae(1,7),ue(2,"div",22),ae(3,8)),t&2){let e=T();we(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})(),qk=new A("MatError"),zi=(()=>{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:[De([{provide:qk,useExisting:t}])]})}return t})(),fi=(()=>{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})(),GW=new A("MatPrefix");var Gk=new A("MatSuffix"),Wk=(()=>{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:[De([{provide:Gk,useExisting:t}])]})}return t})(),WW=new A("FloatingLabelParent"),BW=(()=>{class t{_elementRef=u(K);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(nv);_ngZone=u(J);_parent=u(WW);_resizeSubscription=new be;constructor(){}ngOnDestroy(){this._resizeSubscription.unsubscribe()}getWidth(){return MMe(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 MMe(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 zW="mdc-line-ripple--active",iv="mdc-line-ripple--deactivating",$W=(()=>{class t{_elementRef=u(K);_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(iv),e.add(zW)}deactivate(){this._elementRef.nativeElement.classList.add(iv)}_handleTransitionEnd=e=>{let i=this._elementRef.nativeElement.classList,r=i.contains(iv);e.propertyName==="opacity"&&r&&i.remove(zW,iv)};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})(),HW=(()=>{class t{_elementRef=u(K);_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=M({type:t,selectors:[["div","matFormFieldNotchedOutline",""]],viewQuery:function(i,r){if(i&1&&_e(sMe,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:lMe,ngContentSelectors:cMe,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(),ii(0,"div",1),xn(1,"div",2,0),ae(3),Rn(),ii(4,"div",3))},encapsulation:2,changeDetection:0})}return t})(),ec=(()=>{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 zo=new A("MatFormField"),YW=new A("MAT_FORM_FIELD_DEFAULT_OPTIONS"),UW="fill",AMe="auto",qW="fixed",RMe="translateY(-50%)",rr=(()=>{class t{_elementRef=u(K);_changeDetectorRef=u(Ae);_platform=u(Ue);_idGenerator=u(Tt);_ngZone=u(J);_defaults=u(YW,{optional:!0});_currentDirection;_textField;_iconPrefixContainer;_textPrefixContainer;_iconSuffixContainer;_textSuffixContainer;_floatingLabel;_notchedOutline;_lineRipple;_iconPrefixContainerSignal=Mm("iconPrefixContainer");_textPrefixContainerSignal=Mm("textPrefixContainer");_iconSuffixContainerSignal=Mm("iconSuffixContainer");_textSuffixContainerSignal=Mm("textSuffixContainer");_prefixSuffixContainers=He(()=>[this._iconPrefixContainerSignal(),this._textPrefixContainerSignal(),this._iconSuffixContainerSignal(),this._textSuffixContainerSignal()].map(e=>e?.nativeElement).filter(e=>e!==void 0));_formFieldControl;_prefixChildren;_suffixChildren;_errorChildren;_hintChildren;_labelChild=CO(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||AMe}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||UW;this._appearanceSignal.set(i)}_appearanceSignal=pe(UW);get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||qW}set subscriptSizing(e){this._subscriptSizing=e||this._defaults?.subscriptSizing||qW}_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 V;_isFocused=null;_explicitFormFieldControl;_previousControl=null;_previousControlValidatorFn=null;_stateChanges;_valueChanges;_describedByChanges;_outlineLabelOffsetResizeObserver=null;_animationsDisabled=ft();constructor(){let e=this._defaults,i=u(Ot);e&&(e.appearance&&(this.appearance=e.appearance),this._hideRequiredMarker=!!e?.hideRequiredMarker,e.color&&(this.color=e.color)),sn(()=>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=He(()=>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(Nt([void 0,void 0]),tt(()=>[i.errorState,i.userAriaDescribedBy]),kp(),_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(Ye(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(),Ft(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(){EO({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=He(()=>!!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, ${RMe} 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=M({type:t,selectors:[["mat-form-field"]],contentQueries:function(i,r,o){if(i&1&&(BD(o,r._labelChild,ir,5),Qe(o,ec,5),Qe(o,GW,5),Qe(o,Gk,5),Qe(o,qk,5),Qe(o,fi,5)),i&2){Hg();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&&(Kc(r._iconPrefixContainerSignal,NW,5),Kc(r._textPrefixContainerSignal,LW,5),Kc(r._iconSuffixContainerSignal,VW,5),Kc(r._textSuffixContainerSignal,jW,5),_e(dMe,5),_e(NW,5),_e(LW,5),_e(VW,5),_e(jW,5),_e(BW,5),_e(HW,5),_e($W,5)),i&2){Hg(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:[De([{provide:zo,useExisting:t},{provide:WW,useExisting:t}])],ngContentSelectors:mMe,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=Oe();Be(uMe),Te(0,pMe,1,1,"ng-template",null,0,To),v(2,"div",6,1),L("click",function(s){return q(o),G(r._control.onContainerClick(s))}),Ce(4,gMe,1,0,"div",7),v(5,"div",8),Ce(6,bMe,2,2,"div",9),Ce(7,vMe,3,0,"div",10),Ce(8,CMe,3,0,"div",11),v(9,"div",12),Ce(10,DMe,1,1,null,13),ae(11),w(),Ce(12,EMe,3,0,"div",14),Ce(13,SMe,3,0,"div",15),w(),Ce(14,xMe,1,0,"div",16),w(),v(15,"div",17)(16,"div",18),Ce(17,TMe,1,0)(18,kMe,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),we(!r._hasOutline()&&!r._control.disabled?4:-1),C(2),we(r._hasOutline()?6:-1),C(),we(r._hasIconPrefix?7:-1),C(),we(r._hasTextPrefix?8:-1),C(2),we(!r._hasOutline()||r._forceDisplayInfixLabel()?10:-1),C(2),we(r._hasTextSuffix?12:-1),C(),we(r._hasIconSuffix?13:-1),C(),we(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(),we((o=a)==="error"?17:o==="hint"?18:-1)}},dependencies:[BW,HW,uE,$W,fi],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 rv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct]})}return t})();var Yk=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[cd,ct,rv,Bi]})}return t})();var PMe=["panel"],FMe=["*"];function OMe(t,n){if(t&1&&(xn(0,"div",1,0),ae(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 Kk=class{source;option;constructor(n,e){this.source=n,this.option=e}},KW=new A("mat-autocomplete-default-options",{providedIn:"root",factory:NMe});function NMe(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1,hasBackdrop:!1}}var QW=(()=>{class t{_changeDetectorRef=u(Ae);_elementRef=u(K);_defaults=u(KW);_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(Ue);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 Al(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 Kk(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=M({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,Bi,5),Qe(o,iu,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(PMe,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:[De([{provide:nu,useExisting:t}])],ngContentSelectors:FMe,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(),Kr(0,OMe,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 LMe={provide:kr,useExisting:dn(()=>Qk),multi:!0};var VMe=new A("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}});var Qk=(()=>{class t{_environmentInjector=u(gn);_element=u(K);_injector=u(Re);_viewContainerRef=u(rt);_zone=u(J);_changeDetectorRef=u(Ae);_dir=u(Ot,{optional:!0});_formField=u(zo,{optional:!0,host:!0});_viewportRuler=u(On);_scrollStrategy=u(VMe);_renderer=u(yt);_animationsDisabled=ft();_defaults=u(KW,{optional:!0});_overlayRef;_portal;_componentDestroyed=!1;_initialized=new V;_keydownSubscription;_outsideClickSubscription;_cleanupWindowBlur;_previousValue;_valueOnAttach;_valueOnLastKeydown;_positionStrategy;_manuallyFloatingLabel=!1;_closingActionsSubscription;_viewportSubscription=be.EMPTY;_breakpointObserver=u(qm);_handsetLandscapeSubscription=be.EMPTY;_canOpenOnNextFocus=!0;_valueBeforeAutoSelection;_pendingAutoselectedOption;_closeKeyEventStream=new V;_overlayPanelClass=Jr(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&&ms(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Ft(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(tt(e=>e instanceof tu?e:null))}optionSelections=zu(()=>{let e=this.autocomplete?this.autocomplete.options:null;return e?e.changes.pipe(Nt(e),Xn(()=>Ft(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Xn(()=>this.optionSelections))});get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return new Ve(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 ya()===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 Ve(r=>{Vt(()=>{r.next()},{injector:this._environmentInjector})}),i=this.autocomplete.options?.changes.pipe($r(()=>this._positionStrategy.reapplyLastPosition()),L0(0))??en();return Ft(e,i).pipe(Xn(()=>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;ad(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=Na(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(NN.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 Fa({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=Oa(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=ch(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=dh(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&&ms(this._trackedModal,"aria-owns",i),ad(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ms(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&&L("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:[De([LMe]),it]})}return t})();var ZW="mat-badge-content",BMe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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})(),XW=(()=>{class t{_ngZone=u(J);_elementRef=u(K);_ariaDescriber=u(E_);_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(rd);_document=u(ke);constructor(){let e=u(wt);e.load(BMe),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(ZW),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 > .${ZW}`);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 $Me=["*"];var HMe=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],UMe=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
37
+ [mat-card-title], [mat-card-subtitle],
38
+ [matCardTitle], [matCardSubtitle]`,"*"],qMe=new A("MAT_CARD_CONFIG"),Pr=(()=>{class t{appearance;constructor(){let e=u(qMe,{optional:!0});this.appearance=e?.appearance||"raised"}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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:$Me,decls:1,vars:0,template:function(i,r){i&1&&(Be(),ae(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})(),$o=(()=>{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 Fs=(()=>{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})(),ov=(()=>{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})(),au=(()=>{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})(),su=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:UMe,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Be(HMe),ae(0),xn(1,"div",0),ae(2,1),Rn(),ae(3,2))},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,ct]})}return t})();var GMe=["mat-internal-form-field",""],WMe=["*"],av=(()=>{class t{labelPosition;static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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:GMe,ngContentSelectors:WMe,decls:1,vars:0,template:function(i,r){i&1&&(Be(),ae(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 YMe=["input"],KMe=["label"],QMe=["*"],ZMe=new A("mat-checkbox-default-options",{providedIn:"root",factory:e6});function e6(){return{color:"accent",clickAction:"check-indeterminate",disabledInteractive:!1}}var hi=(function(t){return t[t.Init=0]="Init",t[t.Checked=1]="Checked",t[t.Unchecked=2]="Unchecked",t[t.Indeterminate=3]="Indeterminate",t})(hi||{}),Zk=class{source;checked},JW=e6(),t6=(()=>{class t{_elementRef=u(K);_changeDetectorRef=u(Ae);_ngZone=u(J);_animationsDisabled=ft();_options=u(ZMe,{optional:!0});focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(e){let i=new Zk;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=hi.Init;_controlValueAccessorChangeFn=()=>{};_validatorChangeFn=()=>{};constructor(){u(wt).load(Nn);let e=u(new Hn("tabindex"),{optional:!0});this._options=this._options||JW,this.color=this._options.color||JW.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(hi.Indeterminate):this._transitionCheckState(this.checked?hi.Checked:hi.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?hi.Checked:hi.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 hi.Init:if(i===hi.Checked)return this._animationClasses.uncheckedToChecked;if(i==hi.Indeterminate)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case hi.Unchecked:return i===hi.Checked?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case hi.Checked:return i===hi.Unchecked?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case hi.Indeterminate:return i===hi.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=M({type:t,selectors:[["mat-checkbox"]],viewQuery:function(i,r){if(i&1&&(_e(YMe,5),_e(KMe,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:[De([{provide:kr,useExisting:dn(()=>t),multi:!0},{provide:Pa,useExisting:t,multi:!0}]),it],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=Oe();Be(),v(0,"div",3),L("click",function(s){return q(o),G(r._preventBubblingFromLabel(s))}),v(1,"div",4,0)(3,"div",5),L("click",function(){return q(o),G(r._onTouchTargetClick())}),w(),v(4,"input",6,1),L("blur",function(){return q(o),G(r._onBlur())})("click",function(){return q(o),G(r._onInputClick())})("change",function(s){return q(o),G(r._onInteractionEvent(s))}),w(),ue(6,"div",7),v(7,"div",8),ti(),v(8,"svg",9),ue(9,"path",10),w(),Ja(),ue(10,"div",11),w(),ue(11,"div",12),w(),v(12,"label",13,2),ae(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,av],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 Xk=new A("MAT_DATE_LOCALE",{providedIn:"root",factory:JMe});function JMe(){return u(Xc)}var lu="Method not implemented",Vn=class{locale;_localeChanges=new V;localeChanges=this._localeChanges;setTime(n,e,i,r){throw new Error(lu)}getHours(n){throw new Error(lu)}getMinutes(n){throw new Error(lu)}getSeconds(n){throw new Error(lu)}parseTime(n,e){throw new Error(lu)}addSeconds(n,e){throw new Error(lu)}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}},Uo=new A("mat-date-formats");var eAe=["tooltip"],r6=20;var o6=new A("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t,{scrollThrottle:r6})}});function a6(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var s6=new A("mat-tooltip-default-options",{providedIn:"root",factory:a6});var n6="tooltip-panel",i6=ds({passive:!0}),tAe=8,nAe=8,iAe=24,rAe=200,cu=(()=>{class t{_elementRef=u(K);_ngZone=u(J);_platform=u(Ue);_ariaDescriber=u(E_);_focusMonitor=u(Qi);_dir=u(Ot);_injector=u(Re);_viewContainerRef=u(rt);_animationsDisabled=ft();_defaultOptions=u(s6,{optional:!0});_overlayRef;_tooltipInstance;_overlayPanelClass;_portal;_position="below";_positionAtOrigin=!1;_disabled=!1;_tooltipClass;_viewInitialized=!1;_pointerExitEventsInitialized=!1;_tooltipComponent=l6;_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=li(e)}_showDelay;get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=li(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 V;_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=tAe}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ye(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,i6)}),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 Rs(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(Ye(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 K)return this._overlayRef;this._detach()}let i=this._injector.get(Zr).getAncestorScrollContainers(this._elementRef),r=`${this._cssClassPrefix}-${n6}`,o=Oa(this._injector,this.positionAtOrigin?e||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(Ye(this._destroyed)).subscribe(a=>{this._updateCurrentPositionClass(a.connectionPair),this._tooltipInstance&&a.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=Na(this._injector,{direction:this._dir,positionStrategy:o,panelClass:this._overlayPanelClass?[...this._overlayPanelClass,r]:r,scrollStrategy:this._injector.get(o6)(),disableAnimations:this._animationsDisabled}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ye(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ye(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe(Ye(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(Ye(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(k(k({},r.main),o.main)),this._addOffset(k(k({},r.fallback),o.fallback))])}_addOffset(e){let i=nAe,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(),Vt(()=>{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}-${n6}-`;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,i6)})}_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||Vt({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})(),l6=(()=>{class t{_changeDetectorRef=u(Ae);_elementRef=u(K);_isMultiline=!1;message;tooltipClass;_showTimeoutId;_hideTimeoutId;_triggerElement;_mouseLeaveHideDelay;_animationsDisabled=ft();_tooltip;_closeOnInteraction=!1;_isVisible=!1;_onHide=new V;_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>iAe&&e.width>=rAe}_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=M({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,r){if(i&1&&_e(eAe,7),i&2){let o;j(o=B())&&(r._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,r){i&1&&L("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=Oe();v(0,"div",1,0),L("animationend",function(s){return q(o),G(r._handleAnimationEnd(s))}),v(2,"div",2),O(3),w()()}i&2&&(U("mdc-tooltip--multiline",r._isMultiline),x("ngClass",r.tooltipClass),C(3),ie(r.message))},dependencies:[ko],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 sv=new A("MAT_INPUT_VALUE_ACCESSOR");var lv=(()=>{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 du=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 oAe=["mat-calendar-body",""];function aAe(t,n){return this._trackRow(n)}var p6=(t,n)=>n.id;function sAe(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(),un(" ",e.label," ")}}function lAe(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(),un(" ",e._firstRowOffset>=e.labelMinRequiredCells?e.label:""," ")}}function cAe(t,n){if(t&1){let e=Oe();v(0,"td",6)(1,"button",7),L("click",function(r){let o=q(e).$implicit,a=T(2);return G(a._cellClicked(o,r))})("focus",function(r){let o=q(e).$implicit,a=T(2);return G(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(),un(" ",e.displayValue," ")}}function dAe(t,n){if(t&1&&(v(0,"tr",1),Ce(1,lAe,2,6,"td",4),hr(2,cAe,5,48,"td",5,p6),w()),t&2){let e=n.$implicit,i=n.$index,r=T();C(),we(i===0&&r._firstRowOffset?1:-1),C(),pr(e)}}function uAe(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),ie(e.long),C(2),ie(e.narrow)}}var mAe=["*"];function fAe(t,n){}function hAe(t,n){if(t&1){let e=Oe();v(0,"mat-month-view",4),Zc("activeDateChange",function(r){q(e);let o=T();return Tm(o.activeDate,r)||(o.activeDate=r),G(r)}),L("_userSelection",function(r){q(e);let o=T();return G(o._dateSelected(r))})("dragStarted",function(r){q(e);let o=T();return G(o._dragStarted(r))})("dragEnded",function(r){q(e);let o=T();return G(o._dragEnded(r))}),w()}if(t&2){let e=T();Qc("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 pAe(t,n){if(t&1){let e=Oe();v(0,"mat-year-view",5),Zc("activeDateChange",function(r){q(e);let o=T();return Tm(o.activeDate,r)||(o.activeDate=r),G(r)}),L("monthSelected",function(r){q(e);let o=T();return G(o._monthSelectedInYearView(r))})("selectedChange",function(r){q(e);let o=T();return G(o._goToDateInView(r,"month"))}),w()}if(t&2){let e=T();Qc("activeDate",e.activeDate),x("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function gAe(t,n){if(t&1){let e=Oe();v(0,"mat-multi-year-view",6),Zc("activeDateChange",function(r){q(e);let o=T();return Tm(o.activeDate,r)||(o.activeDate=r),G(r)}),L("yearSelected",function(r){q(e);let o=T();return G(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){q(e);let o=T();return G(o._goToDateInView(r,"year"))}),w()}if(t&2){let e=T();Qc("activeDate",e.activeDate),x("selected",e.selected)("dateFilter",e.dateFilter)("maxDate",e.maxDate)("minDate",e.minDate)("dateClass",e.dateClass)}}function _Ae(t,n){}var yAe=["button"],bAe=[[["","matDatepickerToggleIcon",""]]],vAe=["[matDatepickerToggleIcon]"];function CAe(t,n){t&1&&(ti(),v(0,"svg",2),ue(1,"path",3),w())}var bh=(()=>{class t{changes=new V;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})(),wAe=0,_h=class{value;displayValue;ariaLabel;enabled;cssClasses;compareValue;rawValue;id=wAe++;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}},DAe={passive:!1,capture:!0},cv={passive:!0,capture:!0},c6={passive:!0},mu=(()=>{class t{_elementRef=u(K);_ngZone=u(J);_platform=u(Ue);_intl=u(bh);_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,DAe),e.listen(r,"mouseenter",this._enterHandler,cv),e.listen(r,"focus",this._enterHandler,cv),e.listen(r,"mouseleave",this._leaveHandler,cv),e.listen(r,"blur",this._leaveHandler,cv),e.listen(r,"mousedown",this._mousedownHandler,c6),e.listen(r,"touchstart",this._mousedownHandler,c6)];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){Vt(()=>{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 tM(e,this.startValue,this.endValue)}_isRangeEnd(e){return nM(e,this.startValue,this.endValue)}_isInRange(e){return iM(e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(e){return tM(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 nM(e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(e){return iM(e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}_isPreviewStart(e){return tM(e,this.previewStart,this.previewEnd)}_isPreviewEnd(e){return nM(e,this.previewStart,this.previewEnd)}_isInPreview(e){return iM(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=d6(e),r=i?this._getCellFromElement(i):null;i!==e.target&&(this._didDragSinceMouseDown=!0),eM(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=eM(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=d6(e);i&&this._mouseupHandler({target:i})};_getCellFromElement(e){let i=eM(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=M({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:[it],attrs:oAe,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&&(Ce(0,sAe,3,6,"tr",0),hr(1,dAe,4,1,"tr",1,aAe,!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&&(we(r._firstRowOffset<r.labelMinRequiredCells?0:-1),C(),pr(r.rows),C(2),x("id",r._startDateLabelId),C(),un(" ",r.startDateAccessibleName,`
43
+ `),C(),x("id",r._endDateLabelId),C(),un(" ",r.endDateAccessibleName,`
44
+ `),C(),x("id",r._comparisonStartDateLabelId),C(),xm(" ",r.comparisonDateAccessibleName," ",r.startDateAccessibleName,`
45
+ `),C(),x("id",r._comparisonEndDateLabelId),C(),xm(" ",r.comparisonDateAccessibleName," ",r.endDateAccessibleName,`
46
+ `))},dependencies:[ko],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 Jk(t){return t?.nodeName==="TD"}function eM(t){let n;return Jk(t)?n=t:Jk(t.parentNode)?n=t.parentNode:Jk(t.parentNode?.parentNode)&&(n=t.parentNode.parentNode),n?.getAttribute("data-mat-row")!=null?n:null}function tM(t,n,e){return e!==null&&n!==e&&t<e&&t===n}function nM(t,n,e){return n!==null&&n!==e&&t>=n&&t===e}function iM(t,n,e,i){return i&&n!==null&&e!==null&&n!==e&&t>=n&&t<=e}function d6(t){let n=t.changedTouches[0];return document.elementFromPoint(n.clientX,n.clientY)}var Fr=class{start;end;_disableStructuralEquivalency;constructor(n,e){this.start=n,this.end=e}},yh=(()=>{class t{selection;_adapter;_selectionChanged=new V;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){wD()};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),EAe=(()=>{class t extends yh{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 SAe(t,n){return t||new EAe(n)}var g6={provide:yh,deps:[[new qc,new Sg,yh],Vn],useFactory:SAe};var _6=new A("MAT_DATE_RANGE_SELECTION_STRATEGY");var rM=7,xAe=0,u6=(()=>{class t{_changeDetectorRef=u(Ae);_dateFormats=u(Uo,{optional:!0});_dateAdapter=u(Vn,{optional:!0});_dir=u(Ot,{optional:!0});_rangeStrategy=u(_6,{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 Fr?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(Nt(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 Fr?(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=(rM+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%rM,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:xAe++}));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==rM&&(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 _h(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 Fr?(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=M({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,r){if(i&1&&_e(mu,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:[it],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,uAe,5,2,"th",2,p6),w(),v(5,"tr",3),ue(6,"th",4),w()(),v(7,"tbody",5),L("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:[mu],encapsulation:2,changeDetection:0})}return t})(),or=24,oM=4,m6=(()=>{class t{_changeDetectorRef=u(Ae);_dateAdapter=u(Vn,{optional:!0});_dir=u(Ot,{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),y6(this._dateAdapter,i,this._activeDate,this.minDate,this.maxDate)||this._init()}_activeDate;get selected(){return this._selected}set selected(e){e instanceof Fr?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(Nt(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-gh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let r=0,o=[];r<or;r++)o.push(i+r),o.length==oM&&(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,-oM);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,oM);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-gh(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,or-gh(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 gh(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 _h(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 Fr){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=M({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,r){if(i&1&&_e(mu,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),L("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:[mu],encapsulation:2,changeDetection:0})}return t})();function y6(t,n,e,i,r){let o=t.getYear(n),a=t.getYear(e),s=b6(t,i,r);return Math.floor((o-s)/or)===Math.floor((a-s)/or)}function gh(t,n,e,i){let r=t.getYear(n);return TAe(r-b6(t,e,i),or)}function b6(t,n,e){let i=0;return e?i=t.getYear(e)-or+1:n&&(i=t.getYear(n)),i}function TAe(t,n){return(t%n+n)%n}var f6=(()=>{class t{_changeDetectorRef=u(Ae);_dateFormats=u(Uo,{optional:!0});_dateAdapter=u(Vn,{optional:!0});_dir=u(Ot,{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 Fr?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(Nt(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 _h(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 Fr?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=M({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,r){if(i&1&&_e(mu,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),L("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:[mu],encapsulation:2,changeDetection:0})}return t})(),IAe=(()=>{class t{_intl=u(bh);calendar=u(aM);_dateAdapter=u(Vn,{optional:!0});_dateFormats=u(Uo,{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):y6(this._dateAdapter,e,i,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-gh(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=M({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:mAe,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),L("click",function(){return r.currentPeriodClicked()}),v(5,"span",4),O(6),w(),ti(),v(7,"svg",5),ue(8,"polygon",6),w()(),Ja(),ue(9,"div",7),ae(10),v(11,"button",8),L("click",function(){return r.previousClicked()}),ti(),v(12,"svg",9),ue(13,"path",10),w()(),Ja(),v(14,"button",11),L("click",function(){return r.nextClicked()}),ti(),v(15,"svg",9),ue(16,"path",12),w()()()()),i&2&&(C(2),x("id",r._periodButtonLabelId),C(),ie(r.periodButtonDescription),C(),fe("aria-label",r.periodButtonLabel)("aria-describedby",r._periodButtonLabelId),C(2),ie(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,to,cu],encapsulation:2,changeDetection:0})}return t})(),aM=(()=>{class t{_dateAdapter=u(Vn,{optional:!0});_dateFormats=u(Uo,{optional:!0});_changeDetectorRef=u(Ae);_elementRef=u(K);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 Fr?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 V;constructor(){this._intlChanges=u(bh).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new Rs(this.headerComponent||IAe),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(ya())&&(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 Fr||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=M({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,r){if(i&1&&(_e(u6,5),_e(f6,5),_e(m6,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:[De([g6]),it],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,fAe,0,0,"ng-template",0),v(1,"div",1),Ce(2,hAe,1,11,"mat-month-view",2)(3,pAe,1,6,"mat-year-view",3)(4,gAe,1,6,"mat-multi-year-view",3),w()),i&2){let o;x("cdkPortalOutlet",r._calendarHeaderPortal),C(2),we((o=r.currentView)==="month"?2:o==="year"?3:o==="multi-year"?4:-1)}},dependencies:[Ps,Um,u6,f6,m6],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})(),kAe=new A("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}});var MAe=(()=>{class t{_elementRef=u(K);_animationsDisabled=ft();_changeDetectorRef=u(Ae);_globalModel=u(yh);_dateAdapter=u(Vn);_ngZone=u(J);_rangeSelectionStrategy=u(_6,{optional:!0});_stateChanges;_model;_eventCleanups;_animationFallback;_calendar;color;datepicker;comparisonStart;comparisonEnd;startDateAccessibleName;endDateAccessibleName;_isAbove;_animationDone=new V;_isAnimating=!1;_closeButtonText;_closeButtonFocused;_actionsPortal=null;_dialogLabelId;constructor(){if(u(wt).load(_r),this._closeButtonText=u(bh).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 Fr;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=M({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,r){if(i&1&&_e(aM,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),L("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,_Ae,0,0,"ng-template",2),v(3,"button",3),L("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(),ie(r._closeButtonText))},dependencies:[XE,aM,Ps,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})(),h6=(()=>{class t{_injector=u(Re);_viewContainerRef=u(rt);_dateAdapter=u(Vn,{optional:!0});_dir=u(Ot,{optional:!0});_model=u(yh);_animationsDisabled=ft();_scrollStrategy=u(kAe);_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=RN(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 V;_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 ru&&(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=ya(),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 Rs(MAe,this._viewContainerRef),r=this._overlayRef=Na(this._injector,new Fa({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?Jb(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||Vt(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return ev(this._injector).centerHorizontally().centerVertically()}_getDropdownStrategy(){let e=Oa(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 Ft(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:[it]})}return t})(),v6=(()=>{class t extends h6{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[De([g6,{provide:h6,useExisting:t}]),ee],decls:0,vars:0,template:function(i,r){},encapsulation:2,changeDetection:0})}return t})(),uu=class{target;targetElement;value;constructor(n,e){this.target=n,this.targetElement=e,this.value=this.target.value}},AAe=(()=>{class t{_elementRef=u(K);_dateAdapter=u(Vn,{optional:!0});_dateFormats=u(Uo,{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 V;_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 uu(this,this._elementRef.nativeElement)),this.dateChange.emit(new uu(this,this._elementRef.nativeElement))}})}_lastValueValid=!1;constructor(){this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(e){RAe(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 uu(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new uu(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:[it]})}return t})();function RAe(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 PAe={provide:kr,useExisting:dn(()=>dv),multi:!0},FAe={provide:Pa,useExisting:dn(()=>dv),multi:!0},dv=(()=>{class t extends AAe{_formField=u(zo,{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=ks.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&&L("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:[De([PAe,FAe,{provide:sv,useExisting:t}]),ee]})}return t})(),OAe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matDatepickerToggleIcon",""]]})}return t})(),C6=(()=>{class t{_intl=u(bh);_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?Ft(this.datepicker.openedStream,this.datepicker.closedStream):en();this._stateChanges.unsubscribe(),this._stateChanges=Ft(this._intl.changes,e,i,r).subscribe(()=>this._changeDetectorRef.markForCheck())}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,r,o){if(i&1&&Qe(o,OAe,5),i&2){let a;j(a=B())&&(r._customIcon=a.first)}},viewQuery:function(i,r){if(i&1&&_e(yAe,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&&L("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:[it],ngContentSelectors:vAe,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(bAe),v(0,"button",1,0),Ce(2,CAe,2,0,":svg:svg",2),ae(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),we(r._customIcon?-1:2))},dependencies:[to],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 qo=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,g_,rr,ct]})}return t})();var VAe=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({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})(),jAe={passive:!0},w6=(()=>{class t{_platform=u(Ue);_ngZone=u(J);_renderer=u(tn).createRenderer(null,null);_styleLoader=u(wt);_monitoredElements=new Map;constructor(){}monitor(e){if(!this._platform.isBrowser)return Br;this._styleLoader.load(VAe);let i=ln(e),r=this._monitoredElements.get(i);if(r)return r.subject;let o=new V,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,jAe)));return this._monitoredElements.set(i,{subject:o,unlisten:l}),o}stopMonitoring(e){let i=ln(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 D6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var BAe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],zAe=new A("MAT_INPUT_CONFIG"),fu=(()=>{class t{_elementRef=u(K);_platform=u(Ue);ngControl=u(jo,{optional:!0,self:!0});_autofillMonitor=u(w6);_ngZone=u(J);_formField=u(zo,{optional:!0});_renderer=u(yt);_uid=u(Tt).getId("mat-input-");_previousNativeValue;_inputValueAccessor;_signalBasedValueAccessor;_previousPlaceholder;_errorStateTracker;_config=u(zAe,{optional:!0});_cleanupIosKeyup;_cleanupWebkitWheel;_isServer;_isNativeSelect;_isTextarea;_isInFormField;focused=!1;stateChanges=new V;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(ks.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&&oS().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=>oS().has(e));constructor(){let e=u(Xd,{optional:!0}),i=u(Jd,{optional:!0}),r=u(lv),o=u(sv,{optional:!0,self:!0}),a=this._elementRef.nativeElement,s=a.nodeName.toLowerCase();o?Eo(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 du(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&&sn(()=>{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(){BAe.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&&L("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:[De([{provide:ec,useExisting:t}]),it]})}return t})(),E6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,qo,qo,D6,ct]})}return t})();var S6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var HAe=["*"],UAe=`.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
+ `,qAe=["unscopedContent"],GAe=["text"],WAe=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],YAe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var KAe=new A("ListOption"),cM=(()=>{class t{_elementRef=u(K);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(K);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})(),ZAe=(()=>{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})(),x6=(()=>{class t{_listOption=u(KAe,{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})(),XAe=(()=>{class t extends x6{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[ee]})}return t})(),JAe=(()=>{class t extends x6{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[ee]})}return t})(),eRe=new A("MAT_LIST_CONFIG"),lM=(()=>{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(eRe,{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})(),tRe=(()=>{class t{_elementRef=u(K);_ngZone=u(J);_listBase=u(lM,{optional:!0});_platform=u(Ue);_hostElement;_isButtonElement;_noopAnimations=ft();_avatars;_icons;set lines(e){this._explicitLines=li(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(fs,{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 Pl(this,this._ngZone,this._hostElement,this._platform,u(Re)),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(Ft(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&&(Qe(o,XAe,4),Qe(o,JAe,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 uv=(()=>{class t extends tRe{_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=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,QAe,5),Qe(o,cM,5),Qe(o,ZAe,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(qAe,5),_e(GAe,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:YAe,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=Oe();Be(WAe),ae(0),v(1,"span",1),ae(2,1),ae(3,2),v(4,"span",2,0),L("cdkObserveContent",function(){return q(o),G(r._updateItemLines(!0))}),ae(6,3),w()(),ae(7,4),ae(8,5),ue(9,"div",3)}},dependencies:[p_],encapsulation:2,changeDetection:0})}return t})();var mv=(()=>{class t extends lM{_isNonInteractive=!1;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],features:[De([{provide:lM,useExisting:t}]),ee],ngContentSelectors:HAe,decls:1,vars:0,template:function(i,r){i&1&&(Be(),ae(0))},styles:[UAe],encapsulation:2,changeDetection:0})}return t})();var T6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[g_,ct,cd,rv,S6]})}return t})();var iRe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,rRe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function dM(t,n){let e=Array(t);for(let i=0;i<t;i++)e[i]=n(i);return e}var k6=(()=>{class t extends Vn{useUtcForDisplay=!1;_matDateLocale=u(Xk,{optional:!0});constructor(){super();let e=u(Xk,{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 dM(12,r=>this._format(i,new Date(2017,r,1)))}getDateNames(){let e=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return dM(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 dM(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(k({},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(iRe.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(rRe);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),uM(r,0,23)&&uM(o,0,59)&&(a==null||uM(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 uM(t,n,e){return!isNaN(t)&&t>=n&&t<=e}var aRe=["trigger"],sRe=["panel"],lRe=[[["mat-select-trigger"]],"*"],cRe=["mat-select-trigger","*"];function dRe(t,n){if(t&1&&(v(0,"span",4),O(1),w()),t&2){let e=T();C(),ie(e.placeholder)}}function uRe(t,n){t&1&&ae(0)}function mRe(t,n){if(t&1&&(v(0,"span",11),O(1),w()),t&2){let e=T(2);C(),ie(e.triggerValue)}}function fRe(t,n){if(t&1&&(v(0,"span",5),Ce(1,uRe,1,0)(2,mRe,2,1,"span",11),w()),t&2){let e=T();C(),we(e.customTrigger?1:2)}}function hRe(t,n){if(t&1){let e=Oe();v(0,"div",12,1),L("keydown",function(r){q(e);let o=T();return G(o._handleKeydown(r))}),ae(2,1),w()}if(t&2){let e=T();nn(zD("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 mM=new A("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let t=u(Re);return()=>nr(t)}});function M6(t){let n=u(Re);return()=>nr(n)}var A6=new A("MAT_SELECT_CONFIG"),R6={provide:mM,deps:[],useFactory:M6},P6=new A("MatSelectTrigger"),fv=class{source;value;constructor(n,e){this.source=n,this.value=e}},vh=(()=>{class t{_viewportRuler=u(On);_changeDetectorRef=u(Ae);_elementRef=u(K);_dir=u(Ot,{optional:!0});_idGenerator=u(Tt);_renderer=u(yt);_parentFormField=u(zo,{optional:!0});ngControl=u(jo,{self:!0,optional:!0});_liveAnnouncer=u(JE);_defaultOptions=u(A6,{optional:!0});_animationsDisabled=ft();_initialized=new V;_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=ch(e,this.options,this.optionGroups),a=i._getHostElement();e===0&&o===1?r.scrollTop=0:r.scrollTop=dh(a.offsetTop,a.offsetHeight,r.scrollTop,r.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(e){return new fv(this,e)}_scrollStrategyFactory=u(mM);_panelOpen=!1;_compareWith=(e,i)=>e===i;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new V;_errorStateTracker;stateChanges=new V;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(ks.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=zu(()=>{let e=this.options;return e?e.changes.pipe(Nt(e),Xn(()=>Ft(...e.map(i=>i.onSelectionChange)))):this._initialized.pipe(Xn(()=>this.optionSelectionChanges))});openedChange=new F;_openedStream=this.openedChange.pipe(_t(e=>e),tt(()=>{}));_closedStream=this.openedChange.pipe(_t(e=>!e),tt(()=>{}));selectionChange=new F;valueChange=new F;constructor(){let e=u(lv),i=u(Xd,{optional:!0}),r=u(Jd,{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 du(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 zm(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ye(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(Ye(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(Nt(null),Ye(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&&ms(this._trackedModal,"aria-owns",i),ad(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(!this._trackedModal)return;let e=`${this.id}-panel`;ms(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 ou?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 Al(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=Ft(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ye(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Ft(...this.options.map(i=>i._stateChanges)).pipe(Ye(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=M({type:t,selectors:[["mat-select"]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,P6,5),Qe(o,Bi,5),Qe(o,iu,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(aRe,5),_e(sRe,5),_e(tv,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&&L("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:[De([{provide:ec,useExisting:t},{provide:nu,useExisting:t}]),it],ngContentSelectors:cRe,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=Oe();Be(lRe),v(0,"div",2,0),L("click",function(){return q(o),G(r.open())}),v(3,"div",3),Ce(4,dRe,2,1,"span",4)(5,fRe,3,1,"span",5),w(),v(6,"div",6)(7,"div",7),ti(),v(8,"svg",8),ue(9,"path",9),w()()()(),Te(10,hRe,3,10,"ng-template",10),L("detach",function(){return q(o),G(r.close())})("backdropClick",function(){return q(o),G(r.close())})("overlayKeydown",function(s){return q(o),G(r._handleOverlayKeydown(s))})}if(i&2){let o=Tn(1);C(3),fe("id",r._valueId),C(),we(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:[ou,tv,ko],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 Ch=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({providers:[R6],imports:[hh,Yk,ct,cs,qo,Yk,ct]})}return t})();var gv=["*"],pRe=["content"],gRe=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],_Re=["mat-drawer","mat-drawer-content","*"];function yRe(t,n){if(t&1){let e=Oe();v(0,"div",1),L("click",function(){q(e);let r=T();return G(r._onBackdropClicked())}),w()}if(t&2){let e=T();U("mat-drawer-shown",e._isShowingBackdrop())}}function bRe(t,n){t&1&&(v(0,"mat-drawer-content"),ae(1,2),w())}var vRe=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],CRe=["mat-sidenav","mat-sidenav-content","*"];function wRe(t,n){if(t&1){let e=Oe();v(0,"div",1),L("click",function(){q(e);let r=T();return G(r._onBackdropClicked())}),w()}if(t&2){let e=T();U("mat-drawer-shown",e._isShowingBackdrop())}}function DRe(t,n){t&1&&(v(0,"mat-sidenav-content"),ae(1,2),w())}var ERe=`.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 SRe=new A("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:xRe}),pM=new A("MAT_DRAWER_CONTAINER");function xRe(){return!1}var hv=(()=>{class t extends _a{_platform=u(Ue);_changeDetectorRef=u(Ae);_container=u(hM);constructor(){let e=u(K),i=u(Zr),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=M({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:[De([{provide:_a,useExisting:t}]),ee],ngContentSelectors:gv,decls:1,vars:0,template:function(i,r){i&1&&(Be(),ae(0))},encapsulation:2,changeDetection:0})}return t})(),fM=(()=>{class t{_elementRef=u(K);_focusTrapFactory=u(y_);_focusMonitor=u(Qi);_platform=u(Ue);_ngZone=u(J);_renderer=u(yt);_interactivityChecker=u(rd);_doc=u(ke);_container=u(pM,{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 V;_animationEnd=new V;openedChange=new F(!0);_openedStream=this.openedChange.pipe(_t(e=>e),tt(()=>{}));openedStart=this._animationStarted.pipe(_t(()=>this.opened),bc(void 0));_closedStream=this.openedChange.pipe(_t(e=>!e),tt(()=>{}));closedStart=this._animationStarted.pipe(_t(()=>!this.opened),bc(void 0));_destroyed=new V;onPositionChanged=new F;_content;_modeChanged=new V;_injector=u(Re);_changeDetectorRef=u(Ae);constructor(){this.openedChange.pipe(Ye(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;Hu(e,"keydown").pipe(_t(i=>i.keyCode===27&&!this.disableClose&&!$t(i)),Ye(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":Vt(()=>{!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=M({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,r){if(i&1&&_e(pRe,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:gv,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Be(),v(0,"div",1,0),ae(2),w())},dependencies:[_a],encapsulation:2,changeDetection:0})}return t})(),hM=(()=>{class t{_dir=u(Ot,{optional:!0});_element=u(K);_ngZone=u(J);_changeDetectorRef=u(Ae);_animationDisabled=ft();_transitionsEnabled=!1;_allDrawers;_drawers=new Wi;_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(SRe);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 V;_doCheckSubject=new V;_contentMargins={left:null,right:null};_contentMarginChanges=new V;get scrollable(){return this._userContent||this._content}_injector=u(Re);constructor(){let e=u(Ue),i=u(On);this._dir?.change.pipe(Ye(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),i.change().pipe(Ye(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(Nt(this._allDrawers),Ye(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Nt(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(zr(10),Ye(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(Ye(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(Ye(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(Ye(this._drawers.changes)).subscribe(()=>{Vt({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(Ye(Ft(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=M({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,hv,5),Qe(o,fM,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(hv,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:[De([{provide:pM,useExisting:t}])],ngContentSelectors:_Re,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(gRe),Ce(0,yRe,1,2,"div",0),ae(1),ae(2,1),Ce(3,bRe,2,0,"mat-drawer-content")),i&2&&(we(r.hasBackdrop?0:-1),C(3),we(r._content?-1:3))},dependencies:[hv],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})(),pv=(()=>{class t extends hv{static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[De([{provide:_a,useExisting:t}]),ee],ngContentSelectors:gv,decls:1,vars:0,template:function(i,r){i&1&&(Be(),ae(0))},encapsulation:2,changeDetection:0})}return t})(),gM=(()=>{class t extends fM{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=fn(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=li(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=li(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({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:[De([{provide:fM,useExisting:t}]),ee],ngContentSelectors:gv,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Be(),v(0,"div",1,0),ae(2),w())},dependencies:[_a],encapsulation:2,changeDetection:0})}return t})(),O6=(()=>{class t extends hM{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,pv,5),Qe(o,gM,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:[De([{provide:pM,useExisting:t},{provide:hM,useExisting:t}]),ee],ngContentSelectors:CRe,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(vRe),Ce(0,wRe,1,2,"div",0),ae(1),ae(2,1),Ce(3,DRe,2,0,"mat-sidenav-content")),i&2&&(we(r.hasBackdrop?0:-1),C(3),we(r._content?-1:3))},dependencies:[pv],styles:[ERe],encapsulation:2,changeDetection:0})}return t})();var IRe=["knob"],kRe=["valueIndicatorContainer"];function MRe(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),ie(e.valueIndicatorText)}}var ARe=["trackActive"],RRe=["*"];function PRe(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 FRe(t,n){if(t&1&&hr(0,PRe,1,4,"div",8,Dm),t&2){let e=T(2);pr(e._tickMarks)}}function ORe(t,n){if(t&1&&(v(0,"div",6,1),Ce(2,FRe,2,0),w()),t&2){let e=T();C(2),we(e._cachedWidth?2:-1)}}function NRe(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 Je=(function(t){return t[t.START=1]="START",t[t.END=2]="END",t})(Je||{}),hu=(function(t){return t[t.ACTIVE=0]="ACTIVE",t[t.INACTIVE=1]="INACTIVE",t})(hu||{}),_M=new A("_MatSlider"),N6=new A("_MatSliderThumb"),LRe=new A("_MatSliderRangeThumb"),L6=new A("_MatSliderVisualThumb");var VRe=(()=>{class t{_cdr=u(Ae);_ngZone=u(J);_slider=u(_M);_renderer=u(yt);_listenerCleanups;discrete;thumbPosition;valueIndicatorText;_ripple;_knob;_valueIndicatorContainer;_sliderInput;_sliderInputEl;_hoverRippleRef;_focusRippleRef;_activeRippleRef;_isHovered=!1;_isActive=!1;_isValueIndicatorVisible=!1;_hostElement=u(K).nativeElement;_platform=u(Ue);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===vi.FADING_IN||e?.state===vi.VISIBLE}_showRipple(e,i){if(!this._slider.disabled&&(this._showValueIndicator(),this._slider._isRange&&this._slider._getThumb(this.thumbPosition===Je.START?Je.END:Je.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===Je.START?Je.END:Je.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=M({type:t,selectors:[["mat-slider-visual-thumb"]],viewQuery:function(i,r){if(i&1&&(_e(br,5),_e(IRe,5),_e(kRe,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:[De([{provide:L6,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&&(Ce(0,MRe,5,1,"div",2),ue(1,"div",3,0)(3,"div",4)),i&2&&(we(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})(),V6=(()=>{class t{_ngZone=u(J);_cdr=u(Ae);_elementRef=u(K);_dir=u(Ot,{optional:!0});_globalRippleOptions=u(fs,{optional:!0});_trackActive;_thumbs;_input;_inputs;get disabled(){return this._disabled}set disabled(e){this._disabled=e;let i=this._getInput(Je.END),r=this._getInput(Je.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(Je.END),r=this._getInput(Je.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(Je.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(Je.END),r=this._getInput(Je.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(Je.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(Je.END),i=this._getInput(Je.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(Je.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(Ue);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(Je.END),i=this._getInput(Je.START);this._isRange=!!e&&!!i,this._cdr.detectChanges();let r=this._getThumb(Je.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(Je.END),i=this._getInput(Je.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(Je.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(Je.START)._isActive||this._getThumb(Je.END)._isActive}_getValue(e=Je.END){let i=this._getInput(e);return i?i.value:this.min}_skipUpdate(){return!!(this._getInput(Je.START)?._skipUIUpdate||this._getInput(Je.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(Je.END),i=this._getInput(Je.START);e._updateThumbUIByValue(),i._updateThumbUIByValue(),e._updateStaticStyles(),i._updateStaticStyles(),e._updateMinMax(),i._updateMinMax(),e._updateWidthInactive(),i._updateWidthInactive()}else{let e=this._getInput(Je.END);e&&e._updateThumbUIByValue()}this._updateTickMarkUI(),this._updateTickMarkTrackUI(),this._cdr.detectChanges()}}_thumbsOverlap=!1;_areThumbsOverlapping(){let e=this._getInput(Je.START),i=this._getInput(Je.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===Je.END?Je.END:Je.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===Je.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(Je.END),i=this._getInput(Je.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(hu.ACTIVE).concat(Array(o).fill(hu.INACTIVE))}_updateTickMarkUIRange(e){let i=this._getValue(),r=this._getValue(Je.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(hu.INACTIVE).concat(Array(a).fill(hu.ACTIVE),Array(s).fill(hu.INACTIVE))}_getInput(e){if(e===Je.END&&this._input)return this._input;if(this._inputs?.length)return e===Je.START?this._inputs.first:this._inputs.last}_getThumb(e){return e===Je.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=M({type:t,selectors:[["mat-slider"]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,N6,5),Qe(o,LRe,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(ARe,5),_e(L6,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:[De([{provide:_M,useExisting:t}])],ngContentSelectors:RRe,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(),ae(0),v(1,"div",2),ue(2,"div",3),v(3,"div",4),ue(4,"div",5,0),w(),Ce(6,ORe,3,1,"div",6),w(),Ce(7,NRe,1,3,"mat-slider-visual-thumb",7),ue(8,"mat-slider-visual-thumb",7)),i&2&&(C(6),we(r.showTickMarks?6:-1),C(),we(r._isRange?7:-1),C(),x("discrete",r.discrete)("thumbPosition",2)("valueIndicatorText",r.endValueIndicatorText))},dependencies:[VRe],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 jRe={provide:kr,useExisting:dn(()=>yM),multi:!0};var yM=(()=>{class t{_ngZone=u(J);_elementRef=u(K);_cdr=u(Ae);_slider=u(_M);_platform=u(Ue);_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=Je.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 V;_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&&L("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:[De([jRe,{provide:N6,useExisting:t}])]})}return t})();var zRe=["switch"],$Re=["*"];function HRe(t,n){t&1&&(v(0,"span",11),ti(),v(1,"svg",13),ue(2,"path",14),w(),v(3,"svg",15),ue(4,"path",16),w()())}var URe=new A("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),_v=class{source;checked;constructor(n,e){this.source=n,this.checked=e}},j6=(()=>{class t{_elementRef=u(K);_focusMonitor=u(Qi);_changeDetectorRef=u(Ae);defaults=u(URe);_onChange=e=>{};_onTouched=()=>{};_validatorOnChange=()=>{};_uniqueId;_checked=!1;_createChangeEvent(e){return new _v(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 _v(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=M({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(i&1&&_e(zRe,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:[De([{provide:kr,useExisting:dn(()=>t),multi:!0},{provide:Pa,useExisting:t,multi:!0}]),it],ngContentSelectors:$Re,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=Oe();Be(),v(0,"div",1)(1,"button",2,0),L("click",function(){return q(o),G(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(),Ce(11,HRe,5,0,"span",11),w()()(),v(12,"label",12),L("click",function(s){return q(o),G(s.stopPropagation())}),ae(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(),we(r.hideIcon?-1:11),C(),x("for",r.buttonId),fe("id",r._labelId)}},dependencies:[br,av],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 DM=["*"];function GRe(t,n){t&1&&ae(0)}var WRe=["tabListContainer"],YRe=["tabList"],KRe=["tabListInner"],QRe=["nextPaginator"],ZRe=["previousPaginator"],XRe=["content"];function JRe(t,n){}var e1e=["tabBodyWrapper"],t1e=["tabHeader"];function n1e(t,n){}function i1e(t,n){if(t&1&&Te(0,n1e,0,0,"ng-template",12),t&2){let e=T().$implicit;x("cdkPortalOutlet",e.templateLabel)}}function r1e(t,n){if(t&1&&O(0),t&2){let e=T().$implicit;ie(e.textLabel)}}function o1e(t,n){if(t&1){let e=Oe();v(0,"div",7,2),L("click",function(){let r=q(e),o=r.$implicit,a=r.$index,s=T(),l=Tn(1);return G(s._handleClick(o,l,a))})("cdkFocusChange",function(r){let o=q(e).$index,a=T();return G(a._tabFocusChanged(r,o))}),ue(2,"span",8)(3,"div",9),v(4,"span",10)(5,"span",11),Ce(6,i1e,1,1,null,12)(7,r1e,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),we(e.templateLabel?6:7)}}function a1e(t,n){t&1&&ae(0)}function s1e(t,n){if(t&1){let e=Oe();v(0,"mat-tab-body",13),L("_onCentered",function(){q(e);let r=T();return G(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){q(e);let o=T();return G(o._setTabBodyWrapperHeight(r))})("_beforeCentering",function(r){q(e);let o=T();return G(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 l1e=new A("MatTabContent"),c1e=(()=>{class t{template=u(At);constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["","matTabContent",""]],features:[De([{provide:l1e,useExisting:t}])]})}return t})(),d1e=new A("MatTabLabel"),H6=new A("MAT_TAB"),u1e=(()=>{class t extends yW{_closestTab=u(H6,{optional:!0});static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[De([{provide:d1e,useExisting:t}]),ee]})}return t})(),U6=new A("MAT_TAB_GROUP"),wh=(()=>{class t{_viewContainerRef=u(rt);_closestTabGroup=u(U6,{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 V;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=M({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,o){if(i&1&&(Qe(o,u1e,5),Qe(o,c1e,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:[De([{provide:H6,useExisting:t}]),it],ngContentSelectors:DM,decls:1,vars:0,template:function(i,r){i&1&&(Be(),Kr(0,GRe,1,0,"ng-template"))},encapsulation:2})}return t})(),bM="mdc-tab-indicator--active",B6="mdc-tab-indicator--no-transition",vM=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}}},m1e=(()=>{class t{_elementRef=u(K);_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(bM);return}let r=i.getBoundingClientRect(),o=e.width/r.width,a=e.left-r.left;i.classList.add(B6),this._inkBarContentElement.style.setProperty("transform",`translateX(${a}px) scaleX(${o})`),i.getBoundingClientRect(),i.classList.remove(B6),i.classList.add(bM),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(bM)}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 q6=(()=>{class t extends m1e{elementRef=u(K);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=Ke(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})(),z6={passive:!0},f1e=650,h1e=100,p1e=(()=>{class t{_elementRef=u(K);_changeDetectorRef=u(Ae);_viewportRuler=u(On);_dir=u(Ot,{optional:!0});_ngZone=u(J);_platform=u(Ue);_sharedResizeObserver=u(nv);_injector=u(Re);_renderer=u(yt);_animationsDisabled=ft();_eventCleanups;_scrollDistance=0;_selectedIndexChanged=!1;_destroyed=new V;_showPaginationControls=!1;_disableScrollAfter=!0;_disableScrollBefore=!0;_tabLabelCount;_scrollDistanceChanged;_keyManager;_currentTextContent;_stopScrolling=new V;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"),z6),this._renderer.listen(this._nextPaginator.nativeElement,"touchstart",()=>this._handlePaginatorPress("after"),z6))}ngAfterContentInit(){let e=this._dir?this._dir.change:en("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(zr(32),Ye(this._destroyed)),r=this._viewportRuler.change(150).pipe(Ye(this._destroyed)),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Rl(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(Math.max(this._selectedIndex,0)),Vt(o,{injector:this._injector}),Ft(e,r,i,this._items.changes,this._itemsResized()).pipe(Ye(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"?Br:this._items.changes.pipe(Nt(this._items),Xn(e=>new Ve(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(o=>i.next(o));return e.forEach(o=>r.observe(o.elementRef.nativeElement)),()=>{r.disconnect()}}))),Xs(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(),ea(f1e,h1e).pipe(Ye(Ft(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})(),g1e=(()=>{class t extends p1e{_items;_tabListContainer;_tabList;_tabListInner;_nextPaginator;_previousPaginator;_inkBar;ariaLabel;ariaLabelledby;disableRipple=!1;ngAfterContentInit(){this._inkBar=new vM(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,o){if(i&1&&Qe(o,q6,4),i&2){let a;j(a=B())&&(r._items=a)}},viewQuery:function(i,r){if(i&1&&(_e(WRe,7),_e(YRe,7),_e(KRe,7),_e(QRe,5),_e(ZRe,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:DM,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=Oe();Be(),v(0,"div",5,0),L("click",function(){return q(o),G(r._handlePaginatorClick("before"))})("mousedown",function(s){return q(o),G(r._handlePaginatorPress("before",s))})("touchend",function(){return q(o),G(r._stopInterval())}),ue(2,"div",6),w(),v(3,"div",7,1),L("keydown",function(s){return q(o),G(r._handleKeydown(s))}),v(5,"div",8,2),L("cdkObserveContent",function(){return q(o),G(r._onContentChanges())}),v(7,"div",9,3),ae(9),w()()(),v(10,"div",10,4),L("mousedown",function(s){return q(o),G(r._handlePaginatorPress("after",s))})("click",function(){return q(o),G(r._handlePaginatorClick("after"))})("touchend",function(){return q(o),G(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,p_],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})(),_1e=new A("MAT_TABS_CONFIG"),$6=(()=>{class t extends Ps{_host=u(CM);_centeringSub=be.EMPTY;_leavingSub=be.EMPTY;constructor(){super()}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Nt(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})(),CM=(()=>{class t{_elementRef=u(K);_dir=u(Ot,{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),Vt(()=>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(),Vt(()=>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=M({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&(_e($6,5),_e(XRe,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,JRe,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:[$6,_a],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})(),yv=(()=>{class t{_elementRef=u(K);_changeDetectorRef=u(Ae);_ngZone=u(J);_tabsSubscription=be.EMPTY;_tabLabelSubscription=be.EMPTY;_tabBodySubscription=be.EMPTY;_diAnimationsDisabled=ft();_allTabs;_tabBodies;_tabBodyWrapper;_tabHeader;_tabs=new Wi;_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(Ue).isBrowser;constructor(){let e=u(_1e,{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(Nt(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 wM;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Ft(...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=M({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,o){if(i&1&&Qe(o,wh,5),i&2){let a;j(a=B())&&(r._allTabs=a)}},viewQuery:function(i,r){if(i&1&&(_e(e1e,5),_e(t1e,5),_e(CM,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:[De([{provide:U6,useExisting:t}])],ngContentSelectors:DM,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=Oe();Be(),v(0,"mat-tab-header",3,0),L("indexFocused",function(s){return q(o),G(r._focusChanged(s))})("selectFocusedIndex",function(s){return q(o),G(r.selectedIndex=s)}),hr(2,o1e,8,17,"div",4,$g),w(),Ce(4,a1e,1,0),v(5,"div",5,1),hr(7,s1e,1,10,"mat-tab-body",6,$g),w()}i&2&&(x("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination),zg("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),C(2),pr(r._tabs),C(2),we(r._isServer?4:-1),C(),U("_mat-animation-noopable",r._animationsDisabled()),C(2),pr(r._tabs))},dependencies:[g1e,q6,Um,br,Ps,CM],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})(),wM=class{index;tab};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 y1e=["*",[["mat-toolbar-row"]]],b1e=["*","mat-toolbar-row"],v1e=(()=>{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})(),Y6=(()=>{class t{_elementRef=u(K);_platform=u(Ue);_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=M({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,o){if(i&1&&Qe(o,v1e,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:b1e,decls:2,vars:0,template:function(i,r){i&1&&(Be(y1e),ae(0),ae(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 K6=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,ct]})}return t})();var pu=st(Q6(),1),i9=st(Z6(),1),r9=st(Qy(),1),o9=st(t9(),1),a9=st(hf(),1),s9=st(AS(),1),IM=st(VS(),1),l9=st(eb(),1);var $i=t=>({display:t});function M1e(t,n){if(t&1&&(v(0,"mat-option",6),O(1),w()),t&2){let e=n.$implicit;x("value",e),C(),un(" ",e," ")}}function A1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function R1e(t,n){if(t&1&&(v(0,"mat-hint",3),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function P1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function F1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}var kM="[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}";function O1e(t,n){if(t&1&&(v(0,"mat-hint",6),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function N1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function L1e(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function V1e(t,n){if(t&1&&(v(0,"mat-hint",3),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function j1e(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 B1e=t=>({show:t});function z1e(t,n){if(t&1&&(v(0,"mat-list-item"),O(1),w()),t&2){let e=T();C(),ie(e.translations.noDataMessage)}}function $1e(t,n){if(t&1){let e=Oe();v(0,"button",10),L("click",function(){q(e);let r=T().index,o=T();return G(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,B1e,i.highlightedIdx==e))}}function H1e(t,n){if(t&1){let e=Oe();v(0,"mat-list-item",7),L("click",function(){let r=q(e),o=r.$implicit,a=r.index,s=T();return G(s.onSelect(o,a))})("mouseover",function(){let r=q(e).index,o=T();return G(o.onListItemHover(r))})("mouseout",function(){q(e);let r=T();return G(r.onListItemHover(void 0))}),v(1,"a",8),O(2),w(),Te(3,$1e,3,3,"button",9),w()}if(t&2){let e=n.$implicit,i=T();U("selected",e===i.selectedItem),C(2),ie(e.label||"No label set"),C(),x("ngIf",i.isEnabled())}}function U1e(t,n){if(t&1){let e=Oe();v(0,"button",12),L("click",function(){q(e);let r=T();return G(r.onAddClick())}),v(1,"mat-icon"),O(2,"add"),w()()}if(t&2){let e=T();C(),fe("aria-label",e.translations.addAriaLabel)}}function q1e(t,n){if(t&1&&ue(0,"jsonforms-detail",13),t&2){let e=T();x("item",e.selectedItem)}}var c9=t=>({"sort-column":t});function G1e(t,n){if(t&1){let e=Oe();v(0,"th",8)(1,"button",9),L("click",function(){q(e);let r=T();return G(r.add())}),v(2,"mat-icon"),O(3,"add"),w()()()}if(t&2){let e=T();x("ngClass",yn(3,c9,e.uischema==null||e.uischema.options==null?null:e.uischema.options.showSortButtons)),C(),x("disabled",!e.isEnabled())("matTooltip",e.translations.addTooltip)}}function W1e(t,n){if(t&1){let e=Oe();v(0,"button",14),L("click",function(){q(e);let r=T().index,o=T();return G(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 Y1e(t,n){if(t&1){let e=Oe();v(0,"button",15),L("click",function(){q(e);let r=T().index,o=T();return G(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 K1e(t,n){if(t&1){let e=Oe();v(0,"td",10),Te(1,W1e,3,2,"button",11)(2,Y1e,3,2,"button",12),v(3,"button",13),L("click",function(){let r=q(e).index,o=T();return G(o.remove(r))}),v(4,"mat-icon"),O(5,"delete"),w()()()}if(t&2){let e=T();x("ngClass",yn(5,c9,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(),ie(e.header)}}function Z1e(t,n){if(t&1&&(v(0,"td",20),ue(1,"jsonforms-outlet",21),Rt(2,"getProps"),w()),t&2){let e=n.index,i=T().$implicit;C(),x("renderProps",UD(2,1,e,i.props))}}function X1e(t,n){if(t&1&&(Yi(0,16),Te(1,Q1e,2,1,"th",17)(2,Z1e,3,4,"td",18),Ki()),t&2){let e=n.$implicit;x("matColumnDef",pa(e.property))}}function J1e(t,n){t&1&&ue(0,"tr",22)}function ePe(t,n){t&1&&ue(0,"tr",23)}function tPe(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 nPe(t,n){if(t&1&&(v(0,"mat-tab",2),Te(1,tPe,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 iPe(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 rPe(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 oPe(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 aPe=()=>[];function sPe(t,n){if(t&1&&(v(0,"mat-icon",7),O(1," error_outline "),w()),t&2){let e=T();x("matBadge",pa(e.error.split("").length))("matTooltip",pa(e.error))}}function lPe(t,n){if(t&1&&(v(0,"p"),O(1),w()),t&2){let e=T();C(),ie(e.translations.noDataMessage)}}function cPe(t,n){if(t&1){let e=Oe();v(0,"button",13),L("click",function(){q(e);let r=T(2).index,o=T();return G(o.up(r))}),v(1,"mat-icon"),O(2,"arrow_upward"),w()()}if(t&2){let e=T(2).first,i=T();x("matTooltip",pa(i.translations.up))("disabled",e),fe("aria-label",i.translations.upAriaLabel)}}function dPe(t,n){if(t&1){let e=Oe();v(0,"button",14),L("click",function(){q(e);let r=T(2).index,o=T();return G(o.down(r))}),v(1,"mat-icon"),O(2,"arrow_downward"),w()()}if(t&2){let e=T(2).last,i=T();x("matTooltip",pa(i.translations.down))("disabled",e),fe("aria-label",i.translations.downAriaLabel)}}function uPe(t,n){if(t&1){let e=Oe();v(0,"mat-card-actions"),Te(1,cPe,3,4,"button",10)(2,dPe,3,4,"button",11),v(3,"button",12),L("click",function(){q(e);let r=T().index,o=T();return G(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",pa(e.translations.removeTooltip)),fe("aria-label",e.translations.removeAriaLabel)}}function mPe(t,n){if(t&1&&(v(0,"div")(1,"mat-card",8)(2,"mat-card-content"),ue(3,"jsonforms-outlet",9),w(),Te(4,uPe,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 fPe=(()=>{class t extends ji{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(Nt(""),tt(e=>this.filter(e)))}updateFilter(e){e.keyCode===13?this.shouldFilter=!1:this.shouldFilter=!0}onSelect(e){let i=Gd(this.uischema,this.path);this.shouldFilter=!1,this.jsonFormsService.updateCore(xi.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(k({},super.getOwnProps()),{options:this.options})}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=M({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=Oe();v(0,"mat-form-field",1)(1,"mat-label"),O(2),w(),v(3,"input",2),L("change",function(s){return q(o),G(r.onChange(s))})("keydown",function(s){return q(o),G(r.updateFilter(s))})("focus",function(){return q(o),G(r.focused=!0)})("focusout",function(){return q(o),G(r.focused=!1)}),w(),v(4,"mat-autocomplete",3,0),L("optionSelected",function(s){return q(o),G(r.onSelect(s))}),Te(6,M1e,2,2,"mat-option",4),Rt(7,"async"),w(),Te(8,A1e,2,1,"mat-hint",5),v(9,"mat-error"),O(10),w()()}if(i&2){let o=Tn(5);x("ngStyle",yn(10,$i,r.hidden?"none":"")),C(2),ie(r.label),C(),x("id",r.id)("formControl",r.form)("matAutocomplete",o),C(3),x("ngForOf",Wt(7,8,r.filteredOptions)),C(2),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ie(r.error)}},dependencies:[qn,Pn,Fn,rr,ir,fi,zi,fu,As,Bo,lo,Bi,QW,Qk,mE],styles:["[_nghost-%COMP%]{display:flex;flex-direction:row}mat-form-field[_ngcontent-%COMP%]{flex:1 1 auto}"],changeDetection:0})}return t})(),hPe=Ht(2,v8),pPe=(()=>{class t extends ji{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=M({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),L("change",function(a){return r.onChange(a)}),O(2),w(),Te(3,R1e,2,1,"mat-hint",2),v(4,"mat-error",3),O(5),w()()),i&2&&(x("ngStyle",yn(7,$i,r.hidden?"none":"")),C(),x("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),C(),un(" ",r.label," "),C(),x("ngIf",r.shouldShowUnfocusedDescription()),C(2),ie(r.error))},dependencies:[Pn,Fn,fi,zi,t6],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})(),gPe=Ht(2,Ck),_Pe=(()=>{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})();pu.default.extend(i9.default);var yPe=(()=>{class t extends k6{saveFormat=XI;setSaveFormat(e){this.saveFormat=e}parseSaveFormat(e){return this.parse(e,this.saveFormat)}parse(e,i){if(!e)return null;let r=(0,pu.default)(e,i);return r.isValid()?r.toDate():null}toSaveFormat(e){if(!e)return;let i=(0,pu.default)(e);if(i.isValid())return i.format(this.saveFormat)}format(e,i){return(0,pu.default)(e).format(i)}deserialize(e){if(!e)return null;let i=(0,pu.default)(e);return i.isValid()?i.toDate():null}static \u0275fac=(()=>{let e;return function(r){return(e||(e=Ke(t)))(r||t)}})();static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),bPe=(()=>{class t extends ji{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:XI;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(k({},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(Uo),me(Vn))};static \u0275cmp=M({type:t,selectors:[["DateControlRenderer"]],standalone:!1,features:[De([{provide:Vn,useClass:yPe},{provide:Uo,useClass:_Pe}]),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=Oe();v(0,"mat-form-field",1)(1,"mat-label"),O(2),w(),v(3,"input",2),L("dateChange",function(s){return q(o),G(r.onChange(s))})("focus",function(){return q(o),G(r.focused=!0)})("focusout",function(){return q(o),G(r.focused=!1)}),w(),ue(4,"mat-datepicker-toggle",3),v(5,"mat-datepicker",4,0),L("monthSelected",function(s){q(o);let l=Tn(6);return G(r.monthSelected(s,l))})("yearSelected",function(s){q(o);let l=Tn(6);return G(r.yearSelected(s,l))}),w(),Te(7,P1e,2,1,"mat-hint",5),v(8,"mat-error"),O(9),w()()}if(i&2){let o=Tn(6);x("ngStyle",yn(10,$i,r.hidden?"none":"")),C(2),ie(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),ie(r.error)}},dependencies:[Pn,Fn,rr,ir,fi,zi,Wk,fu,v6,dv,C6,As,Bo,lo],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})(),vPe=Ht(2,E8),CPe=(()=>{class t extends ji{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=eh(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,r9.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=M({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),L("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),w(),Te(4,F1e,2,1,"mat-hint",2),v(5,"mat-error"),O(6),w()()),i&2&&(x("ngStyle",yn(10,$i,r.hidden?"none":"")),C(2),ie(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),ie(r.error))},dependencies:[Pn,Fn,rr,ir,fi,zi,fu,As,Bo,lo],styles:[kM],changeDetection:0})}return t})(),wPe=Ht(2,Ql(eh,C8)),DPe=(()=>{class t extends ji{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=M({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=Oe();v(0,"div",1)(1,"label",2),O(2),w(),v(3,"mat-slider",3,0)(5,"input",4),L("valueChange",function(s){return q(o),G(r.onChange(s))}),w()(),Te(6,O1e,2,1,"mat-hint",5),v(7,"mat-error",6),O(8),w()()}i&2&&(x("ngStyle",yn(10,$i,r.hidden?"none":"")),C(2),ie(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),ie(r.error))},dependencies:[Pn,Fn,fi,zi,V6,yM],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})(),EPe=Ht(4,I8),SPe=(()=>{class t extends ji{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=M({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),L("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),w(),Te(4,N1e,2,1,"mat-hint",2),v(5,"mat-error"),O(6),w()()),i&2&&(x("ngStyle",yn(6,$i,r.hidden?"none":"")),C(2),ie(r.label),C(),x("id",r.id)("formControl",r.form),C(),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ie(r.error))},dependencies:[Pn,Fn,rr,ir,fi,zi,fu,As,Bo,lo],styles:[kM],changeDetection:0})}return t})(),xPe=Ht(2,D8),TPe=(()=>{class t extends ji{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=M({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),L("input",function(a){return r.onChange(a)})("focus",function(){return r.focused=!0})("focusout",function(){return r.focused=!1}),w(),Te(4,L1e,2,1,"mat-hint",2),v(5,"mat-error"),O(6),w()()),i&2&&(x("ngStyle",yn(7,$i,r.hidden?"none":"")),C(2),ie(r.label),C(),x("type",r.getType())("id",r.id)("formControl",r.form),C(),x("ngIf",r.shouldShowUnfocusedDescription()||r.focused),C(2),ie(r.error))},dependencies:[Pn,Fn,rr,ir,fi,zi,fu,As,Bo,lo],styles:[kM],changeDetection:0})}return t})(),IPe=Ht(1,w8),kPe=(()=>{class t extends ji{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=M({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),L("change",function(a){return r.onChange(a)}),O(2),w(),Te(3,V1e,2,1,"mat-hint",2),v(4,"mat-error",3),O(5),w()()),i&2&&(x("ngStyle",yn(7,$i,r.hidden?"none":"")),C(),x("checked",r.isChecked())("disabled",!r.isEnabled())("id",r.id),C(),un(" ",r.label," "),C(),x("ngIf",r.shouldShowUnfocusedDescription()),C(2),ie(r.error))},dependencies:[Pn,Fn,fi,zi,j6],encapsulation:2,changeDetection:0})}return t})(),MPe=Ht(3,hn(Ck,Ts("toggle",!0))),APe=(()=>{class t extends er{jsonFormsService;label;visible;constructor(e){super(),this.jsonFormsService=e}ngOnInit(){this.addSubscription(this.jsonFormsService.$state.subscribe({next:e=>{let i=B8(e,this.getOwnProps());this.visible=i.visible,this.label=i.text}}))}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=M({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(),un(" ",r.label," "))},styles:["[_nghost-%COMP%]{flex:1 1 auto}"]})}return t})(),RPe=Ht(4,Jt("Label")),PPe=(()=>{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=M({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,j1e,2,1,"div",0),i&2&&x("ngIf",r.initialized)},dependencies:[Pn,Ar],encapsulation:2})}return t})(),FPe=["#","properties","items"],OPe=t=>Yl(t.split("/").filter(n=>!(0,o9.default)(FPe,e=>e===n)).join(".")),NPe=(()=>{class t extends ah{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}=Db(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=bb(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&&OPe(s.options.labelRef);return{label:f!==void 0&&typeof f!="object"?f.toString():(0,a9.default)(f,p??a8(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,vb(this.scopedSchema,this.rootSchema))()}onDeleteClick(e){this.removeItems(this.propsPath,[e])()}mapToProps(e){let i=wb(e,this.getOwnProps()),r=e.jsonforms.i18n?.translate??Tr.translate,o=Jf(r,Zf,i.i18nKeyPrefix,i.label);return de(k({},i),{translations:o})}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=M({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,z1e,2,1,"mat-list-item",2)(4,H1e,4,4,"mat-list-item",3),w(),Te(5,U1e,3,1,"button",4),w(),v(6,"mat-sidenav-content",5),Te(7,q1e,1,1,"jsonforms-detail",6),w()()),i&2&&(x("ngStyle",yn(6,$i,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:[ko,qn,Pn,Fn,gM,O6,pv,mv,uv,to,QN,Ao,PPe],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})(),LPe=Ht(4,Jt("ListWithDetail")),VPe=(()=>{class t extends jb{detailUiSchema;constructor(e){super(e)}mapAdditionalProps(e){this.detailUiSchema=bb(e.uischemas,e.schema,e.uischema.scope,e.path,()=>{let i=(0,l9.default)(e.schema);return delete i.oneOf,delete i.anyOf,delete i.allOf,gb.uiSchema(i,"Group",void 0,this.rootSchema)},e.uischema,e.rootSchema),(0,s9.default)(e.path)?this.detailUiSchema.type="VerticalLayout":this.detailUiSchema.label=(0,IM.default)(e.path),this.isEnabled()||Qf(this.detailUiSchema)}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=M({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:[Ar,Pr],styles:[".object-layout[_ngcontent-%COMP%]{padding:16px}"],changeDetection:0})}return t})(),jPe=Ht(2,b8),BPe=(()=>{class t extends ah{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,vb(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}=Db(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=YI(r),a=n9(`#/properties/${o}`);return this.isEnabled()||Qf(a),{property:r,header:(0,IM.default)(r),props:{schema:e,uischema:a,path:i}}}):[{property:"DUMMY",header:this.label,props:{schema:e,uischema:n9("#"),path:i}}];getValidColumnProps=e=>e.type==="object"?Object.keys(e.properties).filter(i=>{let r=ka(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=M({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),Yi(2,2),v(3,"tr"),Te(4,G1e,4,5,"th",3),w(),v(5,"tr"),Te(6,K1e,6,7,"td",4),w(),ue(7,"tr"),Ki(),Te(8,X1e,3,2,"ng-container",5)(9,J1e,1,0,"tr",6)(10,ePe,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:()=>[ko,qn,Pn,Ar,vr,to,Ao,sd,x_,M_,T_,S_,A_,I_,k_,R_,P_,cu,$Pe],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})(),zPe=Ht(3,Ql(S8,T8)),n9=t=>({type:"Control",scope:t,label:!1}),$Pe=(()=>{class t{transform(e,i){let r=ZI.compose(i.path,`${e}`);return{schema:i.schema,uischema:i.uischema,path:r}}static \u0275fac=function(i){return new(i||t)};static \u0275pipe=ha({name:"getProps",type:t,pure:!0,standalone:!1})}return t})(),HPe=(()=>{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=Ra(e,this.getOwnProps());this.hidden=!i.visible,this.visibleCategories=this.uischema.elements.filter(r=>Kl(r,i.data,void 0,Is(e))),this.categoryLabels=this.visibleCategories.map(r=>Xf(r,e.jsonforms.i18n?.translate??Tr.translate))}}))}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=M({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,nPe,2,2,"mat-tab",1),w()),i&2&&(x("ngStyle",yn(2,$i,r.hidden?"none":"")),C(),x("ngForOf",r.visibleCategories))},dependencies:[qn,Fn,Ar,wh,yv],encapsulation:2})}return t})(),UPe=Ht(2,hn(Jt("Categorization"),M8)),MM=(()=>{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=Ra(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=M({type:t,selectors:[["ng-component"]],standalone:!1,features:[ee],decls:0,vars:0,template:function(i,r){},encapsulation:2})}return t})(),AM=(()=>{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=ha({name:"layoutChildrenRenderProps",type:t,pure:!0,standalone:!1})}return t})(),qPe=(()=>{class t extends MM{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=M({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,iPe,2,1,"div",2),Rt(4,"layoutChildrenRenderProps"),w()),i&2&&(x("ngStyle",yn(8,$i,r.hidden?"none":"")),C(2),ie(r.label),C(),x("ngForOf",Im(4,4,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[qn,Fn,Ar,Pr,$o,AM],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})(),GPe=Ht(1,Jt("Group")),WPe=(()=>{class t extends MM{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=M({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,rPe,2,1,"div",1),Rt(2,"layoutChildrenRenderProps"),w()),i&2&&(x("ngStyle",yn(7,$i,r.hidden?"none":"")),C(),x("ngForOf",Im(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[qn,Fn,Ar,AM],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})(),YPe=Ht(1,Jt("HorizontalLayout")),KPe=(()=>{class t extends MM{constructor(e,i){super(e,i)}static \u0275fac=function(i){return new(i||t)(me(xt),me(Ae))};static \u0275cmp=M({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,oPe,2,1,"div",1),Rt(2,"layoutChildrenRenderProps"),w()),i&2&&(x("ngStyle",yn(7,$i,r.hidden?"none":"")),C(),x("ngForOf",Im(2,3,r.uischema,r.schema,r.path))("ngForTrackBy",r.trackElement))},dependencies:[qn,Fn,Ar,AM],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")),ZPe=(()=>{class t extends sh{noData;translations={};addItem;moveItemUp;moveItemDown;removeItems;uischemas;constructor(e){super(e)}mapToProps(e){let i=j8(e,this.getOwnProps()),r=e.jsonforms.i18n?.translate??Tr.translate,o=Jf(r,Zf,i.i18nKeyPrefix,i.label);return de(k({},i),{translations:o})}remove(e){this.removeItems(this.propsPath,[e])()}add(){this.addItem(this.propsPath,vb(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}=Db(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=bb(this.uischemas,this.scopedSchema,this.uischema.scope,this.propsPath,void 0,this.uischema,this.rootSchema);return this.isEnabled()?n8(i):Qf(i),{schema:this.scopedSchema,path:ZI.compose(this.propsPath,`${e}`),uischema:i}}trackByFn(e){return e}static \u0275fac=function(i){return new(i||t)(me(xt))};static \u0275cmp=M({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,sPe,2,4,"mat-icon",3),ue(6,"span"),v(7,"button",4),L("click",function(){return r.add()}),v(8,"mat-icon"),O(9,"add"),w()()(),Te(10,lPe,2,1,"p",5)(11,mPe,5,2,"div",6),w()),i&2&&(x("ngStyle",yn(10,$i,r.hidden?"none":"")),C(3),ie(r.label),C(2),x("ngIf",r.error==null?null:r.error.length),C(2),x("matTooltip",pa(r.translations.addTooltip))("disabled",!r.isEnabled()),fe("aria-label",r.translations.addAriaLabel),C(3),x("ngIf",r.noData),C(),x("ngForOf",$D(12,aPe).constructor(r.data))("ngForTrackBy",r.trackByFn))},dependencies:[qn,Pn,Fn,Ar,Pr,au,Fs,vr,Ao,cu,XW],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})(),XPe=Ht(4,x8);var bv=[{tester:gPe,renderer:pPe},{tester:IPe,renderer:TPe},{tester:xPe,renderer:SPe},{tester:wPe,renderer:CPe},{tester:EPe,renderer:DPe},{tester:vPe,renderer:bPe},{tester:MPe,renderer:kPe},{tester:hPe,renderer:fPe},{tester:jPe,renderer:VPe},{tester:QPe,renderer:KPe},{tester:GPe,renderer:qPe},{tester:YPe,renderer:WPe},{tester:UPe,renderer:HPe},{tester:RPe,renderer:APe},{tester:XPe,renderer:ZPe},{tester:LPe,renderer:NPe},{tester:zPe,renderer:BPe}];var gu=class extends ji{constructor(n){super(n)}getEventValue=n=>n?.target?.value;commitValue(n){let e=Gd(this.uischema,this.path);this.jsonFormsService.updateCore(xi.update(e,()=>n)),this.triggerValidation()}};function JPe(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(),ie(i.optLabel(e))}}function eFe(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function tFe(t,n){if(t&1&&(v(0,"mat-error"),O(1),w()),t&2){let e=T();C(),ie(e.error)}}var _u=class t extends gu{options=no.map(n=>({id:n.id,animalGroup:n.animalGroup,descriptor:n.descriptor}));masterData=u(wr);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=M({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),L("selectionChange",function(o){return i.onSelectionChange(o.value)}),Te(4,JPe,2,2,"mat-option",2),w(),Ce(5,eFe,2,1,"mat-hint"),Ce(6,tFe,2,1,"mat-error"),w()),e&2&&(zt("display",i.hidden?"none":""),C(2),ie(i.label),C(),x("id",i.id)("formControl",i.form),C(),x("ngForOf",i.options),C(),we(i.shouldShowUnfocusedDescription()?5:-1),C(),we(i.error?6:-1))},dependencies:[qo,rr,ir,fi,zi,Ch,vh,Bi,E6,Vb,Bo,lo,qn],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(!eh(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 u9=[{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 yu=[{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 m9=[{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 f9=[{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 h9=[{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 p9=[{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 g9=[{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 _9=[{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 y9=[{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 b9=[{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 v9={animalCategoryPRIF:no.map(t=>({id:t.id,animalGroup:t.animalGroup,descriptor:t.descriptor})),stableAirPurification:u9.map(t=>({id:t.id,stableAirPurification:t.stableAirPurification,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),utilisation:H_.map(t=>({id:t.id,utilisation:t.utilisation,descriptor:t.descriptor})),stableSystem:yu.filter(t=>!!t.stableSystem).map(t=>({id:t.id,stableSystem:t.stableSystem,permittedForAnimal:t.permittedForAnimal,permittedForAnimalGroup:t.permittedForAnimalGroup,descriptor:t.descriptor})),yardFloorType:m9.map(t=>({id:t.id,yardFloorType:t.yardFloorType,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableVentilationType:f9.map(t=>({id:t.id,stableVentilationType:t.stableVentilationType,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableWaterSupply:h9.map(t=>({id:t.id,stableWaterSupply:t.stableWaterSupply,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),yardFeeding:p9.map(t=>({id:t.id,yardFeeding:t.yardFeeding,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),stableManureRemovalFrequency:g9.map(t=>({id:t.id,stableManureRemovalFrequency:t.stableManureRemovalFrequency,permittedForStableSystem:t.permittedForStableSystem,descriptor:t.descriptor})),typeOfFeedstuffProduct:_9.map(t=>({id:t.code,descriptor:t.descriptor})),transactionUnit:b9.map(t=>({id:t.code,descriptor:t.descriptor})),durationSourceType:y9},RM=[{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 C9(t){for(let n of RM)if(n.regex.test(t))return n.key;return null}var D9=Object.create(null),w9=new Set;function Os(t,n){D9[t]=n}function mFe(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 vv(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=>vv(l,n,e,{currentFallback:t.fallback||i.currentFallback}));if("any"in t&&Array.isArray(t.any))return t.any.some(l=>vv(l,n,e,{currentFallback:t.fallback||i.currentFallback}));if("not"in t)return!vv(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=D9[a];if(!s)return w9.has(a)||(console.warn("[CodeListFilter] Missing resolver",a),w9.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 E9(t,n,e,i){if(!n)return t;let r={data:i,get:o=>mFe(i,o),masterData:e.masterData,locale:e.i18n.locale(),i18n:e.i18n};try{return t.filter(o=>vv(n,r,o,{}))}catch(o){return console.warn("[CodeListFilter] Evaluation failed",o),(n.fallback||"all")==="all"?t:[]}}Os("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 bu(){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=yu.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)}}Os("stableManureRemoval_permittedForSystem",bu());Os("stableVentilation_permittedForSystem",bu());Os("stableAirPurification_permittedForSystem",bu());Os("stableWaterSupply_permittedForSystem",bu());Os("yardFeeding_permittedForSystem",bu());Os("yardFloorType_permittedForSystem",bu());Os("stableSystem_permittedForAnimalCategory",(t,n,e)=>{let i=typeof e=="string"?t.get(e):void 0;if(i==null)return!0;let r=no.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 fFe(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(),ie(i.optionLabel(e))}}function hFe(t,n){if(t&1&&(v(0,"mat-hint"),O(1),w()),t&2){let e=T();C(),ie(e.description)}}function pFe(t,n){if(t&1&&(v(0,"mat-error"),O(1),w()),t&2){let e=T();C(),ie(e.error)}}var vu=class t extends gu{masterData=u(wr);i18n=u(Gn);formData=pe(void 0);controlKey=He(()=>{let n=this.uischema?.scope;return n?n.split("/").filter(Boolean).pop()??"":""});listKey=He(()=>C9(this.controlKey()));options=He(()=>{let n=this.listKey();return n?v9[n]||[]:[]});filterConfig=He(()=>this.uischema?.options?.codeList?.filter);filteredOptions=He(()=>{let n=this.filterConfig(),e=this.options();if(!n)return e;let i=this.formData();return E9(e,n,{masterData:this.masterData,i18n:this.i18n},i)});constructor(n){super(n),sn(()=>{let e=this.jsonFormsService.$state.subscribe(i=>{this.formData.set(i?.jsonforms?.core?.data)});return()=>e?.unsubscribe?.()}),sn(()=>{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=M({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),L("selectionChange",function(o){return i.onSelectionChange(o.value)}),Te(4,fFe,2,2,"mat-option",2),w(),Ce(5,hFe,2,1,"mat-hint"),Ce(6,pFe,2,1,"mat-error"),w()),e&2&&(zt("display",i.hidden||i.filteredOptions().length===0?"none":""),C(2),ie(i.label),C(),x("formControl",i.form),C(),x("ngForOf",i.filteredOptions()),C(),we(i.shouldShowUnfocusedDescription()?5:-1),C(),we(i.error?6:-1))},dependencies:[qo,rr,ir,fi,zi,Ch,vh,Bi,Vb,Bo,lo,qn],styles:["[_nghost-%COMP%]{display:flex;flex:1 1 auto}.mat-mdc-form-field[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})},S9=Ht(5,(t,n,e)=>{if(!Kd(t))return!1;let o=(t.scope||"").split("/").filter(Boolean).pop()||"";return RM.some(a=>a.regex.test(o))});var Ns=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=Ra(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=Ke(t)))(i||t)}})();static \u0275cmp=M({type:t,selectors:[["base-group-renderer"]],standalone:!1,features:[ee],decls:0,vars:0,template:function(e,i){},encapsulation:2,changeDetection:0})};var gFe=["childrenHost"];function _Fe(t,n){if(t&1&&(v(0,"mat-card-title",4),O(1),w()),t&2){let e=T();x("id",e.labelId()),C(),ie(e.label())}}var Cu=class t extends Ns{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ke(t)))(i||t)}})();static \u0275cmp=M({type:t,selectors:[["card-group-renderer"]],viewQuery:function(e,i){if(e&1&&_e(gFe,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,_Fe,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:[Ho,Pr,$o,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 yFe=["childrenHost"];function bFe(t,n){if(t&1&&(v(0,"h4",4),O(1),w()),t&2){let e=T();x("id",e.labelId()),C(),ie(e.label())}}var wu=class t extends Ns{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ke(t)))(i||t)}})();static \u0275cmp=M({type:t,selectors:[["plain-group-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: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,bFe,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 vFe=["childrenHost"];function CFe(t,n){}var Du=class t extends Ns{childrenHost;resolveHost(){return this.childrenHost}static \u0275fac=(()=>{let n;return function(i){return(n||(n=Ke(t)))(i||t)}})();static \u0275cmp=M({type:t,selectors:[["logical-group-renderer"]],viewQuery:function(e,i){if(e&1&&_e(vFe,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&&Kr(0,CFe,0,0,"ng-template",null,0,To)},styles:[".group-variant__title[_ngcontent-%COMP%]{display:none}"],changeDetection:0})};var PM=t=>n=>n?.type==="Group"&&n?.options?.variant===t,x9=Ht(5,PM("card")),T9=Ht(5,PM("plain")),I9=Ht(5,PM("logical"));var M9=Object.create(null),k9=new Set;function wFe(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 La(t,n){M9[t]=n}function A9(t,n,e,i){if(!t)return!0;let r=t,o=e.masterData,a=e.i18n,s=k({data:n,get:c=>wFe(n,c),masterData:o,locale:a.locale()},i),l=M9[r.resolver];if(!l)return k9.has(r.resolver)||(console.warn("[Constraint] Missing resolver",r.resolver),k9.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}}La("animalCategory_isPermittedForConcentratedFeedstuffSummering",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForConcentratedFeedstuffSummering});La("animalCategory_isPermittedForFodderConsumptionCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForFodderConsumptionCorrection});La("animalCategory_isPermittedForGMF",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForGMF});La("animalCategory_isPermittedForIMPEX",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForIMPEX});La("animalCategory_isPermittedForLinearCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForLinearCorrection});La("animalCategory_isPermittedForManualFodderConsumptionInput",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForManualFodderConsumptionInput});La("animalCategory_isPermittedForMilkProductionCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForMilkProductionCorrection});La("animalCategory_isPermittedForWeightCorrection",(t,n)=>{let e=typeof n=="string"?t.get(n):void 0;return e==null?!1:!!t.masterData.entry("animalCategoryPRIF",e)?.isPermittedForWeightCorrection});La("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 DFe=["childrenHost"];function EFe(t,n){}var Cv=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(wr);i18n=u(Gn);visible(){return A9(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=Ra(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=Ke(t)))(i||t)}})();static \u0275cmp=M({type:t,selectors:[["constraint-layout-renderer"]],viewQuery:function(e,i){if(e&1&&_e(DFe,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&&Kr(0,EFe,0,0,"ng-template",null,0,To)},encapsulation:2,changeDetection:0})};var Ls=class t{currentPage=pe("welcome");selectedAnimalStockIndex=pe(null);selectedCategory=pe({page:"animal_stock",category:"base"});isAnimalStockDetailView=He(()=>this.selectedAnimalStockIndex()!==null);isAnimalStockPage=He(()=>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 SFe=t=>({display:t});function xFe(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 TFe(t,n){if(t&1&&(v(0,"mat-tab",2),Te(1,xFe,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 wv=class t extends er{jsonFormsService=u(xt);navigationSvc=u(Ls);hidden=!1;visibleCategories=[];categoryLabels=[];categoryKeyToIndex=pe(new Map);indexToCategoryKey=pe(new Map);selectedTabIndex=He(()=>{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=Ra(n,this.getOwnProps());this.hidden=!e.visible,this.visibleCategories=this.uischema.elements.filter(i=>Kl(i,e.data,e.path,Is(n))),this.categoryLabels=this.visibleCategories.map(i=>Xf(i,n.jsonforms.i18n?.translate??Tr.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=Ke(t)))(i||t)}})();static \u0275cmp=M({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),L("selectedIndexChange",function(o){return i.onTabChange(o)}),Te(1,TFe,2,2,"mat-tab",1),w()),e&2&&(x("ngStyle",yn(3,SFe,i.hidden?"none":""))("selectedIndex",i.selectedTabIndex()),C(),x("ngForOf",i.visibleCategories))},dependencies:[G6,wh,yv,qn,Fn,Xl,Ar],encapsulation:2,changeDetection:0})};var IFe=Ht(7,t=>t.type==="Constraint"&&!!t.options?.constraint),kFe=Ht(6,t=>t.type==="Categorization"),R9=[{tester:IFe,renderer:Cv},{tester:kFe,renderer:wv},{tester:x9,renderer:Cu},{tester:T9,renderer:wu},{tester:I9,renderer:Du},{tester:d9,renderer:_u},{tester:S9,renderer:vu}];var FM=new A("CdkAccordion"),P9=(()=>{class t{_stateChanges=new V;_openCloseAllActions=new V;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:[De([{provide:FM,useExisting:t}]),it]})}return t})(),F9=(()=>{class t{accordion=u(FM,{optional:!0,skipSelf:!0});_changeDetectorRef=u(Ae);_expansionDispatcher=u(Bm);_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:[De([{provide:FM,useValue:void 0}])]})}return t})(),O9=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({})}return t})();var MFe=["body"],AFe=["bodyWrapper"],RFe=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],PFe=["mat-expansion-panel-header","*","mat-action-row"];function FFe(t,n){}var OFe=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],NFe=["mat-panel-title","mat-panel-description","*"];function LFe(t,n){t&1&&(xn(0,"span",1),ti(),xn(1,"svg",2),ii(2,"path",3),Rn()())}var OM=new A("MAT_ACCORDION"),N9=new A("MAT_EXPANSION_PANEL"),VFe=(()=>{class t{_template=u(At);_expansionPanel=u(N9,{optional:!0});constructor(){}static \u0275fac=function(i){return new(i||t)};static \u0275dir=N({type:t,selectors:[["ng-template","matExpansionPanelContent",""]]})}return t})(),L9=new A("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),NM=(()=>{class t extends F9{_viewContainerRef=u(rt);_animationsDisabled=ft();_document=u(ke);_ngZone=u(J);_elementRef=u(K);_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 V;accordion=u(OM,{optional:!0,skipSelf:!0});_lazyContent;_body;_bodyWrapper;_portal;_headerId=u(Tt).getId("mat-expansion-panel-header-");constructor(){super();let e=u(L9,{optional:!0});this._expansionDispatcher=u(Bm),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(Nt(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=M({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,o){if(i&1&&Qe(o,VFe,5),i&2){let a;j(a=B())&&(r._lazyContent=a.first)}},viewQuery:function(i,r){if(i&1&&(_e(MFe,5),_e(AFe,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:[De([{provide:OM,useValue:void 0},{provide:N9,useExisting:t}]),ee,it],ngContentSelectors:PFe,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(RFe),ae(0),v(1,"div",2,0)(3,"div",3,1)(5,"div",4),ae(6,1),Te(7,FFe,0,0,"ng-template",5),w(),ae(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:[Ps],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 LM=(()=>{class t{panel=u(NM,{host:!0});_element=u(K);_focusMonitor=u(Qi);_changeDetectorRef=u(Ae);_parentChangeSubscription=be.EMPTY;constructor(){u(wt).load(Nn);let e=this.panel,i=u(L9,{optional:!0}),r=u(new Hn("tabindex"),{optional:!0}),o=e.accordion?e.accordion._stateChanges.pipe(_t(a=>!!(a.hideToggle||a.togglePosition))):Br;this.tabIndex=parseInt(r||"")||0,this._parentChangeSubscription=Ft(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=M({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&&L("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:NFe,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(OFe),xn(0,"span",0),ae(1),ae(2,1),ae(3,2),Rn(),Ce(4,LFe,3,0,"span",1)),i&2&&(U("mat-content-hide-toggle",!r._showToggle()),C(4),we(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})(),V9=(()=>{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})(),j9=(()=>{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})(),B9=(()=>{class t extends P9{_keyManager;_ownHeaders=new Wi;_headers;hideToggle=!1;displayMode="default";togglePosition="after";ngAfterContentInit(){this._headers.changes.pipe(Nt(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Rl(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=Ke(t)))(r||t)}})();static \u0275dir=N({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,o){if(i&1&&Qe(o,LM,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:[De([{provide:OM,useExisting:t}]),ee]})}return t})(),Dv=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=ve({type:t});static \u0275inj=ye({imports:[ct,O9,mh]})}return t})();var eY=st(zf()),tY=st(J9());function qM(t){if(t==null)return[];let n=no.find(i=>i.id===t);return n?yu.filter(i=>i.permittedForAnimal.includes(n.zoologicalAnimal)||i.permittedForAnimalGroup.includes(n.animalGroup)).map(i=>i.id):[]}var Tgt=Object.fromEntries(no.map(t=>[t.id,qM(t.id)]));function xu(t={}){let n=new eY.default(k({allErrors:!0,verbose:!0,strict:!1},t));return(0,tY.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=qM(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 rOe(t,n){if(t&1){let e=Oe();v(0,"jsonforms",6),L("dataChange",function(r){q(e);let o=T();return G(o.onDataChange(r))})("errors",function(r){q(e);let o=T();return G(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 oOe(t,n){t&1&&(v(0,"p"),O(1,"Invalid selection."),w())}function aOe(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 sOe=zb,lOe=sOe.properties?.nutrientCycle?.properties?.animalStock?.items,cOe=hW(lh);function dOe(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 Sv=class t{i18n=u(Gn);row;index;rowChange=new F;close=new F;itemSchema=He(()=>fW(lOe,lh));baseUi=mW;localizedUi=He(()=>dOe(this.baseUi,n=>this.i18n.t(n,n)));jsonFormsData=He(()=>$b(this.row()));renderers=[...bv,...R9];suibiAjv=xu();onDataChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(e&&typeof e=="object"){let i=Hb(e),r=pW(i,cOe);this.rowChange.emit(r)}}onValidationErrors(n){}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=M({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=Oe();v(0,"div",1)(1,"header",2)(2,"button",3),L("click",function(){return q(r),G(i.close.emit())}),v(3,"mat-icon"),O(4,"arrow_back"),w()(),v(5,"h2",4),O(6),Rt(7,"t"),w()(),Ce(8,rOe,1,5,"jsonforms",5)(9,oOe,2,0,"p"),Te(10,aOe,5,0,"ng-template",null,0,To),w()}e&2&&(C(6),ie(Wt(7,2,"animalStock.detail.title")()),C(2),we(i.row()?8:9))},dependencies:[Xl,Bb,_u,vu,Cu,wu,Du,Zi,to,hs,Ao,Ho,Dv,si],styles:[".detail[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.5rem}",".detail-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}",".detail-title[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;margin:0;flex:1}",".back-btn[_ngcontent-%COMP%]{margin-right:.5rem}"],changeDetection:0})};var nY={$schema:"http://json-schema.org/draft-07/schema#",$id:"lifetime-performance.schema.json",type:"object",properties:{dailyGain:{type:"number"},liveWeight:{type:"number"},milkProductionReport:{type:"number"}},additionalProperties:!1};var iY={type:"Group",label:"lifetimePerformance.category",elements:[{type:"Control",label:"lifetimePerformance.dailyGain.label",scope:"#/properties/dailyGain"},{type:"Control",label:"lifetimePerformance.liveWeight.label",scope:"#/properties/liveWeight"},{type:"Control",label:"lifetimePerformance.milkProductionReport.label",scope:"#/properties/milkProductionReport"}]};function fOe(t,n){if(t&1){let e=Oe();v(0,"mat-card",0)(1,"mat-card-header")(2,"mat-card-title"),O(3),Rt(4,"t"),w()(),v(5,"mat-card-content")(6,"jsonforms",1),L("dataChange",function(r){q(e);let o=T();return G(o.onDataChange(r))}),w()()()}if(t&2){let e=T();C(3),ie(Wt(4,6,"lifetimePerformance.category")()),C(3),x("data",e.jsonFormsData())("schema",e.schema())("uischema",e.localizedUi())("renderers",e.renderers)("ajv",e.suibiAjv)}}var rY=nY,hOe=iY;function xv(t){return Array.isArray(t)?t.map(xv):t!==null&&typeof t=="object"?Object.fromEntries(Object.entries(t).map(([n,e])=>[n,xv(e)])):t}var Tv=class t{i18n=u(Gn);masterData=u(wr);rows=ai([]);lifetimePerformance=ai(null);dataChange=Jc();renderers=[...bv];suibiAjv=xu();beefFields=["dailyGain","liveWeight"];dairyFields=["milkProductionReport"];hasBeefRows=He(()=>this.rows().some(n=>this.hasGroup(n,"CATTLE_BEEF")));hasDairyRows=He(()=>this.rows().some(n=>this.hasGroup(n,"CATTLE_DAIRY")));activeFields=He(()=>{let n=[];return this.hasBeefRows()&&n.push(...this.beefFields),this.hasDairyRows()&&n.push(...this.dairyFields),Array.from(new Set(n))});shouldRender=He(()=>this.activeFields().length>0);schema=He(()=>{let n=new Set(this.activeFields()),e=rY.properties||{},i=Object.fromEntries(Array.from(n).filter(r=>!!e[r]).map(r=>[r,e[r]]));return de(k({},rY),{properties:i})});localizedUi=He(()=>{let n=new Set(this.activeFields().map(o=>`#/properties/${String(o)}`)),e=o=>o&&this.i18n.t(o,o),i=o=>o.map(a=>{let s=xv(a);return s.label&&(s.label=e(s.label)),Array.isArray(s.elements)&&(s.elements=i(s.elements)),s}).filter(a=>a.type==="Control"?n.has(a.scope??""):Array.isArray(a.elements)?a.elements.length>0:!0),r=xv(hOe);return r.label&&(r.label=e(r.label)),Array.isArray(r.elements)&&(r.elements=i(r.elements)),r});jsonFormsData=He(()=>$b(this.lifetimePerformance()||{})||{});pruneDisallowedEffect=sn(()=>{let n=new Set(this.activeFields()),e=this.lifetimePerformance();if(!e)return;let i=!1,r={};for(let o of n)e[o]!==void 0&&(r[o]=e[o]);for(let o of Object.keys(e))if(!n.has(o)&&e[o]!==void 0){i=!0;break}i&&this.dataChange.emit(r)});onDataChange(n){if(!this.shouldRender())return;let e=n&&typeof n=="object"&&"data"in n?n.data:n;if(!e||typeof e!="object")return;let i=Hb(e),r=new Set(this.activeFields()),o={};for(let a of r)i[a]!==void 0&&(o[a]=i[a]);this.dataChange.emit(o)}hasGroup(n,e){return this.masterData.entry("animalCategoryPRIF",n?.animalCategoryPRIF)?.animalGroup===e}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=M({type:t,selectors:[["app-lifetime-performance-form"]],inputs:{rows:[1,"rows"],lifetimePerformance:[1,"lifetimePerformance"]},outputs:{dataChange:"dataChange"},decls:1,vars:1,consts:[[1,"lifetime-performance-card"],[3,"dataChange","data","schema","uischema","renderers","ajv"]],template:function(e,i){e&1&&Ce(0,fOe,7,8,"mat-card",0),e&2&&we(i.shouldRender()?0:-1)},dependencies:[Xl,Bb,Ho,Pr,Fs,su,$o,si],styles:[".lifetime-performance-card[_ngcontent-%COMP%]{margin-top:2rem}","mat-card-title[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:600}"],changeDetection:0})};function pOe(t,n){if(t&1){let e=Oe();v(0,"app-animal-stock-list",2),L("select",function(r){q(e);let o=T();return G(o.openDetail(r))})("add",function(){q(e);let r=T();return G(r.addRow())})("delete",function(r){q(e);let o=T();return G(o.deleteRow(r))})("reorder",function(r){q(e);let o=T();return G(o.reorderRow(r))}),w(),v(1,"app-lifetime-performance-form",3),L("dataChange",function(r){q(e);let o=T();return G(o.onLifetimePerformanceChange(r))}),w()}if(t&2){let e=T();x("rows",e.rows),C(),x("rows",e.rows())("lifetimePerformance",e.lifetimePerformance())}}function gOe(t,n){if(t&1){let e=Oe();v(0,"app-animal-stock-detail",4),L("rowChange",function(r){q(e);let o=T();return G(o.onDetailChange(r))})("close",function(){q(e);let r=T();return G(r.closeDetail())}),w()}if(t&2){let e=T();x("row",e.detailData)("index",e.selectedIndex)}}var Iv=class t{dataSvc=u(Mo);navigationSvc=u(Ls);rootData=pe(this.dataSvc.data());constructor(){sn(()=>{let n=this.dataSvc.data();n!==this.rootData()&&this.rootData.set(n)}),sn(()=>{let n=this.navigationSvc.selectedAnimalStockIndex();n!=null&&n!==this.selectedIndex()&&this.selectedIndex.set(n)})}rows=He(()=>this.rootData()?.nutrientCycle?.animalStock??[]);lifetimePerformance=He(()=>this.rootData()?.nutrientCycle?.lifetimePerformance??null);selectedIndex=pe(null);detailData=He(()=>{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()];$_(e,n.previousIndex,n.currentIndex),e.forEach((i,r)=>{i.order=(r+1).toString()}),this.patchRows(e)}onDetailChange(n){let e=n&&typeof n=="object"&&"data"in n?n.data:n,i=this.selectedIndex();if(i==null)return;let r=this.rows();if(!Array.isArray(r)||i<0||i>=r.length)return;let o=r[i];if(o&&e&&typeof e=="object"){for(let s of Object.keys(o))s in e||delete o[s];Object.assign(o,e)}let a=r.map((s,l)=>l===i?o:s);this.patchRows(a)}onLifetimePerformanceChange(n){this.patchLifetimePerformance(n)}patchRows(n){let e=k({},this.rootData()),i=k({},e.nutrientCycle||{});i.animalStock=n,e.nutrientCycle=i,this.rootData.set(e),this.dataSvc.setData(e)}patchLifetimePerformance(n){let e=k({},this.rootData()),i=k({},e.nutrientCycle||{}),r=i.lifetimePerformance;if(Object.keys(n).length===0)delete i.lifetimePerformance;else if(r&&typeof r=="object"){for(let o of Object.keys(r))o in n||delete r[o];Object.assign(r,n),i.lifetimePerformance=r}else i.lifetimePerformance=k({},n);e.nutrientCycle=i,this.rootData.set(e),this.dataSvc.setData(e)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=M({type:t,selectors:[["app-animal-stock-master-detail"]],decls:3,vars:1,consts:[[1,"animal-stock-master-detail"],[3,"row","index"],[3,"select","add","delete","reorder","rows"],[3,"dataChange","rows","lifetimePerformance"],[3,"rowChange","close","row","index"]],template:function(e,i){e&1&&(v(0,"section",0),Ce(1,pOe,2,3)(2,gOe,1,2,"app-animal-stock-detail",1),w()),e&2&&(C(),we(i.selectedIndex()===null?1:2))},dependencies:[U_,Sv,Tv],styles:[".animal-stock-master-detail[_ngcontent-%COMP%]{display:block;padding:1rem}"],changeDetection:0})};var kv=class t{startEvent=Jc({alias:"start"});start(){this.startEvent.emit()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=M({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),Rt(4,"t"),w(),v(5,"mat-card-subtitle"),O(6),Rt(7,"t"),w()(),v(8,"mat-card-content")(9,"p"),O(10),Rt(11,"t"),w()(),v(12,"mat-card-actions")(13,"button",1),L("click",function(){return i.start()}),O(14),Rt(15,"t"),w()()()),e&2&&(C(3),ie(Wt(4,4,"welcome.title")()),C(3),ie(Wt(7,6,"welcome.subtitle")()),C(4),ie(Wt(11,8,"welcome.description")()),C(4),ie(Wt(15,10,"welcome.start")()))},dependencies:[Zi,vr,Ho,Pr,au,Fs,su,ov,$o,hs,si],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 Mv=class t{constructor(n){this.naebi=n}host=u(K);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(Mo))};static \u0275cmp=M({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"),Sm(3,0),w(),v(4,"mat-card-subtitle"),Sm(5,1),w()(),v(6,"mat-card-content")(7,"pre",4),O(8),Rt(9,"json"),w()(),v(10,"mat-card-actions")(11,"button",5),L("click",function(){return i.emitData()}),Sm(12,2),w()()()),e&2&&(C(8),ie(Wt(9,1,i.naebi.data())))},dependencies:[Ho,Pr,au,Fs,su,ov,$o,Zi,vr,fE],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 sY="https://fonts.googleapis.com/icon?family=Material+Icons",oY="material-icons-font-link",aY="data-suibi-icons";function lY(){return typeof document<"u"&&typeof window<"u"}function Av(t=document){if(!lY()||t.getElementById(oY))return;let n=t.createElement("link");n.id=oY,n.rel="stylesheet",n.href=sY,t.head.appendChild(n)}function Rv(t){if(!lY()||!t||t.querySelector(`link[${aY}]`))return;let n=document.createElement("link");n.rel="stylesheet",n.href=sY,n.setAttribute(aY,""),t.prepend(n)}var Pv=class t{locale=ai("en");currentPage=ai("welcome");onNavigate=ai(()=>{});onLocaleChange=ai(()=>{});navigate(n){n!==this.currentPage()&&this.onNavigate()(n)}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=M({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),L("click",function(){return i.navigate("welcome")}),O(3),Rt(4,"t"),w(),v(5,"a",2),L("click",function(){return i.navigate("animal_stock")}),O(6),Rt(7,"t"),w(),v(8,"a",2),L("click",function(){return i.navigate("data_preview")}),O(9),Rt(10,"t"),w()(),ue(11,"div",3),w()),e&2&&(zt("background","transparent")("color","inherit"),C(2),U("active",i.currentPage()==="welcome"),C(),ie(Wt(4,13,"nav.home")()),C(2),U("active",i.currentPage()==="animal_stock"),C(),ie(Wt(7,15,"nav.animalStock")()),C(2),U("active",i.currentPage()==="data_preview"),C(),ie(Wt(10,17,"nav.dataPreview")()))},dependencies:[K6,Y6,si],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 cY(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 _Oe(t,n){t&1&&(v(0,"mat-panel-description",4),O(1),Rt(2,"t"),w()),t&2&&(C(),ie(Wt(2,1,"validation.panel.expandHint")()))}function yOe(t,n){if(t&1&&(v(0,"span",10),O(1),w()),t&2){let e=T().$implicit;C(),ie(e.field)}}function bOe(t,n){if(t&1){let e=Oe();v(0,"mat-list-item",8),L("click",function(){let r=q(e).$implicit,o=T(2);return G(o.onErrorClick(r.error))}),v(1,"span",9),O(2),w(),Ce(3,yOe,2,1,"span",10),w()}if(t&2){let e=n.$implicit,i=T(2);U("clickable",i.clickable()),C(2),ie(e.message),C(),we(e.field?3:-1)}}function vOe(t,n){if(t&1){let e=Oe();v(0,"mat-accordion",0)(1,"mat-expansion-panel",1),L("opened",function(){q(e);let r=T();return G(r.expanded.set(!0))})("closed",function(){q(e);let r=T();return G(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()(),Ce(7,_Oe,3,3,"mat-panel-description",4),w(),v(8,"div",5)(9,"mat-nav-list",6),hr(10,bOe,4,4,"mat-list-item",7,Dm),w()()()()}if(t&2){let e=T();x("multi",!1)("hideToggle",!1),C(),x("expanded",e.expanded()),fe("aria-label",e.panelAriaLabel()),C(5),un(" ",e.issueCountLabel()," "),C(),we(e.expanded()?-1:7),C(),fe("aria-live",e.expanded()?"polite":"off"),C(2),pr(e.formattedItems())}}var Fv=class t{errors=ai([]);clickable=ai(!1);errorSelected=Jc();i18n=u(Gn);expanded=pe(!1);hasErrors=He(()=>(this.errors()??[]).length>0);sortedErrors=He(()=>[...this.errors()??[]].sort((n,e)=>(n.instancePath||"").localeCompare(e.instancePath||"")||(n.keyword||"").localeCompare(e.keyword||"")));formattedItems=He(()=>this.sortedErrors().map(n=>({message:cY(n,(e,i)=>this.i18n.t(e,i)),field:n.instancePath||"",error:n})));issueCountLabel=He(()=>{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=He(()=>`${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=M({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&&Ce(0,vOe,12,7,"mat-accordion",0),e&2&&we(i.hasErrors()?0:-1)},dependencies:[Dv,B9,NM,LM,j9,V9,hs,Ao,Zi,T6,mv,uv,cM,si],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 Ov=class t{dataSvc=u(Mo);ajv=xu();validateFn=this.ajv.compile(zb);rawErrors=pe([]);errors=He(()=>{let n=this.rawErrors();return this.enrichErrors(this.consolidateErrors(n))});constructor(){sn(()=>{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(k({},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=k({},e),r=e.instancePath.match(/^\/nutrientCycle\/animalStock\/(\d+)(\/(.+))?$/);if(r){let a=parseInt(r[1],10),s=r[3]||"";i.targetPage="animal_stock",i.targetAnimalStockIndex=a,i.targetCategory=this.inferCategory(s),i.fieldLabel=this.inferFieldLabel(s,e)}let o=e.instancePath.match(/^\/nutrientCycle\/lifetimePerformance\/(.+)$/);if(o){let a=o[1];i.targetPage="animal_stock",i.targetSection="lifetimePerformance",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",dailyGain:"Daily Gain",liveWeight:"Live Weight",milkProductionReport:"Milk Production"};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 COe(t,n){if(t&1){let e=Oe();v(0,"app-welcome-page",3),L("start",function(){q(e);let r=T();return G(r.go("animal_stock"))}),w()}}function wOe(t,n){t&1&&ue(0,"app-animal-stock-master-detail")}function DOe(t,n){t&1&&ue(0,"app-data-preview")}function EOe(t,n){t&1&&(v(0,"p"),O(1),Rt(2,"t"),w()),t&2&&(C(),ie(Wt(2,1,"nav.unknownPage")()))}var Nv=class t{localeInput=ai("en",{alias:"locale"});themeSrc=ai(null,{alias:"theme-src"});pageInput=ai("welcome",{alias:"page"});naebiDataInput=ai(null,{alias:"naebi-data"});i18n=u(Gn);hostEl=u(K);destroyRef=u(_i);naebi=u(Mo);globalValidation=u(Ov);navigationSvc=u(Ls);isCustomElement=this.hostEl.nativeElement.tagName==="SUIBI-MODULE";locale=this.i18n.locale;validationErrors=He(()=>this.globalValidation.errors());constructor(){sn(()=>{let i=this.navigationSvc.currentPage();this.currentPage()!==i&&this.currentPage.set(i)});let n;sn(()=>{let i=this.localeInput();i!==n&&(n=i,(i==="en"||i==="de")&&oi(this.i18n.locale)!==i&&this.i18n.setLocale(i))}),sn(()=>{let i=this.i18n.locale(),r=this.hostEl.nativeElement;r.getAttribute("locale")!==i&&r.setAttribute("locale",i)}),sn(()=>{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;Av(),Rv(e)}currentPage=pe(this.pageInput());lastPageInput=void 0;syncPageEffect=sn(()=>{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;if(e.targetPage==="animal_stock"&&e.targetAnimalStockIndex!=null){this.navigationSvc.navigateToAnimalStockDetail(e.targetAnimalStockIndex,e.targetCategory||"base");return}e.targetPage==="animal_stock"&&e.targetSection==="lifetimePerformance"&&this.navigationSvc.navigateToAnimalStockList()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=M({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),L("errorSelected",function(o){return i.onValidationErrorSelected(o)}),w(),v(2,"main",2),Ce(3,COe,1,0,"app-welcome-page")(4,wOe,1,0,"app-animal-stock-master-detail")(5,DOe,1,0,"app-data-preview")(6,EOe,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),we((r=i.currentPage())==="welcome"?3:r==="animal_stock"?4:r==="data_preview"?5:6)}},dependencies:[Iv,kv,Mv,Zi,Pv,Fv,si],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||{}),uo="*";function dY(t,n=null){return{type:pt.Sequence,steps:t,options:n}}function GM(t){return{type:pt.Style,styles:t,offset:null}}var Va=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}},Tu=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}},Eh="!";function uY(t){return new X(3e3,!1)}function SOe(){return new X(3100,!1)}function xOe(){return new X(3101,!1)}function TOe(t){return new X(3001,!1)}function IOe(t){return new X(3003,!1)}function kOe(t){return new X(3004,!1)}function fY(t,n){return new X(3005,!1)}function hY(){return new X(3006,!1)}function pY(){return new X(3007,!1)}function gY(t,n){return new X(3008,!1)}function _Y(t){return new X(3002,!1)}function yY(t,n,e,i,r){return new X(3010,!1)}function bY(){return new X(3011,!1)}function vY(){return new X(3012,!1)}function CY(){return new X(3200,!1)}function wY(){return new X(3202,!1)}function DY(){return new X(3013,!1)}function EY(t){return new X(3014,!1)}function SY(t){return new X(3015,!1)}function xY(t){return new X(3016,!1)}function TY(t,n){return new X(3404,!1)}function MOe(t){return new X(3502,!1)}function IY(t){return new X(3503,!1)}function kY(){return new X(3300,!1)}function MY(t){return new X(3504,!1)}function AY(t){return new X(3301,!1)}function RY(t,n){return new X(3302,!1)}function PY(t){return new X(3303,!1)}function FY(t,n){return new X(3400,!1)}function OY(t){return new X(3401,!1)}function NY(t){return new X(3402,!1)}function LY(t,n){return new X(3505,!1)}function ja(t){switch(t.length){case 0:return new Va;case 1:return t[0];default:return new Tu(t)}}function QM(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 Eh:b=e.get(h);break;case uo: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 MOe(r);return o}function Lv(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&WM(e,"start",t)));break;case"done":t.onDone(()=>i(e&&WM(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&WM(e,"destroy",t)));break}}function WM(t,n,e){let i=e.totalTime,r=!!e.disabled,o=Vv(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 Vv(t,n,e,i,r="",o=0,a){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:r,totalTime:o,disabled:!!a}}function Hi(t,n,e){let i=t.get(n);return i||t.set(n,i=e),i}function ZM(t){let n=t.indexOf(":"),e=t.substring(1,n),i=t.slice(n+1);return[e,i]}var AOe=typeof document>"u"?null:document.documentElement;function jv(t){let n=t.parentNode||t.host||null;return n===AOe?null:n}function ROe(t){return t.substring(1,6)=="ebkit"}var tc=null,mY=!1;function VY(t){tc||(tc=POe()||{},mY=tc.style?"WebkitAppearance"in tc.style:!1);let n=!0;return tc.style&&!ROe(t)&&(n=t in tc.style,!n&&mY&&(n="Webkit"+t.charAt(0).toUpperCase()+t.slice(1)in tc.style)),n}function POe(){return typeof document<"u"?document.body:null}function XM(t,n){for(;n;){if(n===t)return!0;n=jv(n)}return!1}function JM(t,n,e){if(e)return Array.from(t.querySelectorAll(n));let i=t.querySelector(n);return i?[i]:[]}var FOe=1e3,eA="{{",OOe="}}",tA="ng-enter",Bv="ng-leave",Sh="ng-trigger",xh=".ng-trigger",nA="ng-animating",zv=".ng-animating";function Yo(t){if(typeof t=="number")return t;let n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:YM(parseFloat(n[1]),n[2])}function YM(t,n){switch(n){case"s":return t*FOe;default:return t}}function Th(t,n,e){return t.hasOwnProperty("duration")?t:LOe(t,n,e)}var NOe=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function LOe(t,n,e){let i,r=0,o="";if(typeof t=="string"){let a=t.match(NOe);if(a===null)return n.push(uY(t)),{duration:0,delay:0,easing:""};i=YM(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=YM(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(SOe()),a=!0),r<0&&(n.push(xOe()),a=!0),a&&n.splice(s,0,uY(t))}return{duration:i,delay:r,easing:o}}function jY(t){return t.length?t[0]instanceof Map?t:t.map(n=>new Map(Object.entries(n))):[]}function mo(t,n,e){n.forEach((i,r)=>{let o=$v(r);e&&!e.has(r)&&e.set(r,t.style[o]),t.style[o]=i})}function js(t,n){n.forEach((e,i)=>{let r=$v(i);t.style[r]=""})}function Iu(t){return Array.isArray(t)?t.length==1?t[0]:dY(t):t}function BY(t,n,e){let i=n.params||{},r=iA(t);r.length&&r.forEach(o=>{i.hasOwnProperty(o)||e.push(TOe(o))})}var KM=new RegExp(`${eA}\\s*(.+?)\\s*${OOe}`,"g");function iA(t){let n=[];if(typeof t=="string"){let e;for(;e=KM.exec(t);)n.push(e[1]);KM.lastIndex=0}return n}function ku(t,n,e){let i=`${t}`,r=i.replace(KM,(o,a)=>{let s=n[a];return s==null&&(e.push(IOe(a)),s=""),s.toString()});return r==i?t:r}var VOe=/-+([a-z0-9])/g;function $v(t){return t.replace(VOe,(...n)=>n[1].toUpperCase())}function zY(t,n){return t===0||n===0}function $Y(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,Hv(t,s)))}}return n}function Ui(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 kOe(n.type)}}function Hv(t,n){return window.getComputedStyle(t)[n]}var vA=(()=>{class t{validateStyleProperty(e){return VY(e)}containsElement(e,i){return XM(e,i)}getParentElement(e){return jv(e)}query(e,i,r){return JM(e,i,r)}computeStyle(e,i,r){return r||""}animate(e,i,r,o,a,s=[],l){return new Va(r,o)}static \u0275fac=function(i){return new(i||t)};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})(),ic=class{static NOOP=new vA},rc=class{};var jOe=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"]),Yv=class extends rc{normalizePropertyName(n,e){return $v(n)}normalizeStyleValue(n,e,i,r){let o="",a=i.toString().trim();if(jOe.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(fY(n,i))}return a+o}};var Kv="*";function BOe(t,n){let e=[];return typeof t=="string"?t.split(/\s*,\s*/).forEach(i=>zOe(i,e,n)):e.push(t),e}function zOe(t,n,e){if(t[0]==":"){let l=$Oe(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(SY(t)),n;let r=i[1],o=i[2],a=i[3];n.push(HY(r,a));let s=r==Kv&&a==Kv;o[0]=="<"&&!s&&n.push(HY(a,r))}function $Oe(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(xY(t)),"* => *"}}var Uv=new Set(["true","1"]),qv=new Set(["false","0"]);function HY(t,n){let e=Uv.has(t)||qv.has(t),i=Uv.has(n)||qv.has(n);return(r,o)=>{let a=t==Kv||t==r,s=n==Kv||n==o;return!a&&e&&typeof r=="boolean"&&(a=r?Uv.has(t):qv.has(t)),!s&&i&&typeof o=="boolean"&&(s=o?Uv.has(n):qv.has(n)),a&&s}}var JY=":self",HOe=new RegExp(`s*${JY}s*,?`,"g");function eK(t,n,e,i){return new cA(t).build(n,e,i)}var UY="",cA=class{_driver;constructor(n){this._driver=n}build(n,e,i){let r=new dA(e);return this._resetContextStyleTimingState(r),Ui(this,Iu(n),r)}_resetContextStyleTimingState(n){n.currentQuerySelector=UY,n.collectedStyles=new Map,n.collectedStyles.set(UY,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(hY()),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(pY())}),{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=>{iA(l).forEach(c=>{a.hasOwnProperty(c)||o.add(c)})})}),o.size&&e.errors.push(gY(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=Ui(this,Iu(n.animation),e),r=BOe(n.expr,e.errors);return{type:pt.Transition,matchers:r,animation:i,queryCount:e.queryCount,depCount:e.depCount,options:nc(n.options)}}visitSequence(n,e){return{type:pt.Sequence,steps:n.steps.map(i=>Ui(this,i,e)),options:nc(n.options)}}visitGroup(n,e){let i=e.currentTime,r=0,o=n.steps.map(a=>{e.currentTime=i;let s=Ui(this,a,e);return r=Math.max(r,e.currentTime),s});return e.currentTime=r,{type:pt.Group,steps:o,options:nc(n.options)}}visitAnimate(n,e){let i=WOe(n.timings,e.errors);e.currentAnimateTimings=i;let r,o=n.styles?n.styles:GM({});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=GM(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===uo?i.push(s):e.errors.push(_Y(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(eA)>=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(yY(l,d.startTime,d.endTime,o,r)),m=!1),o=d.startTime),m&&c.set(l,{startTime:o,endTime:r}),e.options&&BY(s,e.options,e.errors)})})}visitKeyframes(n,e){let i={type:pt.Keyframes,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(bY()),i;let r=1,o=0,a=[],s=!1,l=!1,c=0,d=n.steps.map(E=>{let P=this._makeStyleAst(E,e),Y=P.offset!=null?P.offset:GOe(P.styles),ce=0;return Y!=null&&(o++,ce=P.offset=Y),l=l||ce<0||ce>1,s=s||ce<c,c=ce,a.push(ce),P});l&&e.errors.push(vY()),s&&e.errors.push(CY());let m=n.steps.length,f=0;o>0&&o<m?e.errors.push(wY()):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 Y=f>0?P==h?1:f*P:a[P],ce=Y*D;e.currentTime=p+b.delay+ce,b.duration=ce,this._validateStyleAst(E,e),E.offset=Y,i.styles.push(E)}),i}visitReference(n,e){return{type:pt.Reference,animation:Ui(this,Iu(n.animation),e),options:nc(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:pt.AnimateChild,options:nc(n.options)}}visitAnimateRef(n,e){return{type:pt.AnimateRef,animation:this.visitReference(n.animation,e),options:nc(n.options)}}visitQuery(n,e){let i=e.currentQuerySelector,r=n.options||{};e.queryCount++,e.currentQuery=n;let[o,a]=UOe(n.selector);e.currentQuerySelector=i.length?i+" "+o:o,Hi(e.collectedStyles,e.currentQuerySelector,new Map);let s=Ui(this,Iu(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:nc(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(DY());let i=n.timings==="full"?{duration:0,delay:0,easing:"full"}:Th(n.timings,e.errors,!0);return{type:pt.Stagger,animation:Ui(this,Iu(n.animation),e),timings:i,options:null}}};function UOe(t){let n=!!t.split(/\s*,\s*/).find(e=>e==JY);return n&&(t=t.replace(HOe,"")),t=t.replace(/@\*/g,xh).replace(/@\w+/g,e=>xh+"-"+e.slice(1)).replace(/:animating/g,zv),[t,n]}function qOe(t){return t?k({},t):null}var dA=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 GOe(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 WOe(t,n){if(t.hasOwnProperty("duration"))return t;if(typeof t=="number"){let o=Th(t,n).duration;return rA(o,0,"")}let e=t;if(e.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=rA(0,0,"");return o.dynamic=!0,o.strValue=e,o}let r=Th(e,n);return rA(r.duration,r.delay,r.easing)}function nc(t){return t?(t=k({},t),t.params&&(t.params=qOe(t.params))):t={},t}function rA(t,n,e){return{duration:t,delay:n,easing:e}}function CA(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 kh=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()}},YOe=1,KOe=":enter",QOe=new RegExp(KOe,"g"),ZOe=":leave",XOe=new RegExp(ZOe,"g");function tK(t,n,e,i,r,o=new Map,a=new Map,s,l,c=[]){return new uA().buildKeyframes(t,n,e,i,r,o,a,s,l,c)}var uA=class{buildKeyframes(n,e,i,r,o,a,s,l,c,d=[]){c=c||new kh;let m=new mA(n,e,c,r,o,d,[]);m.options=l;let f=l.delay?Yo(l.delay):0;m.currentTimeline.delayNextStep(f),m.currentTimeline.setStyles([a],null,m.errors,l),Ui(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()):[CA(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:Yo(ku(o,r?.params??{},e.errors));i.delayNextStep(a)}}}_visitSubInstructions(n,e,i){let o=e.currentTimeline.currentTime,a=i.duration!=null?Yo(i.duration):null,s=i.delay!=null?Yo(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),Ui(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=Qv);let a=Yo(o.delay);r.delayNextStep(a)}n.steps.length&&(n.steps.forEach(a=>Ui(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?Yo(n.options.delay):0;n.steps.forEach(a=>{let s=e.createSubContext(n.options);o&&s.delayNextStep(o),Ui(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?ku(i,e.params,e.errors):i;return Th(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?Yo(r.delay):0;o&&(e.previousNode.type===pt.Style||i==0&&e.currentTimeline.hasCurrentStyleProperties())&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Qv);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),Ui(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;Ui(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=r.currentTime-m+(r.startTime-i.currentTimeline.startTime)}},Qv={},mA=class t{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Qv;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 Zv(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=Yo(i.duration)),i.delay!=null&&(r.delay=Yo(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]=ku(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=Qv,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 fA(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(QOe,"."+this._enterClassName),n=n.replace(XOe,"."+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(EY(e)),s}},Zv=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+=YOe,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||uo),this._currentKeyframe.set(e,uo);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,r){e&&this._previousKeyframe.set("easing",e);let o=r&&r.params||{},a=JOe(n,this._globalTimelineStyles);for(let[s,l]of a){let c=ku(l,o,i);this._pendingStyles.set(s,c),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??uo),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===Eh?n.add(m):d===uo&&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 CA(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},fA=class extends Zv{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",qY(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",qY(p/a)),o.push(f)}i=a,e=0,r="",n=o}return CA(this.element,n,this.preStyleProps,this.postStyleProps,i,e,r,!0)}};function qY(t,n=3){let e=Math.pow(10,n-1);return Math.round(t*e)/e}function JOe(t,n){let e=new Map,i;return t.forEach(r=>{if(r==="*"){i??=n.keys();for(let o of i)e.set(o,uo)}else for(let[o,a]of r)e.set(o,a)}),e}function GY(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 oA={},Xv=class{_triggerName;ast;_stateStyles;constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,r){return eNe(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||oA,h=s&&s.params||oA,p=this.buildStyles(i,h,m),b=l&&l.params||oA,D=this.buildStyles(r,b,m),E=new Set,P=new Map,Y=new Map,ce=r==="void",re={params:nK(b,f),delay:this.ast.options?.delay},Pe=d?[]:tK(n,e,this.ast.animation,o,a,p,D,re,c,m),Fe=0;return Pe.forEach(Me=>{Fe=Math.max(Me.duration+Me.delay,Fe)}),m.length?GY(e,this._triggerName,i,r,ce,p,D,[],[],P,Y,Fe,m):(Pe.forEach(Me=>{let Le=Me.element,gt=Hi(P,Le,new Set);Me.preStyleProps.forEach(Ee=>gt.add(Ee));let Ut=Hi(Y,Le,new Set);Me.postStyleProps.forEach(Ee=>Ut.add(Ee)),Le!==e&&E.add(Le)}),GY(e,this._triggerName,i,r,ce,p,D,Pe,[...E.values()],P,Y,Fe))}};function eNe(t,n,e,i,r){return t.some(o=>o(n,e,i,r))}function nK(t,n){let e=k({},n);return Object.entries(t).forEach(([i,r])=>{r!=null&&(e[i]=r)}),e}var hA=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=nK(n,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=ku(a,r,e));let l=this.normalizer.normalizePropertyName(s,e);a=this.normalizer.normalizeStyleValue(s,l,a,e),i.set(s,a)})}),i}};function tNe(t,n,e){return new pA(t,n,e)}var pA=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 hA(r.style,o,i))}),WY(this.states,"true","1"),WY(this.states,"false","0"),e.transitions.forEach(r=>{this.transitionFactories.push(new Xv(n,r,this.states))}),this.fallbackTransition=nNe(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 nNe(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 Xv(t,o,n)}function WY(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 iNe=new kh,gA=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=eK(this._driver,e,i,r);if(i.length)throw IY(i);this._animations.set(n,o)}_buildPlayer(n,e,i){let r=n.element,o=QM(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=tK(this._driver,e,o,tA,Bv,new Map,new Map,i,iNe,r),a.forEach(d=>{let m=Hi(s,d.element,new Map);d.postStyleProps.forEach(f=>m.set(f,null))})):(r.push(kY()),a=[]),r.length)throw MY(r);s.forEach((d,m)=>{d.forEach((f,h)=>{d.set(h,this._driver.computeStyle(m,h,uo))})});let l=a.map(d=>{let m=s.get(d.element);return this._buildPlayer(d,new Map,m)}),c=ja(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 AY(n);return e}listen(n,e,i,r){let o=Vv(e,"","","");return Lv(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}}},YY="ng-animate-queued",rNe=".ng-animate-queued",aA="ng-animate-disabled",oNe=".ng-animate-disabled",aNe="ng-star-inserted",sNe=".ng-star-inserted",lNe=[],iK={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},cNe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fo="__ng_removed",Mh=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=uNe(r),i){let o=n,{value:a}=o,s=zs(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])})}}},Ih="void",sA=new Mh(Ih),_A=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,Or(e,this._hostClassName)}listen(n,e,i,r){if(!this._triggers.has(e))throw RY(i,e);if(i==null||i.length==0)throw PY(e);if(!mNe(i))throw FY(i,e);let o=Hi(this._elementListeners,n,[]),a={name:e,phase:i,callback:r};o.push(a);let s=Hi(this._engine.statesByElement,n,new Map);return s.has(e)||(Or(n,Sh),Or(n,Sh+"-"+e),s.set(e,sA)),()=>{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 OY(n);return e}trigger(n,e,i,r=!0){let o=this._getTrigger(e),a=new Ah(this.id,e,n),s=this._engine.statesByElement.get(n);s||(Or(n,Sh),Or(n,Sh+"-"+e),this._engine.statesByElement.set(n,s=new Map));let l=s.get(e),c=new Mh(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(e,c),l||(l=sA),!(c.value===Ih)&&l.value===c.value){if(!pNe(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(()=>{js(n,D),mo(n,E)})}return}let f=Hi(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||(Or(n,YY),a.onStart(()=>{Mu(n,YY)})),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,xh,!0);i.forEach(r=>{if(r[fo])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,Ih,r);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,a),i&&ja(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)||sA,d=new Mh(Ih),m=new Ah(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[fo];(!o||o===iK)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Or(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=Vv(o,i.triggerName,i.fromState.value,i.toState.value);l._data=n,Lv(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)}},yA=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 _A(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(Gv(e)){let o=this._fetchNamespace(n);if(o)return o.trigger(e,i,r),!0}return!1}insertNode(n,e,i,r){if(!Gv(e))return;let o=e[fo];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),Or(n,aA)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Mu(n,aA))}removeNode(n,e,i){if(Gv(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[fo]={namespaceId:n,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:o}}listen(n,e,i,r,o){return Gv(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,xh,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(e=this.driver.query(n,zv,!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 ja(this.players).onDone(()=>n());n()})}processLeaveNode(n){let e=n[fo];if(e&&e.setForRemoval){if(n[fo]=iK,e.namespaceId){this.destroyInnerAnimations(n);let i=this._fetchNamespace(e.namespaceId);i&&i.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}n.classList?.contains(aA)&&this.markElementAsDisabled(n,!1),this.driver.query(n,oNe,!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];Or(r,aNe)}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?ja(e).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(n){throw NY(n)}_flushAnimations(n,e){let i=new kh,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,rNe,!0);for(let W=0;W<H.length;W++)d.add(H[W])});let m=this.bodyNode,f=Array.from(this.statesByElement.keys()),h=ZY(f,this.collectedEnterElements),p=new Map,b=0;h.forEach((R,H)=>{let W=tA+b++;p.set(H,W),R.forEach(he=>Or(he,W))});let D=[],E=new Set,P=new Set;for(let R=0;R<this.collectedLeaveElements.length;R++){let H=this.collectedLeaveElements[R],W=H[fo];W&&W.setForRemoval&&(D.push(H),E.add(H),W.hasAnimation?this.driver.query(H,sNe,!0).forEach(he=>E.add(he)):P.add(H))}let Y=new Map,ce=ZY(f,Array.from(E));ce.forEach((R,H)=>{let W=Bv+b++;Y.set(H,W),R.forEach(he=>Or(he,W))}),n.push(()=>{h.forEach((R,H)=>{let W=p.get(H);R.forEach(he=>Mu(he,W))}),ce.forEach((R,H)=>{let W=Y.get(H);R.forEach(he=>Mu(he,W))}),D.forEach(R=>{this.processLeaveNode(R)})});let re=[],Pe=[];for(let R=this._namespaceList.length-1;R>=0;R--)this._namespaceList[R].drainQueuedTransitions(e).forEach(W=>{let he=W.player,Ze=W.element;if(re.push(he),this.collectedEnterElements.length){let Z=Ze[fo];if(Z&&Z.setForMove){if(Z.previousTriggersValues&&Z.previousTriggersValues.has(W.triggerName)){let ne=Z.previousTriggersValues.get(W.triggerName),ge=this.statesByElement.get(W.element);if(ge&&ge.has(W.triggerName)){let Dt=ge.get(W.triggerName);Dt.value=ne,ge.set(W.triggerName,Dt)}}he.destroy();return}}let et=!m||!this.driver.containsElement(m,Ze),vt=Y.get(Ze),at=p.get(Ze),ut=this._buildInstruction(W,i,at,vt,et);if(ut.errors&&ut.errors.length){Pe.push(ut);return}if(et){he.onStart(()=>js(Ze,ut.fromStyles)),he.onDestroy(()=>mo(Ze,ut.toStyles)),r.push(he);return}if(W.isFallbackTransition){he.onStart(()=>js(Ze,ut.fromStyles)),he.onDestroy(()=>mo(Ze,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(Ze,ut.timelines);let te={instruction:ut,player:he,element:Ze};a.push(te),ut.queriedElements.forEach(Z=>Hi(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(LY(H.triggerName,H.errors))}),re.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=>{Hi(Fe,H,[]).push(he),he.destroy()})});let Le=D.filter(R=>XY(R,l,c)),gt=new Map;QY(gt,this.driver,P,c,uo).forEach(R=>{XY(R,l,c)&&Le.push(R)});let Ee=new Map;h.forEach((R,H)=>{QY(Ee,this.driver,new Set(R),l,Eh)}),Le.forEach(R=>{let H=gt.get(R),W=Ee.get(R);gt.set(R,new Map([...H?.entries()??[],...W?.entries()??[]]))});let le=[],oe=[],Ie={};a.forEach(R=>{let{element:H,player:W,instruction:he}=R;if(i.has(H)){if(d.has(H)){W.onDestroy(()=>mo(H,he.toStyles)),W.disabled=!0,W.overrideTotalTime(he.totalTime),r.push(W);return}let Ze=Ie;if(Me.size>1){let vt=H,at=[];for(;vt=vt.parentNode;){let ut=Me.get(vt);if(ut){Ze=ut;break}at.push(vt)}at.forEach(ut=>Me.set(ut,Ze))}let et=this._buildAnimation(W.namespaceId,he,Fe,o,Ee,gt);if(W.setRealPlayer(et),Ze===Ie)le.push(W);else{let vt=this.playersByElement.get(Ze);vt&&vt.length&&(W.parentPlayer=ja(vt)),r.push(W)}}else js(H,he.fromStyles),W.onDestroy(()=>mo(H,he.toStyles)),oe.push(W),d.has(H)&&r.push(W)}),oe.forEach(R=>{let H=o.get(R.element);if(H&&H.length){let W=ja(H);R.setRealPlayer(W)}}),r.forEach(R=>{R.parentPlayer?R.syncPlayerEvents(R.parentPlayer):R.destroy()});for(let R=0;R<D.length;R++){let H=D[R],W=H[fo];if(Mu(H,Bv),W&&W.hasAnimation)continue;let he=[];if(s.size){let et=s.get(H);et&&et.length&&he.push(...et);let vt=this.driver.query(H,zv,!0);for(let at=0;at<vt.length;at++){let ut=s.get(vt[at]);ut&&ut.length&&he.push(...ut)}}let Ze=he.filter(et=>!et.destroyed);Ze.length?fNe(this,H,Ze):this.processLeaveNode(H)}return D.length=0,le.forEach(R=>{this.players.push(R),R.onDone(()=>{R.destroy();let H=this.players.indexOf(R);this.players.splice(H,1)}),R.play()}),le}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==Ih;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=Hi(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)})}js(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[fo];if(D&&D.removedBeforeQueried)return new Va(p.duration,p.delay);let E=b!==l,P=hNe((i.get(b)||lNe).map(Fe=>Fe.getRealPlayer())).filter(Fe=>{let Me=Fe;return Me.element?Me.element===b:!1}),Y=o.get(b),ce=a.get(b),re=QM(this._normalizer,p.keyframes,Y,ce),Pe=this._buildPlayer(p,re,P);if(p.subTimeline&&r&&m.add(b),E){let Fe=new Ah(n,s,b);Fe.setRealPlayer(Pe),c.push(Fe)}return Pe});c.forEach(p=>{Hi(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>dNe(this.playersByQueriedElement,p.element,p))}),d.forEach(p=>Or(p,nA));let h=ja(f);return h.onDestroy(()=>{d.forEach(p=>Mu(p,nA)),mo(l,e.toStyles)}),m.forEach(p=>{Hi(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 Va(n.duration,n.delay)}},Ah=class{namespaceId;triggerName;element;_player=new Va;_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=>Lv(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){Hi(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 dNe(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 uNe(t){return t??null}function Gv(t){return t&&t.nodeType===1}function mNe(t){return t=="start"||t=="done"}function KY(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(KY(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[fo]=cNe,a.push(c))}),t.set(c,d)});let s=0;return e.forEach(l=>KY(l,o[s++])),a}function ZY(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 Or(t,n){t.classList?.add(n)}function Mu(t,n){t.classList?.remove(n)}function fNe(t,n,e){ja(e).onDone(()=>t.processLeaveNode(n))}function hNe(t){let n=[];return rK(t,n),n}function rK(t,n){for(let e=0;e<t.length;e++){let i=t[e];i instanceof Tu?rK(i.players,n):n.push(i)}}function pNe(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 XY(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 Au=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(n,e)=>{};constructor(n,e,i){this._driver=e,this._normalizer=i,this._transitionEngine=new yA(n.body,e,i),this._timelineEngine=new gA(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=eK(this._driver,o,l,c);if(l.length)throw TY(r,l);s=tNe(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]=ZM(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]=ZM(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 gNe(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=lA(n[0]),n.length>1&&(i=lA(n[n.length-1]))):n instanceof Map&&(e=lA(n)),e||i?new _Ne(t,e,i):null}var _Ne=(()=>{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&&mo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(mo(this._element,this._initialStyles),this._endStyles&&(mo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(js(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(js(this._element,this._endStyles),this._endStyles=null),mo(this._element,this._initialStyles),this._state=3)}}return t})();function lA(t){let n=null;return t.forEach((e,i)=>{yNe(i)&&(n=n||new Map,n.set(i,e))}),n}function yNe(t){return t==="display"||t==="position"}var Jv=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:Hv(this.element,r))}),this.currentSnapshot=n}triggerCallback(n){let e=n==="start"?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}},e0=class{validateStyleProperty(n){return!0}validateAnimatableStyleProperty(n){return!0}containsElement(n,e){return XM(n,e)}getParentElement(n){return jv(n)}query(n,e,i){return JM(n,e,i)}computeStyle(n,e,i){return Hv(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 Jv);zY(i,r)&&d.forEach(h=>{h.currentSnapshot.forEach((p,b)=>c.set(b,p))});let m=jY(e).map(h=>new Map(h));m=$Y(n,m,c);let f=gNe(n,m);return new Jv(n,m,l,f)}};var Wv="@",oK="@.disabled",t0=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)==Wv&&e==oK?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)}},bA=class extends t0{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)==Wv?e.charAt(1)=="."&&e==oK?(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)==Wv){let o=bNe(n),a=e.slice(1),s="";return a.charAt(0)!=Wv&&([a,s]=vNe(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 bNe(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}function vNe(t){let n=t.indexOf("."),e=t.substring(0,n),i=t.slice(n+1);return[e,i]}var n0=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 t0("",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 bA(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 wNe=(()=>{class t extends Au{constructor(e,i,r){super(e,i,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(i){return new(i||t)(ze(ke),ze(ic),ze(rc))};static \u0275prov=z({token:t,factory:t.\u0275fac})}return t})();function DNe(){return new Yv}function ENe(t,n,e){return new n0(t,n,e)}var aK=[{provide:rc,useFactory:DNe},{provide:Au,useClass:wNe},{provide:tn,useFactory:ENe,deps:[Nm,Au,J]}],lbt=[{provide:ic,useClass:vA},{provide:rs,useValue:"NoopAnimations"},...aK],SNe=[{provide:ic,useFactory:()=>new e0},{provide:rs,useFactory:()=>"BrowserAnimations"},...aK];function sK(){return xo("NgEagerAnimations"),[...SNe]}var lK={providers:[NC(),WD(),sK()]};function xNe(){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 TNe(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 INe(){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 kNe(t){return cr(this,null,function*(){try{let n=yield fetch(t,{mode:"cors"});return n.ok?yield n.text():null}catch{return null}})}Av();xNe();DE({providers:lK.providers}).then(t=>{let n=QO(Nv,{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),INe();let s=this.shadowRoot;Rv(s),TNe(s);let l=this.getAttribute("theme-src");l&&s&&kNe(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));