PageSourceSearch

https://miallianz.com.ar/main-BOCNXBSL.js

js miallianz.com.ar collected 2026-09-24 13:37:16 UTC 2,741,475 bytes, 868 lines download raw bytes

1var oU=Object.create;var b7=Object.defineProperty,aU=Object.defineProperties,sU=Object.getOwnPropertyDescriptor,lU=Object.getOwnPropertyDescriptors,cU=Object.getOwnPropertyNames,Um=Object.getOwnPropertySymbols,dU=Object.getPrototypeOf,C7=Object.prototype.hasOwnProperty,GP=Object.prototype.propertyIsEnumerable;var $P=i=>{throw TypeError(i)};var UP=(i,e,t)=>e in i?b7(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,ae=(i,e)=>{for(var t in e||={})C7.call(e,t)&&UP(i,t,e[t]);if(Um)for(var t of Um(e))GP.call(e,t)&&UP(i,t,e[t]);return i},mt=(i,e)=>aU(i,lU(e));var Gm=(i=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(i,{get:(e,t)=>(typeof require<"u"?require:e)[t]}):i)(function(i){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+i+'" is not supported')});var qp=(i,e)=>{var t={};for(var n in i)C7.call(i,n)&&e.indexOf(n)<0&&(t[n]=i[n]);if(i!=null&&Um)for(var n of Um(i))e.indexOf(n)<0&&GP.call(i,n)&&(t[n]=i[n]);return t};var Up=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports);var uU=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of cU(e))!C7.call(i,r)&&r!==t&&b7(i,r,{get:()=>e[r],enumerable:!(n=sU(e,r))||n.enumerable});return i};var Aa=(i,e,t)=>(t=i!=null?oU(dU(i)):{},uU(e||!i||!i.__esModule?b7(t,"default",{value:i,enumerable:!0}):t,i));var WP=(i,e,t)=>e.has(i)||$P("Cannot "+t);var Xo=(i,e,t)=>(WP(i,e,"read from private field"),t?t.call(i):e.get(i)),_s=(i,e,t)=>e.has(i)?$P("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(i):e.set(i,t),Va=(i,e,t,n)=>(WP(i,e,"write to private field"),n?n.call(i,t):e.set(i,t),t);var EN=Up((xf,ry)=>{"use strict";(function(i,e){typeof xf=="object"&&typeof ry=="object"?ry.exports=e():typeof define=="function"&&define.amd?define([],e):typeof xf=="object"?xf.bowser=e():i.bowser=e()})(xf,function(){return function(i){var e={};function t(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return i[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=i,t.c=e,t.d=function(n,r,o){t.o(n,r)||Object.defineProperty(n,r,{enumerable:!0,get:o})},t.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},t.t=function(n,r){if(1&r&&(n=t(n)),8&r||4&r&&typeof n=="object"&&n&&n.__esModule)return n;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:n}),2&r&&typeof n!="string")for(var a in n)t.d(o,a,(function(s){return n[s]}).bind(null,a));return o},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,r){return Object.prototype.hasOwnProperty.call(n,r)},t.p="",t(t.s=90)}({17:function(i,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=t(18),r=function(){function o(){}return o.getFirstMatch=function(a,s){var l=s.match(a);return l&&l.length>0&&l[1]||""},o.getSecondMatch=function(a,s){var l=s.match(a);return l&&l.length>1&&l[2]||""},o.matchAndReturnConst=function(a,s,l){if(a.test(s))return l},o.getWindowsVersionName=function(a){switch(a){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},o.getMacOSVersionName=function(a){var s=a.split(".").splice(0,2).map(function(l){return parseInt(l,10)||0});if(s.push(0),s[0]===10)switch(s[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},o.getAndroidVersionName=function(a){var s=a.split(".").splice(0,2).map(function(l){return parseInt(l,10)||0});if(s.push(0),!(s[0]===1&&s[1]<5))return s[0]===1&&s[1]<6?"Cupcake":s[0]===1&&s[1]>=6?"Donut":s[0]===2&&s[1]<2?"Eclair":s[0]===2&&s[1]===2?"Froyo":s[0]===2&&s[1]>2?"Gingerbread":s[0]===3?"Honeycomb":s[0]===4&&s[1]<1?"Ice Cream Sandwich":s[0]===4&&s[1]<4?"Jelly Bean":s[0]===4&&s[1]>=4?"KitKat":s[0]===5?"Lollipop":s[0]===6?"Marshmallow":s[0]===7?"Nougat":s[0]===8?"Oreo":s[0]===9?"Pie":void 0},o.getVersionPrecision=function(a){return a.split(".").length},o.compareVersions=function(a,s,l){l===void 0&&(l=!1);var u=o.getVersionPrecision(a),h=o.getVersionPrecision(s),_=Math.max(u,h),y=0,b=o.map([a,s],function(x){var w=_-o.getVersionPrecision(x),k=x+new Array(w+1).join(".0");return o.map(k.split("."),function(V){return new Array(20-V.length).join("0")+V}).reverse()});for(l&&(y=_-Math.min(u,h)),_-=1;_>=y;){if(b[0][_]>b[1][_])return 1;if(b[0][_]===b[1][_]){if(_===y)return 0;_-=1}else if(b[0][_]<b[1][_])return-1}},o.map=function(a,s){var l,u=[];if(Array.prototype.map)return Array.prototype.map.call(a,s);for(l=0;l<a.length;l+=1)u.push(s(a[l]));return u},o.find=function(a,s){var l,u;if(Array.prototype.find)return Array.prototype.find.call(a,s);for(l=0,u=a.length;l<u;l+=1){var h=a[l];if(s(h,l))return h}},o.assign=function(a){for(var s,l,u=a,h=arguments.length,_=new Array(h>1?h-1:0),y=1;y<h;y++)_[y-1]=arguments[y];if(Object.assign)return Object.assign.apply(Object,[a].concat(_));var b=function(){var x=_[s];
1typeof x=="object"&&x!==null&&Object.keys(x).forEach(function(w){u[w]=x[w]})};for(s=0,l=_.length;s<l;s+=1)b();return a},o.getBrowserAlias=function(a){return n.BROWSER_ALIASES_MAP[a]},o.getBrowserTypeByAlias=function(a){return n.BROWSER_MAP[a]||""},o}();e.default=r,i.exports=e.default},18:function(i,e,t){"use strict";e.__esModule=!0,e.ENGINE_MAP=e.OS_MAP=e.PLATFORMS_MAP=e.BROWSER_MAP=e.BROWSER_ALIASES_MAP=void 0,e.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},e.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},e.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},e.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},e.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(i,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n,r=(n=t(91))&&n.__esModule?n:{default:n},o=t(18);function a(l,u){for(var h=0;h<u.length;h++){var _=u[h];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(l,_.key,_)}}var s=function(){function l(){}var u,h,_;return l.getParser=function(y,b){if(b===void 0&&(b=!1),typeof y!="string")throw new Error("UserAgent should be a string");return new r.default(y,b)},l.parse=function(y){return new r.default(y).getResult()},u=l,_=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],(h=null)&&a(u.prototype,h),_&&a(u,_),l}();e.default=s,i.exports=e.default},91:function(i,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n=l(t(92)),r=l(t(93)),o=l(t(94)),a=l(t(95)),s=l(t(17));function l(h){return h&&h.__esModule?h:{default:h}}var u=function(){function h(y,b){if(b===void 0&&(b=!1),y==null||y==="")throw new Error("UserAgent parameter can't be empty");this._ua=y,this.parsedResult={},b!==!0&&this.parse()}var _=h.prototype;return _.getUA=function(){return this._ua},_.test=function(y){return y.test(this._ua)},_.parseBrowser=function(){var y=this;this.parsedResult.browser={};var b=s.default.find(n.default,function(x){if(typeof x.test=="function")return x.test(y);if(x.test instanceof Array)return x.test.some(function(w){return y.test(w)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.browser=b.describe(this.getUA())),this.parsedResult.browser},_.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},_.getBrowserName=function(y){return y?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},_.getBrowserVersion=function(){return this.getBrowser().version},_.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},_.parseOS=function(){var y=this;this.parsedResult.os={};var b=s.default.find(r.default,function(x){if(typeof x.test=="function")return x.test(y);if(x.test instanceof Array)return x.test.some(function(w){return y.test(w)});
1throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.os=b.describe(this.getUA())),this.parsedResult.os},_.getOSName=function(y){var b=this.getOS().name;return y?String(b).toLowerCase()||"":b||""},_.getOSVersion=function(){return this.getOS().version},_.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},_.getPlatformType=function(y){y===void 0&&(y=!1);var b=this.getPlatform().type;return y?String(b).toLowerCase()||"":b||""},_.parsePlatform=function(){var y=this;this.parsedResult.platform={};var b=s.default.find(o.default,function(x){if(typeof x.test=="function")return x.test(y);if(x.test instanceof Array)return x.test.some(function(w){return y.test(w)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.platform=b.describe(this.getUA())),this.parsedResult.platform},_.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},_.getEngineName=function(y){return y?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},_.parseEngine=function(){var y=this;this.parsedResult.engine={};var b=s.default.find(a.default,function(x){if(typeof x.test=="function")return x.test(y);if(x.test instanceof Array)return x.test.some(function(w){return y.test(w)});throw new Error("Browser's test function is not valid")});return b&&(this.parsedResult.engine=b.describe(this.getUA())),this.parsedResult.engine},_.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},_.getResult=function(){return s.default.assign({},this.parsedResult)},_.satisfies=function(y){var b=this,x={},w=0,k={},V=0;if(Object.keys(y).forEach(function(Q){var J=y[Q];typeof J=="string"?(k[Q]=J,V+=1):typeof J=="object"&&(x[Q]=J,w+=1)}),w>0){var N=Object.keys(x),A=s.default.find(N,function(Q){return b.isOS(Q)});if(A){var $=this.satisfies(x[A]);if($!==void 0)return $}var ie=s.default.find(N,function(Q){return b.isPlatform(Q)});if(ie){var H=this.satisfies(x[ie]);if(H!==void 0)return H}}if(V>0){var j=Object.keys(k),U=s.default.find(j,function(Q){return b.isBrowser(Q,!0)});if(U!==void 0)return this.compareVersion(k[U])}},_.isBrowser=function(y,b){b===void 0&&(b=!1);var x=this.getBrowserName().toLowerCase(),w=y.toLowerCase(),k=s.default.getBrowserTypeByAlias(w);return b&&k&&(w=k.toLowerCase()),w===x},_.compareVersion=function(y){var b=[0],x=y,w=!1,k=this.getBrowserVersion();if(typeof k=="string")return y[0]===">"||y[0]==="<"?(x=y.substr(1),y[1]==="="?(w=!0,x=y.substr(2)):b=[],y[0]===">"?b.push(1):b.push(-1)):y[0]==="="?x=y.substr(1):y[0]==="~"&&(w=!0,x=y.substr(1)),b.indexOf(s.default.compareVersions(k,x,w))>-1},_.isOS=function(y){return this.getOSName(!0)===String(y).toLowerCase()},_.isPlatform=function(y){return this.getPlatformType(!0)===String(y).toLowerCase()},_.isEngine=function(y){return this.getEngineName(!0)===String(y).toLowerCase()},_.is=function(y,b){return b===void 0&&(b=!1),this.isBrowser(y,b)||this.isOS(y)||this.isPlatform(y)},_.some=function(y){var b=this;return y===void 0&&(y=[]),y.some(function(x){return b.is(x)})},h}();e.default=u,i.exports=e.default},92:function(i,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n,r=(n=t(17))&&n.__esModule?n:{default:n},o=/version\/(\d+(\.?_?\d+)+)/i,a=[{test:[/googlebot/i],describe:function(s){var l={name:"Googlebot"},u=r.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/opera/i],describe:function(s){var l={name:"Opera"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/opr\/|opios/i],describe:function(s){var l={name:"Opera"},u=r.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/SamsungBrowser/i],describe:function(s){var l={name:"Samsung Internet for Android"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/Whale/i],describe:function(s){var l={name:"NAVER Whale Browser"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/MZBrowser/i],describe:function(s){var l={name:"MZ Browser"},u=r.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/focus/i],describe:function(s){var l={name:"Focus"},u=r.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/swing/i],describe:function(s){var l={name:"Swing"},u=r.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/coast/i],describe:function(s){var l={name:"Opera Coast"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(s){var l={name:"Opera Touch"},u=r.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/yabrowser/i],describe:function(s){var l={name:"Yandex Browser"},u=r.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/ucbrowser/i],describe:function(s){var l={name:"UC Browser"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/Maxthon|mxios/i],describe:function(s){var l={name:"Maxthon"}
vendor: 5,400 bytes, line 1
1,u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/epiphany/i],describe:function(s){var l={name:"Epiphany"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/puffin/i],describe:function(s){var l={name:"Puffin"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/sleipnir/i],describe:function(s){var l={name:"Sleipnir"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/k-meleon/i],describe:function(s){var l={name:"K-Meleon"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/micromessenger/i],describe:function(s){var l={name:"WeChat"},u=r.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/qqbrowser/i],describe:function(s){var l={name:/qqbrowserlite/i.test(s)?"QQ Browser Lite":"QQ Browser"},u=r.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/msie|trident/i],describe:function(s){var l={name:"Internet Explorer"},u=r.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/\sedg\//i],describe:function(s){var l={name:"Microsoft Edge"},u=r.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/edg([ea]|ios)/i],describe:function(s){var l={name:"Microsoft Edge"},u=r.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/vivaldi/i],describe:function(s){var l={name:"Vivaldi"},u=r.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/seamonkey/i],describe:function(s){var l={name:"SeaMonkey"},u=r.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/sailfish/i],describe:function(s){var l={name:"Sailfish"},u=r.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,s);return u&&(l.version=u),l}},{test:[/silk/i],describe:function(s){var l={name:"Amazon Silk"},u=r.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/phantom/i],describe:function(s){var l={name:"PhantomJS"},u=r.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/slimerjs/i],describe:function(s){var l={name:"SlimerJS"},u=r.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(s){var l={name:"BlackBerry"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/(web|hpw)[o0]s/i],describe:function(s){var l={name:"WebOS Browser"},u=r.default.getFirstMatch(o,s)||r.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/bada/i],describe:function(s){var l={name:"Bada"},u=r.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/tizen/i],describe:function(s){var l={name:"Tizen"},u=r.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/qupzilla/i],describe:function(s){var l={name:"QupZilla"},u=r.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/firefox|iceweasel|fxios/i],describe:function(s){var l={name:"Firefox"},u=r.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/electron/i],describe:function(s){var l={name:"Electron"},u=r.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/MiuiBrowser/i],describe:function(s){var l={name:"Miui"},u=r.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/chromium/i],describe:function(s){var l={name:"Chromium"},u=r.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,s)||r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/chrome|crios|crmo/i],describe:function(s){var l={name:"Chrome"},u=r.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/GSA/i],describe:function(s){var l={name:"Google Search"},u=r.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:function(s){var l=!s.test(/like android/i),u=s.test(/android/i);return l&&u},describe:function(s){var l={name:"Android Browser"},u=r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/playstation 4/i],describe:function(s){var l={name:"PlayStation 4"},u=r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/safari|applewebkit/i],describe:function(s){var l={name:"Safari"},u=r.default.getFirstMatch(o,s);return u&&(l.version=u),l}},{test:[/.*/i],describe:function(s){var l=s.search("\\(")!==-1?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:r.default.getFirstMatch(l,s),version:r.default.getSecondMatch(l,s)}}}];e.default=a,i.exports=e.default},93:function(i,e,t){"use strict";
vendor: 5,224 bytes, line 1
1e.__esModule=!0,e.default=void 0;var n,r=(n=t(17))&&n.__esModule?n:{default:n},o=t(18),a=[{test:[/Roku\/DVP/],describe:function(s){var l=r.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,s);return{name:o.OS_MAP.Roku,version:l}}},{test:[/windows phone/i],describe:function(s){var l=r.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.WindowsPhone,version:l}}},{test:[/windows /i],describe:function(s){var l=r.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,s),u=r.default.getWindowsVersionName(l);return{name:o.OS_MAP.Windows,version:l,versionName:u}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(s){var l={name:o.OS_MAP.iOS},u=r.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,s);return u&&(l.version=u),l}},{test:[/macintosh/i],describe:function(s){var l=r.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,s).replace(/[_\s]/g,"."),u=r.default.getMacOSVersionName(l),h={name:o.OS_MAP.MacOS,version:l};return u&&(h.versionName=u),h}},{test:[/(ipod|iphone|ipad)/i],describe:function(s){var l=r.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,s).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:l}}},{test:function(s){var l=!s.test(/like android/i),u=s.test(/android/i);return l&&u},describe:function(s){var l=r.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,s),u=r.default.getAndroidVersionName(l),h={name:o.OS_MAP.Android,version:l};return u&&(h.versionName=u),h}},{test:[/(web|hpw)[o0]s/i],describe:function(s){var l=r.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,s),u={name:o.OS_MAP.WebOS};return l&&l.length&&(u.version=l),u}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(s){var l=r.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,s)||r.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,s)||r.default.getFirstMatch(/\bbb(\d+)/i,s);return{name:o.OS_MAP.BlackBerry,version:l}}},{test:[/bada/i],describe:function(s){var l=r.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.Bada,version:l}}},{test:[/tizen/i],describe:function(s){var l=r.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.Tizen,version:l}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(s){var l=r.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,s);return{name:o.OS_MAP.PlayStation4,version:l}}}];e.default=a,i.exports=e.default},94:function(i,e,t){"use strict";e.__esModule=!0,e.default=void 0;var n,r=(n=t(17))&&n.__esModule?n:{default:n},o=t(18),a=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(s){var l=r.default.getFirstMatch(/(can-l01)/i,s)&&"Nova",u={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return l&&(u.model=l),u}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(s){var l=s.test(/ipod|iphone/i),u=s.test(/like (ipod|iphone)/i);return l&&!u},describe:function(s){var l=r.default.getFirstMatch(/(ipod|iphone)/i,s);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:l}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(s){return s.getBrowserName(!0)==="blackberry"},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(s){return s.getBrowserName(!0)==="bada"},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(s){return s.getBrowserName()==="windows phone"},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(s){var l=Number(String(s.getOSVersion()).split(".")[0]);return s.getOSName(!0)==="android"&&l>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(s){return s.getOSName(!0)==="android"},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(s){return s.getOSName(!0)==="macos"},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(s){return s.getOSName(!0)==="windows"},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(s){return s.getOSName(!0)==="linux"},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(s){return s.getOSName(!0)==="playstation 4"},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(s){return s.getOSName(!0)==="roku"},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];e.default=a,i.exports=e.default},95:function(i,e,t){"use strict";
1e.__esModule=!0,e.default=void 0;var n,r=(n=t(17))&&n.__esModule?n:{default:n},o=t(18),a=[{test:function(s){return s.getBrowserName(!0)==="microsoft edge"},describe:function(s){if(/\sedg\//i.test(s))return{name:o.ENGINE_MAP.Blink};var l=r.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,s);return{name:o.ENGINE_MAP.EdgeHTML,version:l}}},{test:[/trident/i],describe:function(s){var l={name:o.ENGINE_MAP.Trident},u=r.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:function(s){return s.test(/presto/i)},describe:function(s){var l={name:o.ENGINE_MAP.Presto},u=r.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:function(s){var l=s.test(/gecko/i),u=s.test(/like gecko/i);return l&&!u},describe:function(s){var l={name:o.ENGINE_MAP.Gecko},u=r.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(s){var l={name:o.ENGINE_MAP.WebKit},u=r.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,s);return u&&(l.version=u),l}}];e.default=a,i.exports=e.default}})})});var YV=Up($f=>{"use strict";(function(i,e){typeof define=="function"&&define.amd?define(["exports"],e):typeof $f=="object"&&typeof $f.nodeName!="string"?e($f):e(i.IBAN={})})($f,function(i){Array.prototype.map||(Array.prototype.map=function(b){"use strict";if(this===void 0||this===null)throw new TypeError;var x=Object(this),w=x.length>>>0;if(typeof b!="function")throw new TypeError;for(var k=new Array(w),V=arguments.length>=2?arguments[1]:void 0,N=0;N<w;N++)N in x&&(k[N]=b.call(V,x[N],N,x));return k});var e=65,t=90;function n(b){return b=b.toUpperCase(),b=b.substr(4)+b.substr(0,4),b.split("").map(function(x){var w=x.charCodeAt(0);return w>=e&&w<=t?w-e+10:x}).join("")}function r(b){for(var x=b,w;x.length>2;)w=x.slice(0,9),x=parseInt(w,10)%97+x.slice(w.length);return parseInt(x,10)%97}function o(b){var x=b.match(/(.{3})/g).map(function(w){var k,V=w.slice(0,1),N=parseInt(w.slice(1),10);switch(V){case"A":k="0-9A-Za-z";break;case"B":k="0-9A-Z";break;case"C":k="A-Za-z";break;case"F":k="0-9";break;case"L":k="a-z";break;case"U":k="A-Z";break;case"W":k="0-9a-z";break}return"(["+k+"]{"+N+"})"});return new RegExp("^"+x.join("")+"$")}function a(b){return b.replace(h,"").toUpperCase()}function s(b,x,w,k){this.countryCode=b,this.length=x,this.structure=w,this.example=k}s.prototype._regex=function(){return this._cachedRegex||(this._cachedRegex=o(this.structure))},s.prototype.isValid=function(b){return this.length==b.length&&this.countryCode===b.slice(0,2)&&this._regex().test(b.slice(4))&&r(n(b))==1},s.prototype.toBBAN=function(b,x){return this._regex().exec(b.slice(4)).slice(1).join(x)},s.prototype.fromBBAN=function(b){if(!this.isValidBBAN(b))throw new Error("Invalid BBAN");var x=r(n(this.countryCode+"00"+b)),w=("0"+(98-x)).slice(-2);return this.countryCode+w+b},s.prototype.isValidBBAN=function(b){return this.length-4==b.length&&this._regex().test(b)};var l={};function u(b){l[b.countryCode]=b}u(new s("AD",24,"F04F04A12","AD1200012030200359100100")),u(new s("AE",23,"F03F16","AE070331234567890123456")),u(new s("AL",28,"F08A16","AL47212110090000000235698741")),u(new s("AT",20,"F05F11","AT611904300234573201")),u(new s("AZ",28,"U04A20","AZ21NABZ00000000137010001944")),u(new s("BA",20,"F03F03F08F02","BA391290079401028494")),u(new s("BE",16,"F03F07F02","BE68539007547034")),u(new s("BG",22,"U04F04F02A08","BG80BNBG96611020345678")),u(new s("BH",22,"U04A14","BH67BMAG00001299123456")),u(new s("BR",29,"F08F05F10U01A01","BR9700360305000010009795493P1")),u(new s("BY",28,"A04F04A16","BY13NBRB3600900000002Z00AB00")),u(new s("CH",21,"F05A12","CH9300762011623852957")),u(new s("CR",22,"F04F14","CR72012300000171549015")),u(new s("CY",28,"F03F05A16","CY17002001280000001200527600")),u(new s("CZ",24,"F04F06F10","CZ6508000000192000145399")),u(new s("DE",22,"F08F10","DE89370400440532013000")),u(new s("DK",18,"F04F09F01","DK5000400440116243")),u(new s("DO",28,"U04F20","DO28BAGR00000001212453611324")),u(new s("EE",20,"F02F02F11F01","EE382200221020145685")),u(new s("EG",29,"F04F04F17","EG800002000156789012345180002")),u(new s("ES",24,"F04F04F01F01F10","ES9121000418450200051332")),u(new s("FI",18,"F06
1F07F01","FI2112345600000785")),u(new s("FO",18,"F04F09F01","FO6264600001631634")),u(new s("FR",27,"F05F05A11F02","FR1420041010050500013M02606")),u(new s("GB",22,"U04F06F08","GB29NWBK60161331926819")),u(new s("GE",22,"U02F16","GE29NB0000000101904917")),u(new s("GI",23,"U04A15","GI75NWBK000000007099453")),u(new s("GL",18,"F04F09F01","GL8964710001000206")),u(new s("GR",27,"F03F04A16","GR1601101250000000012300695")),u(new s("GT",28,"A04A20","GT82TRAJ01020000001210029690")),u(new s("HR",21,"F07F10","HR1210010051863000160")),u(new s("HU",28,"F03F04F01F15F01","HU42117730161111101800000000")),u(new s("IE",22,"U04F06F08","IE29AIBK93115212345678")),u(new s("IL",23,"F03F03F13","IL620108000000099999999")),u(new s("IS",26,"F04F02F06F10","IS140159260076545510730339")),u(new s("IT",27,"U01F05F05A12","IT60X0542811101000000123456")),u(new s("IQ",23,"U04F03A12","IQ98NBIQ850123456789012")),u(new s("JO",30,"A04F22","JO15AAAA1234567890123456789012")),u(new s("KW",30,"U04A22","KW81CBKU0000000000001234560101")),u(new s("KZ",20,"F03A13","KZ86125KZT5004100100")),u(new s("LB",28,"F04A20","LB62099900000001001901229114")),u(new s("LC",32,"U04F24","LC07HEMM000100010012001200013015")),u(new s("LI",21,"F05A12","LI21088100002324013AA")),u(new s("LT",20,"F05F11","LT121000011101001000")),u(new s("LU",20,"F03A13","LU280019400644750000")),u(new s("LV",21,"U04A13","LV80BANK0000435195001")),u(new s("MC",27,"F05F05A11F02","MC5811222000010123456789030")),u(new s("MD",24,"U02A18","MD24AG000225100013104168")),u(new s("ME",22,"F03F13F02","ME25505000012345678951")),u(new s("MK",19,"F03A10F02","MK07250120000058984")),u(new s("MR",27,"F05F05F11F02","MR1300020001010000123456753")),u(new s("MT",31,"U04F05A18","MT84MALT011000012345MTLCAST001S")),u(new s("MU",30,"U04F02F02F12F03U03","MU17BOMM0101101030300200000MUR")),u(new s("NL",18,"U04F10","NL91ABNA0417164300")),u(new s("NO",15,"F04F06F01","NO9386011117947")),u(new s("PK",24,"U04A16","PK36SCBL0000001123456702")),u(new s("PL",28,"F08F16","PL61109010140000071219812874")),u(new s("PS",29,"U04A21","PS92PALS000000000400123456702")),u(new s("PT",25,"F04F04F11F02","PT50000201231234567890154")),u(new s("QA",29,"U04A21","QA30AAAA123456789012345678901")),u(new s("RO",24,"U04A16","RO49AAAA1B31007593840000")),u(new s("RS",22,"F03F13F02","RS35260005601001611379")),u(new s("SA",24,"F02A18","SA0380000000608010167519")),u(new s("SC",31,"U04F04F16U03","SC18SSCB11010000000000001497USD")),u(new s("SE",24,"F03F16F01","SE4550000000058398257466")),u(new s("SI",19,"F05F08F02","SI56263300012039086")),u(new s("SK",24,"F04F06F10","SK3112000000198742637541")),u(new s("SM",27,"U01F05F05A12","SM86U0322509800000000270100")),u(new s("ST",25,"F08F11F02","ST68000100010051845310112")),u(new s("SV",28,"U04F20","SV62CENR00000000000000700025")),u(new s("TL",23,"F03F14F02","TL380080012345678910157")),u(new s("TN",24,"F02F03F13F02","TN5910006035183598478831")),u(new s("TR",26,"F05F01A16","TR330006100519786457841326")),u(new s("UA",29,"F25","UA511234567890123456789012345")),u(new s("VA",22,"F18","VA59001123000012345678")),u(new s("VG",24,"U04F16","VG96VPVG0000012345678901")),u(new s("XK",20,"F04F10F02","XK051212012345678906")),u(new s("AO",25,"F21","AO69123456789012345678901")),u(new s("BF",27,"F23","BF2312345678901234567890123")),u(new s("BI",16,"F12","BI41123456789012")),u(new s("BJ",28,"F24","BJ39123456789012345678901234")),u(new s("CI",28,"U02F22","CI70CI1234567890123456789012")),u(new s("CM",27,"F23","CM9012345678901234567890123")),u(new s("CV",25,"F21","CV30123456789012345678901")),u(new s("DZ",24,"F20","DZ8612345678901234567890")),u(new s("IR",26,"F22","IR861234568790123456789012")),u(new s("MG",27,"F23","MG1812345678901234567890123")),u(new s("ML",28,"U01F23","ML15A12345678901234567890123")),u(new s("MZ",25,"F21","MZ25123456789012345678901")),u(new s("SN",28,"U01F23","SN52A12345678901234567890123")),u(new s("GF",27,"F05F05A11F02","GF121234512345123456789AB13")),u(new s("GP",27,"F05F05A11F02","GP791234512345123456789AB13")),u(new s("MQ",27,"F05F05A11F02","MQ221234512345123456789AB13")),u(new s("RE",27,"F05F05A11F02","RE131234512345123456789AB13")),u(new s("PF",27,"F05F05A11F02","PF281234512345123456789AB13")),u(new s("TF",27,"F05F05A11F02","TF891234512345123456789AB13")),u(new s("YT",27,"F05F05A11F02","YT021234512345123456789AB13")),u(new s("NC",27,"F05F05A11F02","NC551234512345123456789AB13")),u(new s("BL",27,"F05F05A11F02","BL391234512345123456789AB13")),u(new s("M
1F",27,"F05F05A11F02","MF551234512345123456789AB13")),u(new s("PM",27,"F05F05A11F02","PM071234512345123456789AB13")),u(new s("WF",27,"F05F05A11F02","WF621234512345123456789AB13"));var h=/[^a-zA-Z0-9]/g,_=/(.{4})(?!$)/g;function y(b){return typeof b=="string"||b instanceof String}i.isValid=function(b){if(!y(b))return!1;b=a(b);var x=l[b.slice(0,2)];return!!x&&x.isValid(b)},i.toBBAN=function(b,x){typeof x>"u"&&(x=" "),b=a(b);var w=l[b.slice(0,2)];if(!w)throw new Error("No country with code "+b.slice(0,2));return w.toBBAN(b,x)},i.fromBBAN=function(b,x){var w=l[b];if(!w)throw new Error("No country with code "+b);return w.fromBBAN(a(x))},i.isValidBBAN=function(b,x){if(!y(x))return!1;var w=l[b];return w&&w.isValidBBAN(a(x))},i.printFormat=function(b,x){return typeof x>"u"&&(x=" "),a(b).replace(_,"$1"+x)},i.electronicFormat=a,i.countries=l})});var tS=Up((Jw,eS)=>{"use strict";((i,e)=>{typeof define=="function"&&define.amd?define([],e):typeof eS=="object"&&typeof Jw<"u"?eS.exports=e():i.Papa=e()})(Jw,function i(){var e=typeof self<"u"?self:typeof window<"u"?window:e!==void 0?e:{},t,n=!e.document&&!!e.postMessage,r=e.IS_PAPA_WORKER||!1,o={},a=0,s={};function l(H){this._handle=null,this._finished=!1,this._completed=!1,this._halted=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},(function(j){var U=A(j);U.chunkSize=parseInt(U.chunkSize),j.step||j.chunk||(U.chunkSize=null),this._handle=new b(U),(this._handle.streamer=this)._config=U}).call(this,H),this.parseChunk=function(j,U){var Q=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<Q){let le=this._config.newline;le||(J=this._config.quoteChar||'"',le=this._handle.guessLineEndings(j,J)),j=[...j.split(le).slice(Q)].join(le)}this.isFirstChunk&&ie(this._config.beforeFirstChunk)&&(J=this._config.beforeFirstChunk(j))!==void 0&&(j=J),this.isFirstChunk=!1,this._halted=!1;var Q=this._partialLine+j,J=(this._partialLine="",this._handle.parse(Q,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){if(j=J.meta.cursor,Q=(this._finished||(this._partialLine=Q.substring(j-this._baseIndex),this._baseIndex=j),J&&J.data&&(this._rowCount+=J.data.length),this._finished||this._config.preview&&this._rowCount>=this._config.preview),r)e.postMessage({results:J,workerId:s.WORKER_ID,finished:Q});else if(ie(this._config.chunk)&&!U){if(this._config.chunk(J,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=J=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(J.data),this._completeResults.errors=this._completeResults.errors.concat(J.errors),this._completeResults.meta=J.meta),this._completed||!Q||!ie(this._config.complete)||J&&J.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),Q||J&&J.meta.paused||this._nextChunk(),J}this._halted=!0},this._sendError=function(j){ie(this._config.error)?this._config.error(j):r&&this._config.error&&e.postMessage({workerId:s.WORKER_ID,error:j,finished:!1})}}function u(H){var j;(H=H||{}).chunkSize||(H.chunkSize=s.RemoteChunkSize),l.call(this,H),this._nextChunk=n?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(U){this._input=U,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(j=new XMLHttpRequest,this._config.withCredentials&&(j.withCredentials=this._config.withCredentials),n||(j.onload=$(this._chunkLoaded,this),j.onerror=$(this._chunkError,this)),j.open(this._config.downloadRequestBody?"POST":"GET",this._input,!n),this._config.downloadRequestHeaders){var U,Q=this._config.downloadRequestHeaders;for(U in Q)j.setRequestHeader(U,Q[U])}var J;this._config.chunkSize&&(J=this._start+this._config.chunkSize-1,j.setRequestHeader("Range","bytes="+this._start+"-"+J));try{j.send(this._config.downloadRequestBody)}catch(le){this._chunkError(le.message)}n&&j.status===0&&this._chunkError()}},this._chunkLoaded=function(){j.readyState===4&&(j.status<200||400<=j.status?this._chunkError():(this._start+=this._config.chunkSize||j.responseText.length,this._finished=!this._config.chunkSize||this._start>=(U=>(U=U.getResponseHeader("Content-Range"))!==null?parseInt(U.substring(U.lastIndexOf("/")+1)):-1)(j),this.parseChunk(j.responseText)))},this._chunkError=function(U){U=j.statusText||U,this._sendError(new Error(U))}}function h(H){(H=H||{}).chunkSize||(H.chunkSize=s.LocalChunkSize),l.call(this,H);var j,U,Q=typeof FileReader<"u";this.stream=function(J){this._input=J,U=J.slice||J.webkitSlice||J.mozSlice,Q?((j=new FileReader).onload=$(this._chunkLoaded,this),j.onerror=$(this._chunkError,this)):j=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var J=this._input,le=(this._config.chunkSize&&(le=Math.min(this._start+this._config.chunkSize,this._input.size),J=U.call(J,this._start,le)),j.readAsText(J,this._config.encoding));Q||this._chunkLoaded({target:{result:le}})},this._chunkLoaded=function(J){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(J.target.result)},this._chunkError=function(){this._sendError(j.error)}}function _(H){var j;l.call(this,H=H||{}),this.stream=function(U){return j=U,this._nextChunk()},this._nextChunk=function(){var U,Q;if(!this._finished)return U=this._config.chunkSize,j=U?(Q=j.substring(0,U),j.substring(U)):(Q=j,""),this._finished=!j,this.parseChunk(Q)}}function y(H){l.call(this,H=H||{});var j=[],U=!0,Q=!1;this.pause=function(){l.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){l.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(J){this._input=J,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){Q&&j.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),j.length?this.parseChunk(j.shift()):U=!0},this._streamData=$(function(J){try{j.push(typeof J=="string"?J:J.toString(this._config.encoding)),U&&(U=!1,this._checkIsFinished(),this.parseChunk(j.shift()))}catch(le){this._streamError(le)}},this),this._streamError=$(function(J){this._streamCleanUp(),this._sendError(J)},this),this._streamEnd=$(function(){this._streamCleanUp(),Q=!0,this._streamData("")},this),this._streamCleanUp=$(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function b(H){var j,U,Q,J,le=Math.pow(2,53),de=-le,ue=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,Ce=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,ge=this,se=0,G=0,F=!1,q=!1,be=[],Oe={data:[],errors:[],meta:{}};function gt(ve){return H.skipEmptyLines==="greedy"?ve.join("").trim()==="":ve.length===1&&ve[0].length===0}function Ae(){if(Oe&&Q&&(Ge("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+s.DefaultDelimiter+"'"),Q=!1),H.skipEmptyLines&&(Oe.data=Oe.data.filter(function(fe){return!gt(fe)})),tn()){let fe=function($e,dt){ie(H.transformHeader)&&($e=H.transformHeader($e,dt)),be.push($e)};var xe=fe;if(Oe)if(Array.isArray(Oe.data[0])){for(var ve=0;tn()&&ve<Oe.data.length;ve++)Oe.data[ve].forEach(fe);Oe.data.splice(0,1)}else Oe.data.forEach(fe)}function Me(fe,$e){for(var dt=H.header?{}:[],ft=0;ft<fe.length;ft++){var Qe=ft,It=fe[ft],It=((yt,kt)=>(rn=>(H.dynamicTypingFunction&&H.dynamicTyping[rn]===void 0&&(H.dynamicTyping[rn]=H.dynamicTypingFunction(rn)),(H.dynamicTyping[rn]||H.dynamicTyping)===!0))(yt)?kt==="true"||kt==="TRUE"||kt!=="false"&&kt!=="FALSE"&&((rn=>
1{if(ue.test(rn)&&(rn=parseFloat(rn),de<rn&&rn<le))return 1})(kt)?parseFloat(kt):Ce.test(kt)?new Date(kt):kt===""?null:kt):kt)(Qe=H.header?ft>=be.length?"__parsed_extra":be[ft]:Qe,It=H.transform?H.transform(It,Qe):It);Qe==="__parsed_extra"?(dt[Qe]=dt[Qe]||[],dt[Qe].push(It)):dt[Qe]=It}return H.header&&(ft>be.length?Ge("FieldMismatch","TooManyFields","Too many fields: expected "+be.length+" fields but parsed "+ft,G+$e):ft<be.length&&Ge("FieldMismatch","TooFewFields","Too few fields: expected "+be.length+" fields but parsed "+ft,G+$e)),dt}var we;Oe&&(H.header||H.dynamicTyping||H.transform)&&(we=1,!Oe.data.length||Array.isArray(Oe.data[0])?(Oe.data=Oe.data.map(Me),we=Oe.data.length):Oe.data=Me(Oe.data,0),H.header&&Oe.meta&&(Oe.meta.fields=be),G+=we)}function tn(){return H.header&&be.length===0}function Ge(ve,Me,we,xe){ve={type:ve,code:Me,message:we},xe!==void 0&&(ve.row=xe),Oe.errors.push(ve)}ie(H.step)&&(J=H.step,H.step=function(ve){Oe=ve,tn()?Ae():(Ae(),Oe.data.length!==0&&(se+=ve.data.length,H.preview&&se>H.preview?U.abort():(Oe.data=Oe.data[0],J(Oe,ge))))}),this.parse=function(ve,Me,we){var xe=H.quoteChar||'"',xe=(H.newline||(H.newline=this.guessLineEndings(ve,xe)),Q=!1,H.delimiter?ie(H.delimiter)&&(H.delimiter=H.delimiter(ve),Oe.meta.delimiter=H.delimiter):((xe=((fe,$e,dt,ft,Qe)=>{var It,yt,kt,rn;Qe=Qe||[",","	","|",";",s.RECORD_SEP,s.UNIT_SEP];for(var dn=0;dn<Qe.length;dn++){for(var wi,rr=Qe[dn],xi=0,br=0,Ln=0,or=(kt=void 0,new w({comments:ft,delimiter:rr,newline:$e,preview:10}).parse(fe)),Cr=0;Cr<or.data.length;Cr++)dt&&gt(or.data[Cr])?Ln++:(wi=or.data[Cr].length,br+=wi,kt===void 0?kt=wi:0<wi&&(xi+=Math.abs(wi-kt),kt=wi));0<or.data.length&&(br/=or.data.length-Ln),(yt===void 0||xi<=yt)&&(rn===void 0||rn<br)&&1.99<br&&(yt=xi,It=rr,rn=br)}return{successful:!!(H.delimiter=It),bestDelimiter:It}})(ve,H.newline,H.skipEmptyLines,H.comments,H.delimitersToGuess)).successful?H.delimiter=xe.bestDelimiter:(Q=!0,H.delimiter=s.DefaultDelimiter),Oe.meta.delimiter=H.delimiter),A(H));return H.preview&&H.header&&xe.preview++,j=ve,U=new w(xe),Oe=U.parse(j,Me,we),Ae(),F?{meta:{paused:!0}}:Oe||{meta:{paused:!1}}},this.paused=function(){return F},this.pause=function(){F=!0,U.abort(),j=ie(H.chunk)?"":j.substring(U.getCharIndex())},this.resume=function(){ge.streamer._halted?(F=!1,ge.streamer.parseChunk(j,!0)):setTimeout(ge.resume,3)},this.aborted=function(){return q},this.abort=function(){q=!0,U.abort(),Oe.meta.aborted=!0,ie(H.complete)&&H.complete(Oe),j=""},this.guessLineEndings=function(fe,xe){fe=fe.substring(0,1048576);var xe=new RegExp(x(xe)+"([^]*?)"+x(xe),"gm"),we=(fe=fe.replace(xe,"")).split("\r"),xe=fe.split(`
2`),fe=1<xe.length&&xe[0].length<we[0].length;if(we.length===1||fe)return`
3`;for(var $e=0,dt=0;dt<we.length;dt++)we[dt][0]===`
4`&&$e++;return $e>=we.length/2?`\r
5`:"\r"}}function x(H){return H.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function w(H){var j=(H=H||{}).delimiter,U=H.newline,Q=H.comments,J=H.step,le=H.preview,de=H.fastMode,ue=null,Ce=!1,ge=H.quoteChar==null?'"':H.quoteChar,se=ge;if(H.escapeChar!==void 0&&(se=H.escapeChar),(typeof j!="string"||-1<s.BAD_DELIMITERS.indexOf(j))&&(j=","),Q===j)throw new Error("Comment character same as delimiter");Q===!0?Q="#":(typeof Q!="string"||-1<s.BAD_DELIMITERS.indexOf(Q))&&(Q=!1),U!==`
6`&&U!=="\r"&&U!==`\r
7`&&(U=`
8`);var G=0,F=!1;this.parse=function(q,be,Oe){if(typeof q!="string")throw new Error("Input must be a string");var gt=q.length,Ae=j.length,tn=U.length,Ge=Q.length,ve=ie(J),Me=[],we=[],xe=[],fe=G=0;if(!q)return xi();if(de||de!==!1&&q.indexOf(ge)===-1){for(var $e=q.split(U),dt=0;dt<$e.length;dt++){if(xe=$e[dt],G+=xe.length,dt!==$e.length-1)G+=U.length;else if(Oe)return xi();if(!Q||xe.substring(0,Ge)!==Q){if(ve){if(Me=[],rn(xe.split(j)),br(),F)return xi()}else rn(xe.split(j));if(le&&le<=dt)return Me=Me.slice(0,le),xi(!0)}}return xi()}for(var ft=q.indexOf(j,G),Qe=q.indexOf(U,G),It=new RegExp(x(se)+x(ge),"g"),yt=q.indexOf(ge,G);;)if(q[G]===ge)for(yt=G,G++;;){if((yt=q.indexOf(ge,yt+1))===-1)return Oe||we.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:Me.length,index:G}),wi();if(yt===gt-1)return wi(q.substring(G,yt).replace(It,ge));if(ge===se&&q[yt+1]===se)yt++;else if(ge===se||yt===0||q[yt-1]!==se){ft!==-1&&ft<yt+1&&(ft=q.indexOf(j,yt+1));var kt=dn((Qe=Qe!==-1&&Qe<yt+1?q.indexOf(U,yt+1):Qe)===-1?ft:Math.min(ft,Qe));if(q.substr(yt+1+kt,Ae)===j){xe.push(q.substring(G,yt).replace(It,ge)),q[G=yt+1+kt+Ae]!==ge&&(yt=q.indexOf(ge,G)),ft
8=q.indexOf(j,G),Qe=q.indexOf(U,G);break}if(kt=dn(Qe),q.substring(yt+1+kt,yt+1+kt+tn)===U){if(xe.push(q.substring(G,yt).replace(It,ge)),rr(yt+1+kt+tn),ft=q.indexOf(j,G),yt=q.indexOf(ge,G),ve&&(br(),F))return xi();if(le&&Me.length>=le)return xi(!0);break}we.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:Me.length,index:G}),yt++}}else if(Q&&xe.length===0&&q.substring(G,G+Ge)===Q){if(Qe===-1)return xi();G=Qe+tn,Qe=q.indexOf(U,G),ft=q.indexOf(j,G)}else if(ft!==-1&&(ft<Qe||Qe===-1))xe.push(q.substring(G,ft)),G=ft+Ae,ft=q.indexOf(j,G);else{if(Qe===-1)break;if(xe.push(q.substring(G,Qe)),rr(Qe+tn),ve&&(br(),F))return xi();if(le&&Me.length>=le)return xi(!0)}return wi();function rn(Ln){Me.push(Ln),fe=G}function dn(Ln){var or=0;return or=Ln!==-1&&(Ln=q.substring(yt+1,Ln))&&Ln.trim()===""?Ln.length:or}function wi(Ln){return Oe||(Ln===void 0&&(Ln=q.substring(G)),xe.push(Ln),G=gt,rn(xe),ve&&br()),xi()}function rr(Ln){G=Ln,rn(xe),xe=[],Qe=q.indexOf(U,G)}function xi(Ln){if(H.header&&!be&&Me.length&&!Ce){var or=Me[0],Cr=Object.create(null),Jr=new Set(or);let Hn=!1;for(let eo=0;eo<or.length;eo++){let to=or[eo];if(Cr[to=ie(H.transformHeader)?H.transformHeader(to,eo):to]){let ma,Xl=Cr[to];for(;ma=to+"_"+Xl,Xl++,Jr.has(ma););Jr.add(ma),or[eo]=ma,Cr[to]++,Hn=!0,(ue=ue===null?{}:ue)[ma]=to}else Cr[to]=1,or[eo]=to;Jr.add(to)}Hn&&console.warn("Duplicate headers found and renamed."),Ce=!0}return{data:Me,errors:we,meta:{delimiter:j,linebreak:U,aborted:F,truncated:!!Ln,cursor:fe+(be||0),renamedHeaders:ue}}}function br(){J(xi()),Me=[],we=[]}},this.abort=function(){F=!0},this.getCharIndex=function(){return G}}function k(H){var j=H.data,U=o[j.workerId],Q=!1;if(j.error)U.userError(j.error,j.file);else if(j.results&&j.results.data){var J={abort:function(){Q=!0,V(j.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:N,resume:N};if(ie(U.userStep)){for(var le=0;le<j.results.data.length&&(U.userStep({data:j.results.data[le],errors:j.results.errors,meta:j.results.meta},J),!Q);le++);delete j.results}else ie(U.userChunk)&&(U.userChunk(j.results,J,j.file),delete j.results)}j.finished&&!Q&&V(j.workerId,j.results)}function V(H,j){var U=o[H];ie(U.userComplete)&&U.userComplete(j),U.terminate(),delete o[H]}function N(){throw new Error("Not implemented.")}function A(H){if(typeof H!="object"||H===null)return H;var j,U=Array.isArray(H)?[]:{};for(j in H)U[j]=A(H[j]);return U}function $(H,j){return function(){H.apply(j,arguments)}}function ie(H){return typeof H=="function"}return s.parse=function(H,j){var U=(j=j||{}).dynamicTyping||!1;if(ie(U)&&(j.dynamicTypingFunction=U,U={}),j.dynamicTyping=U,j.transform=!!ie(j.transform)&&j.transform,!j.worker||!s.WORKERS_SUPPORTED)return U=null,s.NODE_STREAM_INPUT,typeof H=="string"?(H=(Q=>Q.charCodeAt(0)!==65279?Q:Q.slice(1))(H),U=new(j.download?u:_)(j)):H.readable===!0&&ie(H.read)&&ie(H.on)?U=new y(j):(e.File&&H instanceof File||H instanceof Object)&&(U=new h(j)),U.stream(H);(U=(()=>{var Q;return!!s.WORKERS_SUPPORTED&&(Q=(()=>{var J=e.URL||e.webkitURL||null,le=i.toString();return s.BLOB_URL||(s.BLOB_URL=J.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",le,")();"],{type:"text/javascript"})))})(),(Q=new e.Worker(Q)).onmessage=k,Q.id=a++,o[Q.id]=Q)})()).userStep=j.step,U.userChunk=j.chunk,U.userComplete=j.complete,U.userError=j.error,j.step=ie(j.step),j.chunk=ie(j.chunk),j.complete=ie(j.complete),j.error=ie(j.error),delete j.worker,U.postMessage({input:H,config:j,workerId:U.id})},s.unparse=function(H,j){var U=!1,Q=!0,J=",",le=`\r
9`,de='"',ue=de+de,Ce=!1,ge=null,se=!1,G=((()=>{if(typeof j=="object"){if(typeof j.delimiter!="string"||s.BAD_DELIMITERS.filter(function(be){return j.delimiter.indexOf(be)!==-1}).length||(J=j.delimiter),typeof j.quotes!="boolean"&&typeof j.quotes!="function"&&!Array.isArray(j.quotes)||(U=j.quotes),typeof j.skipEmptyLines!="boolean"&&typeof j.skipEmptyLines!="string"||(Ce=j.skipEmptyLines),typeof j.newline=="string"&&(le=j.newline),typeof j.quoteChar=="string"&&(de=j.quoteChar),typeof j.header=="boolean"&&(Q=j.header),Array.isArray(j.columns)){if(j.columns.length===0)throw new Error("Option columns is empty");ge=j.columns}j.escapeChar!==void 0&&(ue=j.escapeChar+de),j.escapeFormulae instanceof RegExp?se=j.escapeFormulae:typeof j.escapeFormulae=="boolean"&&j.escapeFormulae&&(se=/^[=+\-@\t\r].*$/)}})(),new RegExp(x(de),"g"));if(typeof H=="string"&&(H=JSON.parse(H)),Array.isArray(H)){if(!H.length||Array.isArray(H[0]))return F(null,H,Ce);if(typeof H[0]=="object")return F(ge||Object.keys(H[0]),H,Ce)}
9else if(typeof H=="object")return typeof H.data=="string"&&(H.data=JSON.parse(H.data)),Array.isArray(H.data)&&(H.fields||(H.fields=H.meta&&H.meta.fields||ge),H.fields||(H.fields=Array.isArray(H.data[0])?H.fields:typeof H.data[0]=="object"?Object.keys(H.data[0]):[]),Array.isArray(H.data[0])||typeof H.data[0]=="object"||(H.data=[H.data])),F(H.fields||[],H.data||[],Ce);throw new Error("Unable to serialize unrecognized input");function F(be,Oe,gt){var Ae="",tn=(typeof be=="string"&&(be=JSON.parse(be)),typeof Oe=="string"&&(Oe=JSON.parse(Oe)),Array.isArray(be)&&0<be.length),Ge=!Array.isArray(Oe[0]);if(tn&&Q){for(var ve=0;ve<be.length;ve++)0<ve&&(Ae+=J),Ae+=q(be[ve],ve);0<Oe.length&&(Ae+=le)}for(var Me=0;Me<Oe.length;Me++){var we=(tn?be:Oe[Me]).length,xe=!1,fe=tn?Object.keys(Oe[Me]).length===0:Oe[Me].length===0;if(gt&&!tn&&(xe=gt==="greedy"?Oe[Me].join("").trim()==="":Oe[Me].length===1&&Oe[Me][0].length===0),gt==="greedy"&&tn){for(var $e=[],dt=0;dt<we;dt++){var ft=Ge?be[dt]:dt;$e.push(Oe[Me][ft])}xe=$e.join("").trim()===""}if(!xe){for(var Qe=0;Qe<we;Qe++){0<Qe&&!fe&&(Ae+=J);var It=tn&&Ge?be[Qe]:Qe;Ae+=q(Oe[Me][It],Qe)}Me<Oe.length-1&&(!gt||0<we&&!fe)&&(Ae+=le)}}return Ae}function q(be,Oe){var gt,Ae;return be==null?"":be.constructor===Date?JSON.stringify(be).slice(1,25):(Ae=!1,se&&typeof be=="string"&&se.test(be)&&(be="'"+be,Ae=!0),gt=be.toString().replace(G,ue),(Ae=Ae||U===!0||typeof U=="function"&&U(be,Oe)||Array.isArray(U)&&U[Oe]||((tn,Ge)=>{for(var ve=0;ve<Ge.length;ve++)if(-1<tn.indexOf(Ge[ve]))return!0;return!1})(gt,s.BAD_DELIMITERS)||-1<gt.indexOf(J)||gt.charAt(0)===" "||gt.charAt(gt.length-1)===" ")?de+gt+de:gt)}},s.RECORD_SEP="�",s.UNIT_SEP="�",s.BYTE_ORDER_MARK="\uFEFF",s.BAD_DELIMITERS=["\r",`
10`,'"',s.BYTE_ORDER_MARK],s.WORKERS_SUPPORTED=!n&&!!e.Worker,s.NODE_STREAM_INPUT=1,s.LocalChunkSize=10485760,s.RemoteChunkSize=5242880,s.DefaultDelimiter=",",s.Parser=w,s.ParserHandle=b,s.NetworkStreamer=u,s.FileStreamer=h,s.StringStreamer=_,s.ReadableStreamStreamer=y,e.jQuery&&((t=e.jQuery).fn.parse=function(H){var j=H.config||{},U=[];return this.each(function(le){if(!(t(this).prop("tagName").toUpperCase()==="INPUT"&&t(this).attr("type").toLowerCase()==="file"&&e.FileReader)||!this.files||this.files.length===0)return!0;for(var de=0;de<this.files.length;de++)U.push({file:this.files[de],inputElem:this,instanceConfig:t.extend({},j)})}),Q(),this;function Q(){if(U.length===0)ie(H.complete)&&H.complete();else{var le,de,ue,Ce,ge=U[0];if(ie(H.before)){var se=H.before(ge.file,ge.inputElem);if(typeof se=="object"){if(se.action==="abort")return le="AbortError",de=ge.file,ue=ge.inputElem,Ce=se.reason,void(ie(H.error)&&H.error({
vendor: 23,529 bytes, lines 10-13
10name:le},de,ue,Ce));if(se.action==="skip")return void J();typeof se.config=="object"&&(ge.instanceConfig=t.extend(ge.instanceConfig,se.config))}else if(se==="skip")return void J()}var G=ge.instanceConfig.complete;ge.instanceConfig.complete=function(F){ie(G)&&G(F,ge.file,ge.inputElem),J()},s.parse(ge.file,ge.instanceConfig)}}function J(){U.splice(0,1),Q()}}),r&&(e.onmessage=function(H){H=H.data,s.WORKER_ID===void 0&&H&&(s.WORKER_ID=H.workerId),typeof H.input=="string"?e.postMessage({workerId:s.WORKER_ID,results:s.parse(H.input,H.config),finished:!0}):(e.File&&H.input instanceof File||H.input instanceof Object)&&(H=s.parse(H.input,H.config))&&e.postMessage({workerId:s.WORKER_ID,results:H,finished:!0})}),(u.prototype=Object.create(l.prototype)).constructor=u,(h.prototype=Object.create(l.prototype)).constructor=h,(_.prototype=Object.create(_.prototype)).constructor=_,(y.prototype=Object.create(l.prototype)).constructor=y,s})});var _p=Up((nS,gp)=>{"use strict";(function(i,e){typeof nS=="object"&&typeof gp<"u"?gp.exports=e():typeof define=="function"&&define.amd?define(e):i.moment=e()})(nS,function(){"use strict";var i;function e(){return i.apply(null,arguments)}function t(f){i=f}function n(f){return f instanceof Array||Object.prototype.toString.call(f)==="[object Array]"}function r(f){return f!=null&&Object.prototype.toString.call(f)==="[object Object]"}function o(f,v){return Object.prototype.hasOwnProperty.call(f,v)}function a(f){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(f).length===0;var v;for(v in f)if(o(f,v))return!1;return!0}function s(f){return f===void 0}function l(f){return typeof f=="number"||Object.prototype.toString.call(f)==="[object Number]"}function u(f){return f instanceof Date||Object.prototype.toString.call(f)==="[object Date]"}function h(f,v){var P=[],E,R=f.length;for(E=0;E<R;++E)P.push(v(f[E],E));return P}function _(f,v){for(var P in v)o(v,P)&&(f[P]=v[P]);return o(v,"toString")&&(f.toString=v.toString),o(v,"valueOf")&&(f.valueOf=v.valueOf),f}function y(f,v,P,E){return CP(f,v,P,E,!0).utc()}function b(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function x(f){return f._pf==null&&(f._pf=b()),f._pf}var w;Array.prototype.some?w=Array.prototype.some:w=function(f){var v=Object(this),P=v.length>>>0,E;for(E=0;E<P;E++)if(E in v&&f.call(this,v[E],E,v))return!0;return!1};function k(f){var v=null,P=!1,E=f._d&&!isNaN(f._d.getTime());if(E&&(v=x(f),P=w.call(v.parsedDateParts,function(R){return R!=null}),E=v.overflow<0&&!v.empty&&!v.invalidEra&&!v.invalidMonth&&!v.invalidWeekday&&!v.weekdayMismatch&&!v.nullInput&&!v.invalidFormat&&!v.userInvalidated&&(!v.meridiem||v.meridiem&&P),f._strict&&(E=E&&v.charsLeftOver===0&&v.unusedTokens.length===0&&v.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(f))f._isValid=E;else return E;return f._isValid}function V(f){var v=y(NaN);return f!=null?_(x(v),f):x(v).userInvalidated=!0,v}var N=e.momentProperties=[],A=!1;function $(f,v){var P,E,R,ce=N.length;if(s(v._isAMomentObject)||(f._isAMomentObject=v._isAMomentObject),s(v._i)||(f._i=v._i),s(v._f)||(f._f=v._f),s(v._l)||(f._l=v._l),s(v._strict)||(f._strict=v._strict),s(v._tzm)||(f._tzm=v._tzm),s(v._isUTC)||(f._isUTC=v._isUTC),s(v._offset)||(f._offset=v._offset),s(v._pf)||(f._pf=x(v)),s(v._locale)||(f._locale=v._locale),ce>0)for(P=0;P<ce;P++)E=N[P],R=v[E],s(R)||(f[E]=R);return f}function ie(f){$(this,f),this._d=new Date(f._d!=null?f._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),A===!1&&(A=!0,e.updateOffset(this),A=!1)}function H(f){return f instanceof ie||f!=null&&f._isAMomentObject!=null}function j(f){e.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+f)}function U(f,v){var P=!0;return _(function(){if(e.deprecationHandler!=null&&e.deprecationHandler(null,f),P){var E=[],R,ce,Ne,zt=arguments.length;for(ce=0;ce<zt;ce++){if(R="",typeof arguments[ce]=="object"){R+=`
11[`+ce+"] ";for(Ne in arguments[0])o(arguments[0],Ne)&&(R+=Ne+": "+arguments[0][Ne]+", ");R=R.slice(0,-2)}else R=arguments[ce];E.push(R)}j(f+`
12Arguments: `+Array.prototype.slice.call(E).join("")+`
13`+new Error().stack),P=!1}return v.apply(this,arguments)},v)}var Q={};function J(f,v){e.deprecationHandler!=null&&e.deprecationHandler(f,v),Q[f]||(j(v),Q[f]=!0)}e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;function le(f){return typeof Function<"u"&&f instanceof Function||Object.prototype.toString.call(f)==="[object Function]"}function de(f){var v,P;for(P in f)o(f,P)&&(v=f[P],le(v)?this[P]=v:this["_"+P]=v);this._config=f,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ue(f,v){var P=_({},f),E;for(E in v)o(v,E)&&(r(f[E])&&r(v[E])?(P[E]={},_(P[E],f[E]),_(P[E],v[E])):v[E]!=null?P[E]=v[E]:delete P[E]);for(E in f)o(f,E)&&!o(v,E)&&r(f[E])&&(P[E]=_({},P[E]));return P}function Ce(f){f!=null&&this.set(f)}var ge;Object.keys?ge=Object.keys:ge=function(f){var v,P=[];for(v in f)o(f,v)&&P.push(v);return P};var se={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function G(f,v,P){var E=this._calendar[f]||this._calendar.sameElse;return le(E)?E.call(v,P):E}function F(f,v,P){var E=""+Math.abs(f),R=v-E.length,ce=f>=0;return(ce?P?"+":"":"-")+Math.pow(10,Math.max(0,R)).toString().substr(1)+E}var q=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,be=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Oe={},gt={};function Ae(f,v,P,E){var R=E;typeof E=="string"&&(R=function(){return this[E]()}),f&&(gt[f]=R),v&&(gt[v[0]]=function(){return F(R.apply(this,arguments),v[1],v[2])}),P&&(gt[P]=function(){return this.localeData().ordinal(R.apply(this,arguments),f)})}function tn(f){return f.match(/\[[\s\S]/)?f.replace(/^\[|\]$/g,""):f.replace(/\\/g,"")}function Ge(f){var v=f.match(q),P,E;for(P=0,E=v.length;P<E;P++)gt[v[P]]?v[P]=gt[v[P]]:v[P]=tn(v[P]);return function(R){var ce="",Ne;for(Ne=0;Ne<E;Ne++)ce+=le(v[Ne])?v[Ne].call(R,f):v[Ne];return ce}}function ve(f,v){return f.isValid()?(v=Me(v,f.localeData()),Oe[v]=Oe[v]||Ge(v),Oe[v](f)):f.localeData().invalidDate()}function Me(f,v){var P=5;function E(R){return v.longDateFormat(R)||R}for(be.lastIndex=0;P>=0&&be.test(f);)f=f.replace(be,E),be.lastIndex=0,P-=1;return f}var we={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function xe(f){var v=this._longDateFormat[f],P=this._longDateFormat[f.toUpperCase()];return v||!P?v:(this._longDateFormat[f]=P.match(q).map(function(E){return E==="MMMM"||E==="MM"||E==="DD"||E==="dddd"?E.slice(1):E}).join(""),this._longDateFormat[f])}var fe="Invalid date";function $e(){return this._invalidDate}var dt="%d",ft=/\d{1,2}/;function Qe(f){return this._ordinal.replace("%d",f)}var It={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function yt(f,v,P,E){var R=this._relativeTime[P];return le(R)?R(f,v,P,E):R.replace(/%d/i,f)}function kt(f,v){var P=this._relativeTime[f>0?"future":"past"];return le(P)?P(v):P.replace(/%s/i,v)}var rn={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function dn(f){return typeof f=="string"?rn[f]||rn[f.toLowerCase()]:void 0}function wi(f){var v={},P,E;for(E in f)o(f,E)&&(P=dn(E),P&&(v[P]=f[E]));return v}var rr={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function xi(f){var v=[],P;for(P in f)o(f,P)&&v.push({unit:P,priority:rr[P]});return v.sort(function(E,R){return E.priority-R.priority}),v}var br=/\d/,Ln=/\d\d/,or=/\d{3}/,Cr=/\d{4}/,Jr=/[+-]?\d{6}/,Hn=/\d\d?/,eo=/\d\d\d\d?/,to=/\d\d\d\d\d\d?/,ma=/\d{1,3}/,Xl=/\d{1,4}/,el=/[+-]?\d{1,6}/,no=/\d+/,Ao=/[+-]?\d+/,wH=/Z|[+-]\d\d:?\d\d/gi,Tm=/Z|[+-]\d\d(?::?\d\d)?/gi,SH=/[+-]?\d+(\.\d{1,3})?/,Ap=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Z2=/^[1-9]\d?/,e7=/^([1-9]\d|\d)/,Im;Im={};function Ht(f,v,P){Im[f]=le(v)?v:function(E,R){return E&&P?P:v}}function PH(f,v){return o(Im,f)?Im[f](v._strict,v._locale):new RegExp(EH(f))}function EH(f){return Zl(f.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(v,P,E,R,ce){return P||E||R||ce}))}function Zl(f){return f.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Na(f){return f<0?Math.ceil(f)||0:Math.floor(f)}function Gn(f){var v=+f,P=0;return v!==0&&isFinite(v)&&(P=Na(v)),P}var t7={};function Si(f,v){var P,E=v,R;for(typeof f=="string"&&(f=[f]),l(v)&&(E=function(ce,Ne){Ne[v]=Gn(ce)}),R=f.length,P=0;P<R;P++)t7[f[P]]=E}function Vp(f,v){Si(f,function(P,E,R,ce){R._w=R._w||{},v(P,R._w,R,ce)})}function DH(f,v,P){v!=null&&o(t7,f)&&t7[f](v,P._a,P,f)}function km(f){return f%4===0&&f%100!==0||f%400===0}var xo=0,Jl=1,tl=2,Fr=3,hs=4,ec=5,x1=6,OH=7,TH=8;Ae("Y",0,0,function(){var f=this.year();return f<=9999?F(f,4):"+"+f}),Ae(0,["YY",2],0,function(){return this.year()%100}),Ae(0,["YYYY",4],0,"year"),Ae(0,["YYYYY",5],0,"year"),Ae(0,["YYYYYY",6,!0],0,"year"),Ht("Y",Ao),Ht("YY",Hn,Ln),Ht("YYYY",Xl,Cr),Ht("YYYYY",el,Jr),Ht("YYYYYY",el,Jr),Si(["YYYYY","YYYYYY"],xo),Si("YYYY",function(f,v){v[xo]=f.length===2?e.parseTwoDigitYear(f):Gn(f)}),Si("YY",function(f,v){v[xo]=e.parseTwoDigitYear(f)}),Si("Y",function(f,v){v[xo]=parseInt(f,10)});function Fp(f){return km(f)?366:365}e.parseTwoDigitYear=function(f){return Gn(f)+(Gn(f)>68?1900:2e3)};var oP=J2("FullYear",!0);function IH(){return km(this.year())}function J2(f,v){return function(P){return P!=null?(aP(this,f,P),e.updateOffset(this,v),this):Rp(this,f)}}function Rp(f,v){if(!f.isValid())return NaN;var P=f._d,E=f._isUTC;switch(v){case"Milliseconds":return E?P.getUTCMilliseconds():P.getMilliseconds();case"Seconds":return E?P.getUTCSeconds():P.getSeconds();case"Minutes":return E?P.getUTCMinutes():P.getMinutes();case"Hours":return E?P.getUTCHours():P.getHours();case"Date":return E?P.getUTCDate():P.getDate();case"Day":return E?P.getUTCDay():P.getDay();case"Month":return E?P.getUTCMonth():P.getMonth();case"FullYear":return E?P.getUTCFullYear():P.getFullYear();default:return NaN}}function aP(f,v,P){var E,R,ce,Ne,zt;if(!(!f.isValid()||isNaN(P))){switch(E=f._d,R=f._isUTC,v){case"Milliseconds":return void(R?E.setUTCMilliseconds(P):E.setMilliseconds(P));case"Seconds":return void(R?E.setUTCSeconds(P):E.setSeconds(P));case"Minutes":return void(R?E.setUTCMinutes(P):E.setMinutes(P));case"Hours":return void(R?E.setUTCHours(P):E.setHours(P));case"Date":return void(R?E.setUTCDate(P):E.setDate(P));case"FullYear":break;default:return}ce=P,Ne=f.month(),zt=f.date(),zt=zt===29&&Ne===1&&!km(ce)?28:zt,R?E.setUTCFullYear(ce,Ne,zt):E.setFullYear(ce,Ne,zt)}}function kH(f){return f=dn(f),le(this[f])?this[f]():this}function NH(f,v){if(typeof f=="object"){f=wi(f);var P=xi(f),E,R=P.length;for(E=0;E<R;E++)this[P[E].unit](f[P[E].unit])}else if(f=dn(f),le(this[f]))return this[f](v);return this}function AH(f,v){return(f%v+v)%v}var yr;Array.prototype.indexOf?yr=Array.prototype.indexOf:yr=function(f){var v;for(v=0;v<this.length;++v)if(this[v]===f)return v;return-1};function n7(f,v){if(isNaN(f)||isNaN(v))return NaN;var P=AH(v,12);return f+=(v-P)/12,P===1?km(f)?29:28:31-P%7%2}Ae("M",["MM",2],"Mo",function(){return this.month()+1}),Ae("MMM",0,0,function(f){return this.localeData().monthsShort(this,f)}),Ae("MMMM",0,0,function(f){return this.localeData().months(this,f)}),Ht("M",Hn,Z2),Ht("MM",Hn,Ln),Ht("MMM",function(f,v){return v.monthsShortRegex(f)}),Ht("MMMM",function(f,v){return v.monthsRegex(f)}),Si(["M","MM"],function(f,v){v[Jl]=Gn(f)-1}),Si(["MMM","MMMM"],function(f,v,P,E){var R=P._locale.monthsParse(f,E,P._strict);R!=null?v[Jl]=R:x(P).invalidMonth=f});var VH="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),sP="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),lP=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,FH=Ap,RH=Ap;function zH(f,v){return f?n(this._months)?this._months[f.month()]:this._months[(this._months.isFormat||lP).test(v)?"format":"standalone"][f.month()]:n(this._months)?this._months:this._months.standalone}function LH(f,v){return f?n(this._monthsShort)?this._monthsShort[f.month()]:this._monthsShort[lP.test(v)?"format":"standalone"][f.month()]:n(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function HH(f,v,P){var E,R,ce,Ne=f.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],E=0;E<12;++E)ce=y([2e3,E]),this._shortMonthsParse[E]=this.monthsShort(ce,"").toLocaleLowerCase(),this._longMonthsParse[E]=this.months(ce,"").toLocaleLowerCase();return P?v==="MMM"?(R=yr.call(this._shortMonthsParse,Ne),R!==-1?R:null):(R=yr.call(this._longMonthsParse,Ne),R!==-1?R:null):v==="MMM"?(R=yr.call(this._shortMonthsParse,Ne),R!==-1?R:(R=yr.call(this._longMonthsParse,Ne),R!==-1?R:null)):(R=yr.call(this._longMonthsParse,Ne),R!==-1?R:(R=yr.call(this._shortMonthsParse,Ne),R!==-1?R:null))}function BH(f,v,P){var E,R,ce;if(this._monthsParseExact)return HH.call(this,f,v,P);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),E=0;E<12;E++){if(R=y([2e3,E]),P&&!this._longMonthsParse[E]&&(this._longMonthsParse[E]=new RegExp("^"+this.months(R,"").replace(".","")+"$","i"),this._shortMonthsParse[E]=new RegExp("^"+this.monthsShort(R,"").replace(".","")+"$","i")),!P&&!this._monthsParse[E]&&(ce="^"+this.months(R,"")+"|^"+this.monthsShort(R,""),this._monthsParse[E]=new RegExp(ce.replace(".",""),"i")),P&&v==="MMMM"&&this._longMonthsParse[E].test(f))return E;if(P&&v==="MMM"&&this._shortMonthsParse[E].test(f))return E;if(!P&&this._monthsParse[E].test(f))return E}}function cP(f,v){if(!f.isValid())return f;if(typeof v=="string"){if(/^\d+$/.test(v))v=Gn(v);else if(v=f.localeData().monthsParse(v),!l(v))return f}var P=v,E=f.date();return E=E<29?E:Math.min(E,n7(f.year(),P)),f._isUTC?f._d.setUTCMonth(P,E):f._d.setMonth(P,E),f}function dP(f){return f!=null?(cP(this,f),e.updateOffset(this,!0),this):Rp(this,"Month")}function jH(){return n7(this.year(),this.month())}function qH(f){return this._monthsParseExact?(o(this,"_monthsRegex")||uP.call(this),f?this._monthsShortStrictRegex:this._monthsShortRegex):(o(this,"_monthsShortRegex")||(this._monthsShortRegex=FH),this._monthsShortStrictRegex&&f?this._monthsShortStrictRegex:this._monthsShortRegex)}function UH(f){return this._monthsParseExact?(o(this,"_monthsRegex")||uP.call(this),f?this._monthsStrictRegex:this._monthsRegex):(o(this,"_monthsRegex")||(this._monthsRegex=RH),this._monthsStrictRegex&&f?this._monthsStrictRegex:this._monthsRegex)}function uP(){function f(Pn,Xn){return Xn.length-Pn.length}var v=[],P=[],E=[],R,ce,Ne,zt;for(R=0;R<12;R++)ce=y([2e3,R]),Ne=Zl(this.monthsShort(ce,"")),zt=Zl(this.months(ce,"")),v.push(Ne),P.push(zt),E.push(zt),E.push(Ne);v.sort(f),P.sort(f),E.sort(f),this._monthsRegex=new RegExp("^("+E.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+P.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+v.join("|")+")","i")}function GH(f,v,P,E,R,ce,Ne){var zt;return f<100&&f>=0?(zt=new Date(f+400,v,P,E,R,ce,Ne),isFinite(zt.getFullYear())&&zt.setFullYear(f)):zt=new Date(f,v,P,E,R,ce,Ne),zt}function zp(f){var v,P;return f<100&&f>=0?(P=Array.prototype.slice.call(arguments),P[0]=f+400,v=new Date(Date.UTC.apply(null,P)),isFinite(v.getUTCFullYear())&&v.setUTCFullYear(f)):v=new Date(Date.UTC.apply(null,arguments)),v}function Nm(f,v,P){var E=7+v-P,R=(7+zp(f,0,E).getUTCDay()-v)%7;return-R+E-1}function pP(f,v,P,E,R){var ce=(7+P-E)%7,Ne=Nm(f,E,R),zt=1+7*(v-1)+ce+Ne,Pn,Xn;return zt<=0?(Pn=f-1,Xn=Fp(Pn)+zt):zt>Fp(f)?(Pn=f+1,Xn=zt-Fp(f)):(Pn=f,Xn=zt),{year:Pn,dayOfYear:Xn}}function Lp(f,v,P){var E=Nm(f.year(),v,P),R=Math.floor((f.dayOfYear()-E-1)/7)+1,ce,Ne;return R<1?(Ne=f.year()-1,ce=R+tc(Ne,v,P)):R>tc(f.year(),v,P)?(ce=R-tc(f.year(),v,P),Ne=f.year()+1):(Ne=f.year(),ce=R),{week:ce,year:Ne}}function tc(f,v,P){var E=Nm(f,v,P),R=Nm(f+1,v,P);return(Fp(f)-E+R)/7}Ae("w",["ww",2],"wo","week"),Ae("W",["WW",2],"Wo","isoWeek"),Ht("w",Hn,Z2),Ht("ww",Hn,Ln),Ht("W",Hn,Z2),Ht("WW",Hn,Ln),Vp(["w","ww","W","WW"],function(f,v,P,E){v[E.substr(0,1)]=Gn(f)});function $H(f){return Lp(f,this._week.dow,this._week.doy).week}var WH={dow:0,doy:6};function YH(){return this._week.dow}function QH(){return this._week.doy}function KH(f){var v=this.localeData().week(this);return f==null?v:this.add((f-v)*7,"d")}function XH(f){var v=Lp(this,1,4).week;return f==null?v:this.add((f-v)*7,"d")}Ae("d",0,"do","day"),Ae("dd",0,0,function(f){return this.localeData().weekdaysMin(this,f)}),Ae("ddd",0,0,function(f){return this.localeData().weekdaysShort(this,f)}),Ae("dddd",0,0,function(f){return this.localeData().weekdays(this,f)}),Ae("e",0,0,"weekday"),Ae("E",0,0,"isoWeekday"),Ht("d",Hn),Ht("e",Hn),Ht("E",Hn),Ht("dd",function(f,v){return v.weekdaysMinRegex(f)}),Ht("ddd",function(f,v){return v.weekdaysShortRegex(f)}),Ht("dddd",function(f,v){return v.weekdaysRegex(f)}),Vp(["dd","ddd","dddd"],function(f,v,P,E){var R=P._locale.weekdaysParse(f,E,P._strict);R!=null?v.d=R:x(P).invalidWeekday=f}),Vp(["d","e","E"],function(f,v,P,E){v[E]=Gn(f)});function ZH(f,v){return typeof f!="string"?f:isNaN(f)?(f=v.weekdaysParse(f),typeof f=="number"?f:null):parseInt(f,10)}function JH(f,v){return typeof f=="string"?v.weekdaysParse(f)%7||7:isNaN(f)?null:f}function i7(f,v){return f.slice(v,7).concat(f.slice(0,v))}var eB="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),fP="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),tB="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nB=Ap,iB=Ap,rB=Ap;function oB(f,v){var P=n(this._weekdays)?this._weekdays:this._weekdays[f&&f!==!0&&this._weekdays.isFormat.test(v)?"format":"standalone"];return f===!0?i7(P,this._week.dow):f?P[f.day()]:P}function aB(f){return f===!0?i7(this._weekdaysShort,this._week.dow):f?this._weekdaysShort[f.day()]:this._weekdaysShort}function sB(f){return f===!0?i7(this._weekdaysMin,this._week.dow):f?this._weekdaysMin[f.day()]:this._weekdaysMin}function lB(f,v,P){var E,R,ce,Ne=f.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],E=0;E<7;++E)ce=y([2e3,1]).day(E),this._minWeekdaysParse[E]=this.weekdaysMin(ce,"").toLocaleLowerCase(),this._shortWeekdaysParse[E]=this.weekdaysShort(ce,"").toLocaleLowerCase(),this._weekdaysParse[E]=this.weekdays(ce,"").toLocaleLowerCase();return P?v==="dddd"?(R=yr.call(this._weekdaysParse,Ne),R!==-1?R:null):v==="ddd"?(R=yr.call(this._shortWeekdaysParse,Ne),R!==-1?R:null):(R=yr.call(this._minWeekdaysParse,Ne),R!==-1?R:null):v==="dddd"?(R=yr.call(this._weekdaysParse,Ne),R!==-1||(R=yr.call(this._shortWeekdaysParse,Ne),R!==-1)?R:(R=yr.call(this._minWeekdaysParse,Ne),R!==-1?R:null)):v==="ddd"?(R=yr.call(this._shortWeekdaysParse,Ne),R!==-1||(R=yr.call(this._weekdaysParse,Ne),R!==-1)?R:(R=yr.call(this._minWeekdaysParse,Ne),R!==-1?R:null)):(R=yr.call(this._minWeekdaysParse,Ne),R!==-1||(R=yr.call(this._weekdaysParse,Ne),R!==-1)?R:(R=yr.call(this._shortWeekdaysParse,Ne),R!==-1?R:null))}function cB(f,v,P){var E,R,ce;if(this._weekdaysParseExact)return lB.call(this,f,v,P);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),E=0;E<7;E++){if(R=y([2e3,1]).day(E),P&&!this._fullWeekdaysParse[E]&&(this._fullWeekdaysParse[E]=new RegExp("^"+this.weekdays(R,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[E]=new RegExp("^"+this.weekdaysShort(R,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[E]=new RegExp("^"+this.weekdaysMin(R,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[E]||(ce="^"+this.weekdays(R,"")+"|^"+this.weekdaysShort(R,"")+"|^"+this.weekdaysMin(R,""),this._weekdaysParse[E]=new RegExp(ce.replace(".",""),"i")),P&&v==="dddd"&&this._fullWeekdaysParse[E].test(f))return E;if(P&&v==="ddd"&&this._shortWeekdaysParse[E].test(f))return E;if(P&&v==="dd"&&this._minWeekdaysParse[E].test(f))return E;if(!P&&this._weekdaysParse[E].test(f))return E}}function dB(f){if(!this.isValid())return f!=null?this:NaN;var v=Rp(this,"Day");return f!=null?(f=ZH(f,this.localeData()),this.add(f-v,"d")):v}function uB(f){if(!this.isValid())return f!=null?this:NaN;var v=(this.day()+7-this.localeData()._week.dow)%7;return f==null?v:this.add(f-v,"d")}function pB(f){if(!this.isValid())return f!=null?this:NaN;if(f!=null){var v=JH(f,this.localeData());return this.day(this.day()%7?v:v-7)}else return this.day()||7}function fB(f){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||r7.call(this),f?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=nB),this._weekdaysStrictRegex&&f?this._weekdaysStrictRegex:this._weekdaysRegex)}function mB(f){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||r7.call(this),f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=iB),this._weekdaysShortStrictRegex&&f?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function hB(f){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||r7.call(this),f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=rB),this._weekdaysMinStrictRegex&&f?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function r7(){function f(Vo,ac){return ac.length-Vo.length}var v=[],P=[],E=[],R=[],ce,Ne,zt,Pn,Xn;for(ce=0;ce<7;ce++)Ne=y([2e3,1]).day(ce),zt=Zl(this.weekdaysMin(Ne,"")),Pn=Zl(this.weekdaysShort(Ne,"")),Xn=Zl(this.weekdays(Ne,"")),v.push(zt),P.push(Pn),E.push(Xn),R.push(zt),R.push(Pn),R.push(Xn);v.sort(f),P.sort(f),E.sort(f),R.sort(f),this._weekdaysRegex=new RegExp("^("+R.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+E.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+P.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+v.join("|")+")","i")}function o7(){return this.hours()%12||12}function gB(){return this.hours()||24}Ae("H",["HH",2],0,"hour"),Ae("h",["hh",2],0,o7),Ae("k",["kk",2],0,gB),Ae("hmm",0,0,function(){return""+o7.apply(this)+F(this.minutes(),2)}
vendor: 10,936 bytes, line 13
13),Ae("hmmss",0,0,function(){return""+o7.apply(this)+F(this.minutes(),2)+F(this.seconds(),2)}),Ae("Hmm",0,0,function(){return""+this.hours()+F(this.minutes(),2)}),Ae("Hmmss",0,0,function(){return""+this.hours()+F(this.minutes(),2)+F(this.seconds(),2)});function mP(f,v){Ae(f,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),v)})}mP("a",!0),mP("A",!1);function hP(f,v){return v._meridiemParse}Ht("a",hP),Ht("A",hP),Ht("H",Hn,e7),Ht("h",Hn,Z2),Ht("k",Hn,Z2),Ht("HH",Hn,Ln),Ht("hh",Hn,Ln),Ht("kk",Hn,Ln),Ht("hmm",eo),Ht("hmmss",to),Ht("Hmm",eo),Ht("Hmmss",to),Si(["H","HH"],Fr),Si(["k","kk"],function(f,v,P){var E=Gn(f);v[Fr]=E===24?0:E}),Si(["a","A"],function(f,v,P){P._isPm=P._locale.isPM(f),P._meridiem=f}),Si(["h","hh"],function(f,v,P){v[Fr]=Gn(f),x(P).bigHour=!0}),Si("hmm",function(f,v,P){var E=f.length-2;v[Fr]=Gn(f.substr(0,E)),v[hs]=Gn(f.substr(E)),x(P).bigHour=!0}),Si("hmmss",function(f,v,P){var E=f.length-4,R=f.length-2;v[Fr]=Gn(f.substr(0,E)),v[hs]=Gn(f.substr(E,2)),v[ec]=Gn(f.substr(R)),x(P).bigHour=!0}),Si("Hmm",function(f,v,P){var E=f.length-2;v[Fr]=Gn(f.substr(0,E)),v[hs]=Gn(f.substr(E))}),Si("Hmmss",function(f,v,P){var E=f.length-4,R=f.length-2;v[Fr]=Gn(f.substr(0,E)),v[hs]=Gn(f.substr(E,2)),v[ec]=Gn(f.substr(R))});function _B(f){return(f+"").toLowerCase().charAt(0)==="p"}var vB=/[ap]\.?m?\.?/i,xB=J2("Hours",!0);function bB(f,v,P){return f>11?P?"pm":"PM":P?"am":"AM"}var gP={calendar:se,longDateFormat:we,invalidDate:fe,ordinal:dt,dayOfMonthOrdinalParse:ft,relativeTime:It,months:VH,monthsShort:sP,week:WH,weekdays:eB,weekdaysMin:tB,weekdaysShort:fP,meridiemParse:vB},Zi={},Hp={},Bp;function CB(f,v){var P,E=Math.min(f.length,v.length);for(P=0;P<E;P+=1)if(f[P]!==v[P])return P;return E}function _P(f){return f&&f.toLowerCase().replace("_","-")}function yB(f){for(var v=0,P,E,R,ce;v<f.length;){for(ce=_P(f[v]).split("-"),P=ce.length,E=_P(f[v+1]),E=E?E.split("-"):null;P>0;){if(R=Am(ce.slice(0,P).join("-")),R)return R;if(E&&E.length>=P&&CB(ce,E)>=P-1)break;P--}v++}return Bp}function MB(f){return!!(f&&f.match("^[^/\\\\]*$"))}function Am(f){var v=null,P;if(Zi[f]===void 0&&typeof gp<"u"&&gp&&gp.exports&&MB(f))try{v=Bp._abbr,P=Gm,P("./locale/"+f),ld(v)}catch{Zi[f]=null}return Zi[f]}function ld(f,v){var P;return f&&(s(v)?P=nc(f):P=a7(f,v),P?Bp=P:typeof console<"u"&&console.warn&&console.warn("Locale "+f+" not found. Did you forget to load it?")),Bp._abbr}function a7(f,v){if(v!==null){var P,E=gP;if(v.abbr=f,Zi[f]!=null)J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),E=Zi[f]._config;else if(v.parentLocale!=null)if(Zi[v.parentLocale]!=null)E=Zi[v.parentLocale]._config;else if(P=Am(v.parentLocale),P!=null)E=P._config;else return Hp[v.parentLocale]||(Hp[v.parentLocale]=[]),Hp[v.parentLocale].push({name:f,config:v}),null;return Zi[f]=new Ce(ue(E,v)),Hp[f]&&Hp[f].forEach(function(R){a7(R.name,R.config)}),ld(f),Zi[f]}else return delete Zi[f],null}function wB(f,v){if(v!=null){var P,E,R=gP;Zi[f]!=null&&Zi[f].parentLocale!=null?Zi[f].set(ue(Zi[f]._config,v)):(E=Am(f),E!=null&&(R=E._config),v=ue(R,v),E==null&&(v.abbr=f),P=new Ce(v),P.parentLocale=Zi[f],Zi[f]=P),ld(f)}else Zi[f]!=null&&(Zi[f].parentLocale!=null?(Zi[f]=Zi[f].parentLocale,f===ld()&&ld(f)):Zi[f]!=null&&delete Zi[f]);return Zi[f]}function nc(f){var v;if(f&&f._locale&&f._locale._abbr&&(f=f._locale._abbr),!f)return Bp;if(!n(f)){if(v=Am(f),v)return v;f=[f]}return yB(f)}function SB(){return ge(Zi)}function s7(f){var v,P=f._a;return P&&x(f).overflow===-2&&(v=P[Jl]<0||P[Jl]>11?Jl:P[tl]<1||P[tl]>n7(P[xo],P[Jl])?tl:P[Fr]<0||P[Fr]>24||P[Fr]===24&&(P[hs]!==0||P[ec]!==0||P[x1]!==0)?Fr:P[hs]<0||P[hs]>59?hs:P[ec]<0||P[ec]>59?ec:P[x1]<0||P[x1]>999?x1:-1,x(f)._overflowDayOfYear&&(v<xo||v>tl)&&(v=tl),x(f)._overflowWeeks&&v===-1&&(v=OH),x(f)._overflowWeekday&&v===-1&&(v=TH),x(f).overflow=v),f}var PB=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,EB=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,DB=/Z|[+-]\d\d(?::?\d\d)?/,Vm=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],l7=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],OB=/^\/?Date\((-?\d+)/i,TB=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,IB={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function vP(f){var v,P,E=f._i,R=PB.exec(E)||EB.exec(E),ce,Ne,zt,Pn,Xn=Vm.length,Vo=l7.length;if(R){for(x(f).iso=!0,v=0,P=Xn;v<P;v++)if(Vm[v][1].exec(R[1])){Ne=Vm[v][0],ce=Vm[v][2]!==!1;break}if(Ne==null){f._isValid=!1;return}if(R[3]){for(v=0,P=Vo;v<P;v++)if(l7[v][1].exec(R[3])){zt=(R[2]||" ")+l7[v][0];break}if(zt==null){f._isValid=!1;return}}if(!ce&&zt!=null){f._isValid=!1;return}if(R[4])if(DB.exec(R[4]))Pn="Z";else{f._isValid=!1;return}f._f=Ne+(zt||"")+(Pn||""),d7(f)}else f._isValid=!1}function kB(f,v,P,E,R,ce){var Ne=[NB(f),sP.indexOf(v),parseInt(P,10),parseInt(E,10),parseInt(R,10)];return ce&&Ne.push(parseInt(ce,10)),Ne}function NB(f){var v=parseInt(f,10);return v<=49?2e3+v:v<=999?1900+v:v}function AB(f){return f.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function VB(f,v,P){if(f){var E=fP.indexOf(f),R=new Date(v[0],v[1],v[2]).getDay();if(E!==R)return x(P).weekdayMismatch=!0,P._isValid=!1,!1}return!0}function FB(f,v,P){if(f)return IB[f];if(v)return 0;var E=parseInt(P,10),R=E%100,ce=(E-R)/100;return ce*60+R}function xP(f){var v=TB.exec(AB(f._i)),P;if(v){if(P=kB(v[4],v[3],v[2],v[5],v[6],v[7]),!VB(v[1],P,f))return;f._a=P,f._tzm=FB(v[8],v[9],v[10]),f._d=zp.apply(null,f._a),f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),x(f).rfc2822=!0}else f._isValid=!1}function RB(f){var v=OB.exec(f._i);if(v!==null){f._d=new Date(+v[1]);return}if(vP(f),f._isValid===!1)delete f._isValid;else return;if(xP(f),f._isValid===!1)delete f._isValid;else return;f._strict?f._isValid=!1:e.createFromInputFallback(f)}e.createFromInputFallback=U("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(f){f._d=new Date(f._i+(f._useUTC?" UTC":""))});function eu(f,v,P){return f??v??P}function zB(f){var v=new Date(e.now());return f._useUTC?[v.getUTCFullYear(),v.getUTCMonth(),v.getUTCDate()]:[v.getFullYear(),v.getMonth(),v.getDate()]}function c7(f){var v,P,E=[],R,ce,Ne;if(!f._d){for(R=zB(f),f._w&&f._a[tl]==null&&f._a[Jl]==null&&LB(f),f._dayOfYear!=null&&(Ne=eu(f._a[xo],R[xo]),(f._dayOfYear>Fp(Ne)||f._dayOfYear===0)&&(x(f)._overflowDayOfYear=!0),P=zp(Ne,0,f._dayOfYear),f._a[Jl]=P.getUTCMonth(),f._a[tl]=P.getUTCDate()),v=0;v<3&&f._a[v]==null;++v)f._a[v]=E[v]=R[v];for(;v<7;v++)f._a[v]=E[v]=f._a[v]==null?v===2?1:0:f._a[v];f._a[Fr]===24&&f._a[hs]===0&&f._a[ec]===0&&f._a[x1]===0&&(f._nextDay=!0,f._a[Fr]=0),f._d=(f._useUTC?zp:GH).apply(null,E),ce=f._useUTC?f._d.getUTCDay():f._d.getDay(),f._tzm!=null&&f._d.setUTCMinutes(f._d.getUTCMinutes()-f._tzm),f._nextDay&&(f._a[Fr]=24),f._w&&typeof f._w.d<"u"&&f._w.d!==ce&&(x(f).weekdayMismatch=!0)}}function LB(f){var v,P,E,R,ce,Ne,zt,Pn,Xn;v=f._w,v.GG!=null||v.W!=null||v.E!=null?(ce=1,Ne=4,P=eu(v.GG,f._a[xo],Lp(qi(),1,4).year),E=eu(v.W,1),R=eu(v.E,1),(R<1||R>7)&&(Pn=!0)):(ce=f._locale._week.dow,Ne=f._locale._week.doy,Xn=Lp(qi(),ce,Ne),P=eu(v.gg,f._a[xo],Xn.year),E=eu(v.w,Xn.week),v.d!=null?(R=v.d,(R<0||R>6)&&(Pn=!0)):v.e!=null?(R=v.e+ce,(v.e<0||v.e>6)&&(Pn=!0)):R=ce),E<1||E>tc(P,ce,Ne)?x(f)._overflowWeeks=!0:Pn!=null?x(f)._overflowWeekday=!0:(zt=pP(P,E,R,ce,Ne),f._a[xo]=zt.year,f._dayOfYear=zt.dayOfYear)}e.ISO_8601=function(){},e.RFC_2822=function(){};function d7(f){if(f._f===e.ISO_8601){vP(f);return}if(f._f===e.RFC_2822){xP(f);return}f._a=[],x(f).empty=!0;var v=""+f._i,P,E,R,ce,Ne,zt=v.length,Pn=0,Xn,Vo;for(R=Me(f._f,f._locale).match(q)||[],Vo=R.length,P=0;P<Vo;P++)ce=R[P],E=(v.match(PH(ce,f))||[])[0],E&&(Ne=v.substr(0,v.indexOf(E)),Ne.length>0&&x(f).unusedInput.push(Ne),v=v.slice(v.indexOf(E)+E.length),Pn+=E.length),gt[ce]?(E?x(f).empty=!1:x(f).unusedTokens.push(ce),DH(ce,E,f)):f._strict&&!E&&x(f).unusedTokens.push(ce);x(f).charsLeftOver=zt-Pn,v.length>0&&x(f).unusedInput.push(v),f._a[Fr]<=12&&x(f).bigHour===!0&&f._a[Fr]>0&&(x(f).bigHour=void 0),x(f).parsedDateParts=f._a.slice(0),x(f).meridiem=f._meridiem,f._a[Fr]=HB(f._locale,f._a[Fr],f._meridiem),Xn=x(f).era,Xn!==null&&(f._a[xo]=f._locale.erasConvertYear(Xn,f._a[xo])),c7(f),s7(f)}function HB(f,v,P){var E;return P==null?v:f.meridiemHour!=null?f.meridiemHour(v,P):(f.isPM!=null&&(E=f.isPM(P),E&&v<12&&(v+=12),!E&&v===12&&(v=0)),v)}function BB(f){var v,P,E,R,ce,Ne,zt=!1,Pn=f._f.length;if(Pn===0){x(f).invalidFormat=!0,f._d=new Date(NaN);return}for(R=0;R<Pn;R++)ce=0,Ne=!1,v=$({},f),f._useUTC!=null&&(v._useUTC=f._useUTC),v._f=f._f[R],d7(v),k(v)&&(Ne=!0),ce+=x(v).charsLeftOver,ce+=x(v).unusedTokens.length*10,x(v).score=ce,zt?ce<E&&(E=ce,P=v):(E==null||ce<E||Ne)&&(E=ce,P=v,Ne&&(zt=!0));_(f,P||v)}function jB(f){if(!f._d){var v=wi(f._i),P=v.day===void 0?v.date:v.day;f._a=h([v.year,v.month,P,v.hour,v.minute,v.second,v.millisecond],function(E){return E&&parseInt(E,10)}),c7(f)}}function qB(f){var v=new ie(s7(bP(f)));return v._nextDay&&(v.add(1,"d"),v._nextDay=void 0),v}function bP(f){var v=f._i,P=f._f;return f._locale=f._locale||nc(f._l),v===null||P===void 0&&v===""?V({nullInput:!0}):(typeof v=="string"&&(f._i=v=f._locale.preparse(v)),H(v)?new ie(s7(v)):(u(v)?f._d=v:n(P)?BB(f):P?d7(f):UB(f),k(f)||(f._d=null),f))}function UB(f){var v=f._i;s(v)?f._d=new Date(e.now()):u(v)?f._d=new Date(v.valueOf()):typeof v=="string"?RB(f):n(v)?(f._a=h(v.slice(0),function(P){return parseInt(P,10)}),c7(f)):r(v)?jB(f):l(v)?f._d=new Date(v):e.createFromInputFallback(f)}function CP(f,v,P,E,R){var ce={};return(v===!0||v===!1)&&(E=v,v=void 0),(P===!0||P===!1)&&(E=P,P=void 0),(r(f)&&a(f)||n(f)&&f.length===0)&&(f=void 0),ce._isAMomentObject=!0,
vendor: 13,708 bytes, line 13
13ce._useUTC=ce._isUTC=R,ce._l=P,ce._i=f,ce._f=v,ce._strict=E,qB(ce)}function qi(f,v,P,E){return CP(f,v,P,E,!1)}var GB=U("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var f=qi.apply(null,arguments);return this.isValid()&&f.isValid()?f<this?this:f:V()}),$B=U("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var f=qi.apply(null,arguments);return this.isValid()&&f.isValid()?f>this?this:f:V()});function yP(f,v){var P,E;if(v.length===1&&n(v[0])&&(v=v[0]),!v.length)return qi();for(P=v[0],E=1;E<v.length;++E)(!v[E].isValid()||v[E][f](P))&&(P=v[E]);return P}function WB(){var f=[].slice.call(arguments,0);return yP("isBefore",f)}function YB(){var f=[].slice.call(arguments,0);return yP("isAfter",f)}var QB=function(){return Date.now?Date.now():+new Date},jp=["year","quarter","month","week","day","hour","minute","second","millisecond"];function KB(f){var v,P=!1,E,R=jp.length;for(v in f)if(o(f,v)&&!(yr.call(jp,v)!==-1&&(f[v]==null||!isNaN(f[v]))))return!1;for(E=0;E<R;++E)if(f[jp[E]]){if(P)return!1;parseFloat(f[jp[E]])!==Gn(f[jp[E]])&&(P=!0)}return!0}function XB(){return this._isValid}function ZB(){return gs(NaN)}function Fm(f){var v=wi(f),P=v.year||0,E=v.quarter||0,R=v.month||0,ce=v.week||v.isoWeek||0,Ne=v.day||0,zt=v.hour||0,Pn=v.minute||0,Xn=v.second||0,Vo=v.millisecond||0;this._isValid=KB(v),this._milliseconds=+Vo+Xn*1e3+Pn*6e4+zt*1e3*60*60,this._days=+Ne+ce*7,this._months=+R+E*3+P*12,this._data={},this._locale=nc(),this._bubble()}function Rm(f){return f instanceof Fm}function u7(f){return f<0?Math.round(-1*f)*-1:Math.round(f)}function JB(f,v,P){var E=Math.min(f.length,v.length),R=Math.abs(f.length-v.length),ce=0,Ne;for(Ne=0;Ne<E;Ne++)(P&&f[Ne]!==v[Ne]||!P&&Gn(f[Ne])!==Gn(v[Ne]))&&ce++;return ce+R}function MP(f,v){Ae(f,0,0,function(){var P=this.utcOffset(),E="+";return P<0&&(P=-P,E="-"),E+F(~~(P/60),2)+v+F(~~P%60,2)})}MP("Z",":"),MP("ZZ",""),Ht("Z",Tm),Ht("ZZ",Tm),Si(["Z","ZZ"],function(f,v,P){P._useUTC=!0,P._tzm=p7(Tm,f)});var ej=/([\+\-]|\d\d)/gi;function p7(f,v){var P=(v||"").match(f),E,R,ce;return P===null?null:(E=P[P.length-1]||[],R=(E+"").match(ej)||["-",0,0],ce=+(R[1]*60)+Gn(R[2]),ce===0?0:R[0]==="+"?ce:-ce)}function f7(f,v){var P,E;return v._isUTC?(P=v.clone(),E=(H(f)||u(f)?f.valueOf():qi(f).valueOf())-P.valueOf(),P._d.setTime(P._d.valueOf()+E),e.updateOffset(P,!1),P):qi(f).local()}function m7(f){return-Math.round(f._d.getTimezoneOffset())}e.updateOffset=function(){};function tj(f,v,P){var E=this._offset||0,R;if(!this.isValid())return f!=null?this:NaN;if(f!=null){if(typeof f=="string"){if(f=p7(Tm,f),f===null)return this}else Math.abs(f)<16&&!P&&(f=f*60);return!this._isUTC&&v&&(R=m7(this)),this._offset=f,this._isUTC=!0,R!=null&&this.add(R,"m"),E!==f&&(!v||this._changeInProgress?EP(this,gs(f-E,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,e.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?E:m7(this)}function nj(f,v){return f!=null?(typeof f!="string"&&(f=-f),this.utcOffset(f,v),this):-this.utcOffset()}function ij(f){return this.utcOffset(0,f)}function rj(f){return this._isUTC&&(this.utcOffset(0,f),this._isUTC=!1,f&&this.subtract(m7(this),"m")),this}function oj(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var f=p7(wH,this._i);f!=null?this.utcOffset(f):this.utcOffset(0,!0)}return this}function aj(f){return this.isValid()?(f=f?qi(f).utcOffset():0,(this.utcOffset()-f)%60===0):!1}function sj(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function lj(){if(!s(this._isDSTShifted))return this._isDSTShifted;var f={},v;return $(f,this),f=bP(f),f._a?(v=f._isUTC?y(f._a):qi(f._a),this._isDSTShifted=this.isValid()&&JB(f._a,v.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function cj(){return this.isValid()?!this._isUTC:!1}function dj(){return this.isValid()?this._isUTC:!1}function wP(){return this.isValid()?this._isUTC&&this._offset===0:!1}var uj=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pj=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function gs(f,v){var P=f,E=null,R,ce,Ne;return Rm(f)?P={ms:f._milliseconds,d:f._days,M:f._months}:l(f)||!isNaN(+f)?(P={},v?P[v]=+f:P.milliseconds=+f):(E=uj.exec(f))?(R=E[1]==="-"?-1:1,P={y:0,d:Gn(E[tl])*R,h:Gn(E[Fr])*R,m:Gn(E[hs])*R,s:Gn(E[ec])*R,ms:Gn(u7(E[x1]*1e3))*R}):(E=pj.exec(f))?(R=E[1]==="-"?-1:1,P={y:b1(E[2],R),M:b1(E[3],R),w:b1(E[4],R),d:b1(E[5],R),h:b1(E[6],R),m:b1(E[7],R),s:b1(E[8],R)}):P==null?P={}:typeof P=="object"&&("from"in P||"to"in P)&&(Ne=fj(qi(P.from),qi(P.to)),P={},P.ms=Ne.milliseconds,P.M=Ne.months),ce=new Fm(P),Rm(f)&&o(f,"_locale")&&(ce._locale=f._locale),Rm(f)&&o(f,"_isValid")&&(ce._isValid=f._isValid),ce}gs.fn=Fm.prototype,gs.invalid=ZB;function b1(f,v){var P=f&&parseFloat(f.replace(",","."));return(isNaN(P)?0:P)*v}function SP(f,v){var P={};return P.months=v.month()-f.month()+(v.year()-f.year())*12,f.clone().add(P.months,"M").isAfter(v)&&--P.months,P.milliseconds=+v-+f.clone().add(P.months,"M"),P}function fj(f,v){var P;return f.isValid()&&v.isValid()?(v=f7(v,f),f.isBefore(v)?P=SP(f,v):(P=SP(v,f),P.milliseconds=-P.milliseconds,P.months=-P.months),P):{milliseconds:0,months:0}}function PP(f,v){return function(P,E){var R,ce;return E!==null&&!isNaN(+E)&&(J(v,"moment()."+v+"(period, number) is deprecated. Please use moment()."+v+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),ce=P,P=E,E=ce),R=gs(P,E),EP(this,R,f),this}}function EP(f,v,P,E){var R=v._milliseconds,ce=u7(v._days),Ne=u7(v._months);f.isValid()&&(E=E??!0,Ne&&cP(f,Rp(f,"Month")+Ne*P),ce&&aP(f,"Date",Rp(f,"Date")+ce*P),R&&f._d.setTime(f._d.valueOf()+R*P),E&&e.updateOffset(f,ce||Ne))}var mj=PP(1,"add"),hj=PP(-1,"subtract");function DP(f){return typeof f=="string"||f instanceof String}function gj(f){return H(f)||u(f)||DP(f)||l(f)||vj(f)||_j(f)||f===null||f===void 0}function _j(f){var v=r(f)&&!a(f),P=!1,E=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],R,ce,Ne=E.length;for(R=0;R<Ne;R+=1)ce=E[R],P=P||o(f,ce);return v&&P}function vj(f){var v=n(f),P=!1;return v&&(P=f.filter(function(E){return!l(E)&&DP(f)}).length===0),v&&P}function xj(f){var v=r(f)&&!a(f),P=!1,E=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],R,ce;for(R=0;R<E.length;R+=1)ce=E[R],P=P||o(f,ce);return v&&P}function bj(f,v){var P=f.diff(v,"days",!0);return P<-6?"sameElse":P<-1?"lastWeek":P<0?"lastDay":P<1?"sameDay":P<2?"nextDay":P<7?"nextWeek":"sameElse"}function Cj(f,v){arguments.length===1&&(arguments[0]?gj(arguments[0])?(f=arguments[0],v=void 0):xj(arguments[0])&&(v=arguments[0],f=void 0):(f=void 0,v=void 0));var P=f||qi(),E=f7(P,this).startOf("day"),R=e.calendarFormat(this,E)||"sameElse",ce=v&&(le(v[R])?v[R].call(this,P):v[R]);return this.format(ce||this.localeData().calendar(R,this,qi(P)))}function yj(){return new ie(this)}function Mj(f,v){var P=H(f)?f:qi(f);return this.isValid()&&P.isValid()?(v=dn(v)||"millisecond",v==="millisecond"?this.valueOf()>P.valueOf():P.valueOf()<this.clone().startOf(v).valueOf()):!1}function wj(f,v){var P=H(f)?f:qi(f);return this.isValid()&&P.isValid()?(v=dn(v)||"millisecond",v==="millisecond"?this.valueOf()<P.valueOf():this.clone().endOf(v).valueOf()<P.valueOf()):!1}function Sj(f,v,P,E){var R=H(f)?f:qi(f),ce=H(v)?v:qi(v);return this.isValid()&&R.isValid()&&ce.isValid()?(E=E||"()",(E[0]==="("?this.isAfter(R,P):!this.isBefore(R,P))&&(E[1]===")"?this.isBefore(ce,P):!this.isAfter(ce,P))):!1}function Pj(f,v){var P=H(f)?f:qi(f),E;return this.isValid()&&P.isValid()?(v=dn(v)||"millisecond",v==="millisecond"?this.valueOf()===P.valueOf():(E=P.valueOf(),this.clone().startOf(v).valueOf()<=E&&E<=this.clone().endOf(v).valueOf())):!1}function Ej(f,v){return this.isSame(f,v)||this.isAfter(f,v)}function Dj(f,v){return this.isSame(f,v)||this.isBefore(f,v)}function Oj(f,v,P){var E,R,ce;if(!this.isValid())return NaN;if(E=f7(f,this),!E.isValid())return NaN;switch(R=(E.utcOffset()-this.utcOffset())*6e4,v=dn(v),v){case"year":ce=zm(this,E)/12;break;case"month":ce=zm(this,E);break;case"quarter":ce=zm(this,E)/3;break;case"second":ce=(this-E)/1e3;break;case"minute":ce=(this-E)/6e4;break;case"hour":ce=(this-E)/36e5;break;case"day":ce=(this-E-R)/864e5;break;case"week":ce=(this-E-R)/6048e5;break;default:ce=this-E}return P?ce:Na(ce)}function zm(f,v){if(f.date()<v.date())return-zm(v,f);var P=(v.year()-f.year())*12+(v.month()-f.month()),E=f.clone().add(P,"months"),R,ce;return v-E<0?(R=f.clone().add(P-1,"months"),ce=(v-E)/(E-R)):(R=f.clone().add(P+1,"months"),ce=(v-E)/(R-E)),-(P+ce)||0}e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Tj(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ij(f){if(!this.isValid())return null;var v=f!==!0,P=v?this.clone().utc():this;return P.year()<0||P.year()>9999?ve(P,v?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):le(Date.prototype.toISOString)?v?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ve(P,"Z")):ve(P,v?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function kj(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var f="moment",v="",P,E,R,ce;return this.isLocal()||(f=this.utcOffset()===0?"moment.utc":"moment.parseZone",v="Z"),P="["+f+'("]',E=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",R="-MM-DD[T]HH:mm:ss.SSS",ce=v+'[")]',this.format(P+E+R+ce)}function Nj(f){f||(f=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var v=ve(this,f);return this.localeData().postformat(v)}function Aj(f,v){return this.isValid()&&(H(f)&&f.isValid()||qi(f).isValid())?gs({to:this,from:f}).locale(this.locale()).humanize(!v):this.localeData().invalidDate()}function Vj(f){return this.from(qi(),f)}function Fj(f,v){return this.isValid()&&(H(f)&&f.isValid()||qi(f).isValid())?gs({from:this,to:f}).locale(this.locale()).humanize(!v):this.localeData().invalidDate()}function Rj(f){return this.to(qi(),f)}function OP(f){var v;return f===void 0?this._locale._abbr:(v=nc(f),v!=null&&(this._locale=v),this)}var TP=U("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(f){return f===void 0?this.localeData():this.locale(f)});function IP(){return this._locale}var Lm=1e3,tu=60*Lm,Hm=60*tu,kP=(365*400+97)*24*Hm;function nu(f,v){return(f%v+v)%v}function NP(f,v,P){return f<100&&f>=0?new Date(f+400,v,P)-kP:new Date(f,v,P).valueOf()}function AP(f,v,P){return f<100&&f>=0?Date.UTC(f+400,v,P)-kP:Date.UTC(f,v,P)}function zj(f){var v,P;if(f=dn(f),f===void 0||f==="millisecond"||!this.isValid())return this;switch(P=this._isUTC?AP:NP,f){case"year":v=P(this.year(),0,1);break;case"quarter":v=P(this.year(),this.month()-this.month()%3,1);break;case"month":v=P(this.year(),this.month(),1);break;case"week":v=P(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":v=P(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":v=P(this.year(),this.month(),this.date());break;case"hour":v=this._d.valueOf(),v-=nu(v+(this._isUTC?0:this.utcOffset()*tu),Hm);break;case"minute":v=this._d.valueOf(),v-=nu(v,tu);break;case"second":v=this._d.valueOf(),v-=nu(v,Lm);break}return this._d.setTime(v),e.updateOffset(this,!0),this}function Lj(f){var v,P;if(f=dn(f),f===void 0||f==="millisecond"||!this.isValid())return this;switch(P=this._isUTC?AP:NP,f){case"year":v=P(this.year()+1,0,1)-1;break;case"quarter":v=P(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":v=P(this.year(),this.month()+1,1)-1;break;case"week":v=P(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":v=P(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":v=P(this.year(),this.month(),this.date()+1)-1;break;case"hour":v=this._d.valueOf(),v+=Hm-nu(v+(this._isUTC?0:this.utcOffset()*tu),Hm)-1;break;case"minute":v=this._d.valueOf(),v+=tu-nu(v,tu)-1;break;case"second":v=this._d.valueOf(),v+=Lm-nu(v,Lm)-1;break}return this._d.setTime(v),e.updateOffset(this,!0),this}function Hj(){return this._d.valueOf()-(this._offset||0)*6e4}function Bj(){return Math.floor(this.valueOf()/1e3)}function jj(){return new Date(this.valueOf())}function qj(){var f=this;return[f.year(),f.month(),f.date(),f.hour(),f.minute(),f.second(),f.millisecond()]}function Uj(){var f=this;return{years:f.year(),months:f.month(),date:f.date(),hours:f.hours(),minutes:f.minutes(),seconds:f.seconds(),milliseconds:f.milliseconds()}}function Gj(){return this.isValid()?this.toISOString():null}function $j(){return k(this)}function Wj(){return _({},x(this))}function Yj(){return x(this).overflow}function Qj(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Ae("N",0,0,"eraAbbr"),Ae("NN",0,0,"eraAbbr"),Ae("NNN",0,0,"eraAbbr"),Ae("NNNN",0,0,"eraName"),Ae("NNNNN",0,0,"eraNarrow"),Ae("y",["y",1],"yo","eraYear"),Ae("y",["yy",2],0,"eraYear"),Ae("y",["yyy",3],0,"eraYear"),Ae("y",["yyyy",4],0,"eraYear"),Ht("N",h7),Ht("NN",h7),Ht("NNN",h7),Ht("NNNN",aq),Ht("NNNNN",sq),Si(["N","NN","NNN","NNNN","NNNNN"],function(f,v,P,E){var R=P._locale.erasParse(f,E,P._strict);R?x(P).era=R:x(P).invalidEra=f}),Ht("y",no),Ht("yy",no),Ht("yyy",no),Ht("yyyy",no),Ht("yo",lq),Si(["y","yy","yyy","yyyy"],xo),Si(["
13yo"],function(f,v,P,E){var R;P._locale._eraYearOrdinalRegex&&(R=f.match(P._locale._eraYearOrdinalRegex)),P._locale.eraYearOrdinalParse?v[xo]=P._locale.eraYearOrdinalParse(f,R):v[xo]=parseInt(f,10)});function Kj(f,v){var P,E,R,ce=this._eras||nc("en")._eras;for(P=0,E=ce.length;P<E;++P){switch(typeof ce[P].since){case"string":R=e(ce[P].since).startOf("day"),ce[P].since=R.valueOf();break}switch(typeof ce[P].until){case"undefined":ce[P].until=1/0;break;case"string":R=e(ce[P].until).startOf("day").valueOf(),ce[P].until=R.valueOf();break}}return ce}function Xj(f,v,P){var E,R,ce=this.eras(),Ne,zt,Pn;for(f=f.toUpperCase(),E=0,R=ce.length;E<R;++E)if(Ne=ce[E].name.toUpperCase(),zt=ce[E].abbr.toUpperCase(),Pn=ce[E].narrow.toUpperCase(),P)switch(v){case"N":case"NN":case"NNN":if(zt===f)return ce[E];break;case"NNNN":if(Ne===f)return ce[E];break;case"NNNNN":if(Pn===f)return ce[E];break}else if([Ne,zt,Pn].indexOf(f)>=0)return ce[E]}function Zj(f,v){var P=f.since<=f.until?1:-1;return v===void 0?e(f.since).year():e(f.since).year()+(v-f.offset)*P}function Jj(){var f,v,P,E=this.localeData().eras();for(f=0,v=E.length;f<v;++f)if(P=this.clone().startOf("day").valueOf(),E[f].since<=P&&P<=E[f].until||E[f].until<=P&&P<=E[f].since)return E[f].name;return""}function eq(){var f,v,P,E=this.localeData().eras();for(f=0,v=E.length;f<v;++f)if(P=this.clone().startOf("day").valueOf(),E[f].since<=P&&P<=E[f].until||E[f].until<=P&&P<=E[f].since)return E[f].narrow;return""}function tq(){var f,v,P,E=this.localeData().eras();for(f=0,v=E.length;f<v;++f)if(P=this.clone().startOf("day").valueOf(),E[f].since<=P&&P<=E[f].until||E[f].until<=P&&P<=E[f].since)return E[f].abbr;return""}function nq(){var f,v,P,E,R=this.localeData().eras();for(f=0,v=R.length;f<v;++f)if(P=R[f].since<=R[f].until?1:-1,E=this.clone().startOf("day").valueOf(),R[f].since<=E&&E<=R[f].until||R[f].until<=E&&E<=R[f].since)return(this.year()-e(R[f].since).year())*P+R[f].offset;return this.year()}function iq(f){return o(this,"_erasNameRegex")||g7.call(this),f?this._erasNameRegex:this._erasRegex}function rq(f){return o(this,"_erasAbbrRegex")||g7.call(this),f?this._erasAbbrRegex:this._erasRegex}function oq(f){return o(this,"_erasNarrowRegex")||g7.call(this),f?this._erasNarrowRegex:this._erasRegex}function h7(f,v){return v.erasAbbrRegex(f)}function aq(f,v){return v.erasNameRegex(f)}function sq(f,v){return v.erasNarrowRegex(f)}function lq(f,v){return v._eraYearOrdinalRegex||no}function g7(){var f=[],v=[],P=[],E=[],R,ce,Ne,zt,Pn,Xn=this.eras();for(R=0,ce=Xn.length;R<ce;++R)Ne=Zl(Xn[R].name),zt=Zl(Xn[R].abbr),Pn=Zl(Xn[R].narrow),v.push(Ne),f.push(zt),P.push(Pn),E.push(Ne),E.push(zt),E.push(Pn);this._erasRegex=new RegExp("^("+E.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+v.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+f.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+P.join("|")+")","i")}Ae(0,["gg",2],0,function(){return this.weekYear()%100}),Ae(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Bm(f,v){Ae(0,[f,f.length],0,v)}Bm("gggg","weekYear"),Bm("ggggg","weekYear"),Bm("GGGG","isoWeekYear"),Bm("GGGGG","isoWeekYear"),Ht("G",Ao),Ht("g",Ao),Ht("GG",Hn,Ln),Ht("gg",Hn,Ln),Ht("GGGG",Xl,Cr),Ht("gggg",Xl,Cr),Ht("GGGGG",el,Jr),Ht("ggggg",el,Jr),Vp(["gggg","ggggg","GGGG","GGGGG"],function(f,v,P,E){v[E.substr(0,2)]=Gn(f)}),Vp(["gg","GG"],function(f,v,P,E){v[E]=e.parseTwoDigitYear(f)});function cq(f){return VP.call(this,f,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function dq(f){return VP.call(this,f,this.isoWeek(),this.isoWeekday(),1,4)}function uq(){return tc(this.year(),1,4)}function pq(){return tc(this.isoWeekYear(),1,4)}function fq(){var f=this.localeData()._week;return tc(this.year(),f.dow,f.doy)}function mq(){var f=this.localeData()._week;return tc(this.weekYear(),f.dow,f.doy)}function VP(f,v,P,E,R){var ce;return f==null?Lp(this,E,R).year:(ce=tc(f,E,R),v>ce&&(v=ce),hq.call(this,f,v,P,E,R))}function hq(f,v,P,E,R){var ce=pP(f,v,P,E,R),Ne=zp(ce.year,0,ce.dayOfYear);return this.year(Ne.getUTCFullYear()),this.month(Ne.getUTCMonth()),this.date(Ne.getUTCDate()),this}Ae("Q",0,"Qo","quarter"),Ht("Q",br),Si("Q",function(f,v){v[Jl]=(Gn(f)-1)*3});function gq(f){return f==null?Math.ceil((this.month()+1)/3):this.month((f-1)*3+this.month()%3)}Ae("D",["DD",2],"Do","date"),Ht("D",Hn,Z2),Ht("DD",Hn,Ln),Ht("Do",function(f,v){return f?v._dayOfMonthOrdinalParse||v._ordinalParse:v._dayOfMonthOrdinalParseLenient}),Si(["D","DD"],tl),Si("Do",function(f,v){v[tl]=Gn(f.match(Hn)[0])});var FP=J2("Date",!0);Ae("DDD",["DDDD",3],"DDDo","dayOfYear"),Ht("DDD",ma),Ht("DDDD",or),Si(["DDD","DDDD"],function(f,v,P){P._dayOfYear=Gn(f)});function _q(f){var v=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return f==null?v:this.add(f-v,"d")}Ae("m",["mm",2],0,"minute"),Ht("m",Hn,e7),Ht("mm",Hn,Ln),Si(["m","mm"],hs);var vq=J2("Minutes",!1);Ae("s",["ss",2],0,"second"),Ht("s",Hn,e7),Ht("ss",Hn,Ln),Si(["s","ss"],ec);var xq=J2("Seconds",!1);Ae("S",0,0,function(){return~~(this.millisecond()/100)}),Ae(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Ae(0,["SSS",3],0,"millisecond"),Ae(0,["SSSS",4],0,function(){return this.millisecond()*10}),Ae(0,["SSSSS",5],0,function(){return this.millisecond()*100}),Ae(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),Ae(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),Ae(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),Ae(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),Ht("S",ma,br),Ht("SS",ma,Ln),Ht("SSS",ma,or);var cd,RP;
vendor: 6,438 bytes, line 13
13for(cd="SSSS";cd.length<=9;cd+="S")Ht(cd,no);function bq(f,v){v[x1]=Gn(("0."+f)*1e3)}for(cd="S";cd.length<=9;cd+="S")Si(cd,bq);RP=J2("Milliseconds",!1),Ae("z",0,0,"zoneAbbr"),Ae("zz",0,0,"zoneName");function Cq(){return this._isUTC?"UTC":""}function yq(){return this._isUTC?"Coordinated Universal Time":""}var lt=ie.prototype;lt.add=mj,lt.calendar=Cj,lt.clone=yj,lt.diff=Oj,lt.endOf=Lj,lt.format=Nj,lt.from=Aj,lt.fromNow=Vj,lt.to=Fj,lt.toNow=Rj,lt.get=kH,lt.invalidAt=Yj,lt.isAfter=Mj,lt.isBefore=wj,lt.isBetween=Sj,lt.isSame=Pj,lt.isSameOrAfter=Ej,lt.isSameOrBefore=Dj,lt.isValid=$j,lt.lang=TP,lt.locale=OP,lt.localeData=IP,lt.max=$B,lt.min=GB,lt.parsingFlags=Wj,lt.set=NH,lt.startOf=zj,lt.subtract=hj,lt.toArray=qj,lt.toObject=Uj,lt.toDate=jj,lt.toISOString=Ij,lt.inspect=kj,typeof Symbol<"u"&&Symbol.for!=null&&(lt[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lt.toJSON=Gj,lt.toString=Tj,lt.unix=Bj,lt.valueOf=Hj,lt.creationData=Qj,lt.eraName=Jj,lt.eraNarrow=eq,lt.eraAbbr=tq,lt.eraYear=nq,lt.year=oP,lt.isLeapYear=IH,lt.weekYear=cq,lt.isoWeekYear=dq,lt.quarter=lt.quarters=gq,lt.month=dP,lt.daysInMonth=jH,lt.week=lt.weeks=KH,lt.isoWeek=lt.isoWeeks=XH,lt.weeksInYear=fq,lt.weeksInWeekYear=mq,lt.isoWeeksInYear=uq,lt.isoWeeksInISOWeekYear=pq,lt.date=FP,lt.day=lt.days=dB,lt.weekday=uB,lt.isoWeekday=pB,lt.dayOfYear=_q,lt.hour=lt.hours=xB,lt.minute=lt.minutes=vq,lt.second=lt.seconds=xq,lt.millisecond=lt.milliseconds=RP,lt.utcOffset=tj,lt.utc=ij,lt.local=rj,lt.parseZone=oj,lt.hasAlignedHourOffset=aj,lt.isDST=sj,lt.isLocal=cj,lt.isUtcOffset=dj,lt.isUtc=wP,lt.isUTC=wP,lt.zoneAbbr=Cq,lt.zoneName=yq,lt.dates=U("dates accessor is deprecated. Use date instead.",FP),lt.months=U("months accessor is deprecated. Use month instead",dP),lt.years=U("years accessor is deprecated. Use year instead",oP),lt.zone=U("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",nj),lt.isDSTShifted=U("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",lj);function Mq(f){return qi(f*1e3)}function wq(){return qi.apply(null,arguments).parseZone()}function zP(f){return f}var oi=Ce.prototype;oi.calendar=G,oi.longDateFormat=xe,oi.invalidDate=$e,oi.ordinal=Qe,oi.preparse=zP,oi.postformat=zP,oi.relativeTime=yt,oi.pastFuture=kt,oi.set=de,oi.eras=Kj,oi.erasParse=Xj,oi.erasConvertYear=Zj,oi.erasAbbrRegex=rq,oi.erasNameRegex=iq,oi.erasNarrowRegex=oq,oi.months=zH,oi.monthsShort=LH,oi.monthsParse=BH,oi.monthsRegex=UH,oi.monthsShortRegex=qH,oi.week=$H,oi.firstDayOfYear=QH,oi.firstDayOfWeek=YH,oi.weekdays=oB,oi.weekdaysMin=sB,oi.weekdaysShort=aB,oi.weekdaysParse=cB,oi.weekdaysRegex=fB,oi.weekdaysShortRegex=mB,oi.weekdaysMinRegex=hB,oi.isPM=_B,oi.meridiem=bB;function jm(f,v,P,E){var R=nc(),ce=y().set(E,v);return R[P](ce,f)}function LP(f,v,P){if(l(f)&&(v=f,f=void 0),f=f||"",v!=null)return jm(f,v,P,"month");var E,R=[];for(E=0;E<12;E++)R[E]=jm(f,E,P,"month");return R}function _7(f,v,P,E){typeof f=="boolean"?(l(v)&&(P=v,v=void 0),v=v||""):(v=f,P=v,f=!1,l(v)&&(P=v,v=void 0),v=v||"");var R=nc(),ce=f?R._week.dow:0,Ne,zt=[];if(P!=null)return jm(v,(P+ce)%7,E,"day");for(Ne=0;Ne<7;Ne++)zt[Ne]=jm(v,(Ne+ce)%7,E,"day");return zt}function Sq(f,v){return LP(f,v,"months")}function Pq(f,v){return LP(f,v,"monthsShort")}function Eq(f,v,P){return _7(f,v,P,"weekdays")}function Dq(f,v,P){return _7(f,v,P,"weekdaysShort")}function Oq(f,v,P){return _7(f,v,P,"weekdaysMin")}ld("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(f){var v=f%10,P=Gn(f%100/10)===1?"th":v===1?"st":v===2?"nd":v===3?"rd":"th";return f+P}}),e.lang=U("moment.lang is deprecated. Use moment.locale instead.",ld),e.langData=U("moment.langData is deprecated. Use moment.localeData instead.",nc);var ic=Math.abs;function Tq(){var f=this._data;return this._milliseconds=ic(this._milliseconds),this._days=ic(this._days),this._months=ic(this._months),f.milliseconds=ic(f.milliseconds),f.seconds=ic(f.seconds),f.minutes=ic(f.minutes),f.hours=ic(f.hours),f.months=ic(f.months),f.years=ic(f.years),this}function HP(f,v,P,E){var R=gs(v,P);return f._milliseconds+=E*R._milliseconds,f._days+=E*R._days,f._months+=E*R._months,f._bubble()}function Iq(f,v){return HP(this,f,v,1)}function kq(f,v){return HP(this,f,v,-1)}function BP(f){return f<0?Math.floor(f):Math.ceil(f)}function Nq(){var f=this._milliseconds,v=this._days,P=this._months,E=this._data,R,ce,Ne,zt,Pn;return f>=0&&v>=0&&P>=0||f<=0&&v<=0&&P<=0||(f+=BP(v7(P)+v)*864e5,v=0,P=0),E.milliseconds=f%1e3,R=Na(f/1e3),E.seconds=R%60,ce=Na(R/60),E.minutes=ce%60,Ne=Na(ce/60),E.hours=Ne%24,v+=Na(Ne/24),Pn=Na(jP(v)),P+=Pn,v-=BP(v7(Pn)),zt=Na(P/12),P%=12,E.days=v,E.months=P,E.years=zt,this}function jP(f){return f*4800/146097}function v7(f){return f*146097/4800}function Aq(f){if(!this.isValid())return NaN;var v,P,E=this._milliseconds;if(f=dn(f),f==="month"||f==="quarter"||f==="year")switch(v=this._days+E/864e5,P=this._months+jP(v),f){case"month":return P;case"quarter":return P/3;case"year":return P/12}else switch(v=this._days+Math.round(v7(this._months)),f){case"week":return v/7+E/6048e5;case"day":return v+E/864e5;case"hour":return v*24+E/36e5;case"minute":return v*1440+E/6e4;case"second":return v*86400+E/1e3;case"millisecond":return Math.floor(v*864e5)+E;default:throw new Error("Unknown unit "+f)}}function rc(f){return function(){return this.as(f)}}var qP=rc("ms"),Vq=rc("s"),Fq=rc("m"),Rq=rc("h"),zq=rc("d"),Lq=rc("w"),Hq=rc("M"),Bq=rc("Q"),jq=rc("y"),qq=qP;function Uq(){return gs(this)}function Gq(f){return f=dn(f),this.isValid()?this[f+"s"]():NaN}function C1(f){return function(){return this.isValid()?this._data[f]:NaN}}var $q=C1("milliseconds"),Wq=C1("seconds"),Yq=C1("minutes"),Qq=C1("hours"),Kq=C1("days"),Xq=C1("months"),Zq=C1("years");function Jq(){return Na(this.days()/7)}var oc=Math.round,iu={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function eU(f,v,P,E,R){return R.relativeTime(v||1,!!P,f,E)}function tU(f,v,P,E){var R=gs(f).abs(),ce=oc(R.as("s")),Ne=oc(R.as("m")),zt=oc(R.as("h")),Pn=oc(R.as("d")),Xn=oc(R.as("M")),Vo=oc(R.as("w")),ac=oc(R.as("y")),dd=ce<=P.ss&&["s",ce]||ce<P.s&&["ss",ce]||Ne<=1&&["m"]||Ne<P.m&&["mm",Ne]||zt<=1&&["h"]||zt<P.h&&["hh",zt]||Pn<=1&&["d"]||Pn<P.d&&["dd",Pn];
13return P.w!=null&&(dd=dd||Vo<=1&&["w"]||Vo<P.w&&["ww",Vo]),dd=dd||Xn<=1&&["M"]||Xn<P.M&&["MM",Xn]||ac<=1&&["y"]||["yy",ac],dd[2]=v,dd[3]=+f>0,dd[4]=E,eU.apply(null,dd)}function nU(f){return f===void 0?oc:typeof f=="function"?(oc=f,!0):!1}function iU(f,v){return iu[f]===void 0?!1:v===void 0?iu[f]:(iu[f]=v,f==="s"&&(iu.ss=v-1),!0)}function rU(f,v){if(!this.isValid())return this.localeData().invalidDate();var P=!1,E=iu,R,ce;return typeof f=="object"&&(v=f,f=!1),typeof f=="boolean"&&(P=f),typeof v=="object"&&(E=Object.assign({},iu,v),v.s!=null&&v.ss==null&&(E.ss=v.s-1)),R=this.localeData(),ce=tU(this,!P,E,R),P&&(ce=R.pastFuture(+this,ce)),R.postformat(ce)}var x7=Math.abs;function ru(f){return(f>0)-(f<0)||+f}function qm(){if(!this.isValid())return this.localeData().invalidDate();var f=x7(this._milliseconds)/1e3,v=x7(this._days),P=x7(this._months),E,R,ce,Ne,zt=this.asSeconds(),Pn,Xn,Vo,ac;return zt?(E=Na(f/60),R=Na(E/60),f%=60,E%=60,ce=Na(P/12),P%=12,Ne=f?f.toFixed(3).replace(/\.?0+$/,""):"",Pn=zt<0?"-":"",Xn=ru(this._months)!==ru(zt)?"-":"",Vo=ru(this._days)!==ru(zt)?"-":"",ac=ru(this._milliseconds)!==ru(zt)?"-":"",Pn+"P"+(ce?Xn+ce+"Y":"")+(P?Xn+P+"M":"")+(v?Vo+v+"D":"")+(R||E||f?"T":"")+(R?ac+R+"H":"")+(E?ac+E+"M":"")+(f?ac+Ne+"S":"")):"P0D"}var Jn=Fm.prototype;Jn.isValid=XB,Jn.abs=Tq,Jn.add=Iq,Jn.subtract=kq,Jn.as=Aq,Jn.asMilliseconds=qP,Jn.asSeconds=Vq,Jn.asMinutes=Fq,Jn.asHours=Rq,Jn.asDays=zq,Jn.asWeeks=Lq,Jn.asMonths=Hq,Jn.asQuarters=Bq,Jn.asYears=jq,Jn.valueOf=qq,Jn._bubble=Nq,Jn.clone=Uq,Jn.get=Gq,Jn.milliseconds=$q,Jn.seconds=Wq,Jn.minutes=Yq,Jn.hours=Qq,Jn.days=Kq,Jn.weeks=Jq,Jn.months=Xq,Jn.years=Zq,Jn.humanize=rU,Jn.toISOString=qm,Jn.toString=qm,Jn.toJSON=qm,Jn.locale=OP,Jn.localeData=IP,Jn.toIsoString=U("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qm),Jn.lang=TP,Ae("X",0,0,"unix"),Ae("x",0,0,"valueOf"),Ht("x",Ao),Ht("X",SH),Si("X",function(f,v,P){P._d=new Date(parseFloat(f)*1e3)}),Si("x",function(f,v,P){P._d=new Date(Gn(f))});return e.version="2.30.1",t(qi),e.fn=lt,e.min=WB,e.max=YB,e.now=QB,e.utc=y,e.unix=Mq,e.months=Sq,e.isDate=u,e.locale=ld,e.invalid=V,e.duration=gs,e.isMoment=H,e.weekdays=Eq,e.parseZone=wq,e.localeData=nc,e.isDuration=Rm,e.monthsShort=Pq,e.weekdaysMin=Oq,e.defineLocale=a7,e.updateLocale=wB,e.locales=SB,e.weekdaysShort=Dq,e.normalizeUnits=dn,e.relativeTimeRounding=nU,e.relativeTimeThreshold=iU,e.calendarFormat=bj,e.prototype=lt,e.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},e})});var mm=Up((iS,jR)=>{"use strict";(function(i,e){typeof iS=="object"&&typeof jR<"u"&&typeof Gm=="function"?e(_p()):typeof define=="function"&&define.amd?define(["../moment"],e):e(i.moment)})(iS,function(i){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),t="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,o=i.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(a,s){return a?/-MMM-/.test(s)?t[a.month()]:e[a.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(this.hours()!==1?"s":"")+"] LT"},nextDay:function(){return"[ma\xF1ana a la"+(this.hours()!==1?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(this.hours()!==1?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(this.hours()!==1?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(this.hours()!==1?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%
13d horas",d:"un d\xEDa",dd:"%d d\xEDas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%d\xBA",week:{dow:1,doy:4},invalidDate:"Fecha inv\xE1lida"});return o})});var y7;function $m(){return y7}function nl(i){let e=y7;return y7=i,e}var YP=Symbol("NotFound");function ou(i){return i===YP||i?.name==="\u0275NotFound"}function Xm(i,e){return Object.is(i,e)}var bo=null,Wm=!1,M7=1,pU=null,Rr=Symbol("SIGNAL");function vn(i){let e=bo;return bo=i,e}function Zm(){return bo}var ud={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 y1(i){if(Wm)throw new Error("");if(bo===null)return;bo.consumerOnSignalRead(i);let e=bo.producersTail;if(e!==void 0&&e.producer===i)return;let t,n=bo.recomputing;if(n&&(t=e!==void 0?e.nextProducer:bo.producers,t!==void 0&&t.producer===i)){bo.producersTail=t,t.lastReadVersion=i.version;return}let r=i.consumersTail;if(r!==void 0&&r.consumer===bo&&(!n||mU(r,bo)))return;let o=lu(bo),a={producer:i,consumer:bo,nextProducer:t,prevConsumer:r,lastReadVersion:i.version,nextConsumer:void 0};bo.producersTail=a,e!==void 0?e.nextProducer=a:bo.producers=a,o&&KP(i,a)}function QP(){M7++}function Jm(i){if(!(lu(i)&&!i.dirty)&&!(!i.dirty&&i.lastCleanEpoch===M7)){if(!i.producerMustRecompute(i)&&!au(i)){Km(i);return}i.producerRecomputeValue(i),Km(i)}}function w7(i){if(i.consumers===void 0)return;let e=Wm;Wm=!0;try{for(let t=i.consumers;t!==void 0;t=t.nextConsumer){let n=t.consumer;n.dirty||fU(n)}}finally{Wm=e}}function S7(){return bo?.consumerAllowSignalWrites!==!1}function fU(i){i.dirty=!0,w7(i),i.consumerMarkedDirty?.(i)}function Km(i){i.dirty=!1,i.lastCleanEpoch=M7}function pd(i){return i&&(i.producersTail=void 0,i.recomputing=!0),vn(i)}function M1(i,e){if(vn(e),!i)return;i.recomputing=!1;let t=i.producersTail,n=t!==void 0?t.nextProducer:i.producers;if(n!==void 0){if(lu(i))do n=P7(n);while(n!==void 0);t!==void 0?t.nextProducer=void 0:i.producers=void 0}}function au(i){for(let e=i.producers;e!==void 0;e=e.nextProducer){let t=e.producer,n=e.lastReadVersion;if(n!==t.version||(Jm(t),n!==t.version))return!0}return!1}function su(i){if(lu(i)){let e=i.producers;for(;e!==void 0;)e=P7(e)}i.producers=void 0,i.producersTail=void 0,i.consumers=void 0,i.consumersTail=void 0}function KP(i,e){let t=i.consumersTail,n=lu(i);if(t!==void 0?(e.nextConsumer=t.nextConsumer,t.nextConsumer=e):(e.nextConsumer=void 0,i.consumers=e),e.prevConsumer=t,i.consumersTail=e,!n)for(let r=i.producers;r!==void 0;r=r.nextProducer)KP(r.producer,r)}function P7(i){let e=i.producer,t=i.nextProducer,n=i.nextConsumer,r=i.prevConsumer;if(i.nextConsumer=void 0,i.prevConsumer=void 0,n!==void 0?n.prevConsumer=r:e.consumersTail=r,r!==void 0)r.nextConsumer=n;else if(e.consumers=n,!lu(e)){let o=e.producers;for(;o!==void 0;)o=P7(o)}return t}function lu(i){return i.consumerIsAlwaysLive||i.consumers!==void 0}function eh(i){pU?.(i)}function mU(i,e){let t=e.producersTail;if(t!==void 0){let n=e.producers;do{if(n===i)return!0;if(n===t)break;n=n.nextProducer}while(n!==void 0)}return!1}function $p(i,e){let t=Object.create(hU);t.computation=i,e!==void 0&&(t.equal=e);let n=()=>{if(Jm(t),y1(t),t.value===Gp)throw t.error;return t.value};return n[Rr]=t,eh(t),n}var Ym=Symbol("UNSET"),Qm=Symbol("COMPUTING"),Gp=Symbol("ERRORED"),hU=mt(ae({},ud),{value:Ym,dirty:!0,error:null,equal:Xm,kind:"computed",producerMustRecompute(i){return i.value===Ym||i.value===Qm},producerRecomputeValue(i){if(i.value===Qm)throw new Error("");let e=i.value;i.value=Qm;let t=pd(i),n,r=!1;try{n=i.computation(),vn(null),r=e!==Ym&&e!==Gp&&n!==Gp&&i.equal(e,n)}catch(o){n=Gp,i.error=o}finally{M1(i,t)}if(r){i.value=e;return}i.value=n,i.version++}});function gU(){throw new Error}var XP=gU;function ZP(i){XP(i)}function E7(i){XP=i}var _U=null;function D7(i,e){let t=Object.create(th);t.value=i,e!==void 0&&(t.equal=e);let n=()=>JP(t);return n[Rr]=t,eh(t),[n,a=>w1(t,a),a=>O7(t,a)]}function JP(i){return y1(i),i.value}function w1(i,e){S7()||ZP(i),i.equal(i.value,e)||(i.value=e,vU(i))}function O7(i,e){S7()||ZP(i),w1(i,e(i.value))}var th=mt(ae({},ud),{equal:Xm,value:void 0,kind:"signal"});
vendor: 17,766 bytes, lines 13-15
13function vU(i){i.version++,QP(),w7(i),_U?.(i)}function mn(i){return typeof i=="function"}function fd(i){let t=i(n=>{Error.call(n),n.stack=new Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var nh=fd(i=>function(t){i(this),this.message=t?`${t.length} errors occurred during unsubscription:
14${t.map((n,r)=>`${r+1}) ${n.toString()}`).join(`
15  `)}`:"",this.name="UnsubscriptionError",this.errors=t});function S1(i,e){if(i){let t=i.indexOf(e);0<=t&&i.splice(t,1)}}var En=class i{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;let{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(let o of t)o.remove(this);else t.remove(this);let{initialTeardown:n}=this;if(mn(n))try{n()}catch(o){e=o instanceof nh?o.errors:[o]}let{_finalizers:r}=this;if(r){this._finalizers=null;for(let o of r)try{eE(o)}catch(a){e=e??[],a instanceof nh?e=[...e,...a.errors]:e.push(a)}}if(e)throw new nh(e)}}add(e){var t;if(e&&e!==this)if(this.closed)eE(e);else{if(e instanceof i){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(t=this._finalizers)!==null&&t!==void 0?t:[]).push(e)}}_hasParent(e){let{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){let{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){let{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&S1(t,e)}remove(e){let{_finalizers:t}=this;t&&S1(t,e),e instanceof i&&e._removeParent(this)}};En.EMPTY=(()=>{let i=new En;return i.closed=!0,i})();var T7=En.EMPTY;function ih(i){return i instanceof En||i&&"closed"in i&&mn(i.remove)&&mn(i.add)&&mn(i.unsubscribe)}function eE(i){mn(i)?i():i.unsubscribe()}var vs={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1};var cu={setTimeout(i,e,...t){let{delegate:n}=cu;return n?.setTimeout?n.setTimeout(i,e,...t):setTimeout(i,e,...t)},clearTimeout(i){let{delegate:e}=cu;return(e?.clearTimeout||clearTimeout)(i)},delegate:void 0};function rh(i){cu.setTimeout(()=>{let{onUnhandledError:e}=vs;if(e)e(i);else throw i})}function P1(){}var tE=I7("C",void 0,void 0);function nE(i){return I7("E",void 0,i)}function iE(i){return I7("N",i,void 0)}function I7(i,e,t){return{kind:i,value:e,error:t}}var E1=null;function du(i){if(vs.useDeprecatedSynchronousErrorHandling){let e=!E1;if(e&&(E1={errorThrown:!1,error:null}),i(),e){let{errorThrown:t,error:n}=E1;if(E1=null,t)throw n}}else i()}function rE(i){vs.useDeprecatedSynchronousErrorHandling&&E1&&(E1.errorThrown=!0,E1.error=i)}var D1=class extends En{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,ih(e)&&e.add(this)):this.destination=CU}static create(e,t,n){return new xs(e,t,n)}next(e){this.isStopped?N7(iE(e),this):this._next(e)}error(e){this.isStopped?N7(nE(e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?N7(tE,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}},xU=Function.prototype.bind;function k7(i,e){return xU.call(i,e)}var A7=class{constructor(e){this.partialObserver=e}next(e){let{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(n){oh(n)}}error(e){let{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(n){oh(n)}else oh(e)}complete(){let{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(t){oh(t)}}},xs=class extends D1{constructor(e,t,n){super();let r;if(mn(e)||!e)r={next:e??void 0,error:t??void 0,complete:n??void 0};else{let o;this&&vs.useDeprecatedNextContext?(o=Object.create(e),o.unsubscribe=()=>this.unsubscribe(),r={next:e.next&&k7(e.next,o),error:e.error&&k7(e.error,o),complete:e.complete&&k7(e.complete,o)}):r=e}this.destination=new A7(r)}};function oh(i){vs.useDeprecatedSynchronousErrorHandling?rE(i):rh(i)}function bU(i){throw i}function N7(i,e){let{onStoppedNotification:t}=vs;t&&cu.setTimeout(()=>t(i,e))}var CU={closed:!0,next:P1,error:bU,complete:P1};var uu=typeof Symbol=="function"&&Symbol.observable||"@@observable";function Fo(i){return i}function V7(...i){return F7(i)}function F7(i){return i.length===0?Fo:i.length===1?i[0]:function(t){return i.reduce((n,r)=>r(n),t)}}var hn=(()=>{class i{constructor(t){t&&(this._subscribe=t)}lift(t){let n=new i;return n.source=this,n.operator=t,n}subscribe(t,n,r){let o=MU(t)?t:new xs(t,n,r);return du(()=>{let{operator:a,source:s}=this;o.add(a?a.call(o,s):s?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(t){try{return this._subscribe(t)}catch(n){t.error(n)}}forEach(t,n){return n=oE(n),new n((r,o)=>{let a=new xs({next:s=>{try{t(s)}catch(l){o(l),a.unsubscribe()}},error:o,complete:r});this.subscribe(a)})}_subscribe(t){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(t)}[uu](){return this}pipe(...t){return F7(t)(this)}toPromise(t){return t=oE(t),new t((n,r)=>{let o;this.subscribe(a=>o=a,a=>r(a),()=>n(o))})}}return i.create=e=>new i(e),i})();function oE(i){var e;return(e=i??vs.Promise)!==null&&e!==void 0?e:Promise}function yU(i){return i&&mn(i.next)&&mn(i.error)&&mn(i.complete)}function MU(i){return i&&i instanceof D1||yU(i)&&ih(i)}function R7(i){return mn(i?.lift)}function gn(i){return e=>{if(R7(e))return e.lift(function(t){try{return i(t,this)}catch(n){this.error(n)}});throw new TypeError("Unable to lift unknown Observable type")}}function pn(i,e,t,n,r){return new z7(i,e,t,n,r)}var z7=class extends D1{constructor(e,t,n,r,o,a){super(e),this.onFinalize=o,this.shouldUnsubscribe=a,this._next=t?function(s){try{t(s)}catch(l){e.error(l)}}:super._next,this._error=r?function(s){try{r(s)}catch(l){e.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(s){e.error(s)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){let{closed:t}=this;super.unsubscribe(),!t&&((e=this.onFinalize)===null||e===void 0||e.call(this))}}};function pu(){return gn((i,e)=>{let t=null;i._refCount++;let n=pn(e,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount){t=null;return}let r=i._connection,o=t;t=null,r&&(!o||r===o)&&r.unsubscribe(),e.unsubscribe()});i.subscribe(n),n.closed||(t=i.connect())})}var fu=class extends hn{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,R7(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){let e=this._subject;return(!e||e.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;let{_connection:e}=this;this._subject=this._connection=null,e?.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new En;let t=this.getSubject();e.add(this.source.subscribe(pn(t,void 0,()=>{this._teardown(),t.complete()},n=>{this._teardown(),t.error(n)},()=>this._teardown()))),e.closed&&(this._connection=null,e=En.EMPTY)}return e}refCount(){return pu()(this)}};var mu={schedule(i){let e=requestAnimationFrame,t=cancelAnimationFrame,{delegate:n}=mu;n&&(e=n.requestAnimationFrame,t=n.cancelAnimationFrame);let r=e(o=>{t=void 0,i(o)});return new En(()=>t?.(r))},requestAnimationFrame(...i){let{delegate:e}=mu;return(e?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){let{delegate:e}=mu;return(e?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0};var aE=fd(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var he=(()=>{class i extends hn{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(t){let n=new ah(this,this);return n.operator=t,n}_throwIfClosed(){if(this.closed)throw new aE}next(t){du(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(let n of this.currentObservers)n.next(t)}})}error(t){du(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=t;let{observers:n}=this;for(;n.length;)n.shift().error(t)}})}complete(){du(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;let{observers:t}=this;for(;t.length;)t.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var t;return((t=this.observers)===null||t===void 0?void 0:t.length)>0}_trySubscribe(t){return this._throwIfClosed(),super._trySubscribe(t)}_subscribe(t){return this._throwIfClosed(),this._checkFinalizedStatuses(t),this._innerSubscribe(t)}_innerSubscribe(t){let{hasError:n,isStopped:r,observers:o}=this;return n||r?T7:(this.currentObservers=null,o.push(t),new En(()=>{this.currentObservers=null,S1(o,t)}))}_checkFinalizedStatuses(t){let{hasError:n,thrownError:r,isStopped:o}=this;n?t.error(r):o&&t.complete()}asObservable(){let t=new hn;return t.source=this,t}}return i.create=(e,t)=>new ah(e,t),i})(),ah=class extends he{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.next)===null||n===void 0||n.call(t,e)}error(e){var t,n;(n=(t=this.destination)===null||t===void 0?void 0:t.error)===null||n===void 0||n.call(t,e)}complete(){var e,t;(t=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||t===void 0||t.call(e)}_subscribe(e){var t,n;return(n=(t=this.source)===null||t===void 0?void 0:t.subscribe(e))!==null&&n!==void 0?n:T7}};var mi=class extends he{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){let t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){let{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}};var Wp={now(){return(Wp.delegate||Date).now()},delegate:void 0};var hu=class extends he{constructor(e=1/0,t=1/0,n=Wp){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){let{isStopped:t,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:o,_windowTime:a}=this;t||(n.push(e),!r&&n.push(o.now()+a)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();let t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,o=r.slice();for(let a=0;a<o.length&&!e.closed;a+=n?1:2)e.next(o[a]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){let{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:r}=this,o=(r?1:2)*e;if(e<1/0&&o<n.length&&n.splice(0,n.length-o),!r){let a=t.now(),s=0;for(let l=1;l<n.length&&n[l]<=a;l+=2)s=l;s&&n.splice(0,s+1)}}};var sh=class extends En{constructor(e,t){super()}schedule(e,t=0){return this}};var Yp={setInterval(i,e,...t){let{delegate:n}=Yp;return n?.setInterval?n.setInterval(i,e,...t):setInterval(i,e,...t)},clearInterval(i){let{delegate:e}=Yp;return(e?.clearInterval||clearInterval)(i)},delegate:void 0};var md=class extends sh{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;let r=this.id,o=this.scheduler;return r!=null&&(this.id=this.recycleAsyncId(o,r,t)),this.pending=!0,this.delay=t,this.id=(n=this.id)!==null&&n!==void 0?n:this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,n=0){return Yp.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(n!=null&&this.delay===n&&this.pending===!1)return t;t!=null&&Yp.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;let n=this._execute(e,t);if(n)return n;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,r;try{this.work(e)}catch(o){n=!0,r=o||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r}unsubscribe(){if(!this.closed){let{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,S1(n,this),e!=null&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}};var wU=1,L7,H7={};function sE(i){return i in H7?(delete H7[i],!0):!1}var lE={setImmediate(i){let e=wU++;return H7[e]=!0,L7||(L7=Promise.resolve()),L7.then(()=>sE(e)&&i()),e},clearImmediate(i){sE(i)}};var{setImmediate:SU,clearImmediate:PU}=lE,Qp={setImmediate(...i){let{delegate:e}=Qp;return(e?.setImmediate||SU)(...i)},clearImmediate(i){let{delegate:e}=Qp;return(e?.clearImmediate||PU)(i)},delegate:void 0};var lh=class extends md{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return n!==null&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=Qp.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);let{actions:o}=e;t!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==t&&(Qp.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}};var gu=class i{constructor(e,t=i.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,n){return new this.schedulerActionCtor(this,e).schedule(n,t)}};gu.now=Wp.now;var hd=class extends gu{constructor(e,t=gu.now){super(e,t),this.actions=[],this._active=!1}flush(e){let{actions:t}=this;if(this._active){t.push(e);return}let n;this._active=!0;do if(n=e.execute(e.state,e.delay))break;while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}};var ch=class extends hd{flush(e){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;e=e||n.shift();do if(r=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}};var bs=new ch(lh);var Co=new hd(md),B7=Co;var dh=class extends md{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return n!==null&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=mu.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,n=0){var r;if(n!=null?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);let{actions:o}=e;t!=null&&((r=o[o.length-1])===null||r===void 0?void 0:r.id)!==t&&(mu.cancelAnimationFrame(t),e._scheduled=void 0)}};var uh=class extends hd{flush(e){this._active=!0;let t=this._scheduled;this._scheduled=void 0;let{actions:n}=this,r;e=e||n.shift();do if(r=e.execute(e.state,e.delay))break;while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}};var j7=new uh(dh);var ar=new hn(i=>i.complete());function ph(i){return i&&mn(i.schedule)}function q7(i){return i[i.length-1]}function fh(i){return mn(q7(i))?i.pop():void 0}function il(i){return ph(q7(i))?i.pop():void 0}function cE(i,e){return typeof q7(i)=="number"?i.pop():e}function uE(i,e,t,n){var r=arguments.length,o=r<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(i,e,t,n);else for(var s=i.length-1;s>=0;s--)(a=i[s])&&(o=(r<3?a(o):r>3?a(e,t,o):a(e,t))||o);return r>3&&o&&Object.defineProperty(e,t,o),o}function U7(i,e){return function(t,n){e(t,n,i)}}function pE(i,e,t,n){function r(o){return o instanceof t?o:new t(function(a){a(o)})}return new(t||(t=Promise))(function(o,a){function s(h){try{u(n.next(h))}catch(_){a(_)}}function l(h){try{u(n.throw(h))}catch(_){a(_)}}function u(h){h.done?o(h.value):r(h.value).then(s,l)}u((n=n.apply(i,e||[])).next())})}function dE(i){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&i[e],n=0;if(t)return t.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&n>=i.length&&(i=void 0),{value:i&&i[n++],done:!i}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function O1(i){return this instanceof O1?(this.v=i,this):new O1(i)}function fE(i,e,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t.apply(i,e||[]),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(b){return function(x){return Promise.resolve(x).then(b,_)}}function s(b,x){n[b]&&(r[b]=function(w){return new Promise(function(k,V){o.push([b,w,k,V])>1||l(b,w)})},x&&(r[b]=x(r[b])))}function l(b,x){try{u(n[b](x))}catch(w){y(o[0][3],w)}}function u(b){b.value instanceof O1?Promise.resolve(b.value.v).then(h,_):y(o[0][2],b)}function h(b){l("next",b)}function _(b){l("throw",b)}function y(b,x){b(x),o.shift(),o.length&&l(o[0][0],o[0][1])}}function mE(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=i[Symbol.asyncIterator],t;return e?e.call(i):(i=typeof dE=="function"?dE(i):i[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(o){t[o]=i[o]&&function(a){return new Promise(function(s,l){a=i[o](a),r(s,l,a.done,a.value)})}}function r(o,a,s,l){Promise.resolve(l).then(function(u){o({value:u,done:s})},a)}}var _u=i=>i&&typeof i.length=="number"&&typeof i!="function";function mh(i){return mn(i?.then)}function hh(i){return mn(i[uu])}function gh(i){return Symbol.asyncIterator&&mn(i?.[Symbol.asyncIterator])}function _h(i){return new TypeError(`You provided ${i!==null&&typeof i=="object"?"an invali
15d object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function EU(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var vh=EU();function xh(i){return mn(i?.[vh])}function bh(i){return fE(this,arguments,function*(){let t=i.getReader();try{for(;;){let{value:n,done:r}=yield O1(t.read());if(r)return yield O1(void 0);yield yield O1(n)}}finally{t.releaseLock()}})}function Ch(i){return mn(i?.getReader)}function Zn(i){if(i instanceof hn)return i;if(i!=null){if(hh(i))return DU(i);if(_u(i))return OU(i);if(mh(i))return TU(i);if(gh(i))return hE(i);if(xh(i))return IU(i);if(Ch(i))return kU(i)}throw _h(i)}function DU(i){return new hn(e=>{let t=i[uu]();if(mn(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function OU(i){return new hn(e=>{for(let t=0;t<i.length&&!e.closed;t++)e.next(i[t]);e.complete()})}function TU(i){return new hn(e=>{i.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,rh)})}function IU(i){return new hn(e=>{for(let t of i)if(e.next(t),e.closed)return;e.complete()})}function hE(i){return new hn(e=>{NU(i,e).catch(t=>e.error(t))})}function kU(i){return hE(bh(i))}function NU(i,e){var t,n,r,o;return pE(this,void 0,void 0,function*(){try{for(t=mE(i);n=yield t.next(),!n.done;){let a=n.value;if(e.next(a),e.closed)return}}catch(a){r={error:a}}finally{try{n&&!n.done&&(o=t.return)&&(yield o.call(t))}finally{if(r)throw r.error}}e.complete()})}function yo(i,e,t,n=0,r=!1){let o=e.schedule(function(){t(),r?i.add(this.schedule(null,n)):this.unsubscribe()},n);if(i.add(o),!r)return o}function rl(i,e=0){return gn((t,n)=>{t.subscribe(pn(n,r=>yo(n,i,()=>n.next(r),e),()=>yo(n,i,()=>n.complete(),e),r=>yo(n,i,()=>n.error(r),e)))})}function yh(i,e=0){return gn((t,n)=>{n.add(i.schedule(()=>t.subscribe(n),e))})}function gE(i,e){return Zn(i).pipe(yh(e),rl(e))}function _E(i,e){return Zn(i).pipe(yh(e),rl(e))}function vE(i,e){return new hn(t=>{let n=0;return e.schedule(function(){n===i.length?t.complete():(t.next(i[n++]),t.closed||this.schedule())})})}function xE(i,e){return new hn(t=>{let n;return yo(t,e,()=>{n=i[vh](),yo(t,e,()=>{let r,o;try{({value:r,done:o}=n.next())}catch(a){t.error(a);return}o?t.complete():t.next(r)},0,!0)}),()=>mn(n?.return)&&n.return()})}function Mh(i,e){if(!i)throw new Error("Iterable cannot be null");return new hn(t=>
vendor: 166,951 bytes, lines 15-16
15{yo(t,e,()=>{let n=i[Symbol.asyncIterator]();yo(t,e,()=>{n.next().then(r=>{r.done?t.complete():t.next(r.value)})},0,!0)})})}function bE(i,e){return Mh(bh(i),e)}function CE(i,e){if(i!=null){if(hh(i))return gE(i,e);if(_u(i))return vE(i,e);if(mh(i))return _E(i,e);if(gh(i))return Mh(i,e);if(xh(i))return xE(i,e);if(Ch(i))return bE(i,e)}throw _h(i)}function zi(i,e){return e?CE(i,e):Zn(i)}function Dt(...i){let e=il(i);return zi(i,e)}function Ve(i,e){let t=mn(i)?i:()=>i,n=r=>r.error(t());return new hn(e?r=>e.schedule(n,0,r):n)}function wh(i){return!!i&&(i instanceof hn||mn(i.lift)&&mn(i.subscribe))}var Cs=fd(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function Fa(i,e){let t=typeof e=="object";return new Promise((n,r)=>{let o=new xs({next:a=>{n(a),o.unsubscribe()},error:r,complete:()=>{t?n(e.defaultValue):r(new Cs)}});i.subscribe(o)})}function Sh(i){return i instanceof Date&&!isNaN(i)}var AU=fd(i=>function(t=null){i(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function G7(i,e){let{first:t,each:n,with:r=VU,scheduler:o=e??Co,meta:a=null}=Sh(i)?{first:i}:typeof i=="number"?{each:i}:i;if(t==null&&n==null)throw new TypeError("No timeout provided.");return gn((s,l)=>{let u,h,_=null,y=0,b=x=>{h=yo(l,o,()=>{try{u.unsubscribe(),Zn(r({meta:a,lastValue:_,seen:y})).subscribe(l)}catch(w){l.error(w)}},x)};u=s.subscribe(pn(l,x=>{h?.unsubscribe(),y++,l.next(_=x),n>0&&b(n)},void 0,void 0,()=>{h?.closed||h?.unsubscribe(),_=null})),!y&&b(t!=null?typeof t=="number"?t:+t-o.now():n)})}function VU(i){throw new AU(i)}function ct(i,e){return gn((t,n)=>{let r=0;t.subscribe(pn(n,o=>{n.next(i.call(e,o,r++))}))})}var{isArray:FU}=Array;function RU(i,e){return FU(e)?i(...e):i(e)}function vu(i){return ct(e=>RU(i,e))}var{isArray:zU}=Array,{getPrototypeOf:LU,prototype:HU,keys:BU}=Object;function Ph(i){if(i.length===1){let e=i[0];if(zU(e))return{args:e,keys:null};if(jU(e)){let t=BU(e);return{args:t.map(n=>e[n]),keys:t}}}return{args:i,keys:null}}function jU(i){return i&&typeof i=="object"&&LU(i)===HU}function Eh(i,e){return i.reduce((t,n,r)=>(t[n]=e[r],t),{})}function sc(...i){let e=il(i),t=fh(i),{args:n,keys:r}=Ph(i);if(n.length===0)return zi([],e);let o=new hn(qU(n,e,r?a=>Eh(r,a):Fo));return t?o.pipe(vu(t)):o}function qU(i,e,t=Fo){return n=>{yE(e,()=>{let{length:r}=i,o=new Array(r),a=r,s=r;for(let l=0;l<r;l++)yE(e,()=>{let u=zi(i[l],e),h=!1;u.subscribe(pn(n,_=>{o[l]=_,h||(h=!0,s--),s||n.next(t(o.slice()))},()=>{--a||n.complete()}))},n)},n)}}function yE(i,e,t){i?yo(t,i,e):e()}function ME(i,e,t,n,r,o,a,s){let l=[],u=0,h=0,_=!1,y=()=>{_&&!l.length&&!u&&e.complete()},b=w=>u<n?x(w):l.push(w),x=w=>{o&&e.next(w),u++;let k=!1;Zn(t(w,h++)).subscribe(pn(e,V=>{r?.(V),o?b(V):e.next(V)},()=>{k=!0},void 0,()=>{if(k)try{for(u--;l.length&&u<n;){let V=l.shift();a?yo(e,a,()=>x(V)):x(V)}y()}catch(V){e.error(V)}}))};return i.subscribe(pn(e,b,()=>{_=!0,y()})),()=>{s?.()}}function bi(i,e,t=1/0){return mn(e)?bi((n,r)=>ct((o,a)=>e(n,o,r,a))(Zn(i(n,r))),t):(typeof e=="number"&&(t=e),gn((n,r)=>ME(n,r,i,t)))}function gd(i=1/0){return bi(Fo,i)}function wE(){return gd(1)}function ol(...i){return wE()(zi(i,il(i)))}function T1(i){return new hn(e=>{Zn(i()).subscribe(e)})}function Kp(...i){let e=fh(i),{args:t,keys:n}=Ph(i),r=new hn(o=>{let{length:a}=t;if(!a){o.complete();return}let s=new Array(a),l=a,u=a;for(let h=0;h<a;h++){let _=!1;Zn(t[h]).subscribe(pn(o,y=>{_||(_=!0,u--),s[h]=y},()=>l--,void 0,()=>{(!l||!_)&&(u||o.next(n?Eh(n,s):s),o.complete())}))}});return e?r.pipe(vu(e)):r}var UU=["addListener","removeListener"],GU=["addEventListener","removeEventListener"],$U=["on","off"];function al(i,e,t,n){if(mn(t)&&(n=t,t=void 0),n)return al(i,e,t).pipe(vu(n));let[r,o]=QU(i)?GU.map(a=>s=>i[a](e,s,t)):WU(i)?UU.map(SE(i,e)):YU(i)?$U.map(SE(i,e)):[];if(!r&&_u(i))return bi(a=>al(a,e,t))(Zn(i));if(!r)throw new TypeError("Invalid event target");return new hn(a=>{let s=(...l)=>a.next(1<l.length?l:l[0]);return r(s),()=>o(s)})}function SE(i,e){return t=>n=>i[t](e,n)}function WU(i){return mn(i.addListener)&&mn(i.removeListener)}function YU(i){return mn(i.on)&&mn(i.off)}function QU(i){return mn(i.addEventListener)&&mn(i.removeEventListener)}function xu(i=0,e,t=B7){let n=-1;return e!=null&&(ph(e)?t=e:n=e),new hn(r=>{let o=Sh(i)?+i-t.now():i;o<0&&(o=0);let a=0;return t.schedule(function(){r.closed||(r.next(a++),0<=n?this.schedule(void 0,n):r.complete())},o)})}function pr(...i){let e=il(i),t=cE(i,1/0),n=i;return n.length?n.length===1?Zn(n[0]):gd(t)(zi(n,e)):ar}function ln(i,e){return gn((t,n)=>{let r=0;t.subscribe(pn(n,o=>i.call(e,o,r++)&&n.next(o)))})}function PE(i){return gn((e,t)=>{let n=!1,r=null,o=null,a=!1,s=()=>{if(o?.unsubscribe(),o=null,n){n=!1;let u=r;r=null,t.next(u)}a&&t.complete()},l=()=>{o=null,a&&t.complete()};e.subscribe(pn(t,u=>{n=!0,r=u,o||Zn(i(u)).subscribe(o=pn(t,s,l))},()=>{a=!0,(!n||!o||o.closed)&&t.complete()}))})}function Xp(i,e=Co){return PE(()=>xu(i,e))}function B(i){return gn((e,t)=>{let n=null,r=!1,o;n=e.subscribe(pn(t,void 0,void 0,a=>{o=Zn(i(a,B(i)(e))),n?(n.unsubscribe(),n=null,o.subscribe(t)):r=!0})),r&&(n.unsubscribe(),n=null,o.subscribe(t))})}function EE(i,e,t,n,r){return(o,a)=>{let s=t,l=e,u=0;o.subscribe(pn(a,h=>{let _=u++;l=s?i(l,h,_):(s=!0,h),n&&a.next(l)},r&&(()=>{s&&a.next(l),a.complete()})))}}function sl(i,e){return mn(e)?bi(i,e,1):bi(i,1)}function lc(i,e=Co){return gn((t,n)=>{let r=null,o=null,a=null,s=()=>{if(r){r.unsubscribe(),r=null;let u=o;o=null,n.next(u)}};function l(){let u=a+i,h=e.now();if(h<u){r=this.schedule(void 0,u-h),n.add(r);return}s()}t.subscribe(pn(n,u=>{o=u,a=e.now(),r||(r=e.schedule(l,i),n.add(r))},()=>{s(),n.complete()},void 0,()=>{o=r=null}))})}function _d(i){return gn((e,t)=>{let n=!1;e.subscribe(pn(t,r=>{n=!0,t.next(r)},()=>{n||t.next(i),t.complete()}))})}function Bn(i){return i<=0?()=>ar:gn((e,t)=>{let n=0;e.subscribe(pn(t,r=>{++n<=i&&(t.next(r),i<=n&&t.complete())}))})}function DE(){return gn((i,e)=>{i.subscribe(pn(e,P1))})}function OE(i){return ct(()=>i)}function $7(i,e){return e?t=>ol(e.pipe(Bn(1),DE()),t.pipe($7(i))):bi((t,n)=>Zn(i(t,n)).pipe(Bn(1),OE(t)))}function Dh(i,e=Co){let t=xu(i,e);return $7(()=>t)}function I1(i,e=Fo){return i=i??KU,gn((t,n)=>{let r,o=!0;t.subscribe(pn(n,a=>{let s=e(a);(o||!i(r,s))&&(o=!1,r=s,n.next(a))}))})}function KU(i,e){return i===e}function Oh(i=XU){return gn((e,t)=>{let n=!1;e.subscribe(pn(t,r=>{n=!0,t.next(r)},()=>n?t.complete():t.error(i())))})}function XU(){return new Cs}function Zo(i){return gn((e,t)=>{try{e.subscribe(t)}finally{t.add(i)}})}function cc(i,e){let t=arguments.length>=2;return n=>n.pipe(i?ln((r,o)=>i(r,o,n)):Fo,Bn(1),t?_d(e):Oh(()=>new Cs))}function bu(i){return i<=0?()=>ar:gn((e,t)=>{let n=[];e.subscribe(pn(t,r=>{n.push(r),i<n.length&&n.shift()},()=>{for(let r of n)t.next(r);t.complete()},void 0,()=>{n=null}))})}function W7(i,e){let t=arguments.length>=2;return n=>n.pipe(i?ln((r,o)=>i(r,o,n)):Fo,bu(1),t?_d(e):Oh(()=>new Cs))}function Y7(i,e){return gn(EE(i,e,arguments.length>=2,!0))}function K7(i={}){let{connector:e=()=>new he,resetOnError:t=!0,resetOnComplete:n=!0,resetOnRefCountZero:r=!0}=i;return o=>{let a,s,l,u=0,h=!1,_=!1,y=()=>{s?.unsubscribe(),s=void 0},b=()=>{y(),a=l=void 0,h=_=!1},x=()=>{let w=a;b(),w?.unsubscribe()};return gn((w,k)=>{u++,!_&&!h&&y();let V=l=l??e();k.add(()=>{u--,u===0&&!_&&!h&&(s=Q7(x,r))}),V.subscribe(k),!a&&u>0&&(a=new xs({next:N=>V.next(N),error:N=>{_=!0,y(),s=Q7(b,t,N),V.error(N)},complete:()=>{h=!0,y(),s=Q7(b,n),V.complete()}}),Zn(w).subscribe(a))})(o)}}function Q7(i,e,...t){if(e===!0){i();return}if(e===!1)return;let n=new xs({next:()=>{n.unsubscribe(),i()}});return Zn(e(...t)).subscribe(n)}function Zp(i){return ln((e,t)=>i<=t)}function ei(...i){let e=il(i);return gn((t,n)=>{(e?ol(i,t,e):ol(i,t)).subscribe(n)})}function fr(i,e){return gn((t,n)=>{let r=null,o=0,a=!1,s=()=>a&&!r&&n.complete();t.subscribe(pn(n,l=>{r?.unsubscribe();let u=0,h=o++;Zn(i(l,h)).subscribe(r=pn(n,_=>n.next(e?e(l,_,h,u++):_),()=>{r=null,s()}))},()=>{a=!0,s()}))})}function ze(i){return gn((e,t)=>{Zn(i).subscribe(pn(t,()=>t.complete(),P1)),!t.closed&&e.subscribe(t)})}function Jp(i,e=!1){return gn((t,n)=>{let r=0;t.subscribe(pn(n,o=>{let a=i(o,r++);(a||e)&&n.next(o),!a&&n.complete()}))})}function Ii(i,e,t){let n=mn(i)||e||t?{next:i,error:e,complete:t}:i;return n?gn((r,o)=>{var a;(a=n.subscribe)===null||a===void 0||a.call(n);let s=!0;r.subscribe(pn(o,l=>{var u;(u=n.next)===null||u===void 0||u.call(n,l),o.next(l)},()=>{var l;s=!1,(l=n.complete)===null||l===void 0||l.call(n),o.complete()},l=>{var u;s=!1,(u=n.error)===null||u===void 0||u.call(n,l),o.error(l)},()=>{var l,u;s&&((l=n.unsubscribe)===null||l===void 0||l.call(n)),(u=n.finalize)===null||u===void 0||u.call(n)}))}):Fo}function TE(i,e){return gn((t,n)=>{let{leading:r=!0,trailing:o=!1}=e??{},a=!1,s=null,l=null,u=!1,h=()=>{l?.unsubscribe(),l=null,o&&(b(),u&&n.complete())},_=()=>{l=null,u&&n.complete()},y=x=>l=Zn(i(x)).subscribe(pn(n,h,_)),b=()=>{if(a){a=!1;let x=s;s=null,n.next(x),!u&&y(x)}};t.subscribe(pn(n,x=>{a=!0,s=x,!(l&&!l.closed)&&(r?b():y(x))},()=>{u=!0,!(o&&a&&l&&!l.closed)&&n.complete()}))})}function e3(i,e=Co,t){let n=xu(i,e);return TE(()=>n,t)}function IE(i){let e=vn(null);try{return i()}finally{vn(e)}}var Ah="https://angular.dev/best-practices/security#preventing-cross-site-scripting-xss",He=class extends Error{code;constructor(e,t){super(Ms(e,t)),this.code=e}};function ZU(i){return`NG0${Math.abs(i)}`}function Ms(i,e){return`${ZU(i)}${e?": "+e:""}`}var Ra=globalThis;function hi(i){for(let e in i)if(i[e]===hi)return e;throw Error("")}function AE(i,e){for(let t in e)e.hasOwnProperty(t)&&!i.hasOwnProperty(t)&&(i[t]=e[t])}function uc(i){if(typeof i=="string")return i;if(Array.isArray(i))return`[${i.map(uc).join(", ")}]`;if(i==null)return""+i;let e=i.overriddenName||i.name;if(e)return`${e}`;let t=i.toString();if(t==null)return""+t;let n=t.indexOf(`
16`);return n>=0?t.slice(0,n):t}function Vh(i,e){return i?e?`${i} ${e}`:i:e||""}var JU=hi({__forward_ref__:hi});function Wt(i){return i.__forward_ref__=Wt,i.toString=function(){return uc(this())},i}function co(i){return lx(i)?i():i}function lx(i){return typeof i=="function"&&i.hasOwnProperty(JU)&&i.__forward_ref__===Wt}function VE(i,e){i==null&&cx(e,i,null,"!=")}function cx(i,e,t,n){throw new Error(`ASSERTION ERROR: ${i}`+(n==null?"":` [Expected=> ${t} ${n} ${e} <=Actual]`))}function W(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function Be(i){return{providers:i.providers||[],imports:i.imports||[]}}function a3(i){return eG(i,Fh)}function dx(i){return a3(i)!==null}function eG(i,e){return i.hasOwnProperty(e)&&i[e]||null}function tG(i){let e=i?.[Fh]??null;return e||null}function Z7(i){return i&&i.hasOwnProperty(Ih)?i[Ih]:null}var Fh=hi({\u0275prov:hi}),Ih=hi({\u0275inj:hi}),Ee=class{_desc;ngMetadataName="InjectionToken";\u0275prov;constructor(e,t){this._desc=e,this.\u0275prov=void 0,typeof t=="number"?this.__NG_ELEMENT_ID__=t:t!==void 0&&(this.\u0275prov=W({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}};function ux(i){return i&&!!i.\u0275providers}var px=hi({\u0275cmp:hi}),fx=hi({\u0275dir:hi}),mx=hi({\u0275pipe:hi}),hx=hi({\u0275mod:hi}),i3=hi({\u0275fac:hi}),F1=hi({__NG_ELEMENT_ID__:hi}),kE=hi({__NG_ENV_ID__:hi});function pc(i){return typeof i=="string"?i:i==null?"":String(i)}function kh(i){return typeof i=="function"?i.name||i.toString():typeof i=="object"&&i!=null&&typeof i.type=="function"?i.type.name||i.type.toString():pc(i)}var gx=hi({ngErrorCode:hi}),FE=hi({ngErrorMessage:hi}),n3=hi({ngTokenPath:hi});function _x(i,e){return RE("",-200,e)}function Rh(i,e){throw new He(-201,!1)}function nG(i,e){i[n3]??=[];let t=i[n3],n;typeof e=="object"&&"multi"in e&&e?.multi===!0?(VE(e.provide,"Token with multi: true should have a provide property"),n=kh(e.provide)):n=kh(e),t[0]!==n&&i[n3].unshift(n)}function iG(i,e){let t=i[n3],n=i[gx],r=i[FE]||i.message;return i.message=oG(r,n,t,e),i}function RE(i,e,t){let n=new He(e,i);return n[gx]=e,n[FE]=i,t&&(n[n3]=t),n}function rG(i){return i[gx]}function oG(i,e,t=[],n=null){let r="";t&&t.length>1&&(r=` Path: ${t.join(" -> ")}.`);let o=n?` Source: ${n}.`:"";return Ms(e,`${i}${o}${r}`)}var J7;function zE(){return J7}function Ro(i){let e=J7;return J7=i,e}function vx(i,e,t){let n=a3(i);if(n&&n.providedIn=="root")return n.value===void 0?n.value=n.factory():n.value;if(t&8)return null;if(e!==void 0)return e;Rh(i,"Injector")}var aG={},k1=aG,ex="__NG_DI_FLAG__",tx=class{injector;constructor(e){this.injector=e}retrieve(e,t){let n=N1(t)||0;try{return this.injector.get(e,n&8?null:k1,n)}catch(r){if(ou(r))return r;throw r}}};function sG(i,e=0){let t=$m();if(t===void 0)throw new He(-203,!1);if(t===null)return vx(i,void 0,e);{let n=lG(e),r=t.retrieve(i,n);if(ou(r)){if(n.optional)return null;throw r}return r}}function Le(i,e=0){return(zE()||sG)(co(i),e)}function C(i,e){return Le(i,N1(e))}function N1(i){return typeof i>"u"||typeof i=="number"?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function lG(i){return{optional:!!(i&8),host:!!(i&1),self:!!(i&2),skipSelf:!!(i&4)}}function nx(i){let e=[];for(let t=0;t<i.length;t++){let n=co(i[t]);if(Array.isArray(n)){if(n.length===0)throw new He(900,!1);let r,o=0;for(let a=0;a<n.length;a++){let s=n[a],l=cG(s);typeof l=="number"?l===-1?r=s.token:o|=l:r=s}e.push(Le(r,o))}else e.push(Le(n))}return e}function zh(i,e){return i[ex]=e,i.prototype[ex]=e,i}function cG(i){return i[ex]}function vd(i,e){let t=i.hasOwnProperty(i3);return t?i[i3]:null}function LE(i,e,t){if(i.length!==e.length)return!1;for(let n=0;n<i.length;n++){let r=i[n],o=e[n];if(t&&(r=t(r),o=t(o)),o!==r)return!1}return!0}function HE(i){return i.flat(Number.POSITIVE_INFINITY)}function Lh(i,e){i.forEach(t=>Array.isArray(t)?Lh(t,e):e(t))}function xx(i,e,t){e>=i.length?i.push(t):i.splice(e,0,t)}function s3(i,e){return e>=i.length-1?i.pop():i.splice(e,1)[0]}function BE(i,e){let t=[];for(let n=0;n<i;n++)t.push(e);return t}function jE(i,e,t,n){let r=i.length;if(r==e)i.push(t,n);else if(r===1)i.push(n,i[0]),i[0]=t;else{for(r--,i.push(i[r-1],i[r]);r>e;){let o=r-2;i[r]=i[o],r--}i[e]=t,i[e+1]=n}}function l3(i,e,t){let n=yu(i,e);return n>=0?i[n|1]=t:(n=~n,jE(i,n,e,t)),n}function Hh(i,e){let t=yu(i,e);if(t>=0)return i[t|1]}function yu(i,e){return dG(i,e,1)}function dG(i,e,t){let n=0,r=i.length>>t;for(;r!==n;){let o=n+(r-n>>1),a=i[o<<t];if(e===a)return o<<t;a>e?r=o:n=o+1}return~(r<<t)}var bd={},Mo=[],fc=new Ee(""),bx=new Ee("",-1),Cx=new Ee(""),r3=class{get(e,t=k1){if(t===k1){let r=RE("",-201);throw r.name="\u0275NotFound",r}return t}};function yx(i){return i[hx]||null}function ll(i){return i[px]||null}function Mx(i){return i[fx]||null}function qE(i){return i[mx]||null}function cl(i){return{\u0275providers:i}}function UE(...i){return{\u0275providers:wx(!0,i),\u0275fromNgModule:!0}}function wx(i,...e){let t=[],n=new Set,r,o=a=>{t.push(a)};return Lh(e,a=>{let s=a;Nh(s,o,[],n)&&(r||=[],r.push(s))}),r!==void 0&&GE(r,o),t}function GE(i,e){for(let t=0;t<i.length;t++){let{ngModule:n,providers:r}=i[t];Sx(r,o=>{e(o,n)})}}function Nh(i,e,t,n){if(i=co(i),!i)return!1;let r=null,o=Z7(i),a=!o&&ll(i);if(!o&&!a){let l=i.ngModule;if(o=Z7(l),o)r=l;else return!1}else{if(a&&!a.standalone)return!1;r=i}let s=n.has(r);if(a){if(s)return!1;if(n.add(r),a.dependencies){let l=typeof a.dependencies=="function"?a.dependencies():a.dependencies;for(let u of l)Nh(u,e,t,n)}}else if(o){if(o.imports!=null&&!s){n.add(r);let u;try{Lh(o.imports,h=>{Nh(h,e,t,n)&&(u||=[],u.push(h))})}finally{}u!==void 0&&GE(u,e)}if(!s){let u=vd(r)||(()=>new r);e({provide:r,useFactory:u,deps:Mo},r),e({provide:Cx,useValue:r,multi:!0},r),e({provide:fc,useValue:()=>Le(r),multi:!0},r)}let l=o.providers;if(l!=null&&!s){let u=i;Sx(l,h=>{e(h,u)})}}else return!1;return r!==i&&i.providers!==void 0}function Sx(i,e){for(let t of i)ux(t)&&(t=t.\u0275providers),Array.isArray(t)?Sx(t,e):e(t)}var uG=hi({provide:String,useValue:hi});function $E(i){return i!==null&&typeof i=="object"&&uG in i}function pG(i){return!!(i&&i.useExisting)}function fG(i){return!!(i&&i.useFactory)}function A1(i){return typeof i=="function"}function WE(i){return!!i.useClass}var c3=new Ee(""),Th={},NE={},X7;function Mu(){return X7===void 0&&(X7=new r3),X7}var ki=class{},V1=class extends ki{parent;source;scopes;records=new Map;_ngOnDestroyHooks=new Set;_onDestroyHooks=[];get destroyed(){return this._destroyed}_destroyed=!1;injectorDefTypes;constructor(e,t,n,r){super(),this.parent=t,this.source=n,this.scopes=r,rx(e,a=>this.processProvider(a)),this.records.set(bx,Cu(void 0,this)),r.has("environment")&&this.records.set(ki,Cu(void 0,this));let o=this.records.get(c3);o!=null&&typeof o.value=="string"&&this.scopes.add(o.value),this.injectorDefTypes=new Set(this.get(Cx,Mo,{self:!0}))}retrieve(e,t){let n=N1(t)||0;try{return this.get(e,k1,n)}catch(r){if(ou(r))return r;throw r}}destroy(){t3(this),this._destroyed=!0;let e=vn(null);try{for(let n of this._ngOnDestroyHooks)n.ngOnDestroy();let t=this._onDestroyHooks;this._onDestroyHooks=[];for(let n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),vn(e)}}onDestroy(e){return t3(this),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){t3(this);let t=nl(this),n=Ro(void 0),r;try{return e()}finally{nl(t),Ro(n)}}get(e,t=k1,n){if(t3(this),e.hasOwnProperty(kE))return e[kE](this);let r=N1(n),o,a=nl(this),s=Ro(void 0);try{if(!(r&4)){let u=this.records.get(e);if(u===void 0){let h=vG(e)&&a3(e);h&&this.injectableDefInScope(h)?u=Cu(ix(e),Th):u=null,this.records.set(e,u)}if(u!=null)return this.hydrate(e,u,r)}let l=r&2?Mu():this.parent;return t=r&8&&t===k1?null:t,l.get(e,t)}catch(l){let u=rG(l);throw u===-200||u===-201?new He(u,null):l}finally{Ro(s),nl(a)}}resolveInjectorInitializers(){let e=vn(null),t=nl(this),n=Ro(void 0),r;try{let o=this.get(fc,Mo,{self:!0});for(let a of o)a()}finally{nl(t),Ro(n),vn(e)}}toString(){let e=[],t=this.records;for(let n of t.keys())e.push(uc(n));return`R3Injector[${e.join(", ")}]`}processProvider(e){e=co(e);let t=A1(e)?e:co(e&&e.provide),n=hG(e);if(!A1(e)&&e.multi===!0){let r=this.records.get(t);r||(r=Cu(void 0,Th,!0),r.factory=()=>nx(r.multi),this.records.set(t,r)),t=e,r.multi.push(e)}this.records.set(t,n)}hydrate(e,t,n){let r=vn(null);try{if(t.value===NE)throw _x(uc(e));return t.value===Th&&(t.value=NE,t.value=t.factory(void 0,n)),typeof t.value=="object"&&t.value&&_G(t.value)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{vn(r)}}injectableDefInScope(e){if(!e.providedIn)return!1;let t=co(e.providedIn);return typeof t=="string"?t==="any"||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){let t=this._onDestroyHooks.indexOf(e);t!==-1&&this._onDestroyHooks.splice(t,1)}};function ix(i){let e=a3(i),t=e!==null?e.factory:vd(i);if(t!==null)return t;if(i instanceof Ee)throw new He(204,!1);if(i instanceof Function)return mG(i);throw new He(204,!1)}function mG(i){if(i.length>0)throw new He(204,!1);let t=tG(i);return t!==null?()=>t.factory(i):()=>new i}function hG(i){if($E(i))return Cu(void 0,i.useValue);{let e=Px(i);return Cu(e,Th)}}function Px(i,e,t){let n;if(A1(i)){let r=co(i);return vd(r)||ix(r)}else if($E(i))n=()=>co(i.useValue);else if(fG(i))n=()=>i.useFactory(...nx(i.deps||[]));else if(pG(i))n=(r,o)=>Le(co(i.useExisting),o!==void 0&&o&8?8:void 0);else{let r=co(i&&(i.useClass||i.provide));if(gG(i))n=()=>new r(...nx(i.deps));else return vd(r)||ix(r)}return n}function t3(i){if(i.destroyed)throw new He(205,!1)}function Cu(i,e,t=!1){return{factory:i,value:e,multi:t?[]:void 0}}function gG(i){return!!i.deps}function _G(i){return i!==null&&typeof i=="object"&&typeof i.ngOnDestroy=="function"}function vG(i){return typeof i=="function"||typeof i=="object"&&i.ngMetadataName==="InjectionToken"}function rx(i,e){for(let t of i)Array.isArray(t)?rx(t,e):t&&ux(t)?rx(t.\u0275providers,e):e(t)}function Lr(i,e){let t;i instanceof V1?(t3(i),t=i):t=new tx(i);let n,r=nl(t),o=Ro(void 0);try{return e()}finally{nl(r),Ro(o)}}function YE(){return zE()!==void 0||$m()!=null}var za=0,cn=1,yn=2,zr=3,La=4,zo=5,R1=6,wu=7,Mr=8,z1=9,dl=10,Ci=11,Su=12,Ex=13,L1=14,Lo=15,Cd=16,H1=17,ul=18,d3=19,Dx=20,dc=21,Bh=22,mc=23,ga=24,B1=25,Ni=26,Ox=1,Tx=6,yd=7,u3=8,j1=9,io=10;function pl(i){return Array.isArray(i)&&typeof i[Ox]=="object"}function ws(i){return Array.isArray(i)&&i[Ox]===!0}function Ix(i){return(i.flags&4)!==0}function Md(i){return i.componentOffset>-1}function Pu(i){return(i.flags&1)===1}function Ss(i){return!!i.template}function Eu(i){return(i[yn]&512)!==0}function q1(i){return(i[yn]&256)===256}var QE="svg",KE="math";function Ha(i){for(;Array.isArray(i);)i=i[za];return i}function kx(i){for(;Array.isArray(i);){if(typeof i[Ox]=="object")return i;i=i[za]}return null}function Nx(i,e){return Ha(e[i])}function Ps(i,e){return Ha(e[i.index])}function p3(i,e){return i.data[e]}function f3(i,e){return i[e]}function Ax(i,e,t,n){t>=i.data.length&&(i.data[t]=null,i.blueprint[t]=null),e[t]=n}function Ba(i,e){let t=e[i];return pl(t)?t:t[za]}function XE(i){return(i[yn]&4)===4}function jh(i){return(i[yn]&128)===128}function ZE(i){return ws(i[zr])}function _a(i,e){return e==null?null:i[e]}function Vx(i){i[H1]=0}function Fx(i){i[yn]&1024||(i[yn]|=1024,jh(i)&&wd(i))}function JE(i,e){for(;i>0;)e=e[L1],i--;return e}function m3(i){return!!(i[yn]&9216||i[ga]?.dirty)}function qh(i){i[dl].changeDetectionScheduler?.notify(8),i[yn]&64&&(i[yn]|=1024),m3(i)&&wd(i)}function wd(i){i[dl].changeDetectionScheduler?.notify(0);let e=xd(i);for(;e!==null&&!(e[yn]&8192||(e[yn]|=8192,!jh(e)));)e=xd(e)}function Rx(i,e){if(q1(i))throw new He(911,!1);i[dc]===null&&(i[dc]=[]),i[dc].push(e)}function eD(i,e){if(i[dc]===null)return;let t=i[dc].indexOf(e);t!==-1&&i[dc].splice(t,1)}function xd(i){let e=i[zr];return ws(e)?e[zr]:e}function zx(i){return i[wu]??=[]}function Lx(i){return i.cleanup??=[]}function tD(i,e,t,n){let r=zx(e);r.push(t),i.firstCreatePass&&Lx(i).push(n,r.length-1)}var Fn={lFrame:pD(null),bindingsEnabled:!0,skipHydrationRootTNode:null},h3=function(i){return i[i.Off=0]="Off",i[i.Exhaustive=1]="Exhaustive",i[i.OnlyDirtyViews=2]="OnlyDirtyViews",i}(h3||{}),xG=0,ox=!1;function nD(){return Fn.lFrame.elementDepthCount}function iD(){Fn.lFrame.elementDepthCount++}function Hx(){Fn.lFrame.elementDepthCount--}function Uh(){return Fn.bindingsEnabled}function Bx(){return Fn.skipHydrationRootTNode!==null}function jx(i){return Fn.skipHydrationRootTNode===i}function qx(){Fn.skipHydrationRootTNode=null}function Qt(){return Fn.lFrame.lView}function Pi(){return Fn.lFrame.tView}function O(i){return Fn.lFrame.contextLView=i,i[Mr]}function T(i){return Fn.lFrame.contextLView=null,i}function mr(){let i=Ux();for(;i!==null&&i.type===64;)i=i.parent;return i}function Ux(){return Fn.lFrame.currentTNode}function rD(){let i=Fn.lFrame,e=i.currentTNode;return i.isParent?e:e.parent}function Du(i,e){let t=Fn.lFrame;t.currentTNode=i,t.isParent=e}function Gx(){return Fn.lFrame.isParent}function $x(){Fn.lFrame.isParent=!1}function oD(){return Fn.lFrame.contextLView}function Wx(i){cx("Must never be called in production mode"),xG=i}function Yx(){return ox}function Ou(i){let e=ox;return ox=i,e}function Sd(){let i=Fn.lFrame,e=i.bindingRootIndex;return e===-1&&(e=i.bindingRootIndex=i.tView.bindingStartIndex),e}function aD(){return Fn.lFrame.bindingIndex}function sD(i){return Fn.lFrame.bindingIndex=i}function fl(){return Fn.lFrame.bindingIndex++}function Gh(i){let e=Fn.lFrame,t=e.bindingIndex;return e.bindingIndex=e.bindingIndex+i,t}function lD(){return Fn.lFrame.inI18n}function cD(i,e){let t=Fn.lFrame;t.bindingIndex=t.bindingRootIndex=i,$h(e)}function dD(){return Fn.lFrame.currentDirectiveIndex}function $h(i){Fn.lFrame.currentDirectiveIndex=i}function Wh(i){let e=Fn.lFrame.currentDirectiveIndex;return e===-1?null:i[e]}function Yh(){return Fn.lFrame.currentQueryIndex}function g3(i){Fn.lFrame.currentQueryIndex=i}function bG(i){let e=i[cn];return e.type===2?e.declTNode:e.type===1?i[zo]:null}function Qx(i,e,t){if(t&4){let r=e,o=i;for(;r=r.parent,r===null&&!(t&1);)if(r=bG(o),r===null||(o=o[L1],r.type&10))break;if(r===null)return!1;e=r,i=o}let n=Fn.lFrame=uD();return n.currentTNode=e,n.lView=i,!0}function Qh(i){let e=uD(),t=i[cn];Fn.lFrame=e,e.currentTNode=t.firstChild,e.lView=i,e.tView=t,e.contextLView=i,e.bindingIndex=t.bindingStartIndex,e.inI18n=!1}function uD(){let i=Fn.lFrame,e=i===null?null:i.child;return e===null?pD(i):e}function pD(i){let e={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:i,child:null,inI18n:!1};return i!==null&&(i.child=e),e}function fD(){let i=Fn.lFrame;return Fn.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}var Kx=fD;function Kh(){let i=fD();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function mD(i){return(Fn.lFrame.contextLView=JE(i,Fn.lFrame.contextLView))[Mr]}function ml(){return Fn.lFrame.selectedIndex}function Pd(i){Fn.lFrame.selectedIndex=i}function Tu(){let i=Fn.lFrame;return p3(i.tView,i.selectedIndex)}function hD(){return Fn.lFrame.currentNamespace}var gD=!0;function Xh(){return gD}function _3(i){gD=i}function ax(i,e=null,t=null,n){let r=Xx(i,e,t,n);return r.resolveInjectorInitializers(),r}function Xx(i,e=null,t=null,n,r=new Set){let o=[t||Mo,UE(i)];return n=n||(typeof i=="object"?void 0:uc(i)),new V1(o,e||Mu(),n||null,r)}var Nt=class i{static THROW_IF_NOT_FOUND=k1;static NULL=new r3;static create(e,t){if(Array.isArray(e))return ax({name:""},t,e,"");{let n=e.name??"";return ax({name:n},e.parent,e.providers,n)}}static \u0275prov=W({token:i,providedIn:"any",factory:()=>Le(bx)});static __NG_ELEMENT_ID__=-1},Gt=new Ee(""),hr=(()=>{class i{static __NG_ELEMENT_ID__=CG;static __NG_ENV_ID__=t=>t}return i})(),o3=class extends hr{_lView;constructor(e){super(),this._lView=e}get destroyed(){return q1(this._lView)}onDestroy(e){let t=this._lView;return Rx(t,e),()=>eD(t,e)}};function CG(){return new o3(Qt())}var ha=class{_console=console;handleError(e){this._console.error("ERROR",e)}},va=new Ee("",{providedIn:"root",factory:()=>{let i=C(ki),e;return t=>{i.destroyed&&!e?setTimeout(()=>{throw t}):(e??=i.get(ha),e.handleError(t))}}}),_D={provide:fc,useValue:()=>void C(ha),multi:!0};function Iu(i){return typeof i=="function"&&i[Rr]!==void 0}function nn(i,e){let[t,n,r]=D7(i,e?.equal),o=t,a=o[Rr];return o.set=n,o.update=r,o.asReadonly=Zh.bind(o),o}function Zh(){let i=this[Rr];if(i.readonlyFn===void 0){let e=()=>this();e[Rr]=i,i.readonlyFn=e}return i.readonlyFn}function Zx(i){return Iu(i)&&typeof i.set=="function"}var ys=class{},v3=new Ee("",{providedIn:"root",factory:()=>!1});var Jx=new Ee(""),eb=new Ee("");var ku=(()=>{class i{view;node;constructor(t,n){this.view=t,this.node=n}static __NG_ELEMENT_ID__=yG}return i})();function yG(){return new ku(Qt(),mr())}var hl=(()=>{class i{taskId=0;pendingTasks=new Set;destroyed=!1;pendingTask=new mi(!1);get hasPendingTasks(){return this.destroyed?!1:this.pendingTask.value}get hasPendingTasksObservable(){return this.destroyed?new hn(t=>{t.next(!1),t.complete()}):this.pendingTask}add(){!this.hasPendingTasks&&!this.destroyed&&this.pendingTask.next(!0);let t=this.taskId++;return this.pendingTasks.add(t),t}has(t){return this.pendingTasks.has(t)}remove(t){this.pendingTasks.delete(t),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=W({token:i,providedIn:"root",factory:()=>new i})}return i})(),Nu=(()=>{class i{internalPendingTasks=C(hl);scheduler=C(ys);errorHandler=C(va);add(){let t=this.internalPendingTasks.add();return()=>{this.internalPendingTasks.has(t)&&(this.scheduler.notify(11),this.internalPendingTasks.remove(t))}}run(t){let n=this.add();t().catch(this.errorHandler).finally(n)}static \u0275prov=W({token:i,providedIn:"root",factory:()=>new i})}return i})();function U1(...i){}var x3=(()=>{class i{static \u0275prov=W({token:i,providedIn:"root",factory:()=>new sx})}return i})(),sx=class{dirtyEffectCount=0;queues=new Map;add(e){this.enqueue(e),this.schedule(e)}schedule(e){e.dirty&&this.dirtyEffectCount++}remove(e){let t=e.zone,n=this.queues.get(t);n.has(e)&&(n.delete(e),e.dirty&&this.dirtyEffectCount--)}enqueue(e){let t=e.zone;this.queues.has(t)||this.queues.set(t,new Set);let n=this.queues.get(t);n.has(e)||n.add(e)}flush(){for(;this.dirtyEffectCount>0;){let e=!1;for(let[t,n]of this.queues)t===null?e||=this.flushQueue(n):e||=t.run(()=>this.flushQueue(n));e||(this.dirtyEffectCount=0)}}flushQueue(e){let t=!1;for(let n of e)n.dirty&&(this.dirtyEffectCount--,t=!0,n.run());return t}};function ju(i){return{toString:i}.toString()}var Jh="__parameters__";function OG(i){return function(...t){if(i){let n=i(...t);for(let r in n)this[r]=n[r]}}}function Qb(i,e,t){return ju(()=>{let n=OG(e);function r(...o){if(this instanceof r)return n.apply(this,o),this;let a=new r(...o);return s.annotation=a,s;function s(l,u,h){let _=l.hasOwnProperty(Jh)?l[Jh]:Object.defineProperty(l,Jh,{value:[]})[Jh];for(;_.length<=h;)_.push(null);return(_[h]=_[h]||[]).push(a),l}}return r.prototype.ngMetadataName=i,r.annotationCls=r,r})}var D3=zh(Qb("Inject",i=>({token:i})),-1),ja=zh(Qb("Optional"),8);var Q1=zh(Qb("SkipSelf"),4);function TG(i){return typeof i=="function"}var c4=class{previousValue;currentValue;firstChange;constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}};function JD(i,e,t,n){e!==null?e.applyValueToInputSignal(e,n):i[t]=n}var on=(()=>{let i=()=>eO;return i.ngInherit=!0,i})();function eO(i){return i.type.prototype.ngOnChanges&&(i.setInput=kG),IG}function IG(){let i=nO(this),e=i?.current;if(e){let t=i.previous;if(t===bd)i.previous=e;else for(let n in e)t[n]=e[n];i.current=null,this.ngOnChanges(e)}}function kG(i,e,t,n,r){let o=this.declaredInputs[n],a=nO(i)||NG(i,{previous:bd,current:null}),s=a.current||(a.current={}),l=a.previous,u=l[o];s[o]=new c4(u&&u.currentValue,t,l===bd),JD(i,e,r,t)}var tO="__ngSimpleChanges__";function nO(i){return i[tO]||null}function NG(i,e){return i[tO]=e}var vD=[];var yi=function(i,e=null,t){for(let n=0;n<vD.length;n++){let r=vD[n];r(i,e,t)}};function AG(i,e,t){let{ngOnChanges:n,ngOnInit:r,ngDoCheck:o}=e.type.prototype;if(n){let a=eO(e);(t.preOrderHooks??=[]).push(i,a),(t.preOrderCheckHooks??=[]).push(i,a)}r&&(t.preOrderHooks??=[]).push(0-i,r),o&&((t.preOrderHooks??=[]).push(i,o),(t.preOrderCheckHooks??=[]).push(i,o))}function iO(i,e){for(let t=e.directiveStart,n=e.directiveEnd;t<n;t++){let o=i.data[t].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:s,ngAfterViewInit:l,ngAfterViewChecked:u,ngOnDestroy:h}=o;a&&(i.contentHooks??=[]).push(-t,a),s&&((i.contentHooks??=[]).push(t,s),(i.contentCheckHooks??=[]).push(t,s)),l&&(i.viewHooks??=[]).push(-t,l),u&&((i.viewHooks??=[]).push(t,u),(i.viewCheckHooks??=[]).push(t,u)),h!=null&&(i.destroyHooks??=[]).push(t,h)}}function r4(i,e,t){rO(i,e,3,t)}function o4(i,e,t,n){(i[yn]&3)===t&&rO(i,e,t,n)}function tb(i,e){let t=i[yn];(t&3)===e&&(t&=16383,t+=1,i[yn]=t)}function rO(i,e,t,n){let r=n!==void 0?i[H1]&65535:0,o=n??-1,a=e.length-1,s=0;for(let l=r;l<a;l++)if(typeof e[l+1]=="number"){if(s=e[l],n!=null&&s>=n)break}else e[l]<0&&(i[H1]+=65536),(s<o||o==-1)&&(VG(i,t,e,l),i[H1]=(i[H1]&4294901760)+l+2),l++}function xD(i,e){yi(4,i,e);let t=vn(null);try{e.call(i)}finally{vn(t),yi(5,i,e)}}function VG(i,e,t,n){let r=t[n]<0,o=t[n+1],a=r?-t[n]:t[n],s=i[a];r?i[yn]>>14<i[H1]>>16&&(i[yn]&3)===e&&(i[yn]+=16384,xD(s,o)):xD(s,o)}var Vu=-1,W1=class{factory;name;injectImpl;resolving=!1;canSeeViewProviders;multi;componentProviders;index;providerFactory;constructor(e,t,n,r){this.factory=e,this.name=r,this.canSeeViewProviders=t,this.injectImpl=n}};function FG(i){return(i.flags&8)!==0}function RG(i){return(i.flags&16)!==0}function zG(i,e,t){let n=0;for(;n<t.length;){let r=t[n];if(typeof r=="number"){if(r!==0)break;n++;let o=t[n++],a=t[n++],s=t[n++];i.setAttribute(e,a,s,o)}else{let o=r,a=t[++n];LG(o)?i.setProperty(e,o,a):i.setAttribute(e,o,a),n++}}return n}function oO(i){return i===3||i===4||i===6}function LG(i){return i.charCodeAt(0)===64}function Fu(i,e){if(!(e===null||e.length===0))if(i===null||i.length===0)i=e.slice();else{let t=-1;for(let n=0;n<e.length;n++){let r=e[n];typeof r=="number"?t=r:t===0||(t===-1||t===2?bD(i,t,r,null,e[++n]):bD(i,t,r,null,null))}}return i}function bD(i,e,t,n,r){let o=0,a=i.length;if(e===-1)a=-1;else for(;o<i.length;){let s=i[o++];if(typeof s=="number"){if(s===e){a=-1;break}else if(s>e){a=o-1;break}}}for(;o<i.length;){let s=i[o];if(typeof s=="number")break;if(s===t){r!==null&&(i[o+1]=r);return}o++,r!==null&&o++}a!==-1&&(i.splice(a,0,e),o=a+1),i.splice(o++,0,t),r!==null&&i.splice(o++,0,r)}function aO(i){return i!==Vu}function d4(i){return i&32767}function HG(i){return i>>16}function u4(i,e){let t=HG(i),n=e;for(;t>0;)n=n[L1],t--;return n}var ub=!0;function p4(i){let e=ub;return ub=i,e}var BG=256,sO=BG-1,lO=5,jG=0,gl={};function qG(i,e,t){let n;typeof t=="string"?n=t.charCodeAt(0)||0:t.hasOwnProperty(F1)&&(n=t[F1]),n==null&&(n=t[F1]=jG++);let r=n&sO,o=1<<r;e.data[i+(r>>lO)]|=o}function f4(i,e){let t=cO(i,e);if(t!==-1)return t;let n=e[cn];n.firstCreatePass&&(i.injectorIndex=e.length,nb(n.data,i),nb(e,null),nb(n.blueprint,null));let r=Kb(i,e),o=i.injectorIndex;if(aO(r)){let a=d4(r),s=u4(r,e),l=s[cn].data;for(let u=0;u<8;u++)e[o+u]=s[a+u]|l[a+u]}return e[o+8]=r,o}function nb(i,e){i.push(0,0,0,0,0,0,0,0,e)}function cO(i,e){return i.injectorIndex===-1||i.parent&&i.parent.injectorIndex===i.injectorIndex||e[i.injectorIndex+8]===null?-1:i.injectorIndex}function Kb(i,e){if(i.parent&&i.parent.injectorIndex!==-1)return i.parent.injectorIndex;let t=0,n=null,r=e;for(;r!==null;){if(n=mO(r),n===null)return Vu;if(t++,r=r[L1],n.injectorIndex!==-1)return n.injectorIndex|t<<16}return Vu}function pb(i,e,t){qG(i,e,t)}function UG(i,e){if(e==="class")return i.classes;if(e==="style")return i.styles;let t=i.attrs;if(t){let n=t.length,r=0;for(;r<n;){let o=t[r];if(oO(o))break;if(o===0)r=r+2;else if(typeof o=="number")for(r++;r<n&&typeof t[r]=="string";)r++;else{if(o===e)return t[r+1];r=r+2}}}return null}function dO(i,e,t){if(t&8||i!==void 0)return i;Rh(e,"NodeInjector")}function uO(i,e,t,n){if(t&8&&n===void 0&&(n=null),(t&3)===0){let r=i[z1],o=Ro(void 0);try{return r?r.get(e,n,t&8):vx(e,n,t&8)}finally{Ro(o)}}return dO(n,e,t)}function pO(i,e,t,n=0,r){if(i!==null){if(e[yn]&2048&&!(n&2)){let a=YG(i,e,t,n,gl);if(a!==gl)return a}let o=fO(i,e,t,n,gl);if(o!==gl)return o}return uO(e,t,n,r)}function fO(i,e,t,n,r){let o=$G(t);if(typeof o=="function"){if(!Qx(e,i,n))return n&1?dO(r,t,n):uO(e,t,n,r);try{let a;if(a=o(n),a==null&&!(n&8))Rh(t);else return a}finally{Kx()}}else if(typeof o=="number"){let a=null,s=cO(i,e),l=Vu,u=n&1?e[Lo][zo]:null;for((s===-1||n&4)&&(l=s===-1?Kb(i,e):e[s+8],l===Vu||!yD(n,!1)?s=-1:(a=e[cn],s=d4(l),e=u4(l,e)));s!==-1;){let h=e[cn];if(CD(o,s,h.data)){let _=GG(s,e,t,a,n,u);if(_!==gl)return _}l=e[s+8],l!==Vu&&yD(n,e[cn].data[s+8]===u)&&CD(o,s,e)?(a=h,s=d4(l),e=u4(l,e)):s=-1}}return r}function GG(i,e,t,n,r,o){let a=e[cn],s=a.data[i+8],l=n==null?Md(s)&&ub:n!=a&&(s.type&3)!==0,u=r&1&&o===s,h=a4(s,a,t,l,u);return h!==null?M3(e,a,h,s,r):gl}function a4(i,e,t,n,r){let o=i.providerIndexes,a=e.data,s=o&1048575,l=i.directiveStart,u=i.directiveEnd,h=o>>20,_=n?s:s+h,y=r?s+h:u;for(let b=_;b<y;b++){let x=a[b];if(b<l&&t===x||b>=l&&x.type===t)return b}if(r){let b=a[l];if(b&&Ss(b)&&b.type===t)return l}return null}function M3(i,e,t,n,r){let o=i[t],a=e.data;if(o instanceof W1){let s=o;if(s.resolving){let b=kh(a[t]);throw _x(b)}let l=p4(s.canSeeViewProviders);s.resolving=!0;let u=a[t].type||a[t],h,_=s.injectImpl?Ro(s.injectImpl):null,y=Qx(i,n,0);try{o=i[t]=s.factory(void 0,r,a,i,n),e.firstCreatePass&&t>=n.directiveStart&&AG(t,a[t],e)}finally{_!==null&&Ro(_),p4(l),s.resolving=!1,Kx()}}return o}function $G(i){if(typeof i=="string")return i.charCodeAt(0)||0;let e=i.hasOwnProperty(F1)?i[F1]:void 0;return typeof e=="number"?e>=0?e&sO:WG:e}function CD(i,e,t){let n=1<<i;return!!(t[e+(i>>lO)]&n)}function yD(i,e){return!(i&2)&&!(i&1&&e)}var $1=class{_tNode;_lView;constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return pO(this._tNode,this._lView,e,N1(n),t)}};function WG(){return new $1(mr(),Qt())}function De(i){return ju(()=>{let e=i.prototype.constructor,t=e[i3]||fb(e),n=Object.prototype,r=Object.getPrototypeOf(i.prototype).constructor;for(;r&&r!==n;){let o=r[i3]||fb(r);if(o&&o!==t)return o;r=Object.getPrototypeOf(r)}return o=>new o})}function fb(i){return lx(i)?()=>{let e=fb(co(i));return e&&e()}:vd(i)}function YG(i,e,t,n,r){let o=i,a=e;for(;o!==null&&a!==null&&a[yn]&2048&&!Eu(a);){let s=fO(o,a,t,n|2,gl);if(s!==gl)return s;let l=o.parent;if(!l){let u=a[Dx];if(u){let h=u.get(t,gl,n);if(h!==gl)return h}l=mO(a),a=a[L1]}o=l}return r}function mO(i){let e=i[cn],t=e.type;return t===2?e.declTNode:t===1?i[zo]:null}function O3(i){return UG(mr(),i)}function QG(){return qu(mr(),Qt())}function qu(i,e){return new We(Ps(i,e))}var We=(()=>{class i{nativeElement;constructor(t){this.nativeElement=t}static __NG_ELEMENT_ID__=QG}return i})();function hO(i){return i instanceof We?i.nativeElement:i}function KG(){return this._results[Symbol.iterator]()}var Ho=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 he}constructor(e=!1){this._emitDistinctChangesOnly=e}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;let n=HE(e);(this._changesDetected=!LE(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){this._changes!==void 0&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.next(this)}onDirty(e){this._onDirty=e}setDirty(){this.dirty=!0,this._onDirty?.()}destroy(){this._changes!==void 0&&(this._changes.complete(),this._changes.unsubscribe())}[Symbol.iterator]=KG};function gO(i){return(i.flags&128)===128}var Xb=function(i){return i[i.OnPush=0]="OnPush",i[i.Default=1]="Default",i}(Xb||{}),_O=new Map,XG=0;function ZG(){return XG++}function JG(i){_O.set(i[d3],i)}function mb(i){_O.delete(i[d3])}var MD="__ngContext__";function Ru(i,e){pl(e)?(i[MD]=e[d3],JG(e)):i[MD]=e}function vO(i){return bO(i[Su])}function xO(i){return bO(i[La])}function bO(i){for(;i!==null&&!ws(i);)i=i[La];return i}var hb;function Zb(i){hb=i}function Jb(){if(hb!==void 0)return hb;if(typeof document<"u")return document;throw new He(210,!1)}var Od=new Ee("",{providedIn:"root",factory:()=>e$}),e$="ng",T4=new Ee(""),Td=new Ee("",{providedIn:"platform",factory:()=>"unknown"});var Uu=new Ee(""),Gu=new Ee("",{providedIn:"root",factory:()=>Jb().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});var t$="h",n$="b";var CO="r";var yO="di";var MO=!1,wO=new Ee("",{providedIn:"root",factory:()=>MO});var i$=(i,e,t,n)=>{};function r$(i,e,t,n){i$(i,e,t,n)}function I4(i){return(i.flags&32)===32}var o$=()=>null;function SO(i,e,t=!1){return o$(i,e,t)}function PO(i,e){let t=i.contentQueries;if(t!==null){let n=vn(null);try{for(let r=0;r<t.length;r+=2){let o=t[r],a=t[r+1];if(a!==-1){let s=i.data[a];g3(o),s.contentQueries(2,e[a],a)}}}finally{vn(n)}}}function gb(i,e,t){g3(0);let n=vn(null);try{e(i,t)}finally{vn(n)}}function e9(i,e,t){if(Ix(e)){let n=vn(null);try{let r=e.directiveStart,o=e.directiveEnd;for(let a=r;a<o;a++){let s=i.data[a];if(s.contentQueries){let l=t[a];s.contentQueries(1,l,a)}}}finally{vn(n)}}}var hc=function(i){return i[i.Emulated=0]="Emulated",i[i.None=2]="None",i[i.ShadowDom=3]="ShadowDom",i}(hc||{}),e4;function a$(){if(e4===void 0&&(e4=null,Ra.trustedTypes))try{e4=Ra.trustedTypes.createPolicy("angular",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return e4}function k4(i){return a$()?.createHTML(i)||i}var t4;function s$(){if(t4===void 0&&(t4=null,Ra.trustedTypes))try{t4=Ra.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return t4}function wD(i){return s$()?.createHTML(i)||i}var gc=class{changingThisBreaksApplicationSecurity;constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Ah})`}},_b=class extends gc{getTypeName(){return"HTML"}},vb=class extends gc{getTypeName(){return"Style"}},xb=class extends gc{getTypeName(){return"Script"}},bb=class extends gc{getTypeName(){return"URL"}},Cb=class extends gc{getTypeName(){return"ResourceURL"}};function xa(i){return i instanceof gc?i.changingThisBreaksApplicationSecurity:i}function _c(i,e){let t=EO(i);if(t!=null&&t!==e){if(t==="ResourceURL"&&e==="URL")return!0;throw new Error(`Required a safe ${e}, got a ${t} (see ${Ah})`)}return t===e}function EO(i){return i instanceof gc&&i.getTypeName()||null}function t9(i){return new _b(i)}function n9(i){return new vb(i)}function i9(i){return new xb(i)}function r9(i){return new bb(i)}function o9(i){return new Cb(i)}function l$(i){let e=new Mb(i);return c$()?new yb(e):e}var yb=class{inertDocumentHelper;constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{let t=new window.DOMParser().parseFromString(k4(e),"text/html").body;return t===null?this.inertDocumentHelper.getInertBodyElement(e):(t.firstChild?.remove(),t)}catch{return null}}},Mb=class{defaultDoc;inertDocument;constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){let t=this.inertDocument.createElement("template");return t.innerHTML=k4(e),t}};function c$(){try{return!!new window.DOMParser().parseFromString(k4(""),"text/html")}catch{return!1}}var d$=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function T3(i){return i=String(i),i.match(d$)?i:"unsafe:"+i}function vc(i){let e={};for(let t of i.split(","))e[t]=!0;return e}function I3(...i){let e={};for(let t of i)for(let n in t)t.hasOwnProperty(n)&&(e[n]=!0);return e}var DO=vc("area,br,col,hr,img,wbr"),OO=vc("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),TO=vc("rp,rt"),u$=I3(TO,OO),p$=I3(OO,vc("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")),f$=I3(TO,vc("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")),SD=I3(DO,p$,f$,u$),IO=vc("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),m$=vc("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"),h$=vc("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"),g$=I3(IO,m$,h$),_$=vc("script,style,template"),wb=class{sanitizedSomething=!1;buf=[];sanitizeChildren(e){let t=e.firstChild,n=!0,r=[];for(;t;){if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild){r.push(t),t=b$(t);continue}for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let o=x$(t);if(o){t=o;break}t=r.pop()}}return this.buf.join("")}startElement(e){let t=PD(e).toLowerCase();if(!SD.hasOwnProperty(t))return this.sanitizedSomething=!0,!_$.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);let n=e.attributes;for(let r=0;r<n.length;r++){let o=n.item(r),a=o.name,s=a.toLowerCase();if(!g$.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let l=o.value;IO[s]&&(l=T3(l)),this.buf.push(" ",a,'="',ED(l),'"')}return this.buf.push(">"),!0}endElement(e){let t=PD(e).toLowerCase();SD.hasOwnProperty(t)&&!DO.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(ED(e))}};function v$(i,e){return(i.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)!==Node.DOCUMENT_POSITION_CONTAINED_BY}function x$(i){let e=i.nextSibling;if(e&&i!==e.previousSibling)throw kO(e);return e}function b$(i){let e=i.firstChild;if(e&&v$(i,e))throw kO(e);return e}function PD(i){let e=i.nodeName;return typeof e=="string"?e:"FORM"}function kO(i){return new Error(`Failed to sanitize html because the element is clobbered: ${i.outerHTML}`)}var C$=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,y$=/([^\#-~ |!])/g;function ED(i){return i.replace(/&/g,"&amp;").replace(C$,function(e){let t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+((t-55296)*1024+(n-56320)+65536)+";"}).replace(y$,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}var n4;function N4(i,e){let t=null;try{n4=n4||l$(i);let n=e?String(e):"";t=n4.getInertBodyElement(n);let r=5,o=n;do{if(r===0)throw new Error("Failed to sanitize html because the input is unstable");r--,n=o,o=t.innerHTML,t=n4.getInertBodyElement(n)}while(n!==o);let s=new wb().sanitizeChildren(DD(t)||t);return k4(s)}finally{if(t){let n=DD(t)||t;for(;n.firstChild;)n.firstChild.remove()}}}function DD(i){return"content"in i&&M$(i)?i.content:null}function M$(i){return i.nodeType===Node.ELEMENT_NODE&&i.nodeName==="TEMPLATE"}var So=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(So||{});function Jo(i){let e=NO();return e?wD(e.sanitize(So.HTML,i)||""):_c(i,"HTML")?wD(xa(i)):N4(Jb(),pc(i))}function An(i){let e=NO();return e?e.sanitize(So.URL,i)||"":_c(i,"URL")?xa(i):T3(pc(i))}function NO(){let i=Qt();return i&&i[dl].sanitizer}var w$=/^>|^->|<!--|-->|--!>|<!-$/g,S$=/(<|>)/g,P$="\u200B$1\u200B";function E$(i){return i.replace(w$,e=>e.replace(S$,P$))}function xc(i){return i.ownerDocument.defaultView}function a9(i){return i.ownerDocument.body}function AO(i){return i instanceof Function?i():i}function D$(i,e,t){let n=i.length;for(;;){let r=i.indexOf(e,t);if(r===-1)return r;if(r===0||i.charCodeAt(r-1)<=32){let o=e.length;if(r+o===n||i.charCodeAt(r+o)<=32)return r}t=r+1}}var VO="ng-template";function O$(i,e,t,n){let r=0;if(n){for(;r<e.length&&typeof e[r]=="string";r+=2)if(e[r]==="class"&&D$(e[r+1].toLowerCase(),t,0)!==-1)return!0}else if(s9(i))return!1;if(r=e.indexOf(1,r),r>-1){let o;for(;++r<e.length&&typeof(o=e[r])=="string";)if(o.toLowerCase()===t)return!0}return!1}function s9(i){return i.type===4&&i.value!==VO}function T$(i,e,t){let n=i.type===4&&!t?VO:i.value;return e===n}function I$(i,e,t){let n=4,r=i.attrs,o=r!==null?A$(r):0,a=!1;for(let s=0;s<e.length;s++){let l=e[s];if(typeof l=="number"){if(!a&&!Es(n)&&!Es(l))return!1;if(a&&Es(l))continue;a=!1,n=l|n&1;continue}if(!a)if(n&4){if(n=2|n&1,l!==""&&!T$(i,l,t)||l===""&&e.length===1){if(Es(n))return!1;a=!0}}else if(n&8){if(r===null||!O$(i,r,l,t)){if(Es(n))return!1;a=!0}}else{let u=e[++s],h=k$(l,r,s9(i),t);if(h===-1){if(Es(n))return!1;a=!0;continue}if(u!==""){let _;if(h>o?_="":_=r[h+1].toLowerCase(),n&2&&u!==_){if(Es(n))return!1;a=!0}}}}return Es(n)||a}function Es(i){return(i&1)===0}function k$(i,e,t,n){if(e===null)return-1;let r=0;if(n||!t){let o=!1;for(;r<e.length;){let a=e[r];if(a===i)return r;if(a===3||a===6)o=!0;else if(a===1||a===2){let s=e[++r];for(;typeof s=="string";)s=e[++r];continue}else{if(a===4)break;if(a===0){r+=4;continue}}r+=o?1:2}return-1}else return V$(e,i)}function FO(i,e,t=!1){for(let n=0;n<e.length;n++)if(I$(i,e[n],t))return!0;return!1}function N$(i){let e=i.attrs;if(e!=null){let t=e.indexOf(5);if((t&1)===0)return e[t+1]}return null}function A$(i){for(let e=0;e<i.length;e++){let t=i[e];if(oO(t))return e}return i.length}function V$(i,e){let t=i.indexOf(4);if(t>-1)for(t++;t<i.length;){let n=i[t];if(typeof n=="number")return-1;if(n===e)return t;t++}return-1}function F$(i,e){e:for(let t=0;t<e.length;t++){let n=e[t];if(i.length===n.length){for(let r=0;r<i.length;r++)if(i[r]!==n[r])continue e;return!0}}return!1}function OD(i,e){return i?":not("+e.trim()+")":e}function R$(i){let e=i[0],t=1,n=2,r="",o=!1;for(;t<i.length;){let a=i[t];if(typeof a=="string")if(n&2){let s=i[++t];r+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else n&8?r+="."+a:n&4&&(r+=" "+a);else r!==""&&!Es(a)&&(e+=OD(o,r),r=""),n=a,o=o||!Es(n);t++}return r!==""&&(e+=OD(o,r)),e}function z$(i){return i.map(R$).join(",")}function L$(i){let e=[],t=[],n=1,r=2;for(;n<i.length;){let o=i[n];if(typeof o=="string")r===2?o!==""&&e.push(o,i[++n]):r===8&&t.push(o);else{if(!Es(r))break;r=o}n++}return t.length&&e.push(1,...t),e}var Po={};function H$(i,e){return i.createText(e)}function B$(i,e,t){i.setValue(e,t)}function j$(i,e){return i.createComment(E$(e))}function RO(i,e,t){return i.createElement(e,t)}function m4(i,e,t,n,r){i.insertBefore(e,t,n,r)}function zO(i,e,t){i.appendChild(e,t)}function TD(i,e,t,n,r){n!==null?m4(i,e,t,n,r):zO(i,e,t)}function LO(i,e,t){i.removeChild(null,e,t)}function q$(i,e,t){i.setAttribute(e,"style",t)}function U$(i,e,t){t===""?i.removeAttribute(e,"class"):i.setAttribute(e,"class",t)}function HO(i,e,t){let{mergedAttrs:n,classes:r,styles:o}=t;n!==null&&zG(i,e,n),r!==null&&U$(i,e,r),o!==null&&q$(i,e,o)}function l9(i,e,t,n,r,o,a,s,l,u,h){let _=Ni+n,y=_+r,b=G$(_,y),x=typeof u=="function"?u():u;return b[cn]={type:i,blueprint:b,template:t,queries:null,viewQuery:s,declTNode:e,data:b.slice().fill(null,_),bindingStartIndex:_,expandoStartIndex:y,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:x,incompleteFirstPass:!1,ssrId:h}}function G$(i,e){let t=[];for(let n=0;n<e;n++)t.push(n<i?null:Po);return t}function $$(i){let e=i.tView;return e===null||e.incompleteFirstPass?i.tView=l9(1,null,i.template,i.decls,i.vars,i.directiveDefs,i.pipeDefs,i.viewQuery,i.schemas,i.consts,i.id):e}function c9(i,e,t,n,r,o,a,s,l,u,h){let _=e.blueprint.slice();return _[za]=r,_[yn]=n|4|128|8|64|1024,(u!==null||i&&i[yn]&2048)&&(_[yn]|=2048),Vx(_),_[zr]=_[L1]=i,_[Mr]=t,_[dl]=a||i&&i[dl],_[Ci]=s||i&&i[Ci],_[z1]=l||i&&i[z1]||null,_[zo]=o,_[d3]=ZG(),_[R1]=h,_[Dx]=u,_[Lo]=e.type==2?i[Lo]:_,_}function W$(i,e,t){let n=Ps(e,i),r=$$(t),o=i[dl].rendererFactory,a=d9(i,c9(i,r,null,BO(t),n,e,null,o.createRenderer(n,t),null,null,null));return i[e.index]=a}function BO(i){let e=16;return i.signals?e=4096:i.onPush&&(e=64),e}function jO(i,e,t,n){if(t===0)return-1;let r=e.length;for(let o=0;o<t;o++)e.push(n),i.blueprint.push(n),i.data.push(null);return r}function d9(i,e){return i[Su]?i[Ex][La]=e:i[Su]=e,i[Ex]=e,e}function p(i=1){qO(Pi(),Qt(),ml()+i,!1)}function qO(i,e,t,n){if(!n)if((e[yn]&3)===3){let o=i.preOrderCheckHooks;o!==null&&r4(e,o,t)}else{let o=i.preOrderHooks;o!==null&&o4(e,o,0,t)}Pd(t)}var A4=function(i){return i[i.None=0]="None",i[i.SignalBased=1]="SignalBased",i[i.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",i}(A4||{});function Sb(i,e,t,n){let r=vn(null);try{let[o,a,s]=i.inputs[t],l=null;(a&A4.SignalBased)!==0&&(l=e[o][Rr]),l!==null&&l.transformFn!==void 0?n=l.transformFn(n):s!==null&&(n=s.call(e,n)),i.setInput!==null?i.setInput(e,l,n,t,o):JD(e,l,o,n)}finally{vn(r)}}var Ds=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(Ds||{}),Y$;function u9(i,e){return Y$(i,e)}function Au(i,e,t,n,r){if(n!=null){let o,a=!1;ws(n)?o=n:pl(n)&&(a=!0,n=n[za]);let s=Ha(n);i===0&&t!==null?r==null?zO(e,t,s):m4(e,t,s,r||null,!0):i===1&&t!==null?m4(e,t,s,r||null,!0):i===2?LO(e,s,a):i===3&&e.destroyNode(s),o!=null&&rW(e,i,o,t,r)}}function Q$(i,e){UO(i,e),e[za]=null,e[zo]=null}function K$(i,e,t,n,r,o){n[za]=r,n[zo]=e,F4(i,n,t,1,r,o)}function UO(i,e){e[dl].changeDetectionScheduler?.notify(9),F4(i,e,e[Ci],2,null,null)}function X$(i){let e=i[Su];if(!e)return ib(i[cn],i);for(;e;){let t=null;if(pl(e))t=e[Su];else{let n=e[io];n&&(t=n)}if(!t){for(;e&&!e[La]&&e!==i;)pl(e)&&ib(e[cn],e),e=e[zr];e===null&&(e=i),pl(e)&&ib(e[cn],e),t=e&&e[La]}e=t}}function p9(i,e){let t=i[j1],n=t.indexOf(e);t.splice(n,1)}function V4(i,e){if(q1(e))return;let t=e[Ci];t.destroyNode&&F4(i,e,t,3,null,null),X$(e)}function ib(i,e){if(q1(e))return;let t=vn(null);try{e[yn]&=-129,e[yn]|=256,e[ga]&&su(e[ga]),J$(i,e),Z$(i,e),e[cn].type===1&&e[Ci].destroy();let n=e[Cd];if(n!==null&&ws(e[zr])){n!==e[zr]&&p9(n,e);let r=e[ul];r!==null&&r.detachView(i)}mb(e)}finally{vn(t)}}function Z$(i,e){let t=i.cleanup,n=e[wu];if(t!==null)for(let a=0;a<t.length-1;a+=2)if(typeof t[a]=="string"){let s=t[a+3];s>=0?n[s]():n[-s].unsubscribe(),a+=2}else{let s=n[t[a+1]];t[a].call(s)}n!==null&&(e[wu]=null);let r=e[dc];if(r!==null){e[dc]=null;for(let a=0;a<r.length;a++){let s=r[a];s()}}let o=e[mc];if(o!==null){e[mc]=null;for(let a of o)a.destroy()}}function J$(i,e){let t;if(i!=null&&(t=i.destroyHooks)!=null)for(let n=0;n<t.length;n+=2){let r=e[t[n]];if(!(r instanceof W1)){let o=t[n+1];if(Array.isArray(o))for(let a=0;a<o.length;a+=2){let s=r[o[a]],l=o[a+1];yi(4,s,l);try{l.call(s)}finally{yi(5,s,l)}}else{yi(4,r,o);try{o.call(r)}finally{yi(5,r,o)}}}}}function GO(i,e,t){return eW(i,e.parent,t)}function eW(i,e,t){let n=e;for(;n!==null&&n.type&168;)e=n,n=e.parent;if(n===null)return t[za];if(Md(n)){let{encapsulation:r}=i.data[n.directiveStart+n.componentOffset];if(r===hc.None||r===hc.Emulated)return null}return Ps(n,t)}function $O(i,e,t){return nW(i,e,t)}function tW(i,e,t){return i.type&40?Ps(i,t):null}var nW=tW,ID;function f9(i,e,t,n){let r=GO(i,n,e),o=e[Ci],a=n.parent||e[zo],s=$O(a,n,e);if(r!=null)if(Array.isArray(t))for(let l=0;l<t.length;l++)TD(o,r,t[l],s,!1);else TD(o,r,t,s,!1);ID!==void 0&&ID(o,n,e,t,r)}function b3(i,e){if(e!==null){let t=e.type;if(t&3)return Ps(e,i);if(t&4)return Pb(-1,i[e.index]);if(t&8){let n=e.child;if(n!==null)return b3(i,n);{let r=i[e.index];return ws(r)?Pb(-1,r):Ha(r)}}else{if(t&128)return b3(i,e.next);if(t&32)return u9(e,i)()||Ha(i[e.index]);{let n=WO(i,e);if(n!==null){if(Array.isArray(n))return n[0];let r=xd(i[Lo]);return b3(r,n)}else return b3(i,e.next)}}}return null}function WO(i,e){if(e!==null){let n=i[Lo][zo],r=e.projection;return n.projection[r]}return null}function Pb(i,e){let t=io+i+1;if(t<e.length){let n=e[t],r=n[cn].firstChild;if(r!==null)return b3(n,r)}return e[yd]}function m9(i,e,t,n,r,o,a){for(;t!=null;){if(t.type===128){t=t.next;continue}let s=n[t.index],l=t.type;if(a&&e===0&&(s&&Ru(Ha(s),n),t.flags|=2),!I4(t))if(l&8)m9(i,e,t.child,n,r,o,!1),Au(e,i,r,s,o);else if(l&32){let u=u9(t,n),h;for(;h=u();)Au(e,i,r,h,o);Au(e,i,r,s,o)}else l&16?YO(i,e,n,t,r,o):Au(e,i,r,s,o);t=a?t.projectionNext:t.next}}function F4(i,e,t,n,r,o){m9(t,n,i.firstChild,e,r,o,!1)}function iW(i,e,t){let n=e[Ci],r=GO(i,t,e),o=t.parent||e[zo],a=$O(o,t,e);YO(n,0,e,t,r,a)}function YO(i,e,t,n,r,o){let a=t[Lo],l=a[zo].projection[n.projection];if(Array.isArray(l))for(let u=0;u<l.length;u++){let h=l[u];Au(e,i,r,h,o)}else{let u=l,h=a[zr];gO(n)&&(u.flags|=128),m9(i,e,u,h,r,o,!0)}}function rW(i,e,t,n,r){let o=t[yd],a=Ha(t);o!==a&&Au(e,i,n,o,r);for(let s=io;s<t.length;s++){let l=t[s];F4(l[cn],l,i,e,n,o)}}function oW(i,e,t,n,r){if(e)r?i.addClass(t,n):i.removeClass(t,n);else{let o=n.indexOf("-")===-1?void 0:Ds.DashCase;r==null?i.removeStyle(t,n,o):(typeof r=="string"&&r.endsWith("!important")&&(r=r.slice(0,-10),o|=Ds.Important),i.setStyle(t,n,r,o))}}function QO(i,e,t,n,r){let o=ml(),a=n&2;try{Pd(-1),a&&e.length>Ni&&qO(i,e,Ni,!1),yi(a?2:0,r,t),t(n,r)}finally{Pd(o),yi(a?3:1,r,t)}}function R4(i,e,t){uW(i,e,t),(t.flags&64)===64&&pW(i,e,t)}function $u(i,e,t=Ps){let n=e.localNames;if(n!==null){let r=e.index+1;for(let o=0;o<n.length;o+=2){let a=n[o+1],s=a===-1?t(e,i):i[a];i[r++]=s}}}function aW(i,e,t,n){let o=n.get(wO,MO)||t===hc.ShadowDom,a=i.selectRootElement(e,o);return sW(a),a}function sW(i){lW(i)}var lW=()=>null;function cW(i){return i==="class"?"className":i==="for"?"htmlFor":i==="formaction"?"formAction":i==="innerHtml"?"innerHTML":i==="readonly"?"readOnly":i==="tabindex"?"tabIndex":i}function KO(i,e,t,n,r,o){let a=e[cn];if(_9(i,a,e,t,n)){Md(i)&&dW(e,i.index);return}i.type&3&&(t=cW(t)),h9(i,e,t,n,r,o)}function h9(i,e,t,n,r,o){if(i.type&3){let a=Ps(i,e);n=o!=null?o(n,i.value||"",t):n,r.setProperty(a,t,n)}else i.type&12}function dW(i,e){let t=Ba(e,i);t[yn]&16||(t[yn]|=64)}function uW(i,e,t){let n=t.directiveStart,r=t.directiveEnd;Md(t)&&W$(e,t,i.data[n+t.componentOffset]),i.firstCreatePass||f4(t,e);let o=t.initialInputs;for(let a=n;a<r;a++){let s=i.data[a],l=M3(e,i,a,t);if(Ru(l,e),o!==null&&gW(e,a-n,l,s,t,o),Ss(s)){let u=Ba(t.index,e);u[Mr]=M3(e,i,a,t)}}}function pW(i,e,t){let n=t.directiveStart,r=t.directiveEnd,o=t.index,a=dD();try{Pd(o);for(let s=n;s<r;s++){let l=i.data[s],u=e[s];$h(s),(l.hostBindings!==null||l.hostVars!==0||l.hostAttrs!==null)&&fW(l,u)}}finally{Pd(-1),$h(a)}}function fW(i,e){i.hostBindings!==null&&i.hostBindings(1,e)}function g9(i,e){let t=i.directiveRegistry,n=null;if(t)for(let r=0;r<t.length;r++){let o=t[r];FO(e,o.selectors,!1)&&(n??=[],Ss(o)?n.unshift(o):n.push(o))}return n}function mW(i,e,t,n,r,o){let a=Ps(i,e);hW(e[Ci],a,o,i.value,t,n,r)}function hW(i,e,t,n,r,o,a){if(o==null)i.removeAttribute(e,r,t);else{let s=a==null?pc(o):a(o,n||"",r);i.setAttribute(e,r,s,t)}}function gW(i,e,t,n,r,o){let a=o[e];if(a!==null)for(let s=0;s<a.length;s+=2){let l=a[s],u=a[s+1];Sb(n,t,l,u)}}function z4(i,e,t,n,r){let o=Ni+t,a=e[cn],s=r(a,e,i,n,t);e[o]=s,Du(i,!0);let l=i.type===2;return l?(HO(e[Ci],s,i),(nD()===0||Pu(i))&&Ru(s,e),iD()):Ru(s,e),Xh()&&(!l||!I4(i))&&f9(a,e,s,i),i}function L4(i){let e=i;return Gx()?$x():(e=e.parent,Du(e,!1)),e}function XO(i,e,t){return(i===null||Ss(i))&&(t=kx(t[e.index])),t[Ci]}function _W(i,e){let t=i[z1];if(!t)return;t.get(va,null)?.(e)}function _9(i,e,t,n,r){let o=i.inputs?.[n],a=i.hostDirectiveInputs?.[n],s=!1;if(a)for(let l=0;l<a.length;l+=2){let u=a[l],h=a[l+1],_=e.data[u];Sb(_,t[u],h,r),s=!0}if(o)for(let l of o){let u=t[l],h=e.data[l];Sb(h,u,n,r),s=!0}return s}function vW(i,e){let t=Ba(e,i),n=t[cn];xW(n,t);let r=t[za];r!==null&&t[R1]===null&&(t[R1]=SO(r,t[z1])),yi(18),v9(n,t,t[Mr]),yi(19,t[Mr])}function xW(i,e){for(let t=e.length;t<i.blueprint.length;t++)e.push(i.blueprint[t])}function v9(i,e,t){Qh(e);try{let n=i.viewQuery;n!==null&&gb(1,n,t);let r=i.template;r!==null&&QO(i,e,r,1,t),i.firstCreatePass&&(i.firstCreatePass=!1),e[ul]?.finishViewCreation(i),i.staticContentQueries&&PO(i,e),i.staticViewQueries&&gb(2,i.viewQuery,t);let o=i.components;o!==null&&bW(e,o)}catch(n){throw i.firstCreatePass&&(i.incompleteFirstPass=!0,i.firstCreatePass=!1),n}finally{e[yn]&=-5,Kh()}}function bW(i,e){for(let t=0;t<e.length;t++)vW(i,e[t])}function k3(i,e,t,n){let r=vn(null);try{let o=e.tView,s=i[yn]&4096?4096:16,l=c9(i,o,t,s,null,e,null,null,n?.injector??null,n?.embeddedViewInjector??null,n?.dehydratedView??null),u=i[e.index];l[Cd]=u;let h=i[ul];return h!==null&&(l[ul]=h.createEmbeddedView(o)),v9(o,l,t),l}finally{vn(r)}}function zu(i,e){return!e||e.firstChild===null||gO(i)}var kD=!1,CW=new Ee("");function w3(i,e,t,n,r=!1){for(;t!==null;){if(t.type===128){t=r?t.projectionNext:t.next;continue}let o=e[t.index];o!==null&&n.push(Ha(o)),ws(o)&&ZO(o,n);let a=t.type;if(a&8)w3(i,e,t.child,n);else if(a&32){let s=u9(t,e),l;for(;l=s();)n.push(l)}else if(a&16){let s=WO(e,t);if(Array.isArray(s))n.push(...s);else{let l=xd(e[Lo]);w3(l[cn],l,s,n,!0)}}t=r?t.projectionNext:t.next}return n}function ZO(i,e){for(let t=io;t<i.length;t++){let n=i[t],r=n[cn].firstChild;r!==null&&w3(n[cn],n,r,e)}i[yd]!==i[za]&&e.push(i[yd])}function JO(i){if(i[B1]!==null){for(let e of i[B1])e.impl.addSequence(e);i[B1].length=0}}var eT=[];function yW(i){return i[ga]??MW(i)}function MW(i){let e=eT.pop()??Object.create(SW);return e.lView=i,e}function wW(i){i.lView[ga]!==i&&(i.lView=null,eT.push(i))}var SW=mt(ae({},ud),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:i=>{wd(i.lView)},consumerOnSignalRead(){this.lView[ga]=this}});function PW(i){let e=i[ga]??Object.create(EW);return e.lView=i,e}var EW=mt(ae({},ud),{consumerIsAlwaysLive:!0,kind:"template",consumerMarkedDirty:i=>{let e=xd(i.lView);for(;e&&!tT(e[cn]);)e=xd(e);e&&Fx(e)},consumerOnSignalRead(){this.lView[ga]=this}});function tT(i){return i.type!==2}function nT(i){if(i[mc]===null)return;let e=!0;for(;e;){let t=!1;for(let n of i[mc])n.dirty&&(t=!0,n.zone===null||Zone.current===n.zone?n.run():n.zone.run(()=>n.run()));e=t&&!!(i[yn]&8192)}}var DW=100;function x9(i,e=0){let n=i[dl].rendererFactory,r=!1;r||n.begin?.();try{OW(i,e)}finally{r||n.end?.()}}function OW(i,e){let t=Yx();try{Ou(!0),Eb(i,e);let n=0;for(;m3(i);){if(n===DW)throw new He(103,!1);n++,Eb(i,1)}}finally{Ou(t)}}function iT(i,e){Wx(e?h3.Exhaustive:h3.OnlyDirtyViews);try{x9(i)}finally{Wx(h3.Off)}}function TW(i,e,t,n){if(q1(e))return;let r=e[yn],o=!1,a=!1;Qh(e);let s=!0,l=null,u=null;o||(tT(i)?(u=yW(e),l=pd(u)):Zm()===null?(s=!1,u=PW(e),l=pd(u)):e[ga]&&(su(e[ga]),e[ga]=null));try{Vx(e),sD(i.bindingStartIndex),t!==null&&QO(i,e,t,2,n);let h=(r&3)===3;if(!o)if(h){let b=i.preOrderCheckHooks;b!==null&&r4(e,b,null)}else{let b=i.preOrderHooks;b!==null&&o4(e,b,0,null),tb(e,0)}if(a||IW(e),nT(e),rT(e,0),i.contentQueries!==null&&PO(i,e),!o)if(h){let b=i.contentCheckHooks;b!==null&&r4(e,b)}else{let b=i.contentHooks;b!==null&&o4(e,b,1),tb(e,1)}NW(i,e);let _=i.components;_!==null&&aT(e,_,0);let y=i.viewQuery;if(y!==null&&gb(2,y,n),!o)if(h){let b=i.viewCheckHooks;b!==null&&r4(e,b)}else{let b=i.viewHooks;b!==null&&o4(e,b,2),tb(e,2)}if(i.firstUpdatePass===!0&&(i.firstUpdatePass=!1),e[Bh]){for(let b of e[Bh])b();e[Bh]=null}o||(JO(e),e[yn]&=-73)}catch(h){throw o||wd(e),h}finally{u!==null&&(M1(u,l),s&&wW(u)),Kh()}}function rT(i,e){for(let t=vO(i);t!==null;t=xO(t))for(let n=io;n<t.length;n++){let r=t[n];oT(r,e)}}function IW(i){for(let e=vO(i);e!==null;e=xO(e)){if(!(e[yn]&2))continue;let t=e[j1];for(let n=0;n<t.length;n++){let r=t[n];Fx(r)}}}function kW(i,e,t){yi(18);let n=Ba(e,i);oT(n,t),yi(19,n[Mr])}function oT(i,e){jh(i)&&Eb(i,e)}function Eb(i,e){let n=i[cn],r=i[yn],o=i[ga],a=!!(e===0&&r&16);if(a||=!!(r&64&&e===0),a||=!!(r&1024),a||=!!(o?.dirty&&au(o)),a||=!1,o&&(o.dirty=!1),i[yn]&=-9217,a)TW(n,i,n.template,i[Mr]);else if(r&8192){let s=vn(null);try{nT(i),rT(i,1);let l=n.components;l!==null&&aT(i,l,1),JO(i)}finally{vn(s)}}}function aT(i,e,t){for(let n=0;n<e.length;n++)kW(i,e[n],t)}function NW(i,e){let t=i.hostBindingOpCodes;if(t!==null)try{for(let n=0;n<t.length;n++){let r=t[n];if(r<0)Pd(~r);else{let o=r,a=t[++n],s=t[++n];cD(a,o);let l=e[o];yi(24,l),s(2,l),yi(25,l)}}}finally{Pd(-1)}}function b9(i,e){let t=Yx()?64:1088;for(i[dl].changeDetectionScheduler?.notify(e);i;){i[yn]|=t;let n=xd(i);if(Eu(i)&&!n)return i;i=n}return null}function sT(i,e,t,n){return[i,!0,0,e,null,n,null,t,null,null]}function lT(i,e){let t=io+e;if(t<i.length)return i[t]}function N3(i,e,t,n=!0){let r=e[cn];if(AW(r,e,i,t),n){let a=Pb(t,i),s=e[Ci],l=s.parentNode(i[yd]);l!==null&&K$(r,i[zo],s,e,l,a)}let o=e[R1];o!==null&&o.firstChild!==null&&(o.firstChild=null)}function cT(i,e){let t=S3(i,e);return t!==void 0&&V4(t[cn],t),t}function S3(i,e){if(i.length<=io)return;let t=io+e,n=i[t];if(n){let r=n[Cd];r!==null&&r!==i&&p9(r,n),e>0&&(i[t-1][La]=n[La]);let o=s3(i,io+e);Q$(n[cn],n);let a=o[ul];a!==null&&a.detachView(o[cn]),n[zr]=null,n[La]=null,n[yn]&=-129}return n}function AW(i,e,t,n){let r=io+n,o=t.length;n>0&&(t[r-1][La]=e),n<o-io?(e[La]=t[r],xx(t,io+n,e)):(t.push(e),e[La]=null),e[zr]=t;let a=e[Cd];a!==null&&t!==a&&dT(a,e);let s=e[ul];s!==null&&s.insertView(i),qh(e),e[yn]|=128}function dT(i,e){let t=i[j1],n=e[zr];if(pl(n))i[yn]|=2;else{let r=n[zr][Lo];e[Lo]!==r&&(i[yn]|=2)}t===null?i[j1]=[e]:t.push(e)}var Ed=class{_lView;_cdRefInjectingView;_appRef=null;_attachedToViewContainer=!1;exhaustive;get rootNodes(){let e=this._lView,t=e[cn];return w3(t,e,t.firstChild,[])}constructor(e,t){this._lView=e,this._cdRefInjectingView=t}get context(){return this._lView[Mr]}set context(e){this._lView[Mr]=e}get destroyed(){return q1(this._lView)}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){let e=this._lView[zr];if(ws(e)){let t=e[u3],n=t?t.indexOf(this):-1;n>-1&&(S3(e,n),s3(t,n))}this._attachedToViewContainer=!1}V4(this._lView[cn],this._lView)}onDestroy(e){Rx(this._lView,e)}markForCheck(){b9(this._cdRefInjectingView||this._lView,4)}detach(){this._lView[yn]&=-129}reattach(){qh(this._lView),this._lView[yn]|=128}detectChanges(){this._lView[yn]|=1024,x9(this._lView)}checkNoChanges(){return;try{this.exhaustive??=this._lView[z1].get(CW,kD)}catch{this.exhaustive=kD}}attachToViewContainerRef(){if(this._appRef)throw new He(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null;let e=Eu(this._lView),t=this._lView[Cd];t!==null&&!e&&p9(t,this._lView),UO(this._lView[cn],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new He(902,!1);this._appRef=e;let t=Eu(this._lView),n=this._lView[Cd];n!==null&&!t&&dT(n,this._lView),qh(this._lView)}};var Rn=(()=>{class i{_declarationLView;_declarationTContainer;elementRef;static __NG_ELEMENT_ID__=VW;constructor(t,n,r){this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n)}createEmbeddedViewImpl(t,n,r){let o=k3(this._declarationLView,this._declarationTContainer,t,{embeddedViewInjector:n,dehydratedView:r});return new Ed(o)}}return i})();function VW(){return H4(mr(),Qt())}function H4(i,e){return i.type&4?new Rn(e,i,qu(i,e)):null}function Wu(i,e,t,n,r){let o=i.data[e];if(o===null)o=FW(i,e,t,n,r),lD()&&(o.flags|=32);else if(o.type&64){o.type=t,o.value=n,o.attrs=r;let a=rD();o.injectorIndex=a===null?-1:a.injectorIndex}return Du(o,!0),o}function FW(i,e,t,n,r){let o=Ux(),a=Gx(),s=a?o:o&&o.parent,l=i.data[e]=zW(i,s,t,e,n,r);return RW(i,l,o,a),l}function RW(i,e,t,n){i.firstChild===null&&(i.firstChild=e),t!==null&&(n?t.child==null&&e.parent!==null&&(t.child=e):t.next===null&&(t.next=e,e.prev=t))}function zW(i,e,t,n,r,o){let a=e?e.injectorIndex:-1,s=0;return Bx()&&(s|=128),{type:t,index:n,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:e,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}var mwe=new RegExp(`^(\\d+)*(${n$}|${t$})*(.*)`);function LW(i){let e=i[Tx]??[],n=i[zr][Ci],r=[];for(let o of e)o.data[yO]!==void 0?r.push(o):HW(o,n);i[Tx]=r}function HW(i,e){let t=0,n=i.firstChild;if(n){let r=i.data[CO];for(;t<r;){let o=n.nextSibling;LO(e,n,!1),n=o,t++}}}var BW=()=>null,jW=()=>null;function h4(i,e){return BW(i,e)}function uT(i,e,t){return jW(i,e,t)}var pT=class{},B4=class{},Db=class{resolveComponentFactory(e){throw new He(917,!1)}},K1=class{static NULL=new Db},kr=class{},Ai=(()=>{class i{destroyNode=null;static __NG_ELEMENT_ID__=()=>qW()}return i})();function qW(){let i=Qt(),e=mr(),t=Ba(e.index,i);return(pl(t)?t:i)[Ci]}var fT=(()=>{class i{static \u0275prov=W({token:i,providedIn:"root",factory:()=>null})}return i})();var s4={},Ob=class{injector;parentInjector;constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){let r=this.injector.get(e,s4,n);return r!==s4||t===s4?r:this.parentInjector.get(e,t,n)}};function g4(i,e,t){let n=t?i.styles:null,r=t?i.classes:null,o=0;if(e!==null)for(let a=0;a<e.length;a++){let s=e[a];if(typeof s=="number")o=s;else if(o==1)r=Vh(r,s);else if(o==2){let l=s,u=e[++a];n=Vh(n,l+": "+u+";")}}t?i.styles=n:i.stylesWithoutHost=n,t?i.classes=r:i.classesWithoutHost=r}function D(i,e=0){let t=Qt();if(t===null)return Le(i,e);let n=mr();return pO(n,t,co(i),e)}function C9(){let i="invalid";throw new Error(i)}function mT(i,e,t,n,r){let o=n===null?null:{"":-1},a=r(i,t);if(a!==null){let s=a,l=null,u=null;for(let h of a)if(h.resolveHostDirectives!==null){[s,l,u]=h.resolveHostDirectives(a);break}$W(i,e,t,s,o,l,u)}o!==null&&n!==null&&UW(t,n,o)}function UW(i,e,t){let n=i.localNames=[];for(let r=0;r<e.length;r+=2){let o=t[e[r+1]];if(o==null)throw new He(-301,!1);n.push(e[r],o)}}function GW(i,e,t){e.componentOffset=t,(i.components??=[]).push(e.index)}function $W(i,e,t,n,r,o,a){let s=n.length,l=!1;for(let y=0;y<s;y++){let b=n[y];!l&&Ss(b)&&(l=!0,GW(i,t,y)),pb(f4(t,e),i,b.type)}ZW(t,i.data.length,s);for(let y=0;y<s;y++){let b=n[y];b.providersResolver&&b.providersResolver(b)}let u=!1,h=!1,_=jO(i,e,s,null);s>0&&(t.directiveToIndex=new Map);for(let y=0;y<s;y++){let b=n[y];if(t.mergedAttrs=Fu(t.mergedAttrs,b.hostAttrs),YW(i,t,e,_,b),XW(_,b,r),a!==null&&a.has(b)){let[w,k]=a.get(b);t.directiveToIndex.set(b.type,[_,w+t.directiveStart,k+t.directiveStart])}else(o===null||!o.has(b))&&t.directiveToIndex.set(b.type,_);b.contentQueries!==null&&(t.flags|=4),(b.hostBindings!==null||b.hostAttrs!==null||b.hostVars!==0)&&(t.flags|=64);let x=b.type.prototype;!u&&(x.ngOnChanges||x.ngOnInit||x.ngDoCheck)&&((i.preOrderHooks??=[]).push(t.index),u=!0),!h&&(x.ngOnChanges||x.ngDoCheck)&&((i.preOrderCheckHooks??=[]).push(t.index),h=!0),_++}WW(i,t,o)}function WW(i,e,t){for(let n=e.directiveStart;n<e.directiveEnd;n++){let r=i.data[n];if(t===null||!t.has(r))ND(0,e,r,n),ND(1,e,r,n),VD(e,n,!1);else{let o=t.get(r);AD(0,e,o,n),AD(1,e,o,n),VD(e,n,!0)}}}function ND(i,e,t,n){let r=i===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a;i===0?a=e.inputs??={}:a=e.outputs??={},a[o]??=[],a[o].push(n),hT(e,o)}}function AD(i,e,t,n){let r=i===0?t.inputs:t.outputs;for(let o in r)if(r.hasOwnProperty(o)){let a=r[o],s;i===0?s=e.hostDirectiveInputs??={}:s=e.hostDirectiveOutputs??={},s[a]??=[],s[a].push(n,o),hT(e,a)}}function hT(i,e){e==="class"?i.flags|=8:e==="style"&&(i.flags|=16)}function VD(i,e,t){let{attrs:n,inputs:r,hostDirectiveInputs:o}=i;if(n===null||!t&&r===null||t&&o===null||s9(i)){i.initialInputs??=[],i.initialInputs.push(null);return}let a=null,s=0;for(;s<n.length;){let l=n[s];if(l===0){s+=4;continue}else if(l===5){s+=2;continue}else if(typeof l=="number")break;if(!t&&r.hasOwnProperty(l)){let u=r[l];for(let h of u)if(h===e){a??=[],a.push(l,n[s+1]);break}}else if(t&&o.hasOwnProperty(l)){let u=o[l];for(let h=0;h<u.length;h+=2)if(u[h]===e){a??=[],a.push(u[h+1],n[s+1]);break}}s+=2}i.initialInputs??=[],i.initialInputs.push(a)}function YW(i,e,t,n,r){i.data[n]=r;let o=r.factory||(r.factory=vd(r.type,!0)),a=new W1(o,Ss(r),D,null);i.blueprint[n]=a,t[n]=a,QW(i,e,n,jO(i,t,r.hostVars,Po),r)}function QW(i,e,t,n,r){let o=r.hostBindings;if(o){let a=i.hostBindingOpCodes;a===null&&(a=i.hostBindingOpCodes=[]);let s=~e.index;KW(a)!=s&&a.push(s),a.push(t,n,o)}}function KW(i){let e=i.length;for(;e>0;){let t=i[--e];if(typeof t=="number"&&t<0)return t}return 0}function XW(i,e,t){if(t){if(e.exportAs)for(let n=0;n<e.exportAs.length;n++)t[e.exportAs[n]]=i;Ss(e)&&(t[""]=i)}}function ZW(i,e,t){i.flags|=1,i.directiveStart=e,i.directiveEnd=e+t,i.providerIndexes=e}function y9(i,e,t,n,r,o,a,s){let l=e[cn],u=l.consts,h=_a(u,a),_=Wu(l,i,t,n,h);return o&&mT(l,e,_,_a(u,s),r),_.mergedAttrs=Fu(_.mergedAttrs,_.attrs),_.attrs!==null&&g4(_,_.attrs,!1),_.mergedAttrs!==null&&g4(_,_.mergedAttrs,!0),l.queries!==null&&l.queries.elementStart(l,_),_}function M9(i,e){iO(i,e),Ix(e)&&i.queries.elementEnd(e)}function gT(i,e,t,n,r,o){let a=e.consts,s=_a(a,r),l=Wu(e,i,t,n,s);if(l.mergedAttrs=Fu(l.mergedAttrs,l.attrs),o!=null){let u=_a(a,o);l.localNames=[];for(let h=0;h<u.length;h+=2)l.localNames.push(u[h],-1)}return l.attrs!==null&&g4(l,l.attrs,!1),l.mergedAttrs!==null&&g4(l,l.mergedAttrs,!0),e.queries!==null&&e.queries.elementStart(e,l),l}function w9(i){return j4(i)?Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i:!1}function _T(i,e){if(Array.isArray(i))for(let t=0;t<i.length;t++)e(i[t]);else{let t=i[Symbol.iterator](),n;for(;!(n=t.next()).done;)e(n.value)}}function j4(i){return i!==null&&(typeof i=="function"||typeof i=="object")}function A3(i,e,t){return i[e]=t}function vT(i,e){return i[e]}function wo(i,e,t){if(t===Po)return!1;let n=i[e];return Object.is(n,t)?!1:(i[e]=t,!0)}function _4(i,e,t,n){let r=wo(i,e,t);return wo(i,e+1,n)||r}function JW(i,e,t,n,r,o){let a=_4(i,e,t,n);return _4(i,e+2,r,o)||a}function l4(i,e,t){return function n(r){let o=Md(i)?Ba(i.index,e):e;b9(o,5);let a=e[Mr],s=FD(e,a,t,r),l=n.__ngNextListenerFn__;for(;l;)s=FD(e,a,l,r)&&s,l=l.__ngNextListenerFn__;return s}}function FD(i,e,t,n){let r=vn(null);try{return yi(6,e,t),t(n)!==!1}catch(o){return _W(i,o),!1}finally{yi(7,e,t),vn(r)}}function xT(i,e,t,n,r,o,a,s){let l=Pu(i),u=!1,h=null;if(!n&&l&&(h=eY(e,t,o,i.index)),h!==null){let _=h.__ngLastListenerFn__||h;_.__ngNextListenerFn__=a,h.__ngLastListenerFn__=a,u=!0}else{let _=Ps(i,t),y=n?n(_):_;r$(t,y,o,s);let b=r.listen(y,o,s),x=n?w=>n(Ha(w[i.index])):i.index;bT(x,e,t,o,s,b,!1)}return u}function eY(i,e,t,n){let r=i.cleanup;if(r!=null)for(let o=0;o<r.length-1;o+=2){let a=r[o];if(a===t&&r[o+1]===n){let s=e[wu],l=r[o+2];return s&&s.length>l?s[l]:null}typeof a=="string"&&(o+=2)}return null}function bT(i,e,t,n,r,o,a){let s=e.firstCreatePass?Lx(e):null,l=zx(t),u=l.length;l.push(r,o),s&&s.push(n,i,u,(u+1)*(a?-1:1))}function RD(i,e,t,n,r,o){let a=e[t],s=e[cn],u=s.data[t].outputs[n],_=a[u].subscribe(o);bT(i.index,s,e,r,o,_,!0)}var Tb=Symbol("BINDING");var v4=class extends K1{ngModule;constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){let t=ll(e);return new Dd(t,this.ngModule)}};function tY(i){return Object.keys(i).map(e=>{let[t,n,r]=i[e],o={propName:t,templateName:e,isSignal:(n&A4.SignalBased)!==0};return r&&(o.transform=r),o})}function nY(i){return Object.keys(i).map(e=>({propName:i[e],templateName:e}))}function iY(i,e,t){let n=e instanceof ki?e:e?.injector;return n&&i.getStandaloneInjector!==null&&(n=i.getStandaloneInjector(n)||n),n?new Ob(t,n):t}function rY(i){let e=i.get(kr,null);if(e===null)throw new He(407,!1);let t=i.get(fT,null),n=i.get(ys,null);return{rendererFactory:e,sanitizer:t,changeDetectionScheduler:n,ngReflect:!1}}function oY(i,e){let t=(i.selectors[0][0]||"div").toLowerCase();return RO(e,t,t==="svg"?QE:t==="math"?KE:null)}var Dd=class extends B4{componentDef;ngModule;selector;componentType;ngContentSelectors;isBoundToModule;cachedInputs=null;cachedOutputs=null;get inputs(){return this.cachedInputs??=tY(this.componentDef.inputs),this.cachedInputs}get outputs(){return this.cachedOutputs??=nY(this.componentDef.outputs),this.cachedOutputs}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=z$(e.selectors),this.ngContentSelectors=e.ngContentSelectors??[],this.isBoundToModule=!!t}create(e,t,n,r,o,a){yi(22);let s=vn(null);try{let l=this.componentDef,u=aY(n,l,a,o),h=iY(l,r||this.ngModule,e),_=rY(h),y=_.rendererFactory.createRenderer(null,l),b=n?aW(y,n,l.encapsulation,h):oY(l,y),x=a?.some(zD)||o?.some(V=>typeof V!="function"&&V.bindings.some(zD)),w=c9(null,u,null,512|BO(l),null,null,_,y,h,null,SO(b,h,!0));w[Ni]=b,Qh(w);let k=null;try{let V=y9(Ni,w,2,"#host",()=>u.directiveRegistry,!0,0);b&&(HO(y,b,V),Ru(b,w)),R4(u,w,V),e9(u,V,w),M9(u,V),t!==void 0&&lY(V,this.ngContentSelectors,t),k=Ba(V.index,w),w[Mr]=k[Mr],v9(u,w,null)}catch(V){throw k!==null&&mb(k),mb(w),V}finally{yi(23),Kh()}return new x4(this.componentType,w,!!x)}finally{vn(s)}}};function aY(i,e,t,n){let r=i?["ng-version","20.1.6"]:L$(e.selectors[0]),o=null,a=null,s=0;if(t)for(let h of t)s+=h[Tb].requiredVars,h.create&&(h.targetIdx=0,(o??=[]).push(h)),h.update&&(h.targetIdx=0,(a??=[]).push(h));if(n)for(let h=0;h<n.length;h++){let _=n[h];if(typeof _!="function")for(let y of _.bindings){s+=y[Tb].requiredVars;let b=h+1;y.create&&(y.targetIdx=b,(o??=[]).push(y)),y.update&&(y.targetIdx=b,(a??=[]).push(y))}}let l=[e];if(n)for(let h of n){let _=typeof h=="function"?h:h.type,y=Mx(_);l.push(y)}return l9(0,null,sY(o,a),1,s,l,null,null,null,[r],null)}function sY(i,e){return!i&&!e?null:t=>{if(t&1&&i)for(let n of i)n.create();if(t&2&&e)for(let n of e)n.update()}}function zD(i){let e=i[Tb].kind;return e==="input"||e==="twoWay"}var x4=class extends pT{_rootLView;_hasInputBindings;instance;hostView;changeDetectorRef;componentType;location;previousInputValues=null;_tNode;constructor(e,t,n){super(),this._rootLView=t,this._hasInputBindings=n,this._tNode=p3(t[cn],Ni),this.location=qu(this._tNode,t),this.instance=Ba(this._tNode.index,t)[Mr],this.hostView=this.changeDetectorRef=new Ed(t,void 0),this.componentType=e}setInput(e,t){this._hasInputBindings;let n=this._tNode;if(this.previousInputValues??=new Map,this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;let r=this._rootLView,o=_9(n,r[cn],r,e,t);this.previousInputValues.set(e,t);let a=Ba(n.index,r);b9(a,1)}get injector(){return new $1(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}};function lY(i,e,t){let n=i.projection=[];for(let r=0;r<e.length;r++){let o=t[r];n.push(o!=null&&o.length?Array.from(o):null)}}var ai=(()=>{class i{static __NG_ELEMENT_ID__=cY}return i})();function cY(){let i=mr();return yT(i,Qt())}var dY=ai,CT=class extends dY{_lContainer;_hostTNode;_hostLView;constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return qu(this._hostTNode,this._hostLView)}get injector(){return new $1(this._hostTNode,this._hostLView)}get parentInjector(){let e=Kb(this._hostTNode,this._hostLView);if(aO(e)){let t=u4(e,this._hostLView),n=d4(e),r=t[cn].data[n+8];return new $1(r,t)}else return new $1(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){let t=LD(this._lContainer);return t!==null&&t[e]||null}get length(){return this._lContainer.length-io}createEmbeddedView(e,t,n){let r,o;typeof n=="number"?r=n:n!=null&&(r=n.index,o=n.injector);let a=h4(this._lContainer,e.ssrId),s=e.createEmbeddedViewImpl(t||{},o,a);return this.insertImpl(s,r,zu(this._hostTNode,a)),s}createComponent(e,t,n,r,o,a,s){let l=e&&!TG(e),u;if(l)u=t;else{let k=t||{};u=k.index,n=k.injector,r=k.projectableNodes,o=k.environmentInjector||k.ngModuleRef,a=k.directives,s=k.bindings}let h=l?e:new Dd(ll(e)),_=n||this.parentInjector;if(!o&&h.ngModule==null){let V=(l?_:this.parentInjector).get(ki,null);V&&(o=V)}let y=ll(h.componentType??{}),b=h4(this._lContainer,y?.id??null),x=b?.firstChild??null,w=h.create(_,r,x,o,a,s);return this.insertImpl(w.hostView,u,zu(this._hostTNode,b)),w}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){let r=e._lView;if(ZE(r)){let s=this.indexOf(e);if(s!==-1)this.detach(s);else{let l=r[zr],u=new CT(l,l[zo],l[zr]);u.detach(u.indexOf(e))}}let o=this._adjustIndex(t),a=this._lContainer;return N3(a,r,o,n),e.attachToViewContainerRef(),xx(rb(a),o,e),e}move(e,t){return this.insert(e,t)}indexOf(e){let t=LD(this._lContainer);return t!==null?t.indexOf(e):-1}remove(e){let t=this._adjustIndex(e,-1),n=S3(this._lContainer,t);n&&(s3(rb(this._lContainer),t),V4(n[cn],n))}detach(e){let t=this._adjustIndex(e,-1),n=S3(this._lContainer,t);return n&&s3(rb(this._lContainer),t)!=null?new Ed(n):null}_adjustIndex(e,t=0){return e??this.length+t}};function LD(i){return i[u3]}function rb(i){return i[u3]||(i[u3]=[])}function yT(i,e){let t,n=e[i.index];return ws(n)?t=n:(t=sT(n,e,null,i),e[i.index]=t,d9(e,t)),pY(t,e,i,n),new CT(t,i,e)}function uY(i,e){let t=i[Ci],n=t.createComment(""),r=Ps(e,i),o=t.parentNode(r);return m4(t,o,n,t.nextSibling(r),!1),n}var pY=hY,fY=()=>!1;function mY(i,e,t){return fY(i,e,t)}function hY(i,e,t,n){if(i[yd])return;let r;t.type&8?r=Ha(n):r=uY(e,t),i[yd]=r}var Ib=class i{queryList;matches=null;constructor(e){this.queryList=e}clone(){return new i(this.queryList)}setDirty(){this.queryList.setDirty()}},kb=class i{queries;constructor(e=[]){this.queries=e}createEmbeddedView(e){let t=e.queries;if(t!==null){let n=e.contentQueries!==null?e.contentQueries[0]:t.length,r=[];for(let o=0;o<n;o++){let a=t.getByIndex(o),s=this.queries[a.indexInDeclarationView];r.push(s.clone())}return new i(r)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)P9(e,t).matches!==null&&this.queries[t].setDirty()}},b4=class{flags;read;predicate;constructor(e,t,n=null){this.flags=t,this.read=n,typeof e=="string"?this.predicate=CY(e):this.predicate=e}},Nb=class i{queries;constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){let r=t!==null?t.length:0,o=this.getByIndex(n).embeddedTView(e,r);o&&(o.indexInDeclarationView=n,t!==null?t.push(o):t=[o])}return t!==null?new i(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}},Ab=class i{metadata;matches=null;indexInDeclarationView=-1;crossesNgTemplate=!1;_declarationNodeIndex;_appliesToNextNode=!0;constructor(e,t=-1){this.metadata=e,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new i(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&(this.metadata.flags&1)!==1){let t=this._declarationNodeIndex,n=e.parent;for(;n!==null&&n.type&8&&n.index!==t;)n=n.parent;return t===(n!==null?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){let n=this.metadata.predicate;if(Array.isArray(n))for(let r=0;r<n.length;r++){let o=n[r];this.matchTNodeWithReadOption(e,t,gY(t,o)),this.matchTNodeWithReadOption(e,t,a4(t,e,o,!1,!1))}else n===Rn?t.type&4&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,a4(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(n!==null){let r=this.metadata.read;if(r!==null)if(r===We||r===ai||r===Rn&&t.type&4)this.addMatch(t.index,-2);else{let o=a4(t,e,r,!1,!1);o!==null&&this.addMatch(t.index,o)}else this.addMatch(t.index,n)}}addMatch(e,t){this.matches===null?this.matches=[e,t]:this.matches.push(e,t)}};function gY(i,e){let t=i.localNames;if(t!==null){for(let n=0;n<t.length;n+=2)if(t[n]===e)return t[n+1]}return null}function _Y(i,e){return i.type&11?qu(i,e):i.type&4?H4(i,e):null}function vY(i,e,t,n){return t===-1?_Y(e,i):t===-2?xY(i,e,n):M3(i,i[cn],t,e)}function xY(i,e,t){if(t===We)return qu(e,i);if(t===Rn)return H4(e,i);if(t===ai)return yT(e,i)}function MT(i,e,t,n){let r=e[ul].queries[n];if(r.matches===null){let o=i.data,a=t.matches,s=[];for(let l=0;a!==null&&l<a.length;l+=2){let u=a[l];if(u<0)s.push(null);else{let h=o[u];s.push(vY(e,h,a[l+1],t.metadata.read))}}r.matches=s}return r.matches}function Vb(i,e,t,n){let r=i.queries.getByIndex(t),o=r.matches;if(o!==null){let a=MT(i,e,r,t);for(let s=0;s<o.length;s+=2){let l=o[s];if(l>0)n.push(a[s/2]);else{let u=o[s+1],h=e[-l];for(let _=io;_<h.length;_++){let y=h[_];y[Cd]===y[zr]&&Vb(y[cn],y,u,n)}if(h[j1]!==null){let _=h[j1];for(let y=0;y<_.length;y++){let b=_[y];Vb(b[cn],b,u,n)}}}}}return n}function S9(i,e){return i[ul].queries[e].queryList}function wT(i,e,t){let n=new Ho((t&4)===4);return tD(i,e,n,n.destroy),(e[ul]??=new kb).queries.push(new Ib(n))-1}function ST(i,e,t){let n=Pi();return n.firstCreatePass&&(PT(n,new b4(i,e,t),-1),(e&2)===2&&(n.staticViewQueries=!0)),wT(n,Qt(),e)}function bY(i,e,t,n){let r=Pi();if(r.firstCreatePass){let o=mr();PT(r,new b4(e,t,n),o.index),yY(r,i),(t&2)===2&&(r.staticContentQueries=!0)}return wT(r,Qt(),t)}function CY(i){return i.split(",").map(e=>e.trim())}function PT(i,e,t){i.queries===null&&(i.queries=new Nb),i.queries.track(new Ab(e,t))}function yY(i,e){let t=i.contentQueries||(i.contentQueries=[]),n=t.length?t[t.length-1]:-1;e!==n&&t.push(i.queries.length-1,e)}function P9(i,e){return i.queries.getByIndex(e)}function ET(i,e){let t=i[cn],n=P9(t,e);return n.crossesNgTemplate?Vb(t,i,e,[]):MT(t,i,n,e)}function DT(i,e,t){let n,r=$p(()=>{n._dirtyCounter();let o=wY(n,i);if(e&&o===void 0)throw new He(-951,!1);return o});return n=r[Rr],n._dirtyCounter=nn(0),n._flatValue=void 0,r}function OT(i){return DT(!0,!1,i)}function TT(i){return DT(!0,!0,i)}function MY(i,e){let t=i[Rr];t._lView=Qt(),t._queryIndex=e,t._queryList=S9(t._lView,e),t._queryList.onDirty(()=>t._dirtyCounter.update(n=>n+1))}function wY(i,e){let t=i._lView,n=i._queryIndex;if(t===void 0||n===void 0||t[yn]&4)return e?void 0:Mo;let r=S9(t,n),o=ET(t,n);return r.reset(o,hO),e?r.first:r._changesDetected||i._flatValue===void 0?i._flatValue=r.toArray():i._flatValue}var HD=new Set;function qa(i){HD.has(i)||(HD.add(i),performance?.mark?.("mark_feature_usage",{detail:{feature:i}}))}var _l=class{},q4=class{};var C4=class extends _l{ngModuleType;_parent;_bootstrapComponents=[];_r3Injector;instance;destroyCbs=[];componentFactoryResolver=new v4(this);constructor(e,t,n,r=!0){super(),this.ngModuleType=e,this._parent=t;let o=yx(e);this._bootstrapComponents=AO(o.bootstrap),this._r3Injector=Xx(e,t,[{provide:_l,useValue:this},{provide:K1,useValue:this.componentFactoryResolver},...n],uc(e),new Set(["environment"])),r&&this.resolveInjectorInitializers()}resolveInjectorInitializers(){this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(this.ngModuleType)}get injector(){return this._r3Injector}destroy(){let e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}},y4=class extends q4{moduleType;constructor(e){super(),this.moduleType=e}create(e){return new C4(this.moduleType,e,[])}};var P3=class extends _l{injector;componentFactoryResolver=new v4(this);instance=null;constructor(e){super();let t=new V1([...e.providers,{provide:_l,useValue:this},{provide:K1,useValue:this.componentFactoryResolver}],e.parent||Mu(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}};function Yu(i,e,t=null){return new P3({providers:i,parent:e,debugName:t,runEnvironmentInitializers:!0}).injector}var SY=(()=>{class i{_injector;cachedInjectors=new Map;constructor(t){this._injector=t}getOrCreateStandaloneInjector(t){if(!t.standalone)return null;if(!this.cachedInjectors.has(t)){let n=wx(!1,t.type),r=n.length>0?Yu([n],this._injector,`Standalone[${t.type.name}]`):null;this.cachedInjectors.set(t,r)}return this.cachedInjectors.get(t)}ngOnDestroy(){try{for(let t of this.cachedInjectors.values())t!==null&&t.destroy()}finally{this.cachedInjectors.clear()}}static \u0275prov=W({token:i,providedIn:"environment",factory:()=>new i(Le(ki))})}return i})();function z(i){return ju(()=>{let e=IT(i),t=mt(ae({},e),{decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===Xb.OnPush,directiveDefs:null,pipeDefs:null,dependencies:e.standalone&&i.dependencies||null,getStandaloneInjector:e.standalone?r=>r.get(SY).getOrCreateStandaloneInjector(t):null,getExternalStyles:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||hc.Emulated,styles:i.styles||Mo,_:null,schemas:i.schemas||null,tView:null,id:""});e.standalone&&qa("NgStandalone"),kT(t);let n=i.dependencies;return t.directiveDefs=BD(n,PY),t.pipeDefs=BD(n,qE),t.id=OY(t),t})}function PY(i){return ll(i)||Mx(i)}function je(i){return ju(()=>({type:i.type,bootstrap:i.bootstrap||Mo,declarations:i.declarations||Mo,imports:i.imports||Mo,exports:i.exports||Mo,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function EY(i,e){if(i==null)return bd;let t={};for(let n in i)if(i.hasOwnProperty(n)){let r=i[n],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=A4.None,l=null),t[o]=[n,s,l],e[o]=a}return t}function DY(i){if(i==null)return bd;let e={};for(let t in i)i.hasOwnProperty(t)&&(e[i[t]]=t);return e}function Ie(i){return ju(()=>{let e=IT(i);return kT(e),e})}function vl(i){return{type:i.type,name:i.name,factory:null,pure:i.pure!==!1,standalone:i.standalone??!0,onDestroy:i.type.prototype.ngOnDestroy||null}}function IT(i){let e={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:e,inputConfig:i.inputs||bd,exportAs:i.exportAs||null,standalone:i.standalone??!0,signals:i.signals===!0,selectors:i.selectors||Mo,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,resolveHostDirectives:null,hostDirectives:null,inputs:EY(i.inputs,e),outputs:DY(i.outputs),debugInfo:null}}function kT(i){i.features?.forEach(e=>e(i))}function BD(i,e){return i?()=>{let t=typeof i=="function"?i():i,n=[];for(let r of t){let o=e(r);o!==null&&n.push(o)}return n}:null}function OY(i){let e=0,t=typeof i.consts=="function"?"":i.consts,n=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,t,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery];for(let o of n.join("|"))e=Math.imul(31,e)+o.charCodeAt(0)<<0;return e+=2147483648,"c"+e}function TY(i){return Object.getPrototypeOf(i.prototype).constructor}function tt(i){let e=TY(i.type),t=!0,n=[i];for(;e;){let r;if(Ss(i))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new He(903,!1);r=e.\u0275dir}if(r){if(t){n.push(r);let a=i;a.inputs=ob(i.inputs),a.declaredInputs=ob(i.declaredInputs),a.outputs=ob(i.outputs);let s=r.hostBindings;s&&VY(i,s);let l=r.viewQuery,u=r.contentQueries;if(l&&NY(i,l),u&&AY(i,u),IY(i,r),AE(i.outputs,r.outputs),Ss(r)&&r.data.animation){let h=i.data;h.animation=(h.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(i),s===tt&&(t=!1)}}e=Object.getPrototypeOf(e)}kY(n)}function IY(i,e){for(let t in e.inputs){if(!e.inputs.hasOwnProperty(t)||i.inputs.hasOwnProperty(t))continue;let n=e.inputs[t];n!==void 0&&(i.inputs[t]=n,i.declaredInputs[t]=e.declaredInputs[t])}}function kY(i){let e=0,t=null;for(let n=i.length-1;n>=0;n--){let r=i[n];r.hostVars=e+=r.hostVars,r.hostAttrs=Fu(r.hostAttrs,t=Fu(t,r.hostAttrs))}}function ob(i){return i===bd?{}:i===Mo?[]:i}function NY(i,e){let t=i.viewQuery;t?i.viewQuery=(n,r)=>{e(n,r),t(n,r)}:i.viewQuery=e}function AY(i,e){let t=i.contentQueries;t?i.contentQueries=(n,r,o)=>{e(n,r,o),t(n,r,o)}:i.contentQueries=e}function VY(i,e){let t=i.hostBindings;t?i.hostBindings=(n,r)=>{e(n,r),t(n,r)}:i.hostBindings=e}function NT(i,e,t,n,r,o,a,s){if(t.firstCreatePass){i.mergedAttrs=Fu(i.mergedAttrs,i.attrs);let h=i.tView=l9(2,i,r,o,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,t.consts,null);t.queries!==null&&(t.queries.template(t,i),h.queries=t.queries.embeddedTView(i))}s&&(i.flags|=s),Du(i,!1);let l=RY(t,e,i,n);Xh()&&f9(t,e,l,i),Ru(l,e);let u=sT(l,e,l,i);e[n+Ni]=u,d9(e,u),mY(u,i,e)}function FY(i,e,t,n,r,o,a,s,l,u,h){let _=t+Ni,y;return e.firstCreatePass?(y=Wu(e,_,4,a||null,s||null),Uh()&&mT(e,i,y,_a(e.consts,u),g9),iO(e,y)):y=e.data[_],NT(y,i,e,t,n,r,o,l),Pu(y)&&R4(e,i,y),u!=null&&$u(i,y,h),y}function Lu(i,e,t,n,r,o,a,s,l,u,h){let _=t+Ni,y;if(e.firstCreatePass){if(y=Wu(e,_,4,a||null,s||null),u!=null){let b=_a(e.consts,u);y.localNames=[];for(let x=0;x<b.length;x+=2)y.localNames.push(b[x],-1)}}else y=e.data[_];return NT(y,i,e,t,n,r,o,l),u!=null&&$u(i,y,h),y}function L(i,e,t,n,r,o,a,s){let l=Qt(),u=Pi(),h=_a(u.consts,o);return FY(l,u,i,e,t,n,r,h,void 0,a,s),L}function bc(i,e,t,n,r,o,a,s){let l=Qt(),u=Pi(),h=_a(u.consts,o);return Lu(l,u,i,e,t,n,r,h,void 0,a,s),bc}var RY=zY;function zY(i,e,t,n){return _3(!0),e[Ci].createComment("")}var U4=function(i){return i[i.CHANGE_DETECTION=0]="CHANGE_DETECTION",i[i.AFTER_NEXT_RENDER=1]="AFTER_NEXT_RENDER",i}(U4||{}),X1=new Ee(""),AT=!1,Fb=class extends he{__isAsync;destroyRef=void 0;pendingTasks=void 0;constructor(e=!1){super(),this.__isAsync=e,YE()&&(this.destroyRef=C(hr,{optional:!0})??void 0,this.pendingTasks=C(hl,{optional:!0})??void 0)}emit(e){let t=vn(null);try{super.next(e)}finally{vn(t)}}subscribe(e,t,n){let r=e,o=t||(()=>null),a=n;if(e&&typeof e=="object"){let l=e;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 e instanceof En&&e.add(s),s}wrapInTimeout(e){return t=>{let n=this.pendingTasks?.add();setTimeout(()=>{try{e(t)}finally{n!==void 0&&this.pendingTasks?.remove(n)}})}}},X=Fb;function VT(i){let e,t;function n(){i=U1;try{t!==void 0&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(t),e!==void 0&&clearTimeout(e)}catch{}}return e=setTimeout(()=>{i(),n()}),typeof requestAnimationFrame=="function"&&(t=requestAnimationFrame(()=>{i(),n()})),()=>n()}function jD(i){return queueMicrotask(()=>i()),()=>{i=U1}}var E9="isAngularZone",M4=E9+"_ID",LY=0,Vt=class i{hasPendingMacrotasks=!1;hasPendingMicrotasks=!1;isStable=!0;onUnstable=new X(!1);onMicrotaskEmpty=new X(!1);onStable=new X(!1);onError=new X(!1);constructor(e){let{enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1,scheduleInRootZone:o=AT}=e;if(typeof Zone>"u")throw new He(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)),t&&Zone.longStackTraceZoneSpec&&(a._inner=a._inner.fork(Zone.longStackTraceZoneSpec)),a.shouldCoalesceEventChangeDetection=!r&&n,a.shouldCoalesceRunChangeDetection=r,a.callbackScheduled=!1,a.scheduleInRootZone=o,jY(a)}static isInAngularZone(){return typeof Zone<"u"&&Zone.current.get(E9)===!0}static assertInAngularZone(){if(!i.isInAngularZone())throw new He(909,!1)}static assertNotInAngularZone(){if(i.isInAngularZone())throw new He(909,!1)}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){let o=this._inner,a=o.scheduleEventTask("NgZoneEvent: "+r,e,HY,U1,U1);try{return o.runTask(a,t,n)}finally{o.cancelTask(a)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}},HY={};function D9(i){if(i._nesting==0&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function BY(i){if(i.isCheckStableRunning||i.callbackScheduled)return;i.callbackScheduled=!0;function e(){VT(()=>{i.callbackScheduled=!1,Rb(i),i.isCheckStableRunning=!0,D9(i),i.isCheckStableRunning=!1})}i.scheduleInRootZone?Zone.root.run(()=>{e()}):i._outer.run(()=>{e()}),Rb(i)}function jY(i){let e=()=>{BY(i)},t=LY++;i._inner=i._inner.fork({name:"angular",properties:{[E9]:!0,[M4]:t,[M4+t]:!0},onInvokeTask:(n,r,o,a,s,l)=>{if(qY(l))return n.invokeTask(o,a,s,l);try{return qD(i),n.invokeTask(o,a,s,l)}finally{(i.shouldCoalesceEventChangeDetection&&a.type==="eventTask"||i.shouldCoalesceRunChangeDetection)&&e(),UD(i)}},onInvoke:(n,r,o,a,s,l,u)=>{try{return qD(i),n.invoke(o,a,s,l,u)}finally{i.shouldCoalesceRunChangeDetection&&!i.callbackScheduled&&!UY(l)&&e(),UD(i)}},onHasTask:(n,r,o,a)=>{n.hasTask(o,a),r===o&&(a.change=="microTask"?(i._hasPendingMicrotasks=a.microTask,Rb(i),D9(i)):a.change=="macroTask"&&(i.hasPendingMacrotasks=a.macroTask))},onHandleError:(n,r,o,a)=>(n.handleError(o,a),i.runOutsideAngular(()=>i.onError.emit(a)),!1)})}function Rb(i){i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&i.callbackScheduled===!0?i.hasPendingMicrotasks=!0:i.hasPendingMicrotasks=!1}function qD(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function UD(i){i._nesting--,D9(i)}var w4=class{hasPendingMicrotasks=!1;hasPendingMacrotasks=!1;isStable=!0;onUnstable=new X;onMicrotaskEmpty=new X;onStable=new X;onError=new X;run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,r){return e.apply(t,n)}};function qY(i){return FT(i,"__ignore_ng_zone__")}function UY(i){return FT(i,"__scheduler_tick__")}function FT(i,e){return!Array.isArray(i)||i.length!==1?!1:i[0]?.data?.[e]===!0}var O9=(()=>{class i{impl=null;execute(){this.impl?.execute()}static \u0275prov=W({token:i,providedIn:"root",factory:()=>new i})}return i})(),RT=[0,1,2,3],zT=(()=>{class i{ngZone=C(Vt);scheduler=C(ys);errorHandler=C(ha,{optional:!0});sequences=new Set;deferredRegistrations=new Set;executing=!1;constructor(){C(X1,{optional:!0})}execute(){let t=this.sequences.size>0;t&&yi(16),this.executing=!0;for(let n of RT)for(let r of this.sequences)if(!(r.erroredOrDestroyed||!r.hooks[n]))try{r.pipelinedValue=this.ngZone.runOutsideAngular(()=>this.maybeTrace(()=>{let o=r.hooks[n];return o(r.pipelinedValue)},r.snapshot))}catch(o){r.erroredOrDestroyed=!0,this.errorHandler?.handleError(o)}this.executing=!1;for(let n of this.sequences)n.afterRun(),n.once&&(this.sequences.delete(n),n.destroy());for(let n of this.deferredRegistrations)this.sequences.add(n);this.deferredRegistrations.size>0&&this.scheduler.notify(7),this.deferredRegistrations.clear(),t&&yi(17)}register(t){let{view:n}=t;n!==void 0?((n[B1]??=[]).push(t),wd(n),n[yn]|=8192):this.executing?this.deferredRegistrations.add(t):this.addSequence(t)}addSequence(t){this.sequences.add(t),this.scheduler.notify(7)}unregister(t){this.executing&&this.sequences.has(t)?(t.erroredOrDestroyed=!0,t.pipelinedValue=void 0,t.once=!0):(this.sequences.delete(t),this.deferredRegistrations.delete(t))}maybeTrace(t,n){return n?n.run(U4.AFTER_NEXT_RENDER,t):t()}static \u0275prov=W({token:i,providedIn:"root",factory:()=>new i})}return i})(),S4=class{impl;hooks;view;once;snapshot;erroredOrDestroyed=!1;pipelinedValue=void 0;unregisterOnDestroy;constructor(e,t,n,r,o,a=null){this.impl=e,this.hooks=t,this.view=n,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 e=this.view?.[B1];e&&(this.view[B1]=e.filter(t=>t!==this))}};function gr(i,e){let t=e?.injector??C(Nt);return qa("NgAfterNextRender"),$Y(i,t,e,!0)}function GY(i){return i instanceof Function?[void 0,void 0,i,void 0]:[i.earlyRead,i.write,i.mixedReadWrite,i.read]}function $Y(i,e,t,n){let r=e.get(O9);r.impl??=e.get(zT);let o=e.get(X1,null,{optional:!0}),a=t?.manualCleanup!==!0?e.get(hr):null,s=e.get(ku,null,{optional:!0}),l=new S4(r.impl,GY(i),s?.view,n,a,o?.snapshot(null));return r.impl.register(l),l}var G4=(()=>{class i{log(t){console.log(t)}warn(t){console.warn(t)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();var T9=new Ee("");function Id(i){return!!i&&typeof i.then=="function"}function I9(i){return!!i&&typeof i.subscribe=="function"}var k9=new Ee("");function $4(i){return cl([{provide:k9,multi:!0,useValue:i}])}var N9=(()=>{class i{resolve;reject;initialized=!1;done=!1;donePromise=new Promise((t,n)=>{this.resolve=t,this.reject=n});appInits=C(k9,{optional:!0})??[];injector=C(Nt);constructor(){}runInitializers(){if(this.initialized)return;let t=[];for(let r of this.appInits){let o=Lr(this.injector,r);if(Id(o))t.push(o);else if(I9(o)){let a=new Promise((s,l)=>{o.subscribe({complete:s,error:l})});t.push(a)}}let n=()=>{this.done=!0,this.resolve()};Promise.all(t).then(()=>{n()}).catch(r=>{this.reject(r)}),t.length===0&&n(),this.initialized=!0}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),V3=new Ee("");function LT(){E7(()=>{let i="";throw new He(600,i)})}function HT(i){return i.isBoundToModule}var WY=10;var wr=(()=>{class i{_runningTick=!1;_destroyed=!1;_destroyListeners=[];_views=[];internalErrorHandler=C(va);afterRenderManager=C(O9);zonelessEnabled=C(v3);rootEffectScheduler=C(x3);dirtyFlags=0;tracingSnapshot=null;allTestViews=new Set;autoDetectTestViews=new Set;includeAllTestViews=!1;afterTick=new he;get allViews(){return[...(this.includeAllTestViews?this.allTestViews:this.autoDetectTestViews).keys(),...this._views]}get destroyed(){return this._destroyed}componentTypes=[];components=[];internalPendingTask=C(hl);get isStable(){return this.internalPendingTask.hasPendingTasksObservable.pipe(ct(t=>!t))}constructor(){C(X1,{optional:!0})}whenStable(){let t;return new Promise(n=>{t=this.isStable.subscribe({next:r=>{r&&n()}})}).finally(()=>{t.unsubscribe()})}_injector=C(ki);_rendererFactory=null;get injector(){return this._injector}bootstrap(t,n){return this.bootstrapImpl(t,n)}bootstrapImpl(t,n,r=Nt.NULL){return this._injector.get(Vt).run(()=>{yi(10);let a=t instanceof B4;if(!this._injector.get(N9).done){let x="";throw new He(405,x)}let l;a?l=t:l=this._injector.get(K1).resolveComponentFactory(t),this.componentTypes.push(l.componentType);let u=HT(l)?void 0:this._injector.get(_l),h=n||l.selector,_=l.create(r,[],h,u),y=_.location.nativeElement,b=_.injector.get(T9,null);return b?.registerApplication(y),_.onDestroy(()=>{this.detachView(_.hostView),C3(this.components,_),b?.unregisterApplication(y)}),this._loadComponent(_),yi(11,_),_})}tick(){this.zonelessEnabled||(this.dirtyFlags|=1),this._tick()}_tick(){yi(12),this.tracingSnapshot!==null?this.tracingSnapshot.run(U4.CHANGE_DETECTION,this.tickImpl):this.tickImpl()}tickImpl=()=>{if(this._runningTick)throw new He(101,!1);let t=vn(null);try{this._runningTick=!0,this.synchronize()}finally{this._runningTick=!1,this.tracingSnapshot?.dispose(),this.tracingSnapshot=null,vn(t),this.afterTick.next(),yi(13)}};synchronize(){this._rendererFactory===null&&!this._injector.destroyed&&(this._rendererFactory=this._injector.get(kr,null,{optional:!0}));let t=0;for(;this.dirtyFlags!==0&&t++<WY;)yi(14),this.synchronizeOnce(),yi(15)}synchronizeOnce(){this.dirtyFlags&16&&(this.dirtyFlags&=-17,this.rootEffectScheduler.flush());let t=!1;if(this.dirtyFlags&7){let n=!!(this.dirtyFlags&1);this.dirtyFlags&=-8,this.dirtyFlags|=8;for(let{_lView:r}of this.allViews){if(!n&&!m3(r))continue;let o=n&&!this.zonelessEnabled?0:1;x9(r,o),t=!0}if(this.dirtyFlags&=-5,this.syncDirtyFlagsWithViews(),this.dirtyFlags&23)return}t||(this._rendererFactory?.begin?.(),this._rendererFactory?.end?.()),this.dirtyFlags&8&&(this.dirtyFlags&=-9,this.afterRenderManager.execute()),this.syncDirtyFlagsWithViews()}syncDirtyFlagsWithViews(){if(this.allViews.some(({_lView:t})=>m3(t))){this.dirtyFlags|=2;return}else this.dirtyFlags&=-8}attachView(t){let n=t;this._views.push(n),n.attachToAppRef(this)}detachView(t){let n=t;C3(this._views,n),n.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView);try{this.tick()}catch(r){this.internalErrorHandler(r)}this.components.push(t),this._injector.get(V3,[]).forEach(r=>r(t))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(t=>t()),this._views.slice().forEach(t=>t.destroy())}finally{this._destroyed=!0,this._views=[],this._destroyListeners=[]}}onDestroy(t){return this._destroyListeners.push(t),()=>C3(this._destroyListeners,t)}destroy(){if(this._destroyed)throw new He(406,!1);let t=this._injector;t.destroy&&!t.destroyed&&t.destroy()}get viewCount(){return this._views.length}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function C3(i,e){let t=i.indexOf(e);t>-1&&i.splice(t,1)}function ye(i,e,t,n){let r=Qt(),o=fl();if(wo(r,o,e)){let a=Pi(),s=Tu();mW(s,r,i,e,t,n)}return ye}var zb=class{destroy(e){}updateValue(e,t){}swap(e,t){let n=Math.min(e,t),r=Math.max(e,t),o=this.detach(r);if(r-n>1){let a=this.detach(n);this.attach(n,o),this.attach(r,a)}else this.attach(n,o)}move(e,t){this.attach(t,this.detach(e))}};function ab(i,e,t,n,r){return i===t&&Object.is(e,n)?1:Object.is(r(i,e),r(t,n))?-1:0}function YY(i,e,t){let n,r,o=0,a=i.length-1,s=void 0;if(Array.isArray(e)){let l=e.length-1;for(;o<=a&&o<=l;){let u=i.at(o),h=e[o],_=ab(o,u,o,h,t);if(_!==0){_<0&&i.updateValue(o,h),o++;continue}let y=i.at(a),b=e[l],x=ab(a,y,l,b,t);if(x!==0){x<0&&i.updateValue(a,b),a--,l--;continue}let w=t(o,u),k=t(a,y),V=t(o,h);if(Object.is(V,k)){let N=t(l,b);Object.is(N,w)?(i.swap(o,a),i.updateValue(a,b),l--,a--):i.move(a,o),i.updateValue(o,h),o++;continue}if(n??=new P4,r??=$D(i,o,a,t),Lb(i,n,o,V))i.updateValue(o,h),o++,a++;else if(r.has(V))n.set(w,i.detach(o)),a--;else{let N=i.create(o,e[o]);i.attach(o,N),o++,a++}}for(;o<=l;)GD(i,n,t,o,e[o]),o++}else if(e!=null){let l=e[Symbol.iterator](),u=l.next();for(;!u.done&&o<=a;){let h=i.at(o),_=u.value,y=ab(o,h,o,_,t);if(y!==0)y<0&&i.updateValue(o,_),o++,u=l.next();else{n??=new P4,r??=$D(i,o,a,t);let b=t(o,_);if(Lb(i,n,o,b))i.updateValue(o,_),o++,a++,u=l.next();else if(!r.has(b))i.attach(o,i.create(o,_)),o++,a++,u=l.next();else{let x=t(o,h);n.set(x,i.detach(o)),a--}}}for(;!u.done;)GD(i,n,t,i.length,u.value),u=l.next()}for(;o<=a;)i.destroy(i.detach(a--));n?.forEach(l=>{i.destroy(l)})}function Lb(i,e,t,n){return e!==void 0&&e.has(n)?(i.attach(t,e.get(n)),e.delete(n),!0):!1}function GD(i,e,t,n,r){if(Lb(i,e,n,t(n,r)))i.updateValue(n,r);else{let o=i.create(n,r);i.attach(n,o)}}function $D(i,e,t,n){let r=new Set;for(let o=e;o<=t;o++)r.add(n(o,i.at(o)));return r}var P4=class{kvMap=new Map;_vMap=void 0;has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;let t=this.kvMap.get(e);return this._vMap!==void 0&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);this._vMap===void 0&&(this._vMap=new Map);let r=this._vMap;for(;r.has(n);)n=r.get(n);r.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),this._vMap!==void 0){let r=this._vMap;for(;r.has(n);)n=r.get(n),e(n,t)}}};function re(i,e,t,n,r,o,a,s){qa("NgControlFlow");let l=Qt(),u=Pi(),h=_a(u.consts,o);return Lu(l,u,i,e,t,n,r,h,256,a,s),A9}function A9(i,e,t,n,r,o,a,s){qa("NgControlFlow");let l=Qt(),u=Pi(),h=_a(u.consts,o);return Lu(l,u,i,e,t,n,r,h,512,a,s),A9}function oe(i,e){qa("NgControlFlow");let t=Qt(),n=fl(),r=t[n]!==Po?t[n]:-1,o=r!==-1?E4(t,Ni+r):void 0,a=0;if(wo(t,n,i)){let s=vn(null);try{if(o!==void 0&&cT(o,a),i!==-1){let l=Ni+i,u=E4(t,l),h=qb(t[cn],l),_=uT(u,h,t),y=k3(t,h,e,{dehydratedView:_});N3(u,y,a,zu(h,_))}}finally{vn(s)}}else if(o!==void 0){let s=lT(o,a);s!==void 0&&(s[Mr]=e)}}var Hb=class{lContainer;$implicit;$index;constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-io}};function Bo(i){return i}function $n(i,e){return e}var Bb=class{hasEmptyBlock;trackByFn;liveCollection;constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}};function Ot(i,e,t,n,r,o,a,s,l,u,h,_,y){qa("NgControlFlow");let b=Qt(),x=Pi(),w=l!==void 0,k=Qt(),V=s?a.bind(k[Lo][Mr]):a,N=new Bb(w,V);k[Ni+i]=N,Lu(b,x,i+1,e,t,n,r,_a(x.consts,o),256),w&&Lu(b,x,i+2,l,u,h,_,_a(x.consts,y),512)}var jb=class extends zb{lContainer;hostLView;templateTNode;operationsCounter=void 0;needsIndexUpdate=!1;constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n}get length(){return this.lContainer.length-io}at(e){return this.getLView(e)[Mr].$implicit}attach(e,t){let n=t[R1];this.needsIndexUpdate||=e!==this.length,N3(this.lContainer,t,e,zu(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||=e!==this.length-1,QY(this.lContainer,e)}create(e,t){let n=h4(this.lContainer,this.templateTNode.tView.ssrId),r=k3(this.hostLView,this.templateTNode,new Hb(this.lContainer,t,e),{dehydratedView:n});return this.operationsCounter?.recordCreate(),r}destroy(e){V4(e[cn],e),this.operationsCounter?.recordDestroy()}updateValue(e,t){this.getLView(e)[Mr].$implicit=t}reset(){this.needsIndexUpdate=!1,this.operationsCounter?.reset()}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[Mr].$index=e}getLView(e){return KY(this.lContainer,e)}};function Tt(i){let e=vn(null),t=ml();try{let n=Qt(),r=n[cn],o=n[t],a=t+1,s=E4(n,a);if(o.liveCollection===void 0){let u=qb(r,a);o.liveCollection=new jb(s,n,u)}else o.liveCollection.reset();let l=o.liveCollection;if(YY(l,i,o.trackByFn),l.updateIndexes(),o.hasEmptyBlock){let u=fl(),h=l.length===0;if(wo(n,u,h)){let _=t+2,y=E4(n,_);if(h){let b=qb(r,_),x=uT(y,b,n),w=k3(n,b,void 0,{dehydratedView:x});N3(y,w,0,zu(b,x))}else r.firstUpdatePass&&LW(y),cT(y,0)}}}finally{vn(e)}}function E4(i,e){return i[e]}function QY(i,e){return S3(i,e)}function KY(i,e){return lT(i,e)}function qb(i,e){return p3(i,e)}function g(i,e,t){let n=Qt(),r=fl();if(wo(n,r,e)){let o=Pi(),a=Tu();KO(a,n,i,e,n[Ci],t)}return g}function Ub(i,e,t,n,r){_9(e,i,t,r?"class":"style",n)}function c(i,e,t,n){let r=Qt(),o=r[cn],a=i+Ni,s=o.firstCreatePass?y9(a,r,2,e,g9,Uh(),t,n):o.data[a];if(z4(s,r,i,e,BT),Pu(s)){let l=r[cn];R4(l,r,s),e9(l,s,r)}return n!=null&&$u(r,s),c}function d(){let i=Pi(),e=mr(),t=L4(e);return i.firstCreatePass&&M9(i,t),jx(t)&&qx(),Hx(),t.classesWithoutHost!=null&&FG(t)&&Ub(i,t,Qt(),t.classesWithoutHost,!0),t.stylesWithoutHost!=null&&RG(t)&&Ub(i,t,Qt(),t.stylesWithoutHost,!1),d}function S(i,e,t,n){return c(i,e,t,n),d(),S}function at(i,e,t,n){let r=Qt(),o=r[cn],a=i+Ni,s=o.firstCreatePass?gT(a,o,2,e,t,n):o.data[a];return z4(s,r,i,e,BT),n!=null&&$u(r,s),at}function pt(){let i=mr(),e=L4(i);return jx(e)&&qx(),Hx(),pt}function wn(i,e,t,n){return at(i,e,t,n),pt(),wn}var BT=(i,e,t,n,r)=>(_3(!0),RO(e[Ci],n,hD()));function Ze(i,e,t){let n=Qt(),r=n[cn],o=i+Ni,a=r.firstCreatePass?y9(o,n,8,"ng-container",g9,Uh(),e,t):r.data[o];if(z4(a,n,i,"ng-container",qT),Pu(a)){let s=n[cn];R4(s,n,a),e9(s,a,n)}return t!=null&&$u(n,a),Ze}function Xe(){let i=Pi(),e=mr(),t=L4(e);return i.firstCreatePass&&M9(i,t),Xe}function Ei(i,e,t){return Ze(i,e,t),Xe(),Ei}function V9(i,e,t){let n=Qt(),r=n[cn],o=i+Ni,a=r.firstCreatePass?gT(o,r,8,"ng-container",e,t):r.data[o];return z4(a,n,i,"ng-container",qT),t!=null&&$u(n,a),V9}function jT(){let i=mr(),e=L4(i);return Xe}function F3(i,e,t){return V9(i,e,t),jT(),F3}var qT=(i,e,t,n,r)=>(_3(!0),j$(e[Ci],""));function Y(){return Qt()}function gi(i,e,t){let n=Qt(),r=fl();if(wo(n,r,e)){let o=Pi(),a=Tu();h9(a,n,i,e,n[Ci],t)}return gi}function Cc(i,e,t){let n=Qt(),r=fl();if(wo(n,r,e)){let o=Pi(),a=Tu(),s=Wh(o.data),l=XO(s,a,n);h9(a,n,i,e,l,t)}return Cc}var G1=void 0;function XY(i){let e=Math.floor(Math.abs(i)),t=i.toString().replace(/^[^.]*\.?/,"").length;return e===1&&t===0?1:5}var ZY=["en",[["a","p"],["AM","PM"],G1],[["AM","PM"],G1,G1],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],G1,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],G1,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",G1,"{1} 'at' {0}",G1],[".",",",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0%","\xA4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",XY],y3={};function F9(i,e,t){typeof e!="string"&&(t=e,e=i[Ui.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),y3[e]=i,t&&(y3[e][Ui.ExtraData]=t)}function jo(i){let e=JY(i),t=WD(e);if(t)return t;let n=e.split("-")[0];if(t=WD(n),t)return t;if(n==="en")return ZY;throw new He(701,!1)}function WD(i){return i in y3||(y3[i]=Ra.ng&&Ra.ng.common&&Ra.ng.common.locales&&Ra.ng.common.locales[i]),y3[i]}var Ui=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(Ui||{});function JY(i){return i.toLowerCase().replace(/_/g,"-")}var R3="en-US",eQ="USD";var tQ=R3;function UT(i){typeof i=="string"&&(tQ=i.toLowerCase().replace(/_/g,"-"))}function I(i,e,t){let n=Qt(),r=Pi(),o=mr();return R9(r,n,n[Ci],o,i,e,t),I}function Qu(i,e){let t=mr(),n=Qt(),r=Pi(),o=Wh(r.data),a=XO(o,t,n);return R9(r,n,a,t,i,e),Qu}function uo(i,e,t){let n=Qt(),r=Pi(),o=mr();return(o.type&3||t)&&xT(o,r,n,t,n[Ci],i,e,l4(o,n,e)),uo}function R9(i,e,t,n,r,o,a){let s=!0,l=null;if((n.type&3||a)&&(l??=l4(n,e,o),xT(n,i,e,a,t,r,o,l)&&(s=!1)),s){let u=n.outputs?.[r],h=n.hostDirectiveOutputs?.[r];if(h&&h.length)for(let _=0;_<h.length;_+=2){let y=h[_],b=h[_+1];l??=l4(n,e,o),RD(n,e,y,b,r,l)}if(u&&u.length)for(let _ of u)l??=l4(n,e,o),RD(n,e,_,r,r,l)}}function M(i=1){return mD(i)}function nQ(i,e){let t=null,n=N$(i);for(let r=0;r<e.length;r++){let o=e[r];if(o==="*"){t=r;continue}if(n===null?FO(i,o,!0):F$(n,o))return r}return t}function rt(i){let e=Qt()[Lo][zo];if(!e.projection){let t=i?i.length:1,n=e.projection=BE(t,null),r=n.slice(),o=e.child;for(;o!==null;){if(o.type!==128){let a=i?nQ(o,i):0;a!==null&&(r[a]?r[a].projectionNext=o:n[a]=o,r[a]=o)}o=o.next}}}function ke(i,e=0,t,n,r,o){let a=Qt(),s=Pi(),l=n?i+1:null;l!==null&&Lu(a,s,l,n,r,o,null,t);let u=Wu(s,Ni+i,16,null,t||null);u.projection===null&&(u.projection=e),$x();let _=!a[R1]||Bx();a[Lo][zo].projection[u.projection]===null&&l!==null?iQ(a,s,l):_&&!I4(u)&&iW(s,a,u)}function iQ(i,e,t){let n=Ni+t,r=e.data[n],o=i[n],a=h4(o,r.tView.ssrId),s=k3(i,r,void 0,{dehydratedView:a});N3(o,s,0,zu(r,a))}function Ft(i,e,t,n){bY(i,e,t,n)}function pe(i,e,t){ST(i,e,t)}function te(i){let e=Qt(),t=Pi(),n=Yh();g3(n+1);let r=P9(t,n);if(i.dirty&&XE(e)===((r.metadata.flags&2)===2)){if(r.matches===null)i.reset([]);else{let o=ET(e,n);i.reset(o,hO),i.notifyOnChanges()}return!0}return!1}function ne(){return S9(Qt(),Yh())}function W4(i,e,t,n){MY(i,ST(e,t,n))}function Y4(i=1){g3(Yh()+i)}function Ct(i){let e=oD();return f3(e,Ni+i)}function i4(i,e){return i<<17|e<<2}function Y1(i){return i>>17&32767}function rQ(i){return(i&2)==2}function oQ(i,e){return i&131071|e<<17}function Gb(i){return i|2}function Hu(i){return(i&131068)>>2}function sb(i,e){return i&-131069|e<<2}function aQ(i){return(i&1)===1}function $b(i){return i|1}function sQ(i,e,t,n,r,o){let a=o?e.classBindings:e.styleBindings,s=Y1(a),l=Hu(a);i[n]=t;let u=!1,h;if(Array.isArray(t)){let _=t;h=_[1],(h===null||yu(_,h)>0)&&(u=!0)}else h=t;if(r)if(l!==0){let y=Y1(i[s+1]);i[n+1]=i4(y,s),y!==0&&(i[y+1]=sb(i[y+1],n)),i[s+1]=oQ(i[s+1],n)}else i[n+1]=i4(s,0),s!==0&&(i[s+1]=sb(i[s+1],n)),s=n;else i[n+1]=i4(l,0),s===0?s=n:i[l+1]=sb(i[l+1],n),l=n;u&&(i[n+1]=Gb(i[n+1])),YD(i,h,n,!0),YD(i,h,n,!1),lQ(e,h,i,n,o),a=i4(s,l),o?e.classBindings=a:e.styleBindings=a}function lQ(i,e,t,n,r){let o=r?i.residualClasses:i.residualStyles;o!=null&&typeof e=="string"&&yu(o,e)>=0&&(t[n+1]=$b(t[n+1]))}function YD(i,e,t,n){let r=i[t+1],o=e===null,a=n?Y1(r):Hu(r),s=!1;for(;a!==0&&(s===!1||o);){let l=i[a],u=i[a+1];cQ(l,e)&&(s=!0,i[a+1]=n?$b(u):Gb(u)),a=n?Y1(u):Hu(u)}s&&(i[t+1]=n?Gb(r):$b(r))}function cQ(i,e){return i===null||e==null||(Array.isArray(i)?i[1]:i)===e?!0:Array.isArray(i)&&typeof e=="string"?yu(i,e)>=0:!1}var Hr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function GT(i){return i.substring(Hr.key,Hr.keyEnd)}function dQ(i){return i.substring(Hr.value,Hr.valueEnd)}function uQ(i){return YT(i),$T(i,Bu(i,0,Hr.textEnd))}function $T(i,e){let t=Hr.textEnd;return t===e?-1:(e=Hr.keyEnd=fQ(i,Hr.key=e,t),Bu(i,e,t))}function pQ(i){return YT(i),WT(i,Bu(i,0,Hr.textEnd))}function WT(i,e){let t=Hr.textEnd,n=Hr.key=Bu(i,e,t);return t===n?-1:(n=Hr.keyEnd=mQ(i,n,t),n=QD(i,n,t,58),n=Hr.value=Bu(i,n,t),n=Hr.valueEnd=hQ(i,n,t),QD(i,n,t,59))}function YT(i){Hr.key=0,Hr.keyEnd=0,Hr.value=0,Hr.valueEnd=0,Hr.textEnd=i.length}function Bu(i,e,t){for(;e<t&&i.charCodeAt(e)<=32;)e++;return e}function fQ(i,e,t){for(;e<t&&i.charCodeAt(e)>32;)e++;return e}function mQ(i,e,t){let n;for(;e<t&&((n=i.charCodeAt(e))===45||n===95||(n&-33)>=65&&(n&-33)<=90||n>=48&&n<=57);)e++;return e}function QD(i,e,t,n){return e=Bu(i,e,t),e<t&&e++,e}function hQ(i,e,t){let n=-1,r=-1,o=-1,a=e,s=a;for(;a<t;){let l=i.charCodeAt(a++);if(l===59)return s;l===34||l===39?s=a=KD(i,l,a,t):e===a-4&&o===85&&r===82&&n===76&&l===40?s=a=KD(i,41,a,t):l>32&&(s=a),o=r,r=n,n=l&-33}return s}function KD(i,e,t,n){let r=-1,o=t;for(;o<n;){let a=i.charCodeAt(o++);if(a==e&&r!==92)return o;a==92&&r===92?r=0:r=a}throw new Error}function qo(i,e,t){return QT(i,e,t,!1),qo}function Fe(i,e){return QT(i,e,null,!0),Fe}function Ua(i){KT(JT,gQ,i,!1)}function gQ(i,e){for(let t=pQ(e);t>=0;t=WT(e,t))JT(i,GT(e),dQ(e))}function Gi(i){KT(MQ,_Q,i,!0)}function _Q(i,e){for(let t=uQ(e);t>=0;t=$T(e,t))l3(i,GT(e),!0)}function QT(i,e,t,n){let r=Qt(),o=Pi(),a=Gh(2);if(o.firstUpdatePass&&ZT(o,i,a,n),e!==Po&&wo(r,a,e)){let s=o.data[ml()];eI(o,s,r,r[Ci],i,r[a+1]=SQ(e,t),n,a)}}function KT(i,e,t,n){let r=Pi(),o=Gh(2);r.firstUpdatePass&&ZT(r,null,o,n);let a=Qt();if(t!==Po&&wo(a,o,t)){let s=r.data[ml()];if(tI(s,n)&&!XT(r,o)){let l=n?s.classesWithoutHost:s.stylesWithoutHost;l!==null&&(t=Vh(l,t||"")),Ub(r,s,a,t,n)}else wQ(r,s,a,a[Ci],a[o+1],a[o+1]=yQ(i,e,t),n,o)}}function XT(i,e){return e>=i.expandoStartIndex}function ZT(i,e,t,n){let r=i.data;if(r[t+1]===null){let o=r[ml()],a=XT(i,t);tI(o,n)&&e===null&&!a&&(e=!1),e=vQ(r,o,e,n),sQ(r,o,e,t,a,n)}}function vQ(i,e,t,n){let r=Wh(i),o=n?e.residualClasses:e.residualStyles;if(r===null)(n?e.classBindings:e.styleBindings)===0&&(t=lb(null,i,e,t,n),t=E3(t,e.attrs,n),o=null);else{let a=e.directiveStylingLast;if(a===-1||i[a]!==r)if(t=lb(r,i,e,t,n),o===null){let l=xQ(i,e,n);l!==void 0&&Array.isArray(l)&&(l=lb(null,i,e,l[1],n),l=E3(l,e.attrs,n),bQ(i,e,n,l))}else o=CQ(i,e,n)}return o!==void 0&&(n?e.residualClasses=o:e.residualStyles=o),t}function xQ(i,e,t){let n=t?e.classBindings:e.styleBindings;if(Hu(n)!==0)return i[Y1(n)]}function bQ(i,e,t,n){let r=t?e.classBindings:e.styleBindings;i[Y1(r)]=n}function CQ(i,e,t){let n,r=e.directiveEnd;for(let o=1+e.directiveStylingLast;o<r;o++){let a=i[o].hostAttrs;n=E3(n,a,t)}return E3(n,e.attrs,t)}function lb(i,e,t,n,r){let o=null,a=t.directiveEnd,s=t.directiveStylingLast;for(s===-1?s=t.directiveStart:s++;s<a&&(o=e[s],n=E3(n,o.hostAttrs,r),o!==i);)s++;return i!==null&&(t.directiveStylingLast=s),n}function E3(i,e,t){let n=t?1:2,r=-1;if(e!==null)for(let o=0;o<e.length;o++){let a=e[o];typeof a=="number"?r=a:r===n&&(Array.isArray(i)||(i=i===void 0?[]:["",i]),l3(i,a,t?!0:e[++o]))}return i===void 0?null:i}function yQ(i,e,t){if(t==null||t==="")return Mo;let n=[],r=xa(t);if(Array.isArray(r))for(let o=0;o<r.length;o++)i(n,r[o],!0);else if(typeof r=="object")for(let o in r)r.hasOwnProperty(o)&&i(n,o,r[o]);else typeof r=="string"&&e(n,r);return n}function JT(i,e,t){l3(i,e,xa(t))}function MQ(i,e,t){let n=String(e);n!==""&&!n.includes(" ")&&l3(i,n,t)}function wQ(i,e,t,n,r,o,a,s){r===Po&&(r=Mo);let l=0,u=0,h=0<r.length?r[0]:null,_=0<o.length?o[0]:null;for(;h!==null||_!==null;){let y=l<r.length?r[l+1]:void 0,b=u<o.length?o[u+1]:void 0,x=null,w;h===_?(l+=2,u+=2,y!==b&&(x=_,w=b)):_===null||h!==null&&h<_?(l+=2,x=h):(u+=2,x=_,w=b),x!==null&&eI(i,e,t,n,x,w,a,s),h=l<r.length?r[l]:null,_=u<o.length?o[u]:null}}function eI(i,e,t,n,r,o,a,s){if(!(e.type&3))return;let l=i.data,u=l[s+1],h=aQ(u)?XD(l,e,t,r,Hu(u),a):void 0;if(!D4(h)){D4(o)||rQ(u)&&(o=XD(l,null,t,r,s,a));let _=Nx(ml(),t);oW(n,a,_,r,o)}}function XD(i,e,t,n,r,o){let a=e===null,s;for(;r>0;){let l=i[r],u=Array.isArray(l),h=u?l[1]:l,_=h===null,y=t[r+1];y===Po&&(y=_?Mo:void 0);let b=_?Hh(y,n):h===n?y:void 0;if(u&&!D4(b)&&(b=Hh(l,n)),D4(b)&&(s=b,a))return s;let x=i[r+1];r=a?Y1(x):Hu(x)}if(e!==null){let l=o?e.residualClasses:e.residualStyles;l!=null&&(s=Hh(l,n))}return s}function D4(i){return i!==void 0}function SQ(i,e){return i==null||i===""||(typeof e=="string"?i=i+e:typeof i=="object"&&(i=uc(xa(i)))),i}function tI(i,e){return(i.flags&(e?8:16))!==0}function m(i,e=""){let t=Qt(),n=Pi(),r=i+Ni,o=n.firstCreatePass?Wu(n,r,1,e,null):n.data[r],a=PQ(n,t,o,e,i);t[r]=a,Xh()&&f9(n,t,a,o),Du(o,!1)}var PQ=(i,e,t,n,r)=>(_3(!0),H$(e[Ci],n));function nI(i,e,t,n=""){return wo(i,fl(),t)?e+pc(t)+n:Po}function EQ(i,e,t,n,r,o=""){let a=aD(),s=_4(i,a,t,r);return Gh(2),s?e+pc(t)+n+pc(r)+o:Po}function Pe(i){return K("",i),Pe}function K(i,e,t){let n=Qt(),r=nI(n,i,e,t);return r!==Po&&iI(n,ml(),r),K}function Li(i,e,t,n,r){let o=Qt(),a=EQ(o,i,e,t,n,r);return a!==Po&&iI(o,ml(),a),Li}function iI(i,e,t){let n=Nx(e,i);B$(i[Ci],n,t)}function Br(i,e,t){Zx(e)&&(e=e());let n=Qt(),r=fl();if(wo(n,r,e)){let o=Pi(),a=Tu();KO(a,n,i,e,n[Ci],t)}return Br}function ro(i,e){let t=Zx(i);return t&&i.set(e),t}function jr(i,e){let t=Qt(),n=Pi(),r=mr();return R9(n,t,t[Ci],r,i,e),jr}function Vi(i){return wo(Qt(),fl(),i)?pc(i):Po}function z3(i,e,t=""){return nI(Qt(),i,e,t)}function DQ(i,e,t){let n=Pi();if(n.firstCreatePass){let r=Ss(i);Wb(t,n.data,n.blueprint,r,!0),Wb(e,n.data,n.blueprint,r,!1)}}function Wb(i,e,t,n,r){if(i=co(i),Array.isArray(i))for(let o=0;o<i.length;o++)Wb(i[o],e,t,n,r);else{let o=Pi(),a=Qt(),s=mr(),l=A1(i)?i:co(i.provide),u=Px(i),h=s.providerIndexes&1048575,_=s.directiveStart,y=s.providerIndexes>>20;if(A1(i)||!i.multi){let b=new W1(u,r,D,null),x=db(l,e,r?h:h+y,_);x===-1?(pb(f4(s,a),o,l),cb(o,i,e.length),e.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),t.push(b),a.push(b)):(t[x]=b,a[x]=b)}else{let b=db(l,e,h+y,_),x=db(l,e,h,h+y),w=b>=0&&t[b],k=x>=0&&t[x];if(r&&!k||!r&&!w){pb(f4(s,a),o,l);let V=IQ(r?TQ:OQ,t.length,r,n,u,i);!r&&k&&(t[x].providerFactory=V),cb(o,i,e.length,0),e.push(l),s.directiveStart++,s.directiveEnd++,r&&(s.providerIndexes+=1048576),t.push(V),a.push(V)}else{let V=rI(t[r?x:b],u,!r&&n);cb(o,i,b>-1?b:x,V)}!r&&n&&k&&t[x].componentProviders++}}}function cb(i,e,t,n){let r=A1(e),o=WE(e);if(r||o){let l=(o?co(e.useClass):e).prototype.ngOnDestroy;if(l){let u=i.destroyHooks||(i.destroyHooks=[]);if(!r&&e.multi){let h=u.indexOf(t);h===-1?u.push(t,[n,l]):u[h+1].push(n,l)}else u.push(t,l)}}}function rI(i,e,t){return t&&i.componentProviders++,i.multi.push(e)-1}function db(i,e,t,n){for(let r=t;r<n;r++)if(e[r]===i)return r;return-1}function OQ(i,e,t,n,r){return Yb(this.multi,[])}function TQ(i,e,t,n,r){let o=this.multi,a;if(this.providerFactory){let s=this.providerFactory.componentProviders,l=M3(n,n[cn],this.providerFactory.index,r);a=l.slice(0,s),Yb(o,a);for(let u=s;u<l.length;u++)a.push(l[u])}else a=[],Yb(o,a);return a}function Yb(i,e){for(let t=0;t<i.length;t++){let n=i[t];e.push(n())}return e}function IQ(i,e,t,n,r,o){let a=new W1(i,t,D,null);return a.multi=[],a.index=e,a.componentProviders=0,rI(a,r,n&&!t),a}function Mt(i,e=[]){return t=>{t.providersResolver=(n,r)=>DQ(n,r?r(i):i,e)}}function In(i,e,t){let n=Sd()+i,r=Qt();return r[n]===Po?A3(r,n,t?e.call(t):e()):vT(r,n)}function Lt(i,e,t,n){return oI(Qt(),Sd(),i,e,t,n)}function qr(i,e,t,n,r){return aI(Qt(),Sd(),i,e,t,n,r)}function z9(i,e,t,n,r,o,a,s){let l=Sd()+i,u=Qt(),h=JW(u,l,t,n,r,o);return wo(u,l+4,a)||h?A3(u,l+5,s?e.call(s,t,n,r,o,a):e(t,n,r,o,a)):vT(u,l+5)}function L9(i,e){let t=i[e];return t===Po?void 0:t}function oI(i,e,t,n,r,o){let a=e+t;return wo(i,a,r)?A3(i,a+1,o?n.call(o,r):n(r)):L9(i,a+1)}function aI(i,e,t,n,r,o,a){let s=e+t;return _4(i,s,r,o)?A3(i,s+2,a?n.call(a,r,o):n(r,o)):L9(i,s+2)}function kQ(i,e,t,n,r,o){let a=e+t,s=!1;for(let l=0;l<r.length;l++)wo(i,a++,r[l])&&(s=!0);return s?A3(i,a,n.apply(o,r)):L9(i,a)}function sr(i,e){let t=Pi(),n,r=i+Ni;t.firstCreatePass?(n=NQ(e,t.pipeRegistry),t.data[r]=n,n.onDestroy&&(t.destroyHooks??=[]).push(r,n.onDestroy)):n=t.data[r];let o=n.factory||(n.factory=vd(n.type,!0)),a,s=Ro(D);try{let l=p4(!1),u=o();return p4(l),Ax(t,Qt(),r,u),u}finally{Ro(s)}}function NQ(i,e){if(e)for(let t=e.length-1;t>=0;t--){let n=e[t];if(i===n.name)return n}}function Os(i,e,t){let n=i+Ni,r=Qt(),o=f3(r,n);return B9(r,n)?oI(r,Sd(),e,o.transform,t,o):o.transform(t)}function Ts(i,e,t,n){let r=i+Ni,o=Qt(),a=f3(o,r);return B9(o,r)?aI(o,Sd(),e,a.transform,t,n,a):a.transform(t,n)}function H9(i,e,t){let n=i+Ni,r=Qt(),o=f3(r,n);return B9(r,n)?kQ(r,Sd(),e,o.transform,t,o):o.transform.apply(o,t)}function B9(i,e){return i[cn].data[e].pure}function an(i,e){return H4(i,e)}var O4=class{ngModuleFactory;componentFactories;constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}},j9=(()=>{class i{compileModuleSync(t){return new y4(t)}compileModuleAsync(t){return Promise.resolve(this.compileModuleSync(t))}compileModuleAndAllComponentsSync(t){let n=this.compileModuleSync(t),r=yx(t),o=AO(r.declarations).reduce((a,s)=>{let l=ll(s);return l&&a.push(new Dd(l)),a},[]);return new O4(n,o)}compileModuleAndAllComponentsAsync(t){return Promise.resolve(this.compileModuleAndAllComponentsSync(t))}clearCache(){}clearCacheFor(t){}getModuleId(t){}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var AQ=(()=>{class i{zone=C(Vt);changeDetectionScheduler=C(ys);applicationRef=C(wr);applicationErrorHandler=C(va);_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(t){this.applicationErrorHandler(t)}})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function sI({ngZoneFactory:i,ignoreChangesOutsideZone:e,scheduleInRootZone:t}){return i??=()=>new Vt(mt(ae({},lI()),{scheduleInRootZone:t})),[{provide:Vt,useFactory:i},{provide:fc,multi:!0,useFactory:()=>{let n=C(AQ,{optional:!0});return()=>n.initialize()}},{provide:fc,multi:!0,useFactory:()=>{let n=C(VQ);return()=>{n.initialize()}}},e===!0?{provide:Jx,useValue:!0}:[],{provide:eb,useValue:t??AT},{provide:va,useFactory:()=>{let n=C(Vt),r=C(ki),o;return a=>{n.runOutsideAngular(()=>{r.destroyed&&!o?setTimeout(()=>{throw a}):(o??=r.get(ha),o.handleError(a))})}}}]}function lI(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}var VQ=(()=>{class i{subscription=new En;initialized=!1;zone=C(Vt);pendingTasks=C(hl);initialize(){if(this.initialized)return;this.initialized=!0;let t=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(t=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Vt.assertNotInAngularZone(),queueMicrotask(()=>{t!==null&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(t),t=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Vt.assertInAngularZone(),t??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var cI=(()=>{class i{applicationErrorHandler=C(va);appRef=C(wr);taskService=C(hl);ngZone=C(Vt);zonelessEnabled=C(v3);tracing=C(X1,{optional:!0});disableScheduling=C(Jx,{optional:!0})??!1;zoneIsDefined=typeof Zone<"u"&&!!Zone.root.run;schedulerTickApplyArgs=[{data:{__scheduler_tick__:!0}}];subscriptions=new En;angularZoneId=this.zoneIsDefined?this.ngZone._inner?.get(M4):null;scheduleInRootZone=!this.zonelessEnabled&&this.zoneIsDefined&&(C(eb,{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 w4||!this.zoneIsDefined)}notify(t){if(!this.zonelessEnabled&&t===5)return;let n=!1;switch(t){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,n=!0;break}case 12:{this.appRef.dirtyFlags|=16,n=!0;break}case 13:{this.appRef.dirtyFlags|=2,n=!0;break}case 11:{n=!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(n))return;let r=this.useMicrotaskScheduler?jD:VT;this.pendingRenderTaskId=this.taskService.add(),this.scheduleInRootZone?this.cancelScheduledCallback=Zone.root.run(()=>r(()=>this.tick())):this.cancelScheduledCallback=this.ngZone.runOutsideAngular(()=>r(()=>this.tick()))}shouldScheduleTick(t){return!(this.disableScheduling&&!t||this.appRef.destroyed||this.pendingRenderTaskId!==null||this.runningTick||this.appRef._runningTick||!this.zonelessEnabled&&this.zoneIsDefined&&Zone.current.get(M4+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 t=this.taskService.add();try{this.ngZone.run(()=>{this.runningTick=!0,this.appRef._tick()},void 0,this.schedulerTickApplyArgs)}catch(n){this.taskService.remove(t),this.applicationErrorHandler(n)}finally{this.cleanup()}this.useMicrotaskScheduler=!0,jD(()=>{this.useMicrotaskScheduler=!1,this.taskService.remove(t)})}ngOnDestroy(){this.subscriptions.unsubscribe(),this.cleanup()}cleanup(){if(this.runningTick=!1,this.cancelScheduledCallback?.(),this.cancelScheduledCallback=null,this.pendingRenderTaskId!==null){let t=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(t)}}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function FQ(){return typeof $localize<"u"&&$localize.locale||R3}var yc=new Ee("",{providedIn:"root",factory:()=>C(yc,{optional:!0,skipSelf:!0})||FQ()}),q9=new Ee("",{providedIn:"root",factory:()=>eQ});var Q4=class{destroyed=!1;listeners=null;errorHandler=C(ha,{optional:!0});destroyRef=C(hr);constructor(){this.destroyRef.onDestroy(()=>{this.destroyed=!0,this.listeners=null})}subscribe(e){if(this.destroyed)throw new He(953,!1);return(this.listeners??=[]).push(e),{unsubscribe:()=>{let t=this.listeners?.indexOf(e);t!==void 0&&t!==-1&&this.listeners?.splice(t,1)}}}emit(e){if(this.destroyed){console.warn(Ms(953,!1));return}if(this.listeners===null)return;let t=vn(null);try{for(let n of this.listeners)try{n(e)}catch(r){this.errorHandler?.handleError(r)}}finally{vn(t)}}};function ea(i){return IE(i)}function lr(i,e){return $p(i,e?.equal)}var U9=class{[Rr];constructor(e){this[Rr]=e}destroy(){this[Rr].destroy()}};function Z1(i,e){let t=e?.injector??C(Nt),n=e?.manualCleanup!==!0?t.get(hr):null,r,o=t.get(ku,null,{optional:!0}),a=t.get(ys);return o!==null?(r=LQ(o.view,a,i),n instanceof o3&&n._lView===o.view&&(n=null)):r=HQ(i,t.get(x3),a),r.injector=t,n!==null&&(r.onDestroyFn=n.onDestroy(()=>r.destroy())),new U9(r)}var dI=mt(ae({},ud),{consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!0,dirty:!0,hasRun:!1,cleanupFns:void 0,zone:null,kind:"effect",onDestroyFn:U1,run(){if(this.dirty=!1,this.hasRun&&!au(this))return;this.hasRun=!0;let i=n=>(this.cleanupFns??=[]).push(n),e=pd(this),t=Ou(!1);try{this.maybeCleanup(),this.fn(i)}finally{Ou(t),M1(this,e)}},maybeCleanup(){if(!this.cleanupFns?.length)return;let i=vn(null);try{for(;this.cleanupFns.length;)this.cleanupFns.pop()()}finally{this.cleanupFns=[],vn(i)}}}),RQ=mt(ae({},dI),{consumerMarkedDirty(){this.scheduler.schedule(this),this.notifier.notify(12)},destroy(){su(this),this.onDestroyFn(),this.maybeCleanup(),this.scheduler.remove(this)}}),zQ=mt(ae({},dI),{consumerMarkedDirty(){this.view[yn]|=8192,wd(this.view),this.notifier.notify(13)},destroy(){su(this),this.onDestroyFn(),this.maybeCleanup(),this.view[mc]?.delete(this)}});function LQ(i,e,t){let n=Object.create(zQ);return n.view=i,n.zone=typeof Zone<"u"?Zone.current:null,n.notifier=e,n.fn=t,i[mc]??=new Set,i[mc].add(n),n.consumerMarkedDirty(n),n}function HQ(i,e,t){let n=Object.create(RQ);return n.fn=i,n.scheduler=e,n.notifier=t,n.zone=typeof Zone<"u"?Zone.current:null,n.scheduler.add(n),n.notifier.notify(12),n}var Z4=Symbol("InputSignalNode#UNSET"),xI=mt(ae({},th),{transformFn:void 0,applyValueToInputSignal(i,e){w1(i,e)}});function bI(i,e){let t=Object.create(xI);t.value=i,t.transformFn=e?.transform;function n(){if(y1(t),t.value===Z4){let r=null;throw new He(-950,r)}return t.value}return n[Rr]=t,n}var ZQ=new Ee("");ZQ.__NG_ELEMENT_ID__=i=>{let e=mr();if(e===null)throw new He(204,!1);if(e.type&2)return e.value;if(i&8)return null;throw new He(204,!1)};function uI(i,e){return bI(i,e)}function JQ(i){return bI(Z4,i)}var ba=(uI.required=JQ,uI);function pI(i,e){return OT(e)}function eK(i,e){return TT(e)}var J9=(pI.required=eK,pI);function CI(i,e){let t=Object.create(xI),n=new Q4;t.value=i;function r(){return y1(t),fI(t.value),t.value}return r[Rr]=t,r.asReadonly=Zh.bind(r),r.set=o=>{t.equal(t.value,o)||(w1(t,o),n.emit(o))},r.update=o=>{fI(t.value),r.set(o(t.value))},r.subscribe=n.subscribe.bind(n),r.destroyRef=n.destroyRef,r}function fI(i){if(i===Z4)throw new He(952,!1)}function mI(i,e){return CI(i,e)}function tK(i){return CI(Z4,i)}var J1=(mI.required=tK,mI);var G9=new Ee(""),nK=new Ee("");function L3(i){return!i.moduleRef}function iK(i){let e=L3(i)?i.r3Injector:i.moduleRef.injector,t=e.get(Vt);return t.run(()=>{L3(i)?i.r3Injector.resolveInjectorInitializers():i.moduleRef.resolveInjectorInitializers();let n=e.get(va),r;if(t.runOutsideAngular(()=>{r=t.onError.subscribe({next:n})}),L3(i)){let o=()=>e.destroy(),a=i.platformInjector.get(G9);a.add(o),e.onDestroy(()=>{r.unsubscribe(),a.delete(o)})}else{let o=()=>i.moduleRef.destroy(),a=i.platformInjector.get(G9);a.add(o),i.moduleRef.onDestroy(()=>{C3(i.allPlatformModules,i.moduleRef),r.unsubscribe(),a.delete(o)})}return oK(n,t,()=>{let o=e.get(hl),a=o.add(),s=e.get(N9);return s.runInitializers(),s.donePromise.then(()=>{let l=e.get(yc,R3);if(UT(l||R3),!e.get(nK,!0))return L3(i)?e.get(wr):(i.allPlatformModules.push(i.moduleRef),i.moduleRef);if(L3(i)){let h=e.get(wr);return i.rootComponent!==void 0&&h.bootstrap(i.rootComponent),h}else return rK?.(i.moduleRef,i.allPlatformModules),i.moduleRef}).finally(()=>void o.remove(a))})})}var rK;function oK(i,e,t){try{let n=t();return Id(n)?n.catch(r=>{throw e.runOutsideAngular(()=>i(r)),r}):n}catch(n){throw e.runOutsideAngular(()=>i(n)),n}}var K4=null;function aK(i=[],e){return Nt.create({name:e,providers:[{provide:c3,useValue:"platform"},{provide:G9,useValue:new Set([()=>K4=null])},...i]})}function sK(i=[]){if(K4)return K4;let e=aK(i);return K4=e,LT(),lK(e),e}function lK(i){let e=i.get(T4,null);Lr(i,()=>{e?.forEach(t=>t())})}function e2(){return!1}var Ye=(()=>{class i{static __NG_ELEMENT_ID__=cK}return i})();function cK(i){return dK(mr(),Qt(),(i&16)===16)}function dK(i,e,t){if(Md(i)&&!t){let n=Ba(i.index,e);return new Ed(n,n)}else if(i.type&175){let n=e[Lo];return new Ed(n,e)}return null}var $9=class{constructor(){}supports(e){return w9(e)}create(e){return new W9(e)}},uK=(i,e)=>e,W9=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(e){this._trackByFn=e||uK}forEachItem(e){let t;for(t=this._itHead;t!==null;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,o=null;for(;t||n;){let a=!n||t&&t.currentIndex<hI(n,r,o)?t:n,s=hI(a,r,o),l=a.currentIndex;if(a===n)r--,n=n._nextRemoved;else if(t=t._next,a.previousIndex==null)r++;else{o||(o=[]);let u=s-r,h=l-r;if(u!=h){for(let y=0;y<u;y++){let b=y<o.length?o[y]:o[y]=0,x=b+y;h<=x&&x<u&&(o[y]=b+1)}let _=a.previousIndex;o[_]=h-u}}s!==l&&e(a,s,l)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;t!==null;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;t!==null;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;t!==null;t=t._nextIdentityChange)e(t)}diff(e){if(e==null&&(e=[]),!w9(e))throw new He(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._itHead,n=!1,r,o,a;if(Array.isArray(e)){this.length=e.length;for(let s=0;s<this.length;s++)o=e[s],a=this._trackByFn(s,o),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,o,a,s),n=!0):(n&&(t=this._verifyReinsertion(t,o,a,s)),Object.is(t.item,o)||this._addIdentityChange(t,o)),t=t._next}else r=0,_T(e,s=>{a=this._trackByFn(r,s),t===null||!Object.is(t.trackById,a)?(t=this._mismatch(t,s,a,r),n=!0):(n&&(t=this._verifyReinsertion(t,s,a,r)),Object.is(t.item,s)||this._addIdentityChange(t,s)),t=t._next,r++}),this.length=r;return this._truncate(t),this.collection=e,this.isDirty}get isDirty(){return this._additionsHead!==null||this._movesHead!==null||this._removalsHead!==null||this._identityChangesHead!==null}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;e!==null;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;e!==null;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let o;return e===null?o=this._itTail:(o=e._prev,this._remove(e)),e=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):(e=this._linkedRecords===null?null:this._linkedRecords.get(n,r),e!==null?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):e=this._addAfter(new Y9(t,n),o,r)),e}_verifyReinsertion(e,t,n,r){let o=this._unlinkedRecords===null?null:this._unlinkedRecords.get(n,null);return o!==null?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;e!==null;){let t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){this._unlinkedRecords!==null&&this._unlinkedRecords.remove(e);let r=e._prevRemoved,o=e._nextRemoved;return r===null?this._removalsHead=o:r._nextRemoved=o,o===null?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail===null?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){let r=t===null?this._itHead:t._next;return e._next=r,e._prev=t,r===null?this._itTail=e:r._prev=e,t===null?this._itHead=e:t._next=e,this._linkedRecords===null&&(this._linkedRecords=new X4),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){this._linkedRecords!==null&&this._linkedRecords.remove(e);let t=e._prev,n=e._next;return t===null?this._itHead=n:t._next=n,n===null?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail===null?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return this._unlinkedRecords===null&&(this._unlinkedRecords=new X4),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,this._removalsTail===null?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail===null?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}},Y9=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(e,t){this.item=e,this.trackById=t}},Q9=class{_head=null;_tail=null;add(e){this._head===null?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;n!==null;n=n._nextDup)if((t===null||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){let t=e._prevDup,n=e._nextDup;return t===null?this._head=n:t._nextDup=n,n===null?this._tail=t:n._prevDup=t,this._head===null}},X4=class{map=new Map;put(e){let t=e.trackById,n=this.map.get(t);n||(n=new Q9,this.map.set(t,n)),n.add(e)}get(e,t){let n=e,r=this.map.get(n);return r?r.get(e,t):null}remove(e){let t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return this.map.size===0}clear(){this.map.clear()}};function hI(i,e,t){let n=i.previousIndex;if(n===null)return n;let r=0;return t&&n<t.length&&(r=t[n]),n+e+r}var K9=class{constructor(){}supports(e){return e instanceof Map||j4(e)}create(){return new X9}},X9=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(e){let t;for(t=this._mapHead;t!==null;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;t!==null;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;t!==null;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;t!==null;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;t!==null;t=t._nextRemoved)e(t)}diff(e){if(!e)e=new Map;else if(!(e instanceof Map||j4(e)))throw new He(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(n,r)=>{if(t&&t.key===r)this._maybeAddToChanges(t,n),this._appendAfter=t,t=t._next;else{let o=this._getOrCreateRecordForKey(r,n);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let n=t;n!==null;n=n._nextRemoved)n===this._mapHead&&(this._mapHead=null),this._records.delete(n.key),n._nextRemoved=n._next,n.previousValue=n.currentValue,n.currentValue=null,n._prev=null,n._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){let n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){let r=this._records.get(e);this._maybeAddToChanges(r,t);let o=r._prev,a=r._next;return o&&(o._next=a),a&&(a._prev=o),r._next=null,r._prev=null,r}let n=new Z9(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;e!==null;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;e!==null;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;e!=null;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){this._additionsHead===null?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){this._changesHead===null?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}},Z9=class{key;previousValue=null;currentValue=null;_nextPrevious=null;_next=null;_prev=null;_nextAdded=null;_nextRemoved=null;_nextChanged=null;constructor(e){this.key=e}};function gI(){return new J4([new $9])}var J4=(()=>{class i{factories;static \u0275prov=W({token:i,providedIn:"root",factory:gI});constructor(t){this.factories=t}static create(t,n){if(n!=null){let r=n.factories.slice();t=t.concat(r)}return new i(t)}static extend(t){return{provide:i,useFactory:n=>i.create(t,n||gI()),deps:[[i,new Q1,new ja]]}}find(t){let n=this.factories.find(r=>r.supports(t));if(n!=null)return n;throw new He(901,!1)}}return i})();function _I(){return new H3([new K9])}var H3=(()=>{class i{static \u0275prov=W({token:i,providedIn:"root",factory:_I});factories;constructor(t){this.factories=t}static create(t,n){if(n){let r=n.factories.slice();t=t.concat(r)}return new i(t)}static extend(t){return{provide:i,useFactory:n=>i.create(t,n||_I()),deps:[[i,new Q1,new ja]]}}find(t){let n=this.factories.find(r=>r.supports(t));if(n)return n;throw new He(901,!1)}}return i})();function yI(i){yi(8);try{let{rootComponent:e,appProviders:t,platformProviders:n}=i,r=sK(n),o=[sI({}),{provide:ys,useExisting:cI},_D,...t||[]],a=new P3({providers:o,parent:r,debugName:"",runEnvironmentInitializers:!1});return iK({r3Injector:a.injector,platformInjector:r,rootComponent:e})}catch(e){return Promise.reject(e)}finally{yi(9)}}function $t(i){return typeof i=="boolean"?i:i!=null&&i!=="false"}function Mc(i,e=NaN){return!isNaN(parseFloat(i))&&!isNaN(Number(i))?Number(i):e}function eg(i,e){let t=ll(i),n=e.elementInjector||Mu();return new Dd(t).create(n,e.projectableNodes,e.hostElement,e.environmentInjector,e.directives,e.bindings)}function MI(i){let e=ll(i);if(!e)return null;let t=new Dd(e);return{get selector(){return t.selector},get type(){return t.componentType},get inputs(){return t.inputs},get outputs(){return t.outputs},get ngContentSelectors(){return t.ngContentSelectors},get isStandalone(){return e.standalone},get isSignal(){return e.signals}}}var PI=null;function Ga(){return PI}function eC(i){PI??=i}var B3=class{},j3=(()=>{class i{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>C(EI),providedIn:"platform"})}return i})(),tC=new Ee(""),EI=(()=>{class i extends j3{_location;_history;_doc=C(Gt);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Ga().getBaseHref(this._doc)}onPopState(t){let n=Ga().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",t,!1),()=>n.removeEventListener("popstate",t)}onHashChange(t){let n=Ga().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",t,!1),()=>n.removeEventListener("hashchange",t)}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(t){this._location.pathname=t}pushState(t,n,r){this._history.pushState(t,n,r)}replaceState(t,n,r){this._history.replaceState(t,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(t=0){this._history.go(t)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>new i,providedIn:"platform"})}return i})();function tg(i,e){return i?e?i.endsWith("/")?e.startsWith("/")?i+e.slice(1):i+e:e.startsWith("/")?i+e:`${i}/${e}`:i:e}function wI(i){let e=i.search(/#|\?|$/);return i[e-1]==="/"?i.slice(0,e-1)+i.slice(e):i}function Is(i){return i&&i[0]!=="?"?`?${i}`:i}var wc=(()=>{class i{historyGo(t){throw new Error("")}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>C(ig),providedIn:"root"})}return i})(),ng=new Ee(""),ig=(()=>{class i extends wc{_platformLocation;_baseHref;_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??C(Gt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return tg(this._baseHref,t)}path(t=!1){let n=this._platformLocation.pathname+Is(this._platformLocation.search),r=this._platformLocation.hash;return r&&t?`${n}${r}`:n}pushState(t,n,r,o){let a=this.prepareExternalUrl(r+Is(o));this._platformLocation.pushState(t,n,a)}replaceState(t,n,r,o){let a=this.prepareExternalUrl(r+Is(o));this._platformLocation.replaceState(t,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||i)(Le(j3),Le(ng,8))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),$a=(()=>{class i{_subject=new he;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(t){this._locationStrategy=t;let n=this._locationStrategy.getBaseHref();this._basePath=mK(wI(SI(n))),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(t=!1){return this.normalize(this._locationStrategy.path(t))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(t,n=""){return this.path()==this.normalize(t+Is(n))}normalize(t){return i.stripTrailingSlash(fK(this._basePath,SI(t)))}prepareExternalUrl(t){return t&&t[0]!=="/"&&(t="/"+t),this._locationStrategy.prepareExternalUrl(t)}go(t,n="",r=null){this._locationStrategy.pushState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Is(n)),r)}replaceState(t,n="",r=null){this._locationStrategy.replaceState(r,"",t,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+Is(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(t=0){this._locationStrategy.historyGo?.(t)}onUrlChange(t){return this._urlChangeListeners.push(t),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(t);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(t="",n){this._urlChangeListeners.forEach(r=>r(t,n))}subscribe(t,n,r){return this._subject.subscribe({next:t,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=Is;static joinWithSlash=tg;static stripTrailingSlash=wI;static \u0275fac=function(n){return new(n||i)(Le(wc))};static \u0275prov=W({token:i,factory:()=>pK(),providedIn:"root"})}return i})();function pK(){return new $a(Le(wc))}function fK(i,e){if(!i||!e.startsWith(i))return e;let t=e.substring(i.length);return t===""||["/",";","?","#"].includes(t[0])?t:e}function SI(i){return i.replace(/\/index.html$/,"")}function mK(i){if(new RegExp("^(https?:)?//").test(i)){let[,t]=i.split(/\/\/[^\/]+/);return t}return i}var cC=(()=>{class i extends wc{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(t,n){super(),this._platformLocation=t,n!=null&&(this._baseHref=n)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(t){this._removeListenerFns.push(this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t))}getBaseHref(){return this._baseHref}path(t=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(t){let n=tg(this._baseHref,t);return n.length>0?"#"+n:n}pushState(t,n,r,o){let a=this.prepareExternalUrl(r+Is(o))||this._platformLocation.pathname;this._platformLocation.pushState(t,n,a)}replaceState(t,n,r,o){let a=this.prepareExternalUrl(r+Is(o))||this._platformLocation.pathname;this._platformLocation.replaceState(t,n,a)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(t=0){this._platformLocation.historyGo?.(t)}static \u0275fac=function(n){return new(n||i)(Le(j3),Le(ng,8))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),AI={ADP:[void 0,void 0,0],AFN:[void 0,"\u060B",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058F",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20BC"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09F3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xA5","\xA5"],COP:[void 0,"$",2],CRC:[void 0,"\u20A1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010D",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xA3"],ESP:[void 0,"\u20A7",0],EUR:["\u20AC"],FJD:[void 0,"$"],FKP:[void 0,"\xA3"],GBP:["\xA3"],GEL:[void 0,"\u20BE"],GHS:[void 0,"GH\u20B5"],GIP:[void 0,"\xA3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20AA"],INR:["\u20B9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xA5",void 0,0],KHR:[void 0,"\u17DB"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20A9",0],KRW:["\u20A9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20B8"],LAK:[void 0,"\u20AD",0],LBP:[void 0,"L\xA3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20AE",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20A6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20B1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20B2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20BD"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xA3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xA3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xA3",0],THB:[void 0,"\u0E3F"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20BA"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20B4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20AB",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202FCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xA4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},fg=function(i){return i[i.Decimal=0]="Decimal",i[i.Percent=1]="Percent",i[i.Currency=2]="Currency",i[i.Scientific=3]="Scientific",i}(fg||{});var Eo=function(i){return i[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i}(Eo||{}),Di=function(i){return i[i.Narrow=0]="Narrow",i[i.Abbreviated=1]="Abbreviated",i[i.Wide=2]="Wide",i[i.Short=3]="Short",i}(Di||{}),ta=function(i){return i[i.Short=0]="Short",i[i.Medium=1]="Medium",i[i.Long=2]="Long",i[i.Full=3]="Full",i}(ta||{}),po={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function VI(i){return jo(i)[Ui.LocaleId]}function FI(i,e,t){let n=jo(i),r=[n[Ui.DayPeriodsFormat],n[Ui.DayPeriodsStandalone]],o=Wa(r,e);return Wa(o,t)}function RI(i,e,t){let n=jo(i),r=[n[Ui.DaysFormat],n[Ui.DaysStandalone]],o=Wa(r,e);return Wa(o,t)}function zI(i,e,t){let n=jo(i),r=[n[Ui.MonthsFormat],n[Ui.MonthsStandalone]],o=Wa(r,e);return Wa(o,t)}function LI(i,e){let n=jo(i)[Ui.Eras];return Wa(n,e)}function q3(i,e){let t=jo(i);return Wa(t[Ui.DateFormat],e)}function U3(i,e){let t=jo(i);return Wa(t[Ui.TimeFormat],e)}function G3(i,e){let n=jo(i)[Ui.DateTimeFormat];return Wa(n,e)}function Ns(i,e){let t=jo(i),n=t[Ui.NumberSymbols][e];if(typeof n>"u"){if(e===po.CurrencyDecimal)return t[Ui.NumberSymbols][po.Decimal];if(e===po.CurrencyGroup)return t[Ui.NumberSymbols][po.Group]}return n}function dC(i,e){return jo(i)[Ui.NumberFormats][e]}function hK(i){return jo(i)[Ui.Currencies]}function HI(i){if(!i[Ui.ExtraData])throw new He(2303,!1)}function BI(i){let e=jo(i);return HI(e),(e[Ui.ExtraData][2]||[]).map(n=>typeof n=="string"?nC(n):[nC(n[0]),nC(n[1])])}function jI(i,e,t){let n=jo(i);HI(n);let r=[n[Ui.ExtraData][0],n[Ui.ExtraData][1]],o=Wa(r,e)||[];return Wa(o,t)||[]}function Wa(i,e){for(let t=e;t>-1;t--)if(typeof i[t]<"u")return i[t];throw new He(2304,!1)}function nC(i){let[e,t]=i.split(":");return{hours:+e,minutes:+t}}function qI(i,e,t="en"){let n=hK(t)[i]||AI[i]||[],r=n[1];return e==="narrow"&&typeof r=="string"?r:n[0]||i}var gK=2;function UI(i){let e,t=AI[i];return t&&(e=t[2]),typeof e=="number"?e:gK}var _K=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,rg={},vK=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function GI(i,e,t,n){let r=EK(i);e=Sc(t,e)||e;let a=[],s;for(;e;)if(s=vK.exec(e),s){a=a.concat(s.slice(1));let h=a.pop();if(!h)break;e=h}else{a.push(e);break}let l=r.getTimezoneOffset();n&&(l=WI(n,l),r=PK(r,n));let u="";return a.forEach(h=>{let _=wK(h);u+=_?_(r,t,l):h==="''"?"'":h.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function cg(i,e,t){let n=new Date(0);return n.setFullYear(i,e,t),n.setHours(0,0,0),n}function Sc(i,e){let t=VI(i);if(rg[t]??={},rg[t][e])return rg[t][e];let n="";switch(e){case"shortDate":n=q3(i,ta.Short);break;case"mediumDate":n=q3(i,ta.Medium);break;case"longDate":n=q3(i,ta.Long);break;case"fullDate":n=q3(i,ta.Full);break;case"shortTime":n=U3(i,ta.Short);break;case"mediumTime":n=U3(i,ta.Medium);break;case"longTime":n=U3(i,ta.Long);break;case"fullTime":n=U3(i,ta.Full);break;case"short":let r=Sc(i,"shortTime"),o=Sc(i,"shortDate");n=og(G3(i,ta.Short),[r,o]);break;case"medium":let a=Sc(i,"mediumTime"),s=Sc(i,"mediumDate");n=og(G3(i,ta.Medium),[a,s]);break;case"long":let l=Sc(i,"longTime"),u=Sc(i,"longDate");n=og(G3(i,ta.Long),[l,u]);break;case"full":let h=Sc(i,"fullTime"),_=Sc(i,"fullDate");n=og(G3(i,ta.Full),[h,_]);break}return n&&(rg[t][e]=n),n}function og(i,e){return e&&(i=i.replace(/\{([^}]+)}/g,function(t,n){return e!=null&&n in e?e[n]:t})),i}function ks(i,e,t="-",n,r){let o="";(i<0||r&&i<=0)&&(r?i=-i+1:(i=-i,o=t));let a=String(i);for(;a.length<e;)a="0"+a;return n&&(a=a.slice(a.length-e)),o+a}function xK(i,e){return ks(i,3).substring(0,e)}function Nr(i,e,t=0,n=!1,r=!1){return function(o,a){let s=bK(i,o);if((t>0||s>-t)&&(s+=t),i===3)s===0&&t===-12&&(s=12);else if(i===6)return xK(s,e);let l=Ns(a,po.MinusSign);return ks(s,e,l,n,r)}}function bK(i,e){switch(i){case 0:return e.getFullYear();case 1:return e.getMonth();case 2:return e.getDate();case 3:return e.getHours();case 4:return e.getMinutes();case 5:return e.getSeconds();case 6:return e.getMilliseconds();case 7:return e.getDay();default:throw new He(2301,!1)}}function Hi(i,e,t=Eo.Format,n=!1){return function(r,o){return CK(r,o,i,e,t,n)}}function CK(i,e,t,n,r,o){switch(t){case 2:return zI(e,r,n)[i.getMonth()];case 1:return RI(e,r,n)[i.getDay()];case 0:let a=i.getHours(),s=i.getMinutes();if(o){let u=BI(e),h=jI(e,r,n),_=u.findIndex(y=>{if(Array.isArray(y)){let[b,x]=y,w=a>=b.hours&&s>=b.minutes,k=a<x.hours||a===x.hours&&s<x.minutes;if(b.hours<x.hours){if(w&&k)return!0}else if(w||k)return!0}else if(y.hours===a&&y.minutes===s)return!0;return!1});if(_!==-1)return h[_]}return FI(e,r,n)[a<12?0:1];case 3:return LI(e,n)[i.getFullYear()<=0?0:1];default:let l=t;throw new He(2302,!1)}}function ag(i){return function(e,t,n){let r=-1*n,o=Ns(t,po.MinusSign),a=r>0?Math.floor(r/60):Math.ceil(r/60);switch(i){case 0:return(r>=0?"+":"")+ks(a,2,o)+ks(Math.abs(r%60),2,o);case 1:return"GMT"+(r>=0?"+":"")+ks(a,1,o);case 2:return"GMT"+(r>=0?"+":"")+ks(a,2,o)+":"+ks(Math.abs(r%60),2,o);case 3:return n===0?"Z":(r>=0?"+":"")+ks(a,2,o)+":"+ks(Math.abs(r%60),2,o);default:throw new He(2302,!1)}}}var yK=0,lg=4;function MK(i){let e=cg(i,yK,1).getDay();return cg(i,0,1+(e<=lg?lg:lg+7)-e)}function $I(i){let e=i.getDay(),t=e===0?-3:lg-e;return cg(i.getFullYear(),i.getMonth(),i.getDate()+t)}function iC(i,e=!1){return function(t,n){let r;if(e){let o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,a=t.getDate();r=1+Math.floor((a+o)/7)}else{let o=$I(t),a=MK(o.getFullYear()),s=o.getTime()-a.getTime();r=1+Math.round(s/6048e5)}return ks(r,i,Ns(n,po.MinusSign))}}function sg(i,e=!1){return function(t,n){let o=$I(t).getFullYear();return ks(o,i,Ns(n,po.MinusSign),e)}}var rC={};function wK(i){if(rC[i])return rC[i];let e;switch(i){case"G":case"GG":case"GGG":e=Hi(3,Di.Abbreviated);break;case"GGGG":e=Hi(3,Di.Wide);break;case"GGGGG":e=Hi(3,Di.Narrow);break;case"y":e=Nr(0,1,0,!1,!0);break;case"yy":e=Nr(0,2,0,!0,!0);break;case"yyy":e=Nr(0,3,0,!1,!0);break;case"yyyy":e=Nr(0,4,0,!1,!0);break;case"Y":e=sg(1);break;case"YY":e=sg(2,!0);break;case"YYY":e=sg(3);break;case"YYYY":e=sg(4);break;case"M":case"L":e=Nr(1,1,1);break;case"MM":case"LL":e=Nr(1,2,1);break;case"MMM":e=Hi(2,Di.Abbreviated);break;case"MMMM":e=Hi(2,Di.Wide);break;case"MMMMM":e=Hi(2,Di.Narrow);break;case"LLL":e=Hi(2,Di.Abbreviated,Eo.Standalone);break;case"LLLL":e=Hi(2,Di.Wide,Eo.Standalone);break;case"LLLLL":e=Hi(2,Di.Narrow,Eo.Standalone);break;case"w":e=iC(1);break;case"ww":e=iC(2);break;case"W":e=iC(1,!0);break;case"d":e=Nr(2,1);break;case"dd":e=Nr(2,2);break;case"c":case"cc":e=Nr(7,1);break;case"ccc":e=Hi(1,Di.Abbreviated,Eo.Standalone);break;case"cccc":e=Hi(1,Di.Wide,Eo.Standalone);break;case"ccccc":e=Hi(1,Di.Narrow,Eo.Standalone);break;case"cccccc":e=Hi(1,Di.Short,Eo.Standalone);break;case"E":case"EE":case"EEE":e=Hi(1,Di.Abbreviated);break;case"EEEE":e=Hi(1,Di.Wide);break;case"EEEEE":e=Hi(1,Di.Narrow);break;case"EEEEEE":e=Hi(1,Di.Short);break;case"a":case"aa":case"aaa":e=Hi(0,Di.Abbreviated);break;case"aaaa":e=Hi(0,Di.Wide);break;case"aaaaa":e=Hi(0,Di.Narrow);break;case"b":case"bb":case"bbb":e=Hi(0,Di.Abbreviated,Eo.Standalone,!0);break;case"bbbb":e=Hi(0,Di.Wide,Eo.Standalone,!0);break;case"bbbbb":e=Hi(0,Di.Narrow,Eo.Standalone,!0);break;case"B":case"BB":case"BBB":e=Hi(0,Di.Abbreviated,Eo.Format,!0);break;case"BBBB":e=Hi(0,Di.Wide,Eo.Format,!0);break;case"BBBBB":e=Hi(0,Di.Narrow,Eo.Format,!0);break;case"h":e=Nr(3,1,-12);break;case"hh":e=Nr(3,2,-12);break;case"H":e=Nr(3,1);break;case"HH":e=Nr(3,2);break;case"m":e=Nr(4,1);break;case"mm":e=Nr(4,2);break;case"s":e=Nr(5,1);break;case"ss":e=Nr(5,2);break;case"S":e=Nr(6,1);break;case"SS":e=Nr(6,2);break;case"SSS":e=Nr(6,3);break;case"Z":case"ZZ":case"ZZZ":e=ag(0);break;case"ZZZZZ":e=ag(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=ag(1);break;
16case"OOOO":case"ZZZZ":case"zzzz":e=ag(2);break;default:return null}return rC[i]=e,e}function WI(i,e){i=i.replace(/:/g,"");let t=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(t)?e:t}function SK(i,e){return i=new Date(i.getTime()),i.setMinutes(i.getMinutes()+e),i}function PK(i,e,t){let r=i.getTimezoneOffset(),o=WI(e,r);return SK(i,-1*(o-r))}function EK(i){if(DI(i))return i;if(typeof i=="number"&&!isNaN(i))return new Date(i);if(typeof i=="string"){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){let[r,o=1,a=1]=i.split("-").map(s=>+s);return cg(r,o-1,a)}let t=parseFloat(i);if(!isNaN(i-t))return new Date(t);let n;if(n=i.match(_K))return DK(n)}let e=new Date(i);if(!DI(e))throw new He(2302,!1);return e}function DK(i){let e=new Date(0),t=0,n=0,r=i[8]?e.setUTCFullYear:e.setFullYear,o=i[8]?e.setUTCHours:e.setHours;i[9]&&(t=Number(i[9]+i[10]),n=Number(i[9]+i[11])),r.call(e,Number(i[1]),Number(i[2])-1,Number(i[3]));let a=Number(i[4]||0)-t,s=Number(i[5]||0)-n,l=Number(i[6]||0),u=Math.floor(parseFloat("0."+(i[7]||0))*1e3);return o.call(e,a,s,l,u),e}function DI(i){return i instanceof Date&&!isNaN(i.valueOf())}var OK=/^(\d+)?\.((\d+)(-(\d+))?)?$/,OI=22,dg=".",$3="0",TK=";",IK=",",oC="#",TI="\xA4";function YI(i,e,t,n,r,o,a=!1){let s="",l=!1;if(!isFinite(i))s=Ns(t,po.Infinity);else{let u=NK(i);a&&(u=kK(u));let h=e.minInt,_=e.minFrac,y=e.maxFrac;if(o){let N=o.match(OK);if(N===null)throw new He(2306,!1);let A=N[1],$=N[3],ie=N[5];A!=null&&(h=aC(A)),$!=null&&(_=aC($)),ie!=null?y=aC(ie):$!=null&&_>y&&(y=_)}AK(u,_,y);let b=u.digits,x=u.integerLen,w=u.exponent,k=[];for(l=b.every(N=>!N);x<h;x++)b.unshift(0);for(;x<0;x++)b.unshift(0);x>0?k=b.splice(x,b.length):(k=b,b=[0]);let V=[];for(b.length>=e.lgSize&&V.unshift(b.splice(-e.lgSize,b.length).join(""));b.length>e.gSize;)V.unshift(b.splice(-e.gSize,b.length).join(""));b.length&&V.unshift(b.join("")),s=V.join(Ns(t,n)),k.length&&(s+=Ns(t,r)+k.join("")),w&&(s+=Ns(t,po.Exponential)+"+"+w)}return i<0&&!l?s=e.negPre+s+e.negSuf:s=e.posPre+s+e.posSuf,s}function QI(i,e,t,n,r){let o=dC(e,fg.Currency),a=XI(o,Ns(e,po.MinusSign));return a.minFrac=UI(n),a.maxFrac=a.minFrac,YI(i,a,e,po.CurrencyGroup,po.CurrencyDecimal,r).replace(TI,t).replace(TI,"").trim()}function KI(i,e,t){let n=dC(e,fg.Decimal),r=XI(n,Ns(e,po.MinusSign));return YI(i,r,e,po.Group,po.Decimal,t)}function XI(i,e="-"){let t={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=i.split(TK),r=n[0],o=n[1],a=r.indexOf(dg)!==-1?r.split(dg):[r.substring(0,r.lastIndexOf($3)+1),r.substring(r.lastIndexOf($3)+1)],s=a[0],l=a[1]||"";t.posPre=s.substring(0,s.indexOf(oC));for(let h=0;h<l.length;h++){let _=l.charAt(h);_===$3?t.minFrac=t.maxFrac=h+1:_===oC?t.maxFrac=h+1:t.posSuf+=_}let u=s.split(IK);if(t.gSize=u[1]?u[1].length:0,t.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,o){let h=r.length-t.posPre.length-t.posSuf.length,_=o.indexOf(oC);t.negPre=o.substring(0,_).replace(/'/g,""),t.negSuf=o.slice(_+h).replace(/'/g,"")}else t.negPre=e+t.posPre,t.negSuf=t.posSuf;return t}function kK(i){if(i.digits[0]===0)return i;let e=i.digits.length-i.integerLen;return i.exponent?i.exponent+=2:(e===0?i.digits.push(0,0):e===1&&i.digits.push(0),i.integerLen+=2),i}function NK(i){let e=Math.abs(i)+"",t=0,n,r,o,a,s;for((r=e.indexOf(dg))>-1&&(e=e.replace(dg,"")),(o=e.search(/e/i))>0?(r<0&&(r=o),r+=+e.slice(o+1),e=e.substring(0,o)):r<0&&(r=e.length),o=0;e.charAt(o)===$3;o++);if(o===(s=e.length))n=[0],r=1;else{for(s--;e.charAt(s)===$3;)s--;for(r-=o,n=[],a=0;o<=s;o++,a++)n[a]=Number(e.charAt(o))}return r>OI&&(n=n.splice(0,OI-1),t=r-1,r=1),{digits:n,exponent:t,integerLen:r}}function AK(i,e,t){if(e>t)throw new He(2307,!1);let n=i.digits,r=n.length-i.integerLen,o=Math.min(Math.max(e,r),t),a=o+i.integerLen,s=n[a];if(a>0){n.splice(Math.max(i.integerLen,a));for(let _=a;_<n.length;_++)n[_]=0}else{r=Math.max(0,r),i.integerLen=1,n.length=Math.max(1,a=o+1),n[0]=0;for(let _=1;_<a;_++)n[_]=0}if(s>=5)if(a-1<0){for(let _=0;_>a;_--)n.unshift(0),i.integerLen++;n.unshift(1),i.integerLen++}else n[a-1]++;for(;r<Math.max(0,o);r++)n.push(0);let l=o!==0,u=e+i.integerLen,h=n.reduceRight(function(_,y,b,x){return y=y+_,x[b]=y<10?y:y-10,l&&(x[b]===0&&b>=u?x.pop():l=!1),y>=10?1:0},0);h&&(n.unshift(h),i.integerLen++)}function aC(i){let e=parseInt(i);if(isNaN(e))throw new He(2305,!1);return e}var sC=/\s+/,II=[],Un=(()=>{class i{_ngEl;_renderer;initialClasses=II;rawClass;stateMap=new Map;constructor(t,n){this._ngEl=t,this._renderer=n}set klass(t){this.initialClasses=t!=null?t.trim().split(sC):II}set ngClass(t){this.rawClass=typeof t=="string"?t.trim().split(sC):t}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let t=this.rawClass;if(Array.isArray(t)||t instanceof Set)for(let n of t)this._updateState(n,!0);else if(t!=null)for(let n of Object.keys(t))this._updateState(n,!!t[n]);this._applyStateDiff()}_updateState(t,n){let r=this.stateMap.get(t);r!==void 0?(r.enabled!==n&&(r.changed=!0,r.enabled=n),r.touched=!0):this.stateMap.set(t,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let t of this.stateMap){let n=t[0],r=t[1];r.changed?(this._toggleClass(n,r.enabled),r.changed=!1):r.touched||(r.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),r.touched=!1}}_toggleClass(t,n){t=t.trim(),t.length>
vendor: 8,456 bytes, line 16
160&&t.split(sC).forEach(r=>{n?this._renderer.addClass(this._ngEl.nativeElement,r):this._renderer.removeClass(this._ngEl.nativeElement,r)})}static \u0275fac=function(n){return new(n||i)(D(We),D(Ai))};static \u0275dir=Ie({type:i,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return i})();var ug=class{$implicit;ngForOf;index;count;constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,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}},Ut=(()=>{class i{_viewContainer;_template;_differs;set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(t,n,r){this._viewContainer=t,this._template=n,this._differs=r}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let t=this._ngForOf;!this._differ&&t&&(this._differ=this._differs.find(t).create(this.ngForTrackBy))}if(this._differ){let t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){let n=this._viewContainer;t.forEachOperation((r,o,a)=>{if(r.previousIndex==null)n.createEmbeddedView(this._template,new ug(r.item,this._ngForOf,-1,-1),a===null?void 0:a);else if(a==null)n.remove(o===null?void 0:o);else if(o!==null){let s=n.get(o);n.move(s,a),kI(s,r)}});for(let r=0,o=n.length;r<o;r++){let s=n.get(r).context;s.index=r,s.count=o,s.ngForOf=this._ngForOf}t.forEachIdentityChange(r=>{let o=n.get(r.currentIndex);kI(o,r)})}static ngTemplateContextGuard(t,n){return!0}static \u0275fac=function(n){return new(n||i)(D(ai),D(Rn),D(J4))};static \u0275dir=Ie({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return i})();function kI(i,e){i.context.$implicit=e.item}var et=(()=>{class i{_viewContainer;_context=new pg;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(t,n){this._viewContainer=t,this._thenTemplateRef=n}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){NI(t,!1),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){NI(t,!1),this._elseTemplateRef=t,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(t,n){return!0}static \u0275fac=function(n){return new(n||i)(D(ai),D(Rn))};static \u0275dir=Ie({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return i})(),pg=class{$implicit=null;ngIf=null};function NI(i,e){if(i&&!i.createEmbeddedView)throw new He(2020,!1)}var lC=class{_viewContainerRef;_templateRef;_created=!1;constructor(e,t){this._viewContainerRef=e,this._templateRef=t}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}},mg=(()=>{class i{_defaultViews=[];_defaultUsed=!1;_caseCount=0;_lastCaseCheckIndex=0;_lastCasesMatched=!1;_ngSwitch;set ngSwitch(t){this._ngSwitch=t,this._caseCount===0&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews.push(t)}_matchCase(t){let n=t===this._ngSwitch;return this._lastCasesMatched||=n,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),n}_updateDefaultCases(t){if(this._defaultViews.length>0&&t!==this._defaultUsed){this._defaultUsed=t;for(let n of this._defaultViews)n.enforceState(t)}}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}})}return i})(),uC=(()=>{class i{ngSwitch;_view;ngSwitchCase;constructor(t,n,r){this.ngSwitch=r,r._addCase(),this._view=new lC(t,n)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static \u0275fac=function(n){return new(n||i)(D(ai),D(Rn),D(mg,9))};static \u0275dir=Ie({type:i,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}})}return i})();var fo=(()=>{class i{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(t,n,r){this._ngEl=t,this._differs=n,this._renderer=r}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){let t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,n){let[r,o]=t.split("."),a=r.indexOf("-")===-1?void 0:Ds.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,o?`${n}${o}`:n,a):this._renderer.removeStyle(this._ngEl.nativeElement,r,a)}_applyChanges(t){t.forEachRemovedItem(n=>this._setStyle(n.key,null)),t.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),t.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||i)(D(We),D(H3),D(Ai))};static \u0275dir=Ie({type:i,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return i})(),Ji=(()=>{class i{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(t){this._viewContainerRef=t}ngOnChanges(t){if(this._shouldRecreateView(t)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(t){return!!t.ngTemplateOutlet||!!t.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(t,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(t,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||i)(D(ai))};static \u0275dir=Ie({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[on]})}return i})();function hg(i,e){return new He(2100,!1)}var VK=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
160EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,t2=(()=>{class i{transform(t){if(t==null)return null;if(typeof t!="string")throw hg(i,t);return t.replace(VK,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||i)};static \u0275pipe=vl({name:"titlecase",type:i,pure:!0})}return i})();var FK="mediumDate",ZI=new Ee(""),JI=new Ee(""),Ur=(()=>{class i{locale;defaultTimezone;defaultOptions;constructor(t,n,r){this.locale=t,this.defaultTimezone=n,this.defaultOptions=r}transform(t,n,r,o){if(t==null||t===""||t!==t)return null;try{let a=n??this.defaultOptions?.dateFormat??FK,s=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return GI(t,a,o||this.locale,s)}catch(a){throw hg(i,a.message)}}static \u0275fac=function(n){return new(n||i)(D(yc,16),D(ZI,24),D(JI,24))};static \u0275pipe=vl({name:"date",type:i,pure:!0})}return i})();var pC=(()=>{class i{_locale;constructor(t){this._locale=t}transform(t,n,r){if(!ek(t))return null;r||=this._locale;try{let o=tk(t);return KI(o,r,n)}catch(o){throw hg(i,o.message)}}static \u0275fac=function(n){return new(n||i)(D(yc,16))};static \u0275pipe=vl({name:"number",type:i,pure:!0})}return i})();var fC=(()=>{class i{_locale;_defaultCurrencyCode;constructor(t,n="USD"){this._locale=t,this._defaultCurrencyCode=n}transform(t,n=this._defaultCurrencyCode,r="symbol",o,a){if(!ek(t))return null;a||=this._locale,typeof r=="boolean"&&(r=r?"symbol":"code");let s=n||this._defaultCurrencyCode;r!=="code"&&(r==="symbol"||r==="symbol-narrow"?s=qI(s,r==="symbol"?"wide":"narrow",a):s=r);try{let l=tk(t);return QI(l,a,s,n,o)}catch(l){throw hg(i,l.message)}}static \u0275fac=function(n){return new(n||i)(D(yc,16),D(q9,16))};static \u0275pipe=vl({name:"currency",type:i,pure:!0})}return i})();function ek(i){return!(i==null||i===""||i!==i)}function tk(i){if(typeof i=="string"&&!isNaN(Number(i)-parseFloat(i)))return Number(i);if(typeof i!="number")throw new He(2309,!1);return i}var _e=(()=>
vendor: 19,809 bytes, lines 16-17
16{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})();function W3(i,e){e=encodeURIComponent(e);for(let t of i.split(";")){let n=t.indexOf("="),[r,o]=n==-1?[t,""]:[t.slice(0,n),t.slice(n+1)];if(r.trim()===e)return decodeURIComponent(o)}return null}var n2=class{};function ik(i,e,t){return F9(i,e,t)}var hC="browser";function rk(i){return i===hC}var Pc=(()=>{class i{static \u0275prov=W({token:i,providedIn:"root",factory:()=>new mC(C(Gt),window)})}return i})(),mC=class{document;window;offset=()=>[0,0];constructor(e,t){this.document=e,this.window=t}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e,t){this.window.scrollTo(mt(ae({},t),{left:e[0],top:e[1]}))}scrollToAnchor(e,t){let n=RK(this.document,e);n&&(this.scrollToElement(n,t),n.focus())}setHistoryScrollRestoration(e){try{this.window.history.scrollRestoration=e}catch{console.warn(Ms(2400,!1))}}scrollToElement(e,t){let n=e.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,a=this.offset();this.window.scrollTo(mt(ae({},t),{left:r-a[0],top:o-a[1]}))}};function RK(i,e){let t=i.getElementById(e)||i.getElementsByName(e)[0];if(t)return t;if(typeof i.createTreeWalker=="function"&&i.body&&typeof i.body.attachShadow=="function"){let n=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let o=r.shadowRoot;if(o){let a=o.getElementById(e)||o.querySelector(`[name="${e}"]`);if(a)return a}r=n.nextNode()}}return null}var _g=new Ee(""),kd=(()=>{class i{_zone;_plugins;_eventNameToPlugin=new Map;constructor(t,n){this._zone=n,t.forEach(r=>{r.manager=this}),this._plugins=t.slice().reverse()}addEventListener(t,n,r,o){return this._findPluginFor(n).addEventListener(t,n,r,o)}getZone(){return this._zone}_findPluginFor(t){let n=this._eventNameToPlugin.get(t);if(n)return n;if(n=this._plugins.find(o=>o.supports(t)),!n)throw new He(5101,!1);return this._eventNameToPlugin.set(t,n),n}static \u0275fac=function(n){return new(n||i)(Le(_g),Le(Vt))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),Y3=class{_doc;constructor(e){this._doc=e}manager},gC="ng-app-id";function ok(i){for(let e of i)e.remove()}function ak(i,e){let t=e.createElement("style");return t.textContent=i,t}function zK(i,e,t,n){let r=i.head?.querySelectorAll(`style[${gC}="${e}"],link[${gC}="${e}"]`);if(r)for(let o of r)o.removeAttribute(gC),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&t.set(o.textContent,{usage:0,elements:[o]})}function vC(i,e){let t=e.createElement("link");return t.setAttribute("rel","stylesheet"),t.setAttribute("href",i),t}var vg=(()=>{class i{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(t,n,r,o={}){this.doc=t,this.appId=n,this.nonce=r,zK(t,n,this.inline,this.external),this.hosts.add(t.head)}addStyles(t,n){for(let r of t)this.addUsage(r,this.inline,ak);n?.forEach(r=>this.addUsage(r,this.external,vC))}removeStyles(t,n){for(let r of t)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(t,n,r){let o=n.get(t);o?o.usage++:n.set(t,{usage:1,elements:[...this.hosts].map(a=>this.addElement(a,r(t,this.doc)))})}removeUsage(t,n){let r=n.get(t);r&&(r.usage--,r.usage<=0&&(ok(r.elements),n.delete(t)))}ngOnDestroy(){for(let[,{elements:t}]of[...this.inline,...this.external])ok(t);this.hosts.clear()}addHost(t){this.hosts.add(t);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(t,ak(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(t,vC(n,this.doc)))}removeHost(t){this.hosts.delete(t)}addElement(t,n){return this.nonce&&n.setAttribute("nonce",this.nonce),t.appendChild(n)}static \u0275fac=function(n){return new(n||i)(Le(Gt),Le(Od),Le(Gu,8),Le(Td))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),_C={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"},bC=/%COMP%/g;var lk="%COMP%",LK=`_nghost-${lk}`,HK=`_ngcontent-${lk}`,BK=!0,ck=new Ee("",{providedIn:"root",factory:()=>BK});function jK(i){return HK.replace(bC,i)}function qK(i){return LK.replace(bC,i)}function dk(i,e){return e.map(t=>t.replace(bC,i))}var Ku=(()=>{class i{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(t,n,r,o,a,s,l,u=null,h=null){this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=o,this.doc=a,this.platformId=s,this.ngZone=l,this.nonce=u,this.tracingService=h,this.platformIsServer=!1,this.defaultRenderer=new Q3(t,a,l,this.platformIsServer,this.tracingService)}createRenderer(t,n){if(!t||!n)return this.defaultRenderer;let r=this.getOrCreateRenderer(t,n);return r instanceof gg?r.applyToHost(t):r instanceof K3&&r.applyStyles(),r}getOrCreateRenderer(t,n){let r=this.rendererByCompId,o=r.get(n.id);if(!o){let a=this.doc,s=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,h=this.removeStylesOnCompDestroy,_=this.platformIsServer,y=this.tracingService;switch(n.encapsulation){case hc.Emulated:o=new gg(l,u,n,this.appId,h,a,s,_,y);break;case hc.ShadowDom:return new xC(l,u,t,n,a,s,this.nonce,_,y);default:o=new K3(l,u,n,h,a,s,_,y);break}r.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(t){this.rendererByCompId.delete(t)}static \u0275fac=function(n){return new(n||i)(Le(kd),Le(vg),Le(Od),Le(ck),Le(Gt),Le(Td),Le(Vt),Le(Gu),Le(X1,8))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),Q3=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(e,t,n,r,o){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=r,this.tracingService=o}destroy(){}destroyNode=null;createElement(e,t){return t?this.doc.createElementNS(_C[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(sk(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){e&&(sk(e)?e.content:e).insertBefore(t,n)}removeChild(e,t){t.remove()}selectRootElement(e,t){let n=typeof e=="string"?this.doc.querySelector(e):e;if(!n)throw new He(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=r+":"+t;let o=_C[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){let r=_C[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&(Ds.DashCase|Ds.Important)?e.style.setProperty(t,n,r&Ds.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Ds.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e!=null&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n,r){if(typeof e=="string"&&(e=Ga().getGlobalEventTarget(this.doc,e),!e))throw new He(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(e,t,o)),this.eventManager.addEventListener(e,t,o,r)}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;e(t)===!1&&t.preventDefault()}}};function sk(i){return i.tagName==="TEMPLATE"&&i.content!==void 0}var xC=class extends Q3{sharedStylesHost;hostEl;shadowRoot;constructor(e,t,n,r,o,a,s,l,u){super(e,o,a,l,u),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let h=r.styles;h=dk(r.id,h);for(let y of h){let b=document.createElement("style");s&&b.setAttribute("nonce",s),b.textContent=y,this.shadowRoot.appendChild(b)}let _=r.getExternalStyles?.();if(_)for(let y of _){let b=vC(y,o);s&&b.setAttribute("nonce",s),this.shadowRoot.appendChild(b)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(null,t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},K3=class extends Q3{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(e,t,n,r,o,a,s,l,u){super(e,o,a,s,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=r;let h=n.styles;this.styles=u?dk(u,h):h,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},gg=class extends K3{contentAttr;hostAttr;constructor(e,t,n,r,o,a,s,l,u){let h=r+"-"+n.id;super(e,t,n,o,a,s,l,u,h),this.contentAttr=jK(h),this.hostAttr=qK(h)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}};var xg=class i extends B3{supportsDOMEvents=!0;static makeCurrent(){eC(new i)}onAndCancel(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.remove()}createElement(e,t){return t=t||this.getDefaultDocument(),t.createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return t==="window"?window:t==="document"?e:t==="body"?e.body:null}getBaseHref(e){let t=UK();return t==null?null:GK(t)}resetBaseElement(){X3=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return W3(document.cookie,e)}},X3=null;function UK(){return X3=X3||document.head.querySelector("base"),X3?X3.getAttribute("href"):null}function GK(i){return new URL(i,document.baseURI).pathname}var $K=(()=>{class i{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),pk=(()=>{class i extends Y3{constructor(t){super(t)}supports(t){return!0}addEventListener(t,n,r,o){return t.addEventListener(n,r,o),()=>this.removeEventListener(t,n,r,o)}removeEventListener(t,n,r,o){return t.removeEventListener(n,r,o)}static \u0275fac=function(n){return new(n||i)(Le(Gt))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),uk=["alt","control","meta","shift"],WK={"\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"},YK={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey},fk=(()=>{class i extends Y3{constructor(t){super(t)}supports(t){return i.parseEventName(t)!=null}addEventListener(t,n,r,o){let a=i.parseEventName(n),s=i.eventCallback(a.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ga().onAndCancel(t,a.domEventName,s,o))}static parseEventName(t){let n=t.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let o=i._normalizeKey(n.pop()),a="",s=n.indexOf("code");if(s>-1&&(n.splice(s,1),a="code."),uk.forEach(u=>{let h=n.indexOf(u);h>-1&&(n.splice(h,1),a+=u+".")}),a+=o,n.length!=0||o.length===0)return null;let l={};return l.domEventName=r,l.fullKey=a,l}static matchEventFullKeyCode(t,n){let r=WK[t.key]||t.key,o="";return n.indexOf("code.")>-1&&(r=t.code,o="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),uk.forEach(a=>{if(a!==r){let s=YK[a];s(t)&&(o+=a+".")}}),o+=r,o===n)}static eventCallback(t,n,r){return o=>{i.matchEventFullKeyCode(o,t)&&r.runGuarded(()=>n(o))}}static _normalizeKey(t){return t==="esc"?"escape":t}static \u0275fac=function(n){return new(n||i)(Le(Gt))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})();function CC(i,e){let t=ae({rootComponent:i},QK(e));return yI(t)}function QK(i){return{appProviders:[...eX,...i?.providers??[]],platformProviders:JK}}function KK(){xg.makeCurrent()}function XK(){return new ha}function ZK(){return Zb(document),document}var JK=[{provide:Td,useValue:hC},{provide:T4,useValue:KK,multi:!0},{provide:Gt,useFactory:ZK}];var eX=[{provide:c3,useValue:"root"},{provide:ha,useFactory:XK},{provide:_g,useClass:pk,multi:!0,deps:[Gt]},{provide:_g,useClass:fk,multi:!0,deps:[Gt]},Ku,vg,kd,{provide:kr,useExisting:Ku},{provide:n2,useClass:$K},[]];var Zu=class{},Z3=class{},Uo=class i{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(`
17`).forEach(t=>{let n=t.indexOf(":");if(n>0){let r=t.slice(0,n),o=t.slice(n+1).trim();this.addHeaderEntry(r,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,n)=>{this.addHeaderEntry(n,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,n])=>{this.setHeaderEntries(t,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof i?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){let t=new i;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof i?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,t);let r=(e.op==="a"?this.headers.get(t):void 0)||[];r.push(...n),this.headers.set(t,r);break;case"d":let o=e.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let a=this.headers.get(t);if(!a)return;a=a.filter(s=>o.indexOf(s)===-1),a.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}break}}addHeaderEntry(e,t){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(t):this.headers.set(n,[t])}setHeaderEntries(e,t){let n=(Array.isArray(t)?t:[t]).map(o=>o.toString()),r=e.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(e,r)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}};var Cg=class{encodeKey(e){return mk(e)}encodeValue(e){return mk(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function tX(i,e){let t=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(r=>{let o=r.indexOf("="),[a,s]=o==-1?[e.decodeKey(r),""]:[e.decodeKey(r.slice(0,o)),e.decodeValue(r.slice(o+1))],l=t.get(a)||[];l.push(s),t.set(a,l)}),t}var nX=/%(\d[a-f0-9])/gi,iX={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function mk(i){return encodeURIComponent(i).replace(nX,(e,t)=>iX[t]??e)}function bg(i){return`${i}`}var Ec=class i{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new Cg,e.fromString){if(e.fromObject)throw new He(2805,!1);this.map=tX(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let n=e.fromObject[t],r=Array.isArray(n)?n.map(bg):[bg(n)];this.map.set(t,r)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(n=>{let r=e[n];Array.isArray(r)?r.forEach(o=>{t.push({param:n,value:o,op:"a"})}):t.push({param:n,value:r,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(n=>t+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let t=new i({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let t=(e.op==="a"?this.map.get(e.param):void 0)||[];t.push(bg(e.value)),this.map.set(e.param,t);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],r=n.indexOf(bg(e.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};var yg=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function rX(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function hk(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function gk(i){return typeof Blob<"u"&&i instanceof Blob}function _k(i){return typeof FormData<"u"&&i instanceof FormData}function oX(i){return typeof URLSearchParams<"u"&&i instanceof URLSearchParams}var vk="Content-Type",xk="Accept",bk="X-Request-URL",Ck="text/plain",yk="application/json",aX=`${yk}, ${Ck}, */*`,Xu=class i{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,n,r){this.url=t,this.method=e.toUpperCase();let o;if(rX(this.method)||r?(this.body=n!==void 0?n:null,o=r):o=n,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 Error("");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),this.transferCache=o.transferCache}if(this.headers??=new Uo,this.context??=new yg,!this.params)this.params=new Ec,this.urlWithParams=t;else{let a=this.params.toString();if(a.length===0)this.urlWithParams=t;else{let s=t.indexOf("?"),l=s===-1?"?":s<t.length-1?"&":"";this.urlWithParams=t+l+a}}}serializeBody(){return this.body===null?null:typeof this.body=="str
17ing"||hk(this.body)||gk(this.body)||_k(this.body)||oX(this.body)?this.body:this.body instanceof Ec?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||_k(this.body)?null:gk(this.body)?this.body.type||null:hk(this.body)?null:typeof this.body=="string"?Ck:this.body instanceof Ec?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?yk:null}clone(e={}){let t=e.method||this.method,n=e.url||this.url,r=e.responseType||this.responseType,o=e.keepalive??this.keepalive,a=e.priority||this.priority,s=e.cache||this.cache,l=e.mode||this.mode,u=e.redirect||this.redirect,h=e.credentials||this.credentials,_=e.transferCache??this.transferCache,y=e.timeout??this.timeout,b=e.body!==void 0?e.body:this.body,x=e.withCredentials??this.withCredentials,w=e.reportProgress??this.reportProgress,k=e.headers||this.headers,V=e.params||this.params,N=e.context??this.context;return e.setHeaders!==void 0&&(k=Object.keys(e.setHeaders).reduce((A,$)=>A.set($,e.setHeaders[$]),k)),e.setParams&&(V=Object.keys(e.setParams).reduce((A,$)=>A.set($,e.setParams[$]),V)),new i(t,n,b,{params:V,headers:k,context:N,reportProgress:w,responseType:r,withCredentials:x,transferCache:_,keepalive:o,cache:s,priority:a,timeout:y,mode:l,redirect:u,credentials:h})}},i2=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(i2||{}),Ju=class{headers;status;statusText;url;ok;type;constructor(e,t=200,n="OK"){this.headers=e.headers||new Uo,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},Mg=class i extends Ju{constructor(e={}){super(e)}type=i2.ResponseHeader;clone(e={}){return new i({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},J3=class i extends Ju{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=i2.Response;clone(e={}){return new i({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},xl=class extends Ju{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},sX=200,lX=204;function yC(i,e){return{body:e,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache,keepalive:i.keepalive,priority:i.priority,cache:i.cache,mode:i.mode,redirect:i.redirect}}var er=(()=>{class i{handler;constructor(t){this.handler=t}request(t,n,r={}){let o;if(t instanceof Xu)o=t;else{let l;r.headers instanceof Uo?l=r.headers:l=new Uo(r.headers);let u;r.params&&(r.params instanceof Ec?u=r.params:u=new Ec({fromObject:r.params})),o=new Xu(t,n,r.body!==void 0?r.body:null,{headers:l,context:r.context,params:u,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})}let a=Dt(o).pipe(sl(l=>this.handler.handle(l)));if(t instanceof Xu||r.observe==="events")return a;let s=a.pipe(ln(l=>l instanceof J3));switch(r.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return s.pipe(ct(l=>{if(l.body!==null&&!(l.body instanceof ArrayBuffer))throw new He(2806,!1);return l.body}));case"blob":return s.pipe(ct(l=>{if(l.body!==null&&!(l.body instanceof Blob))throw new He(2807,!1);return l.body}));case"text":return s.pipe(ct(l=>{if(l.body!==null&&typeof l.body!="string")throw new He(2808,!1);return l.body}));case"json":default:return s.pipe(ct(l=>l.body))}case"response":return s;default:throw new He(2809,!1)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}
vendor: 5,453 bytes, line 17
17head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new Ec().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,r={}){return this.request("PATCH",t,yC(r,n))}post(t,n,r={}){return this.request("POST",t,yC(r,n))}put(t,n,r={}){return this.request("PUT",t,yC(r,n))}static \u0275fac=function(n){return new(n||i)(Le(Zu))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})();var cX=new Ee("");function dX(i,e){return e(i)}function uX(i,e,t){return(n,r)=>Lr(t,()=>e(n,o=>i(o,r)))}var Mk=new Ee(""),wk=new Ee(""),Sk=new Ee("",{providedIn:"root",factory:()=>!0});var wg=(()=>{class i extends Zu{backend;injector;chain=null;pendingTasks=C(Nu);contributeToStability=C(Sk);constructor(t,n){super(),this.backend=t,this.injector=n}handle(t){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Mk),...this.injector.get(wk,[])]));this.chain=n.reduceRight((r,o)=>uX(r,o,this.injector),dX)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(t,r=>this.backend.handle(r)).pipe(Zo(n))}else return this.chain(t,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||i)(Le(Z3),Le(ki))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})();var pX=/^\)\]\}',?\n/,fX=RegExp(`^${bk}:`,"m");function mX(i){return"responseURL"in i&&i.responseURL?i.responseURL:fX.test(i.getAllResponseHeaders())?i.getResponseHeader(bk):null}var MC=(()=>{class i{xhrFactory;constructor(t){this.xhrFactory=t}handle(t){if(t.method==="JSONP")throw new He(-2800,!1);let n=this.xhrFactory;return Dt(null).pipe(fr(()=>new hn(o=>{let a=n.build();if(a.open(t.method,t.urlWithParams),t.withCredentials&&(a.withCredentials=!0),t.headers.forEach((k,V)=>a.setRequestHeader(k,V.join(","))),t.headers.has(xk)||a.setRequestHeader(xk,aX),!t.headers.has(vk)){let k=t.detectContentTypeHeader();k!==null&&a.setRequestHeader(vk,k)}if(t.timeout&&(a.timeout=t.timeout),t.responseType){let k=t.responseType.toLowerCase();a.responseType=k!=="json"?k:"text"}let s=t.serializeBody(),l=null,u=()=>{if(l!==null)return l;let k=a.statusText||"OK",V=new Uo(a.getAllResponseHeaders()),N=mX(a)||t.url;return l=new Mg({headers:V,status:a.status,statusText:k,url:N}),l},h=()=>{let{headers:k,status:V,statusText:N,url:A}=u(),$=null;V!==lX&&($=typeof a.response>"u"?a.responseText:a.response),V===0&&(V=$?sX:0);let ie=V>=200&&V<300;if(t.responseType==="json"&&typeof $=="string"){let H=$;$=$.replace(pX,"");try{$=$!==""?JSON.parse($):null}catch(j){$=H,ie&&(ie=!1,$={error:j,text:$})}}ie?(o.next(new J3({body:$,headers:k,status:V,statusText:N,url:A||void 0})),o.complete()):o.error(new xl({error:$,headers:k,status:V,statusText:N,url:A||void 0}))},_=k=>{let{url:V}=u(),N=new xl({error:k,status:a.status||0,statusText:a.statusText||"Unknown Error",url:V||void 0});o.error(N)},y=_;t.timeout&&(y=k=>{let{url:V}=u(),N=new xl({error:new DOMException("Request timed out","TimeoutError"),status:a.status||0,statusText:a.statusText||"Request timeout",url:V||void 0});o.error(N)});let b=!1,x=k=>{b||(o.next(u()),b=!0);let V={type:i2.DownloadProgress,loaded:k.loaded};k.lengthComputable&&(V.total=k.total),t.responseType==="text"&&a.responseText&&(V.partialText=a.responseText),o.next(V)},w=k=>{let V={type:i2.UploadProgress,loaded:k.loaded};k.lengthComputable&&(V.total=k.total),o.next(V)};return a.addEventListener("load",h),a.addEventListener("error",_),a.addEventListener("timeout",y),a.addEventListener("abort",_),t.reportProgress&&(a.addEventListener("progress",x),s!==null&&a.upload&&a.upload.addEventListener("progress",w)),a.send(s),o.next({type:i2.Sent}),()=>{a.removeEventListener("error",_),a.removeEventListener("abort",_),a.removeEventListener("load",h),a.removeEventListener("timeout",y),t.reportProgress&&(a.removeEventListener("progress",x),s!==null&&a.upload&&a.upload.removeEventListener("progress",w)),a.readyState!==a.DONE&&a.abort()}})))}static \u0275fac=function(n){return new(n||i)(Le(n2))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),Pk=new Ee(""),hX="XSRF-TOKEN",gX=new Ee("",{providedIn:"root",factory:()=>hX}),_X="X-XSRF-TOKEN",vX=new Ee("",{providedIn:"root",factory:()=>_X}),ef=class{},xX=(()=>{class i{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(t,n){this.doc=t,this.cookieName=n}getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=W3(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(n){return new(n||i)(Le(Gt),Le(gX))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})();function bX(i,e){let t=i.url.toLowerCase();if(!C(Pk)||i.method==="GET"||i.method==="HEAD"||t.startsWith("http://")||t.startsWith("https://"))return e(i);let n=C(ef).getToken(),r=C(vX);return n!=null&&!i.headers.has(r)&&(i=i.clone({headers:i.headers.set(r,n)})),e(i)}function wC(...i){let e=[er,MC,wg,{provide:Zu,useExisting:wg},{provide:Z3,useFactory:()=>C(cX,{optional:!0})??C(MC)},{provide:Mk,useValue:bX,multi:!0},{provide:Pk,useValue:!0},{provide:ef,useClass:xX}];for(let t of i)e.push(...t.\u0275providers);return cl(e)}var Ek=(()=>{class i{_doc;constructor(t){this._doc=t}getTitle(){return this._doc.title}setTitle(t){this._doc.title=t||""}static \u0275fac=function(n){return new(n||i)(Le(Gt))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var As=(()=>
17{class i{static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:function(n){let r=null;return n?r=new(n||i):r=Le(CX),r},providedIn:"root"})}return i})(),CX=(()=>{class i extends As{_doc;constructor(t){super(),this._doc=t}sanitize(t,n){if(n==null)return null;switch(t){case So.NONE:return n;case So.HTML:return _c(n,"HTML")?xa(n):N4(this._doc,String(n)).toString();case So.STYLE:return _c(n,"Style")?xa(n):n;case So.SCRIPT:if(_c(n,"Script"))return xa(n);throw new He(5200,!1);case So.URL:return _c(n,"URL")?xa(n):T3(String(n));case So.RESOURCE_URL:if(_c(n,"ResourceURL"))return xa(n);throw new He(5201,!1);default:throw new He(5202,!1)}}bypassSecurityTrustHtml(t){return t9(t)}bypassSecurityTrustStyle(t){return n9(t)}bypassSecurityTrustScript(t){return i9(t)}bypassSecurityTrustUrl(t){return r9(t)}bypassSecurityTrustResourceUrl(t){return o9(t)}static \u0275fac=function(n){return new(n||i)(Le(Gt))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Nn="primary",mf=Symbol("RouteTitle"),OC=class{params;constructor(e){this.params=e||{}}has(e){return Object.prototype.hasOwnProperty.call(this.params,e)}get(e){if(this.has(e)){let t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){let t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}};function s2(i){return new OC(i)}function Vk(i,e,t){let n=t.path.split("/");if(n.length>i.length||t.pathMatch==="full"&&(e.hasChildren()||n.length<i.length))return null;let r={};for(let o=0;o<n.length;o++){let a=n[o],s=i[o];if(a[0]===":")r[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:i.slice(0,n.length),posParams:r}}function yX(i,e){if(i.length!==e.length)return!1;for(let t=0;t<i.length;++t)if(!bl(i[t],e[t]))return!1;return!0}function bl(i,e){let t=i?TC(i):void 0,n=e?TC(e):void 0;if(!t||!n||t.length!=n.length)return!1;let r;for(let o=0;o<t.length;o++)if(r=t[o],!Fk(i[r],e[r]))return!1;return!0}function TC(i){return[...Object.keys(i),...Object.getOwnPropertySymbols(i)]}function Fk(i,e){if(Array.isArray(i)&&Array.isArray(e)){if(i.length!==e.length)return!1;let t=[...i].sort(),n=[...e].sort();return t.every((r,o)=>n[o]===r)}else return i===e}function Rk(i){return i.length>0?i[i.length-1]:null}function Oc(i){return wh(i)?i:Id(i)?zi(Promise.resolve(i)):Dt(i)}var MX={exact:Lk,subset:Hk},zk={exact:wX,subset:SX,ignored:()=>!0};function Dk(i,e,t){return MX[t.paths](i.root,e.root,t.matrixParams)&&zk[t.queryParams](i.queryParams,e.queryParams)&&!(t.fragment==="exact"&&i.fragment!==e.fragment)}function wX(i,e){return bl(i,e)}function Lk(i,e,t){if(!o2(i.segments,e.segments)||!Eg(i.segments,e.segments,t)||i.numberOfChildren!==e.numberOfChildren)return!1;for(let n in e.children)if(!i.children[n]||!Lk(i.children[n],e.children[n],t))return!1;return!0}function SX(i,e){return Object.keys(e).length<=Object.keys(i).length&&Object.keys(e).every(t=>Fk(i[t],e[t]))}function Hk(i,e,t){return Bk(i,e,e.segments,t)}function Bk(i,e,t,n){if(i.segments.length>t.length){let r=i.segments.slice(0,t.length);return!(!o2(r,t)||e.hasChildren()||!Eg(r,t,n))}else if(i.segments.length===t.length){if(!o2(i.segments,t)||!Eg(i.segments,t,n))return!1;for(let r in e.children)if(!i.children[r]||!Hk(i.children[r],e.children[r],n))return!1;return!0}else{let r=t.slice(0,i.segments.length),o=t.slice(i.segments.length);return!o2(i.segments,r)||!Eg(i.segments,r,n)||!i.children[Nn]?!1:Bk(i.children[Nn],e,o,n)}}function Eg(i,e,t){return e.every((n,r)=>zk[t](i[r].parameters,n.parameters))}var yl=class{root;queryParams;fragment;_queryParamMap;constructor(e=new li([],{}),t={},n=null){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap??=s2(this.queryParams),this._queryParamMap}toString(){return DX.serialize(this)}},li=class{segments;children;parent=null;constructor(e,t){this.segments=e,this.children=t,Object.values(t).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Dg(this)}},Nd=class{path;parameters;_parameterMap;constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap??=s2(this.parameters),this._parameterMap}toString(){return qk(this)}};function PX(i,e){return o2(i,e)&&i.every((t,n)=>bl(t.parameters,e[n].parameters))}function o2(i,e){return i.length!==e.length?!1:i.every((t,n)=>t.path===e[n].path)}function EX(i,e){let t=[];
17return Object.entries(i.children).forEach(([n,r])=>{n===Nn&&(t=t.concat(e(r,n)))}),Object.entries(i.children).forEach(([n,r])=>{n!==Nn&&(t=t.concat(e(r,n)))}),t}var Vd=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>new Ad,providedIn:"root"})}return i})(),Ad=class{parse(e){let t=new kC(e);return new yl(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){let t=`/${tf(e.root,!0)}`,n=IX(e.queryParams),r=typeof e.fragment=="string"?`#${OX(e.fragment)}`:"";return`${t}${n}${r}`}},DX=new Ad;function Dg(i){return i.segments.map(e=>qk(e)).join("/")}function tf(i,e){if(!i.hasChildren())return Dg(i);if(e){let t=i.children[Nn]?tf(i.children[Nn],!1):"",n=[];return Object.entries(i.children).forEach(([r,o])=>{r!==Nn&&n.push(`${r}:${tf(o,!1)}`)}),n.length>0?`${t}(${n.join("//")})`:t}else{let t=EX(i,(n,r)=>r===Nn?[tf(i.children[Nn],!1)]:[`${r}:${tf(n,!1)}`]);return Object.keys(i.children).length===1&&i.children[Nn]!=null?`${Dg(i)}/${t[0]}`:`${Dg(i)}/(${t.join("//")})`}}function jk(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Sg(i){return jk(i).replace(/%3B/gi,";")}function OX(i){return encodeURI(i)}function IC(i){return jk(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Og(i){return decodeURIComponent(i)}function Ok(i){return Og(i.replace(/\+/g,"%20"))}function qk(i){return`${IC(i.path)}${TX(i.parameters)}`}function TX(i){return Object.entries(i).map(([e,t])=>`;${IC(e)}=${IC(t)}`).join("")}function IX(i){let e=Object.entries(i).map(([t,n])=>Array.isArray(n)?n.map(r=>`${Sg(t)}=${Sg(r)}`).join("&"):`${Sg(t)}=${Sg(n)}`).filter(t=>t);return e.length?`?${e.join("&")}`:""}var kX=/^[^\/()?;#]+/;function SC(i){let e=i.match(kX);return e?e[0]:""}var NX=/^[^\/()?;=#]+/;function AX(i){let e=i.match(NX);return e?e[0]:""}var VX=/^[^=?&#]+/;function FX(i){let e=i.match(VX);return e?e[0]:""}var RX=/^[^&#]+/;function zX(i){let e=i.match(RX);return e?e[0]:""}var kC=class{url;remaining;constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new li([],{}):new li([],this.parseChildren())}parseQueryParams(){let e={};if(this.consumeOptional("?"))do this.parseQueryParam(e);while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n[Nn]=new li(e,t)),n}parseSegment(){let e=SC(this.remaining);if(e===""&&this.peekStartsWith(";"))throw new He(4009,!1);return this.capture(e),new Nd(Og(e),this.parseMatrixParams())}parseMatrixParams(){let e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){let t=AX(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let r=SC(this.remaining);r&&(n=r,this.capture(n))}e[Og(t)]=Og(n)}parseQueryParam(e){let t=FX(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){let a=zX(this.remaining);a&&(n=a,this.capture(n))}let r=Ok(t),o=Ok(n);if(e.hasOwnProperty(r)){let a=e[r];Array.isArray(a)||(a=[a],e[r]=a),a.push(o)}else e[r]=o}parseParens(e){let t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=SC(this.remaining),r=this.remaining[n.length];if(r!=="/"&&r!==")"&&r!==";")throw new He(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(
17o=Nn);let a=this.parseChildren();t[o]=Object.keys(a).length===1?a[Nn]:new li([],a),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return this.peekStartsWith(e)?(this.remaining=this.remaining.substring(e.length),!0):!1}capture(e){if(!this.consumeOptional(e))throw new He(4011,!1)}};function Uk(i){return i.segments.length>0?new li([],{[Nn]:i}):i}function Gk(i){let e={};for(let[n,r]of Object.entries(i.children)){let o=Gk(r);if(n===Nn&&o.segments.length===0&&o.hasChildren())for(let[a,s]of Object.entries(o.children))e[a]=s;else(o.segments.length>0||o.hasChildren())&&(e[n]=o)}let t=new li(i.segments,e);return LX(t)}function LX(i){if(i.numberOfChildren===1&&i.children[Nn]){let e=i.children[Nn];return new li(i.segments.concat(e.segments),e.children)}return i}function o0(i){return i instanceof yl}function $k(i,e,t=null,n=null){let r=Wk(i);return Yk(r,e,t,n)}function Wk(i){let e;function t(o){let a={};for(let l of o.children){let u=t(l);a[l.outlet]=u}let s=new li(o.url,a);return o===i&&(e=s),s}let n=t(i.root),r=Uk(n);return e??r}function Yk(i,e,t,n){let r=i;for(;r.parent;)r=r.parent;if(e.length===0)return PC(r,r,r,t,n);let o=HX(e);if(o.toRoot())return PC(r,r,new li([],{}),t,n);let a=BX(o,r,i),s=a.processChildren?rf(a.segmentGroup,a.index,o.commands):Kk(a.segmentGroup,a.index,o.commands);return PC(r,a.segmentGroup,s,t,n)}function Tg(i){return typeof i=="object"&&i!=null&&!i.outlets&&!i.segmentPath}function af(i){return typeof i=="object"&&i!=null&&i.outlets}function PC(i,e,t,n,r){let o={};n&&Object.entries(n).forEach(([l,u])=>{o[l]=Array.isArray(u)?u.map(h=>`${h}`):`${u}`});let a;i===e?a=t:a=Qk(i,e,t);let s=Uk(Gk(a));return new yl(s,o,r)}function Qk(i,e,t){let n={};return Object.entries(i.children).forEach(([r,o])=>{o===e?n[r]=t:n[r]=Qk(o,e,t)}),new li(i.segments,n)}var Ig=class{isAbsolute;numberOfDoubleDots;commands;constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Tg(n[0]))throw new He(4003,!1);let r=n.find(af);if(r&&r!==Rk(n))throw new He(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function HX(i){if(typeof i[0]=="string"&&i.length===1&&i[0]==="/")return new Ig(!0,0,i);let e=0,t=!1,n=i.reduce((r,o,a)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let s={};return Object.entries(o.outlets).forEach(([l,u])=>{s[l]=typeof u=="string"?u.split("/"):u}),[...r,{outlets:s}]}if(o.segmentPath)return[...r,o.segmentPath]}return typeof o!="string"?[...r,o]:a===0?(o.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?t=!0:s===".."?e++:s!=""&&r.push(s))}),r):[...r,o]},[]);return new Ig(t,e,n)}var n0=class{segmentGroup;processChildren;index;constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}};function BX(i,e,t){if(i.isAbsolute)return new n0(e,!0,0);if(!t)return new n0(e,!1,NaN);if(t.parent===null)return new n0(t,!0,0);let n=Tg(i.commands[0])?0:1,r=t.segments.length-1+n;return jX(t,r,i.numberOfDoubleDots)}function jX(i,e,t){let n=i,r=e,o=t;for(;o>r;){if(o-=r,n=n.parent,!n)throw new He(4005,!1);r=n.segments.length}return new n0(n,!1,r-o)}function qX(i){return af(i[0])?i[0].outlets:{[Nn]:i}}function Kk(i,e,t){if(i??=new li([],{}),i.segments.length===0&&i.hasChildren())return rf(i,e,t);let n=UX(i,e,t),r=t.slice(n.commandIndex);if(n.match&&n.pathIndex<i.segments.length){let o=new li(i.segments.slice(0,n.pathIndex),{});return o.children[Nn]=new li(i.segments.slice(n.pathIndex),i.children),rf(o,0,r)}else return n.match&&r.length===0?new li(i.segments,{}):n.match&&!i.hasChildren()?NC(i,e,t):n.match?rf(i,0,r):NC(i,e,t)}function rf(i,e,t){if(t.length===0)return new li(i.segments,{});{let n=qX(t),r={};if(Object.keys(n).some(o=>o!==Nn)&&i.children[Nn]&&i.numberOfChildren===1&&i.children[Nn].segments.length===0){let o=rf(i.children[Nn],e,t);return new li(i.segments,o.children)}return Object.entries(n).forEach(([o,a])=>{typeof a=="string"&&(a=[a]),a!==null&&(r[o]=Kk(i.children[o],e,a))}),Object.entries(i.children).forEach(([o,a])=>{n[o]===void 0&&(r[o]=a)}),new li(i.segments,r)}}function UX(i,e,t){let n=0,r=e,o={match:!1,pathIndex:0,commandIndex:0};for(;r<i.segments.length;){if(n>=t.length)return o;let a=i.segments[r],s=t[n];if(af(s))break;let l=`${s}`,u=n<t.length-1?t[n+1]:null;if(r>0&&l===void 0)break;if(l&&u&&typeof u=="object"&&u.outlets===void 0){if(!Ik(l,u,a))return o;n+=2}else{if(!Ik(l,{},a))return o;n++}r++}return{match:!0,pathIndex:r,commandIndex:n}}function NC(i,e,t){let n=i.segments.slice(0,e),r=0;for(;r<t.length;){let o=t[r];if(af(o)){let l=GX(o.outlets);return new li(n,l)}if(r===0&&Tg(t[0])){let l=i.segments[e];n.push(new Nd(l.path,Tk(t[0]))),r++;continue}let a=af(o)?o.outlets[Nn]:`${o}`,s=r<t.length-1?t[r+1]:null;a&&s&&Tg(s)?(n.push(new Nd(a,Tk(s))),r+=2):(n.push(new Nd(a,{})),r++)}return new li(n,{})}function GX(i){let e={};
17return Object.entries(i).forEach(([t,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(e[t]=NC(new li([],{}),0,n))}),e}function Tk(i){let e={};return Object.entries(i).forEach(([t,n])=>e[t]=`${n}`),e}function Ik(i,e,t){return i==t.path&&bl(e,t.parameters)}var i0="imperative",Gr=function(i){return i[i.NavigationStart=0]="NavigationStart",i[i.NavigationEnd=1]="NavigationEnd",i[i.NavigationCancel=2]="NavigationCancel",i[i.NavigationError=3]="NavigationError",i[i.RoutesRecognized=4]="RoutesRecognized",i[i.ResolveStart=5]="ResolveStart",i[i.ResolveEnd=6]="ResolveEnd",i[i.GuardsCheckStart=7]="GuardsCheckStart",i[i.GuardsCheckEnd=8]="GuardsCheckEnd",i[i.RouteConfigLoadStart=9]="RouteConfigLoadStart",i[i.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",i[i.ChildActivationStart=11]="ChildActivationStart",i[i.ChildActivationEnd=12]="ChildActivationEnd",i[i.ActivationStart=13]="ActivationStart",i[i.ActivationEnd=14]="ActivationEnd",i[i.Scroll=15]="Scroll",i[i.NavigationSkipped=16]="NavigationSkipped",i}(Gr||{}),ya=class{id;url;constructor(e,t){this.id=e,this.url=t}},na=class extends ya{type=Gr.NavigationStart;navigationTrigger;restoredState;constructor(e,t,n="imperative",r=null){super(e,t),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Ma=class extends ya{urlAfterRedirects;type=Gr.NavigationEnd;constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Go=function(i){return i[i.Redirect=0]="Redirect",i[i.SupersededByNewNavigation=1]="SupersededByNewNavigation",i[i.NoDataFromResolver=2]="NoDataFromResolver",i[i.GuardRejected=3]="GuardRejected",i[i.Aborted=4]="Aborted",i}(Go||{}),a0=function(i){return i[i.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",i[i.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",i}(a0||{}),Cl=class extends ya{reason;code;type=Gr.NavigationCancel;constructor(e,t,n,r){super(e,t),this.reason=n,this.code=r}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Ml=class extends ya{reason;code;type=Gr.NavigationSkipped;constructor(e,t,n,r){super(e,t),this.reason=n,this.code=r}},s0=class extends ya{error;target;type=Gr.NavigationError;constructor(e,t,n,r){super(e,t),this.error=n,this.target=r}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},sf=class extends ya{urlAfterRedirects;state;type=Gr.RoutesRecognized;constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},kg=class extends ya{urlAfterRedirects;state;type=Gr.GuardsCheckStart;constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Ng=class extends ya{urlAfterRedirects;state;shouldActivate;type=Gr.GuardsCheckEnd;constructor(e,t,n,r,o){super(e,t),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Ag=class extends ya{urlAfterRedirects;state;type=Gr.ResolveStart;constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vg=class extends ya{urlAfterRedirects;state;type=Gr.ResolveEnd;constructor(e,t,n,r){super(e,t),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Fg=class{route;type=Gr.RouteConfigLoadStart;constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Rg=class{route;type=Gr.RouteConfigLoadEnd;constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},zg=class{snapshot;type=Gr.ChildActivationStart;constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Lg=class{snapshot;type=Gr.ChildActivationEnd;constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Hg=class{snapshot;type=Gr.ActivationStart;constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Bg=class{snapshot;type=Gr.ActivationEnd;constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},l0=class{routerEvent;position;anchor;type=Gr.Scroll;constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){let e=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${e}')`}},lf=class{},c0=class{url;navigationBehaviorOptions;constructor(e,t){this.url=e,this.navigationBehaviorOptions=t}};function $X(i){return!(i instanceof lf)&&!(i instanceof c0)}function WX(i,e){return i.providers&&!i._injector&&(i._injector=Yu(i.providers,e,`Route: ${i.path}`)),i._injector??e}function Vs(i){return i.outlet||Nn}function YX(i,e){let t=i.filter(n=>Vs(n)===e);return t.push(...i.filter(n=>Vs(n)!==e)),t}function p0(i){if(!i)return null;
17if(i.routeConfig?._injector)return i.routeConfig._injector;for(let e=i.parent;e;e=e.parent){let t=e.routeConfig;if(t?._loadedInjector)return t._loadedInjector;if(t?._injector)return t._injector}return null}var jg=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return p0(this.route?.snapshot)??this.rootInjector}constructor(e){this.rootInjector=e,this.children=new l2(this.rootInjector)}},l2=(()=>{class i{rootInjector;contexts=new Map;constructor(t){this.rootInjector=t}onChildOutletCreated(t,n){let r=this.getOrCreateContext(t);r.outlet=n,this.contexts.set(t,r)}onChildOutletDestroyed(t){let n=this.getContext(t);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let n=this.getContext(t);return n||(n=new jg(this.rootInjector),this.contexts.set(t,n)),n}getContext(t){return this.contexts.get(t)||null}static \u0275fac=function(n){return new(n||i)(Le(ki))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),qg=class{_root;constructor(e){this._root=e}get root(){return this._root.value}parent(e){let t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){let t=AC(e,this._root);return t?t.children.map(n=>n.value):[]}firstChild(e){let t=AC(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){let t=VC(e,this._root);return t.length<2?[]:t[t.length-2].children.map(r=>r.value).filter(r=>r!==e)}pathFromRoot(e){return VC(e,this._root).map(t=>t.value)}};function AC(i,e){if(i===e.value)return e;for(let t of e.children){let n=AC(i,t);if(n)return n}return null}function VC(i,e){if(i===e.value)return[e];for(let t of e.children){let n=VC(i,t);if(n.length)return n.unshift(e),n}return[]}var Ca=class{value;children;constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}};function t0(i){let e={};return i&&i.children.forEach(t=>e[t.value.outlet]=t),e}var cf=class extends qg{snapshot;constructor(e,t){super(e),this.snapshot=t,qC(this,e)}toString(){return this.snapshot.toString()}};function Xk(i){let e=QX(i),t=new mi([new Nd("",{})]),n=new mi({}),r=new mi({}),o=new mi({}),a=new mi(""),s=new Sr(t,n,o,a,r,Nn,i,e.root);return s.snapshot=e.root,new cf(new Ca(s,[]),e)}function QX(i){let e={},t={},n={},r="",o=new a2([],e,n,r,t,Nn,i,null,{});return new df("",new Ca(o,[]))}var Sr=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(e,t,n,r,o,a,s,l){this.urlSubject=e,this.paramsSubject=t,this.queryParamsSubject=n,this.fragmentSubject=r,this.dataSubject=o,this.outlet=a,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(ct(u=>u[mf]))??Dt(void 0),this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(ct(e=>s2(e))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(ct(e=>s2(e))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Ug(i,e,t="emptyOnly"){let n,{routeConfig:r}=i;return e!==null&&(t==="always"||r?.path===""||!e.component&&!e.routeConfig?.loadComponent)?n={params:ae(ae({},e.params),i.params),data:ae(ae({},e.data),i.data),resolve:ae(ae(ae(ae({},i.data),e.data),r?.data),i._resolvedData)}:n={params:ae({},i.params),data:ae({},i.data),resolve:ae(ae({},i.data),i._resolvedData??{})},r&&Jk(r)&&(n.resolve[mf]=r.title),n}var a2=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[mf]}constructor(e,t,n,r,o,a,s,l,u){this.url=e,this.params=t,this.queryParams=n,this.fragment=r,this.data=o,this.outlet=a,this.component=s,this.routeConfig=l,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=s2(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=s2(this.queryParams),this._queryParamMap}toString(){let e=this.url.map(n=>n.toString()).join("/"),t=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${e}', path:'${t}')`}},df=class extends qg{url;constructor(e,t){super(t),this.url=e,qC(this,t)}toString(){return Zk(this._root)}};
17function qC(i,e){e.value._routerState=i,e.children.forEach(t=>qC(i,t))}function Zk(i){let e=i.children.length>0?` { ${i.children.map(Zk).join(", ")} } `:"";return`${i.value}${e}`}function EC(i){if(i.snapshot){let e=i.snapshot,t=i._futureSnapshot;i.snapshot=t,bl(e.queryParams,t.queryParams)||i.queryParamsSubject.next(t.queryParams),e.fragment!==t.fragment&&i.fragmentSubject.next(t.fragment),bl(e.params,t.params)||i.paramsSubject.next(t.params),yX(e.url,t.url)||i.urlSubject.next(t.url),bl(e.data,t.data)||i.dataSubject.next(t.data)}else i.snapshot=i._futureSnapshot,i.dataSubject.next(i._futureSnapshot.data)}function FC(i,e){let t=bl(i.params,e.params)&&PX(i.url,e.url),n=!i.parent!=!e.parent;return t&&!n&&(!i.parent||FC(i.parent,e.parent))}function Jk(i){return typeof i.title=="string"||i.title===null}var eN=new Ee(""),c2=(()=>{class i{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=Nn;activateEvents=new X;deactivateEvents=new X;attachEvents=new X;detachEvents=new X;routerOutletData=ba(void 0);parentContexts=C(l2);location=C(ai);changeDetector=C(Ye);inputBinder=C(hf,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(t){if(t.name){let{firstChange:n,previousValue:r}=t.name;if(n)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(t){return this.parentContexts.getContext(t)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let t=this.parentContexts.getContext(this.name);t?.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new He(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new He(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new He(4012,!1);this.location.detach();let t=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(t.instance),t}attach(t,n){this.activated=t,this._activatedRoute=n,this.location.insert(t.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(t.instance)}deactivate(){if(this.activated){let t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,n){if(this.isActivated)throw new He(4013,!1);this._activatedRoute=t;let r=this.location,a=t.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new RC(t,s,r.injector,this.routerOutletData);this.activated=r.createComponent(a,{index:r.length,injector:l,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[on]})}return i})(),RC=class{route;childContexts;parent;outletData;constructor(e,t,n,r){this.route=e,this.childContexts=t,this.parent=n,this.outletData=r}get(e,t){return e===Sr?this.route:e===l2?this.childContexts:e===eN?this.outletData:this.parent.get(e,t)}},hf=new Ee(""),UC=(()=>{class i{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(t){this.unsubscribeFromRouteData(t),this.subscribeToRouteData(t)}unsubscribeFromRouteData(t){this.outletDataSubscriptions.get(t)?.unsubscribe(),this.outletDataSubscriptions.delete(t)}subscribeToRouteData(t){let{activatedRoute:n}=t,r=sc([n.queryParams,n.params,n.data]).pipe(fr(([o,a,s],l)=>(s=ae(ae(ae({},o),a),s),l===0?Dt(s):Promise.resolve(s)))).subscribe(o=>{if(!t.isActivated||!t.activatedComponentRef||t.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(t);return}let a=MI(n.component);if(!a){this.unsubscribeFromRouteData(t);return}for(let{templateName:s}of a.inputs)t.activatedComponentRef.setInput(s,o[s])});this.outletDataSubscriptions.set(t,r)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),GC=(()=>
17{class i{static \u0275fac=function(n){return new(n||i)};static \u0275cmp=z({type:i,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,r){n&1&&S(0,"router-outlet")},dependencies:[c2],encapsulation:2})}return i})();function $C(i){let e=i.children&&i.children.map($C),t=e?mt(ae({},i),{children:e}):ae({},i);return!t.component&&!t.loadComponent&&(e||t.loadChildren)&&t.outlet&&t.outlet!==Nn&&(t.component=GC),t}function KX(i,e,t){let n=uf(i,e._root,t?t._root:void 0);return new cf(n,e)}function uf(i,e,t){if(t&&i.shouldReuseRoute(e.value,t.value.snapshot)){let n=t.value;n._futureSnapshot=e.value;let r=XX(i,e,t);return new Ca(n,r)}else{if(i.shouldAttach(e.value)){let o=i.retrieve(e.value);if(o!==null){let a=o.route;return a.value._futureSnapshot=e.value,a.children=e.children.map(s=>uf(i,s)),a}}let n=ZX(e.value),r=e.children.map(o=>uf(i,o));return new Ca(n,r)}}function XX(i,e,t){return e.children.map(n=>{for(let r of t.children)if(i.shouldReuseRoute(n.value,r.value.snapshot))return uf(i,n,r);return uf(i,n)})}function ZX(i){return new Sr(new mi(i.url),new mi(i.params),new mi(i.queryParams),new mi(i.fragment),new mi(i.data),i.outlet,i.component,i)}var d0=class{redirectTo;navigationBehaviorOptions;constructor(e,t){this.redirectTo=e,this.navigationBehaviorOptions=t}},tN="ngNavigationCancelingError";function Gg(i,e){let{redirectTo:t,navigationBehaviorOptions:n}=o0(e)?{redirectTo:e,navigationBehaviorOptions:void 0}:e,r=nN(!1,Go.Redirect);return r.url=t,r.navigationBehaviorOptions=n,r}function nN(i,e){let t=new Error(`NavigationCancelingError: ${i||""}`);return t[tN]=!0,t.cancellationCode=e,t}function JX(i){return iN(i)&&o0(i.url)}function iN(i){return!!i&&i[tN]}var eZ=(i,e,t,n)=>ct(r=>(new zC(e,r.targetRouterState,r.currentRouterState,t,n).activate(i),r)),zC=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(e,t,n,r,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=r,this.inputBindingEnabled=o}activate(e){let t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),EC(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){let r=t0(t);e.children.forEach(o=>{let a=o.value.outlet;this.deactivateRoutes(o,r[a],n),delete r[a]}),Object.values(r).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(e,t,n){let r=e.value,o=t?t.value:null;if(r===o)if(r.component){let a=n.getContext(r.outlet);a&&this.deactivateChildRoutes(e,t,a.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){e.value.component&&this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){let n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,o=t0(e);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);if(n&&n.outlet){let a=n.outlet.detach(),s=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:a,route:e,contexts:s})}}deactivateRouteAndOutlet(e,t){let n=t.getContext(e.value.outlet),r=n&&e.value.component?n.children:t,o=t0(e);for(let a of Object.values(o))this.deactivateRouteAndItsChildren(a,r);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(e,t,n){let r=t0(t);e.children.forEach(o=>{this.activateRoutes(o,r[o.value.outlet],n),this.forwardEvent(new Bg(o.value.snapshot))}),e.children.length&&this.forwardEvent(new Lg(e.value.snapshot))}activateRoutes(e,t,n){let r=e.value,o=t?t.value:null;if(EC(r),r===o)if(r.component){let a=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,a.children)}else this.activateChildRoutes(e,t,n);else if(r.component){let a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),EC(s.route.value),this.activateChildRoutes(e,null,a.children)}else a.attachRef=null,a.route=r,a.outlet&&a.outlet.activateWith(r,a.injector),this.activateChildRoutes(e,null,a.children)}else this.activateChildRoutes(e,null,n)}},$g=class{path;route;constructor(e){this.path=e,this.route=this.path[this.path.length-1]}},r0=class{component;route;constructor(e,t){this.component=e,this.route=t}};function tZ(i,e,t){let n=i._root,r=e?e._root:null;
17return nf(n,r,t,[n.value])}function nZ(i){let e=i.routeConfig?i.routeConfig.canActivateChild:null;return!e||e.length===0?null:{node:i,guards:e}}function f0(i,e){let t=Symbol(),n=e.get(i,t);return n===t?typeof i=="function"&&!dx(i)?i:e.get(i):n}function nf(i,e,t,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=t0(e);return i.children.forEach(a=>{iZ(a,o[a.value.outlet],t,n.concat([a.value]),r),delete o[a.value.outlet]}),Object.entries(o).forEach(([a,s])=>of(s,t.getContext(a),r)),r}function iZ(i,e,t,n,r={canDeactivateChecks:[],canActivateChecks:[]}){let o=i.value,a=e?e.value:null,s=t?t.getContext(i.value.outlet):null;if(a&&o.routeConfig===a.routeConfig){let l=rZ(a,o,o.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new $g(n)):(o.data=a.data,o._resolvedData=a._resolvedData),o.component?nf(i,e,s?s.children:null,n,r):nf(i,e,t,n,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new r0(s.outlet.component,a))}else a&&of(e,s,r),r.canActivateChecks.push(new $g(n)),o.component?nf(i,null,s?s.children:null,n,r):nf(i,null,t,n,r);return r}function rZ(i,e,t){if(typeof t=="function")return t(i,e);switch(t){case"pathParamsChange":return!o2(i.url,e.url);case"pathParamsOrQueryParamsChange":return!o2(i.url,e.url)||!bl(i.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!FC(i,e)||!bl(i.queryParams,e.queryParams);case"paramsChange":default:return!FC(i,e)}}function of(i,e,t){let n=t0(i),r=i.value;Object.entries(n).forEach(([o,a])=>{r.component?e?of(a,e.children.getContext(o),t):of(a,null,t):of(a,e,t)}),r.component?e&&e.outlet&&e.outlet.isActivated?t.canDeactivateChecks.push(new r0(e.outlet.component,r)):t.canDeactivateChecks.push(new r0(null,r)):t.canDeactivateChecks.push(new r0(null,r))}function gf(i){return typeof i=="function"}function oZ(i){return typeof i=="boolean"}function aZ(i){return i&&gf(i.canLoad)}function sZ(i){return i&&gf(i.canActivate)}function lZ(i){return i&&gf(i.canActivateChild)}function cZ(i){return i&&gf(i.canDeactivate)}function dZ(i){return i&&gf(i.canMatch)}function rN(i){return i instanceof Cs||i?.name==="EmptyError"}var Pg=Symbol("INITIAL_VALUE");function u0(){return fr(i=>sc(i.map(e=>e.pipe(Bn(1),ei(Pg)))).pipe(ct(e=>{for(let t of e)if(t!==!0){if(t===Pg)return Pg;if(t===!1||uZ(t))return t}return!0}),ln(e=>e!==Pg),Bn(1)))}function uZ(i){return o0(i)||i instanceof d0}function pZ(i,e){return bi(t=>{let{targetSnapshot:n,currentSnapshot:r,guards:{canActivateChecks:o,canDeactivateChecks:a}}=t;return a.length===0&&o.length===0?Dt(mt(ae({},t),{guardsResult:!0})):fZ(a,n,r,i).pipe(bi(s=>s&&oZ(s)?mZ(n,o,i,e):Dt(s)),ct(s=>mt(ae({},t),{guardsResult:s})))})}function fZ(i,e,t,n){return zi(i).pipe(bi(r=>xZ(r.component,r.route,t,e,n)),cc(r=>r!==!0,!0))}function mZ(i,e,t,n){return zi(e).pipe(sl(r=>ol(gZ(r.route.parent,n),hZ(r.route,n),vZ(i,r.path,t),_Z(i,r.route,t))),cc(r=>r!==!0,!0))}function hZ(i,e){return i!==null&&e&&e(new Hg(i)),Dt(!0)}function gZ(i,e){return i!==null&&e&&e(new zg(i)),Dt(!0)}function _Z(i,e,t){let n=e.routeConfig?e.routeConfig.canActivate:null;if(!n||n.length===0)return Dt(!0);let r=n.map(o=>T1(()=>{let a=p0(e)??t,s=f0(o,a),l=sZ(s)?s.canActivate(e,i):Lr(a,()=>s(e,i));return Oc(l).pipe(cc())}));return Dt(r).pipe(u0())}function vZ(i,e,t){let n=e[e.length-1],o=e.slice(0,e.length-1).reverse().map(a=>nZ(a)).filter(a=>a!==null).map(a=>T1(()=>{let s=a.guards.map(l=>{let u=p0(a.node)??t,h=f0(l,u),_=lZ(h)?h.canActivateChild(n,i):Lr(u,()=>h(n,i));return Oc(_).pipe(cc())});return Dt(s).pipe(u0())}));return Dt(o).pipe(u0())}function xZ(i,e,t,n,r){let o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||o.length===0)return Dt(!0);let a=o.map(s=>{let l=p0(e)??r,u=f0(s,l),h=cZ(u)?u.canDeactivate(i,e,t,n):Lr(l,()=>u(i,e,t,n));return Oc(h).pipe(cc())});return Dt(a).pipe(u0())}function bZ(i,e,t,n){let r=e.canLoad;if(r===void 0||r.length===0)return Dt(!0);let o=r.map(a=>{let s=f0(a,i),l=aZ(s)?s.canLoad(e,t):Lr(i,()=>s(e,t));return Oc(l)});return Dt(o).pipe(u0(),oN(n))}function oN(i){return V7(Ii(e=>{if(typeof e!="boolean")throw Gg(i,e)}),ct(e=>e===!0))}function CZ(i,e,t,n){let r=e.canMatch;if(!r||r.length===0)return Dt(!0);let o=r.map(a=>{let s=f0(a,i),l=dZ(s)?s.canMatch(e,t):Lr(i,()=>s(e,t));return Oc(l)});return Dt(o).pipe(u0(),oN(n))}var pf=class{segmentGroup;constructor(e){this.segmentGroup=e||null}}
17,ff=class extends Error{urlTree;constructor(e){super(),this.urlTree=e}};function e0(i){return Ve(new pf(i))}function yZ(i){return Ve(new He(4e3,!1))}function MZ(i){return Ve(nN(!1,Go.GuardRejected))}var LC=class{urlSerializer;urlTree;constructor(e,t){this.urlSerializer=e,this.urlTree=t}lineralizeSegments(e,t){let n=[],r=t.root;for(;;){if(n=n.concat(r.segments),r.numberOfChildren===0)return Dt(n);if(r.numberOfChildren>1||!r.children[Nn])return yZ(`${e.redirectTo}`);r=r.children[Nn]}}applyRedirectCommands(e,t,n,r,o){return wZ(t,r,o).pipe(ct(a=>{if(a instanceof yl)throw new ff(a);let s=this.applyRedirectCreateUrlTree(a,this.urlSerializer.parse(a),e,n);if(a[0]==="/")throw new ff(s);return s}))}applyRedirectCreateUrlTree(e,t,n,r){let o=this.createSegmentGroup(e,t.root,n,r);return new yl(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){let n={};return Object.entries(e).forEach(([r,o])=>{if(typeof o=="string"&&o[0]===":"){let s=o.substring(1);n[r]=t[s]}else n[r]=o}),n}createSegmentGroup(e,t,n,r){let o=this.createSegments(e,t.segments,n,r),a={};return Object.entries(t.children).forEach(([s,l])=>{a[s]=this.createSegmentGroup(e,l,n,r)}),new li(o,a)}createSegments(e,t,n,r){return t.map(o=>o.path[0]===":"?this.findPosParam(e,o,r):this.findOrReturn(o,n))}findPosParam(e,t,n){let r=n[t.path.substring(1)];if(!r)throw new He(4001,!1);return r}findOrReturn(e,t){let n=0;for(let r of t){if(r.path===e.path)return t.splice(n),r;n++}return e}};function wZ(i,e,t){if(typeof i=="string")return Dt(i);let n=i,{queryParams:r,fragment:o,routeConfig:a,url:s,outlet:l,params:u,data:h,title:_}=e;return Oc(Lr(t,()=>n({params:u,data:h,queryParams:r,fragment:o,routeConfig:a,url:s,outlet:l,title:_})))}var HC={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function SZ(i,e,t,n,r){let o=aN(i,e,t);return o.matched?(n=WX(e,n),CZ(n,e,t,r).pipe(ct(a=>a===!0?o:ae({},HC)))):Dt(o)}function aN(i,e,t){if(e.path==="**")return PZ(t);if(e.path==="")return e.pathMatch==="full"&&(i.hasChildren()||t.length>0)?ae({},HC):{matched:!0,consumedSegments:[],remainingSegments:t,parameters:{},positionalParamSegments:{}};let r=(e.matcher||Vk)(t,i,e);if(!r)return ae({},HC);let o={};Object.entries(r.posParams??{}).forEach(([s,l])=>{o[s]=l.path});let a=r.consumed.length>0?ae(ae({},o),r.consumed[r.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:r.consumed,remainingSegments:t.slice(r.consumed.length),parameters:a,positionalParamSegments:r.posParams??{}}}function PZ(i){return{matched:!0,parameters:i.length>0?Rk(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function kk(i,e,t,n){return t.length>0&&OZ(i,t,n)?{segmentGroup:new li(e,DZ(n,new li(t,i.children))),slicedSegments:[]}:t.length===0&&TZ(i,t,n)?{segmentGroup:new li(i.segments,EZ(i,t,n,i.children)),slicedSegments:t}:{segmentGroup:new li(i.segments,i.children),slicedSegments:t}}function EZ(i,e,t,n){let r={};for(let o of t)if(Yg(i,e,o)&&!n[Vs(o)]){let a=new li([],{});r[Vs(o)]=a}return ae(ae({},n),r)}function DZ(i,e){let t={};t[Nn]=e;for(let n of i)if(n.path===""&&Vs(n)!==Nn){let r=new li([],{});t[Vs(n)]=r}return t}function OZ(i,e,t){return t.some(n=>Yg(i,e,n)&&Vs(n)!==Nn)}function TZ(i,e,t){return t.some(n=>Yg(i,e,n))}function Yg(i,e,t){return(i.hasChildren()||e.length>0)&&t.pathMatch==="full"?!1:t.path===""}function IZ(i,e,t){return e.length===0&&!i.children[t]}var BC=class{};function kZ(i,e,t,n,r,o,a="emptyOnly"){return new jC(i,e,t,n,r,a,o).recognize()}var NZ=31,jC=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(e,t,n,r,o,a,s){this.injector=e,this.configLoader=t,this.rootComponentType=n,this.config=r,this.urlTree=o,this.paramsInheritanceStrategy=a,this.urlSerializer=s,this.applyRedirects=new LC(this.urlSerializer,this.urlTree)}noMatchError(e){return new He(4002,`'${e.segmentGroup}'`)}recognize(){let e=kk(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(e).pipe(ct(({children:t,rootSnapshot:n})=>{let r=new Ca(n,t),o=new df("",r),a=$k(n,[],this.urlTree.queryParams,this.urlTree.fragment);return a.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(a),{state:o,tree:a}}))}match(e){let t=new a2([],Object.freeze({}),Object.freeze(ae({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),Nn,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,e,Nn,t).pipe(ct(n=>({children:n,rootSnapshot:t})),B(n=>{if(n instanceof ff)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof pf?this.noMatchError(n):n}))}processSegmentGroup(e,t,n,r,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(e,t,n,o):this.processSegment(e,t,n,n.segments,r,!0,o).pipe(ct(a=>a instanceof Ca?[a]:[]))}processChildren(e,t,n,r){let o=[];for(let a of Object.keys(n.children))a==="primary"?o.unshift(a):o.push(a);return zi(o).pipe(sl(a=>{let s=n.children[a],l=YX(t,a);return this.processSegmentGroup(e,l,s,a,r)}),Y7((a,s)=>(a.push(...s),a)),_d(null),W7(),bi(a=>{if(a===null)return e0(n);let s=sN(a);return AZ(s),Dt(s)}))}processSegment(e,t,n,r,o,a,s){return zi(t).pipe(sl(l=>this.processSegmentAgainstRoute(l._injector??e,t,l,n,r,o,a,s).pipe(B(u=>{if(u instanceof pf)return Dt(null);throw u}))),cc(l=>!!l),B(l=>{if(rN(l))return IZ(n,r,o)?Dt(new BC):e0(n);throw l}))}processSegmentAgainstRoute(e,t,n,r,o,a,s,l){return Vs(n)!==a&&(a===Nn||!Yg(r,o,n))?e0(r):n.redirectTo===void 0?this.matchSegmentAgainstRoute(e,r,n,o,a,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(e,r,t,n,o,a,l):e0(r)}expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,a,s){let{matched:l,parameters:u,consumedSegments:h,positionalParamSegments:_,remainingSegments:y}=aN(t,r,o);if(!l)return e0(t);
17typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>NZ&&(this.allowRedirects=!1));let b=new a2(o,u,Object.freeze(ae({},this.urlTree.queryParams)),this.urlTree.fragment,Nk(r),Vs(r),r.component??r._loadedComponent??null,r,Ak(r)),x=Ug(b,s,this.paramsInheritanceStrategy);return b.params=Object.freeze(x.params),b.data=Object.freeze(x.data),this.applyRedirects.applyRedirectCommands(h,r.redirectTo,_,b,e).pipe(fr(k=>this.applyRedirects.lineralizeSegments(r,k)),bi(k=>this.processSegment(e,n,t,k.concat(y),a,!1,s)))}matchSegmentAgainstRoute(e,t,n,r,o,a){let s=SZ(t,n,r,e,this.urlSerializer);return n.path==="**"&&(t.children={}),s.pipe(fr(l=>l.matched?(e=n._injector??e,this.getChildConfig(e,n,r).pipe(fr(({routes:u})=>{let h=n._loadedInjector??e,{parameters:_,consumedSegments:y,remainingSegments:b}=l,x=new a2(y,_,Object.freeze(ae({},this.urlTree.queryParams)),this.urlTree.fragment,Nk(n),Vs(n),n.component??n._loadedComponent??null,n,Ak(n)),w=Ug(x,a,this.paramsInheritanceStrategy);x.params=Object.freeze(w.params),x.data=Object.freeze(w.data);let{segmentGroup:k,slicedSegments:V}=kk(t,y,b,u);if(V.length===0&&k.hasChildren())return this.processChildren(h,u,k,x).pipe(ct(A=>new Ca(x,A)));if(u.length===0&&V.length===0)return Dt(new Ca(x,[]));let N=Vs(n)===o;return this.processSegment(h,u,k,V,N?Nn:o,!0,x).pipe(ct(A=>new Ca(x,A instanceof Ca?[A]:[])))}))):e0(t)))}getChildConfig(e,t,n){return t.children?Dt({routes:t.children,injector:e}):t.loadChildren?t._loadedRoutes!==void 0?Dt({routes:t._loadedRoutes,injector:t._loadedInjector}):bZ(e,t,n,this.urlSerializer).pipe(bi(r=>r?this.configLoader.loadChildren(e,t).pipe(Ii(o=>{t._loadedRoutes=o.routes,t._loadedInjector=o.injector})):MZ(t))):Dt({routes:[],injector:e})}};function AZ(i){i.sort((e,t)=>e.value.outlet===Nn?-1:t.value.outlet===Nn?1:e.value.outlet.localeCompare(t.value.outlet))}function VZ(i){let e=i.value.routeConfig;return e&&e.path===""}function sN(i){let e=[],t=new Set;for(let n of i){if(!VZ(n)){e.push(n);continue}let r=e.find(o=>n.value.routeConfig===o.value.routeConfig);r!==void 0?(r.children.push(...n.children),t.add(r)):e.push(n)}for(let n of t){let r=sN(n.children);e.push(new Ca(n.value,r))}return e.filter(n=>!t.has(n))}function Nk(i){return i.data||{}}function Ak(i){return i.resolve||{}}function FZ(i,e,t,n,r,o){return bi(a=>kZ(i,e,t,n,a.extractedUrl,r,o).pipe(ct(({state:s,tree:l})=>mt(ae({},a),{targetSnapshot:s,urlAfterRedirects:l}))))}function RZ(i,e){return bi(t=>{let{targetSnapshot:n,guards:{canActivateChecks:r}}=t;if(!r.length)return Dt(t);let o=new Set(r.map(l=>l.route)),a=new Set;for(let l of o)if(!a.has(l))for(let u of lN(l))a.add(u);let s=0;return zi(a).pipe(sl(l=>o.has(l)?zZ(l,n,i,e):(l.data=Ug(l,l.parent,i).resolve,Dt(void 0))),Ii(()=>s++),bu(1),bi(l=>s===a.size?Dt(t):ar))})}function lN(i){let e=i.children.map(t=>lN(t)).flat();return[i,...e]}function zZ(i,e,t,n){let r=i.routeConfig,o=i._resolve;return r?.title!==void 0&&!Jk(r)&&(o[mf]=r.title),T1(()=>(i.data=Ug(i,i.parent,t).resolve,LZ(o,i,e,n).pipe(ct(a=>(i._resolvedData=a,i.data=ae(ae({},i.data),a),null)))))}function LZ(i,e,t,n){let r=TC(i);if(r.length===0)return Dt({});let o={};return zi(r).pipe(bi(a=>HZ(i[a],e,t,n).pipe(cc(),Ii(s=>{if(s instanceof d0)throw Gg(new Ad,s);o[a]=s}))),bu(1),ct(()=>o),B(a=>rN(a)?ar:Ve(a)))}function HZ(i,e,t,n){let r=p0(e)??n,o=f0(i,r),a=o.resolve?o.resolve(e,t):Lr(r,()=>o(e,t));return Oc(a)}function DC(i){return fr(e=>{let t=i(e);return t?zi(t).pipe(ct(()=>e)):Dt(e)})}var WC=(()=>{class i{buildTitle(t){let n,r=t.root;for(;r!==void 0;)n=this.getResolvedTitleForRoute(r)??n,r=r.children.find(o=>o.outlet===Nn);return n}getResolvedTitleForRoute(t){return t.data[mf]}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>C(cN),providedIn:"root"})}return i})(),cN=(()=>{class i extends WC{title;constructor(t){super(),this.title=t}updateTitle(t){let n=this.buildTitle(t);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||i)(Le(Ek))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),d2=new Ee("",{providedIn:"root",factory:()=>({})}),u2=new Ee(""),Qg=(()=>{class i{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=C(j9);loadComponent(t,n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return Dt(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);let r=Oc(Lr(t,()=>n.loadComponent())).pipe(ct(uN),Ii(a=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=a}),Zo(()=>{this.componentLoaders.delete(n)})),o=new fu(r,()=>new he).pipe(pu());return this.componentLoaders.set(n,o),o}loadChildren(t,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return Dt({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=dN(n,this.compiler,t,this.onLoadEndListener).pipe(Zo(()=>{this.childrenLoaders.delete(n)})),a=new fu(o,()=>new he).pipe(pu());return this.childrenLoaders.set(n,a),a}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function dN(i,e,t,n){return Oc(Lr(t,()=>i.loadChildren())).pipe(ct(uN),bi(r=>r instanceof q4||Array.isArray(r)?Dt(r):zi(e.compileModuleAsync(r))),ct(r=>{n&&n(i);let o,a,s=!1;return Array.isArray(r)?(a=r,s=!0):(o=r.create(t).injector,a=o.get(u2,[],{optional:!0,self:!0}).flat()),{routes:a.map($C),injector:o}}))}function BZ(i){return i&&typeof i=="object"&&"default"in i}function uN(i){return BZ(i)?i.default:i}var Kg=(()=>
17{class i{static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>C(jZ),providedIn:"root"})}return i})(),jZ=(()=>{class i{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,n){return t}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),YC=new Ee(""),QC=new Ee("");function pN(i,e,t){let n=i.get(QC),r=i.get(Gt);if(!r.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(u=>setTimeout(u));let o,a=new Promise(u=>{o=u}),s=r.startViewTransition(()=>(o(),qZ(i)));s.ready.catch(u=>{});let{onViewTransitionCreated:l}=n;return l&&Lr(i,()=>l({transition:s,from:e,to:t})),a}function qZ(i){return new Promise(e=>{gr({read:()=>setTimeout(e)},{injector:i})})}var KC=new Ee(""),_f=(()=>{class i{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new he;transitionAbortWithErrorSubject=new he;configLoader=C(Qg);environmentInjector=C(ki);destroyRef=C(hr);urlSerializer=C(Vd);rootContexts=C(l2);location=C($a);inputBindingEnabled=C(hf,{optional:!0})!==null;titleStrategy=C(WC);options=C(d2,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=C(Kg);createViewTransition=C(YC,{optional:!0});navigationErrorHandler=C(KC,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>Dt(void 0);rootComponentType=null;destroyed=!1;constructor(){let t=r=>this.events.next(new Fg(r)),n=r=>this.events.next(new Rg(r));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=t,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(t){let n=++this.navigationId;this.transitions?.next(mt(ae({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,abortController:new AbortController,id:n}))}setupNavigations(t){return this.transitions=new mi(null),this.transitions.pipe(ln(n=>n!==null),fr(n=>{let r=!1;return Dt(n).pipe(fr(o=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",Go.SupersededByNewNavigation),ar;this.currentTransition=n,this.currentNavigation={id:o.id,initialUrl:o.rawUrl,extractedUrl:o.extractedUrl,targetBrowserUrl:typeof o.extras.browserUrl=="string"?this.urlSerializer.parse(o.extras.browserUrl):o.extras.browserUrl,trigger:o.source,extras:o.extras,previousNavigation:this.lastSuccessfulNavigation?mt(ae({},this.lastSuccessfulNavigation),{previousNavigation:null}):null,abort:()=>o.abortController.abort()};let a=!t.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),s=o.extras.onSameUrlNavigation??t.onSameUrlNavigation;if(!a&&s!=="reload"){let l="";return this.events.next(new Ml(o.id,this.urlSerializer.serialize(o.rawUrl),l,a0.IgnoredSameUrlNavigation)),o.resolve(!1),ar}if(this.urlHandlingStrategy.shouldProcessUrl(o.rawUrl))return Dt(o).pipe(fr(l=>(this.events.next(new na(l.id,this.urlSerializer.serialize(l.extractedUrl),l.source,l.restoredState)),l.id!==this.navigationId?ar:Promise.resolve(l))),FZ(this.environmentInjector,this.configLoader,this.rootComponentType,t.config,this.urlSerializer,this.paramsInheritanceStrategy),Ii(l=>{n.targetSnapshot=l.targetSnapshot,n.urlAfterRedirects=l.urlAfterRedirects,this.currentNavigation=mt(ae({},this.currentNavigation),{finalUrl:l.urlAfterRedirects});let u=new sf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(o.currentRawUrl)){let{id:l,extractedUrl:u,source:h,restoredState:_,extras:y}=o,b=new na(l,this.urlSerializer.serialize(u),h,_);this.events.next(b);let x=Xk(this.rootComponentType).snapshot;return this.currentTransition=n=mt(ae({},o),{targetSnapshot:x,urlAfterRedirects:u,extras:mt(ae({},y),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=u,Dt(n)}else{let l="";return this.events.next(new Ml(o.id,this.urlSerializer.serialize(o.extractedUrl),l,a0.IgnoredByUrlHandlingStrategy)),o.resolve(!1),ar}}),Ii(o=>{let a=new kg(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot);this.events.next(a)}),ct(o=>(this.currentTransition=n=mt(ae({},o),{guards:tZ(o.targetSnapshot,o.currentSnapshot,this.rootContexts)}),n)),pZ(this.environmentInjector,o=>this.events.next(o)),Ii(o=>
17{if(n.guardsResult=o.guardsResult,o.guardsResult&&typeof o.guardsResult!="boolean")throw Gg(this.urlSerializer,o.guardsResult);let a=new Ng(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects),o.targetSnapshot,!!o.guardsResult);this.events.next(a)}),ln(o=>o.guardsResult?!0:(this.cancelNavigationTransition(o,"",Go.GuardRejected),!1)),DC(o=>{if(o.guards.canActivateChecks.length!==0)return Dt(o).pipe(Ii(a=>{let s=new Ag(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}),fr(a=>{let s=!1;return Dt(a).pipe(RZ(this.paramsInheritanceStrategy,this.environmentInjector),Ii({next:()=>s=!0,complete:()=>{s||this.cancelNavigationTransition(a,"",Go.NoDataFromResolver)}}))}),Ii(a=>{let s=new Vg(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(s)}))}),DC(o=>{let a=s=>{let l=[];if(s.routeConfig?.loadComponent&&!s.routeConfig._loadedComponent){let u=p0(s)??this.environmentInjector;l.push(this.configLoader.loadComponent(u,s.routeConfig).pipe(Ii(h=>{s.component=h}),ct(()=>{})))}for(let u of s.children)l.push(...a(u));return l};return sc(a(o.targetSnapshot.root)).pipe(_d(null),Bn(1))}),DC(()=>this.afterPreactivation()),fr(()=>{let{currentSnapshot:o,targetSnapshot:a}=n,s=this.createViewTransition?.(this.environmentInjector,o.root,a.root);return s?zi(s).pipe(ct(()=>n)):Dt(n)}),ct(o=>{let a=KX(t.routeReuseStrategy,o.targetSnapshot,o.currentRouterState);return this.currentTransition=n=mt(ae({},o),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,n}),Ii(()=>{this.events.next(new lf)}),eZ(this.rootContexts,t.routeReuseStrategy,o=>this.events.next(o),this.inputBindingEnabled),Bn(1),ze(new hn(o=>{let a=n.abortController.signal,s=()=>o.next();return a.addEventListener("abort",s),()=>a.removeEventListener("abort",s)}).pipe(ln(()=>!r&&!n.targetRouterState),Ii(()=>{this.cancelNavigationTransition(n,n.abortController.signal.reason+"",Go.Aborted)}))),Ii({next:o=>{r=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Ma(o.id,this.urlSerializer.serialize(o.extractedUrl),this.urlSerializer.serialize(o.urlAfterRedirects))),this.titleStrategy?.updateTitle(o.targetRouterState.snapshot),o.resolve(!0)},complete:()=>{r=!0}}),ze(this.transitionAbortWithErrorSubject.pipe(Ii(o=>{throw o}))),Zo(()=>{r||this.cancelNavigationTransition(n,"",Go.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null)}),B(o=>{if(this.destroyed)return n.resolve(!1),ar;if(r=!0,iN(o))this.events.next(new Cl(n.id,this.urlSerializer.serialize(n.extractedUrl),o.message,o.cancellationCode)),JX(o)?this.events.next(new c0(o.url,o.navigationBehaviorOptions)):n.resolve(!1);else{let a=new s0(n.id,this.urlSerializer.serialize(n.extractedUrl),o,n.targetSnapshot??void 0);try{let s=Lr(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(s instanceof d0){let{message:l,cancellationCode:u}=Gg(this.urlSerializer,s);this.events.next(new Cl(n.id,this.urlSerializer.serialize(n.extractedUrl),l,u)),this.events.next(new c0(s.redirectTo,s.navigationBehaviorOptions))}else throw this.events.next(a),o}catch(s){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(s)}}return ar}))}))}cancelNavigationTransition(t,n,r){let o=new Cl(t.id,this.urlSerializer.serialize(t.extractedUrl),n,r);this.events.next(o),t.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let t=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return t.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function UZ(i){return i!==i0}var fN=(()=>
17{class i{static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>C(GZ),providedIn:"root"})}return i})(),Wg=class{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}},GZ=(()=>{class i extends Wg{static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),mN=(()=>{class i{urlSerializer=C(Vd);options=C(d2,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=C($a);urlHandlingStrategy=C(Kg);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new yl;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:t,initialUrl:n,targetBrowserUrl:r}){let o=t!==void 0?this.urlHandlingStrategy.merge(t,n):n,a=r??o;return a instanceof yl?this.urlSerializer.serialize(a):a}commitTransition({targetRouterState:t,finalUrl:n,initialUrl:r}){n&&t?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,r),this.routerState=t):this.rawUrlTree=r}routerState=Xk(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:t}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t??this.rawUrlTree)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:()=>C($Z),providedIn:"root"})}return i})(),$Z=(()=>{class i extends mN{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(t){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{t(n.url,n.state,"popstate")})})}handleRouterEvent(t,n){t instanceof na?this.updateStateMemento():t instanceof Ml?this.commitTransition(n):t instanceof sf?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):t instanceof lf?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):t instanceof Cl&&t.code!==Go.SupersededByNewNavigation&&t.code!==Go.Redirect?this.restoreHistory(n):t instanceof s0?this.restoreHistory(n,!0):t instanceof Ma&&(this.lastSuccessfulId=t.id,this.currentPageId=this.browserPageId)}setBrowserUrl(t,{extras:n,id:r}){let{replaceUrl:o,state:a}=n;if(this.location.isCurrentPathEqualTo(t)||o){let s=this.browserPageId,l=ae(ae({},a),this.generateNgRouterState(r,s));this.location.replaceState(t,"",l)}else{let s=ae(ae({},a),this.generateNgRouterState(r,this.browserPageId+1));this.location.go(t,"",s)}}restoreHistory(t,n=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,o=this.currentPageId-r;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===t.finalUrl&&o===0&&(this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(t),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(t,n){return this.canceledNavigationResolution==="computed"?{navigationId:t,\u0275routerPageId:n}:{navigationId:t}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Xg(i,e){i.events.pipe(ln(t=>t instanceof Ma||t instanceof Cl||t instanceof s0||t instanceof Ml),ct(t=>t instanceof Ma||t instanceof Ml?0:(t instanceof Cl?t.code===Go.Redirect||t.code===Go.SupersededByNewNavigation:!1)?2:1),ln(t=>t!==2),Bn(1)).subscribe(()=>{e()})}var WZ={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},YZ={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},ot=(()=>{class i{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=C(G4);stateManager=C(mN);options=C(d2,{optional:!0})||{};pendingTasks=C(hl);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=C(_f);
17urlSerializer=C(Vd);location=C($a);urlHandlingStrategy=C(Kg);injector=C(ki);_events=new he;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=C(fN);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=C(u2,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!C(hf,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:t=>{this.console.warn(t)}}),this.subscribeToNavigationEvents()}eventsSubscription=new En;subscribeToNavigationEvents(){let t=this.navigationTransitions.events.subscribe(n=>{try{let r=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(r!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof Cl&&n.code!==Go.Redirect&&n.code!==Go.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Ma)this.navigated=!0;else if(n instanceof c0){let a=n.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(n.url,r.currentRawUrl),l=ae({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||UZ(r.source)},a);this.scheduleNavigation(s,i0,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}$X(n)&&this._events.next(n)}catch(r){this.navigationTransitions.transitionAbortWithErrorSubject.next(r)}});this.eventsSubscription.add(t)}resetRootComponentType(t){this.routerState.root.component=t,this.navigationTransitions.rootComponentType=t}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),i0,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((t,n,r)=>{this.navigateToSyncWithBrowser(t,r,n)})}navigateToSyncWithBrowser(t,n,r){let o={replaceUrl:!0},a=r?.navigationId?r:null;if(r){let l=ae({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(o.state=l)}let s=this.parseUrl(t);this.scheduleNavigation(s,n,a,o).catch(l=>{this.disposed||this.injector.get(va)(l)})}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(t){this.config=t.map($C),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(t,n={}){let{relativeTo:r,queryParams:o,fragment:a,queryParamsHandling:s,preserveFragment:l}=n,u=l?this.currentUrlTree.fragment:a,h=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":h=ae(ae({},this.currentUrlTree.queryParams),o);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=o||null}h!==null&&(h=this.removeEmptyProps(h));let _;try{let y=r?r.snapshot:this.routerState.snapshot.root;_=Wk(y)}catch{(typeof t[0]!="string"||t[0][0]!=="/")&&(t=[]),_=this.currentUrlTree.root}return Yk(_,t,h,u??null)}navigateByUrl(t,n={skipLocationChange:!1}){let r=o0(t)?t:this.parseUrl(t),o=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(o,i0,null,n)}navigate(t,n={skipLocationChange:!1}){return QZ(t),this.navigateByUrl(this.createUrlTree(t,n),n)}serializeUrl(t){return this.urlSerializer.serialize(t)}parseUrl(t){try{return this.urlSerializer.parse(t)}catch{return this.urlSerializer.parse("/")}}isActive(t,n){let r;if(n===!0?r=ae({},WZ):n===!1?r=ae({},YZ):r=n,o0(t))return Dk(this.currentUrlTree,t,r);let o=this.parseUrl(t);return Dk(this.currentUrlTree,o,r)}removeEmptyProps(t){return Object.entries(t).reduce((n,[r,o])=>(o!=null&&(n[r]=o),n),{})}scheduleNavigation(t,n,r,o,a){if(this.disposed)return Promise.resolve(!1);let s,l,u;a?(s=a.resolve,l=a.reject,u=a.promise):u=new Promise((_,y)=>{s=_,l=y});let h=this.pendingTasks.add();return Xg(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(h))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:t,extras:o,resolve:s,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(_=>Promise.reject(_))}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function QZ(i){for(let e=0;e<i.length;e++)if(i[e]==null)throw new He(4008,!1)}var vf=class{};var hN=(()=>{class i{router;injector;preloadingStrategy;loader;subscription;constructor(t,n,r,o){this.router=t,this.injector=n,this.preloadingStrategy=r,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(ln(t=>t instanceof Ma),sl(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(t,n){let r=[];for(let o of n){o.providers&&!o._injector&&(o._injector=Yu(o.providers,t,`Route: ${o.path}`));let a=o._injector??t,s=o._loadedInjector??a;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&r.push(this.preloadConfig(a,o)),(o.children||o._loadedRoutes)&&r.push(this.processRoutes(s,o.children??o._loadedRoutes))}return zi(r).pipe(gd())}preloadConfig(t,n){return this.preloadingStrategy.preload(n,()=>{let r;n.loadChildren&&n.canLoad===void 0?r=this.loader.loadChildren(t,n):r=Dt(null);let o=r.pipe(bi(a=>a===null?Dt(void 0):(n._loadedRoutes=a.routes,n._loadedInjector=a.injector,this.processRoutes(a.injector??t,a.routes))));if(n.loadComponent&&!n._loadedComponent){let a=this.loader.loadComponent(t,n);return zi([o,a]).pipe(gd())}else return o}
17)}static \u0275fac=function(n){return new(n||i)(Le(ot),Le(ki),Le(vf),Le(Qg))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),ZC=new Ee(""),gN=(()=>{class i{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource=i0;restoredId=0;store={};constructor(t,n,r,o,a={}){this.urlSerializer=t,this.transitions=n,this.viewportScroller=r,this.zone=o,this.options=a,a.scrollPositionRestoration||="disabled",a.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof na?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Ma?(this.lastId=t.id,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.urlAfterRedirects).fragment)):t instanceof Ml&&t.code===a0.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(t,this.urlSerializer.parse(t.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(t=>{t instanceof l0&&(t.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(t.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,n){this.zone.runOutsideAngular(async()=>{await new Promise(r=>{setTimeout(r),typeof requestAnimationFrame<"u"&&requestAnimationFrame(r)}),this.zone.run(()=>{this.transitions.events.next(new l0(t,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){C9()};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})();function JC(i,...e){return cl([{provide:u2,multi:!0,useValue:i},[],{provide:Sr,useFactory:_N,deps:[ot]},{provide:V3,multi:!0,useFactory:vN},e.map(t=>t.\u0275providers)])}function _N(i){return i.routerState.root}function m0(i,e){return{\u0275kind:i,\u0275providers:e}}function ey(i={}){return m0(4,[{provide:ZC,useFactory:()=>{let t=C(Pc),n=C(Vt),r=C(_f),o=C(Vd);return new gN(o,r,t,n,i)}}])}function vN(){let i=C(Nt);return e=>{let t=i.get(wr);if(e!==t.components[0])return;let n=i.get(ot),r=i.get(xN);i.get(ty)===1&&n.initialNavigation(),i.get(yN,null,{optional:!0})?.setUpPreloading(),i.get(ZC,null,{optional:!0})?.init(),n.resetRootComponentType(t.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var xN=new Ee("",{factory:()=>new he}),ty=new Ee("",{providedIn:"root",factory:()=>1});function bN(){let i=[{provide:ty,useValue:0},$4(()=>{let e=C(Nt);return e.get(tC,Promise.resolve()).then(()=>new Promise(n=>{let r=e.get(ot),o=e.get(xN);Xg(r,()=>{n(!0)}),e.get(_f).afterPreactivation=()=>(n(!0),o.closed?Dt(void 0):o),r.initialNavigation()}))})];return m0(2,i)}function CN(){let i=[$4(()=>{C(ot).setUpLocationChangeListener()}),{provide:ty,useValue:2}];return m0(3,i)}var yN=new Ee("");function MN(i){return m0(0,[{provide:yN,useExisting:hN},{provide:vf,useExisting:i}])}function wN(){return m0(8,[UC,{provide:hf,useExisting:UC}])}function SN(i){qa("NgRouterViewTransitions");let e=[{provide:YC,useValue:pN},{provide:QC,useValue:ae({skipNextTransition:!!i?.skipInitialTransition},i)}];return m0(9,e)}var PN=[$a,{provide:Vd,useClass:Ad},ot,l2,{provide:Sr,useFactory:_N,deps:[ot]},Qg,[]],ny=(()=>{class i{constructor(){}static forRoot(t,n){return{ngModule:i,providers:[PN,[],{provide:u2,multi:!0,useValue:t},[],n?.errorHandler?{provide:KC,useValue:n.errorHandler}:[],{provide:d2,useValue:n||{}},n?.useHash?XZ():ZZ(),KZ(),n?.preloadingStrategy?MN(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?JZ(n):[],n?.bindToComponentInputs?wN().\u0275providers:[],n?.enableViewTransitions?SN().\u0275providers:[],eJ()]}}static forChild(t){return{ngModule:i,providers:[{provide:u2,multi:!0,useValue:t}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})();function KZ(){return{provide:ZC,useFactory:()=>{let i=C(Pc),e=C(Vt),t=C(d2),n=C(_f),r=C(Vd);return t.scrollOffset&&i.setOffset(t.scrollOffset),new gN(r,n,i,e,t)}}}function XZ(){return{provide:wc,useClass:cC}}function ZZ(){return{provide:wc,useClass:ig}}function JZ(i){return[i.initialNavigation==="disabled"?CN().\u0275providers:[],i.initialNavigation==="enabledBlocking"?bN().\u0275providers:[]]}var XC=new Ee("");function eJ(){return[{provide:XC,useFactory:vN},{provide:V3,multi:!0,useExisting:XC}]}var Zg=class i{static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-root"]],decls:1,vars:0,template:function(t,n){t&1&&S(0,"router-outlet")},dependencies:[c2],encapsulation:2})};var Jg={name:"az-mi-allianz-front",version:"1.0.55",scripts:{ng:"ng",start:"ng serve --port 3000 --verbose --no-hmr",build:"ng build",watch:"ng build --watch --configuration development",test:"ng test","serve:ssr:az-mi-allianz-front":"node dist/az-mi-allianz-front/server/server.mjs"},prettier:{overrides:[{files:"*.html",options:{parser:"angular",printWidth:120}},{files:"*.ts",options:{printWidth:100,arrowParens:"avoid",bracketSameLine:!1,bracketSpacing:!0,singleQuote:!0,trailingComma:"all",tabWidth:2,semi:!0,jsxSingleQuote:!1,endOfLine:"lf"}}]},dependencies:{"@allianz/ng-aquila":"20.1.0","@allianz/ngx-brand-kit":"20.1.0","@angular/animations":"20.1.6","@angular/cdk":"20.1.6","@angular/common":"20.1.6","@angular/compiler":"20.1.6","@angular/core":"20.1.6","@angular/forms":"20.1.6","@angular/localize":"20.1.6","@angular/platform-browser":"20.1.6","@angular/platform-browser-dynamic":"20.1.6","@angular/platform-server":"20.1.6","@angular/router":"20.1.6","@angular/ssr":"20.1.6","@fortawesome/angular-fontawesome":"0.10.2","@fortawesome/fontawesome-svg-core":"6.5.1","@fortawesome/free-solid-svg-icons":"6.5.1","@ng-bootstrap/ng-bootstrap":"19.0.1","@popperjs/core":"2.11.8",bootstrap:"5.3.7",bowser:"2.11.0",dompurify:"3.2.6",express:"5.1.0","i18n-iso-countries":"6.8.0",iban:"0.0.14",jquery:"3.7.1",moment:"2.30.1","ng2-currency-mask":"13.0.3","ngx-toastr":"17.0.2",papaparse:"5.5.3",rxjs:"7.8.1",swiper:"11.2.10",tslib:"2.8.1",uuid:"9.0.1","zone.js":"0.15.1"},devDependencies:{"@analogjs/vite-plugin-angular":"1.19.4","@angular-builders/custom-webpack":"20.0.0","@angular-devkit/build-angular":"20.1.6","@angular/build":"20.1.6","@angular/cli":"20.1.6","@angular/compiler-cli":"20.1.6","@types/dompurify":"3.2.0","@types/express":"5.0.1","@types/jasmine":"5.1.0","@types/node":"20.19.9","@types/papaparse":"5.3.16","@types/uuid":"10.0.0","jasmine-core":"5.1.0",karma:"6.4.0","karma-chrome-launcher":"3.2.0","karma-coverage":"2.2.0","karma-jasmine":"5.1.0","karma-jasmine-html-reporter":"2.1.0",prettier:"^3.8.3",typescript:"5.8.3"}};var Se={hasSession:!1,user:null,versionFE:Jg,params:{},oauth2:{clientId:"",baseUrl:null,redirectUri:null},roles:[]},ht={active:!1,dni:null,email:null,userType:null,typeDelegate:null,typeDocument:null,userId:null};var Ya=class i{constructor(e){this.http=e}getNoCache(e,t){let n=new Uo({"Cache-Control":"no-cache, no-store, must-revalidate, post-check=0, pre-check=0",Pragma:"no-cache",Expires:"0"}),r=this.formarUrl(e,t);return this.http.get(r,{headers:n}).pipe(ct(this.validateResponse),B(this.errorHandler))}get(e,t){let n=this.formarUrl(e,t);return this.http.get(n).pipe(ct(this.validateResponse),B(this.errorHandler))}getMobile(e){return fetch(e,{method:"GET",mode:"cors",credentials:"same-origin",headers:{"Content-Type":"application/json"}})}postMobile(e,t){return fetch(e,{method:"POST",mode:"cors",credentials:"same-origin",headers:{"Content-Type":"application/json"},body:t})}put(e,t,n){let r=this.formarUrl(e,n);return this.http.put(r,t).pipe(ct(this.validateResponse),B(this.errorHandler))}post(e,t,n){let r=this.formarUrl(e,n);return this.http.post(r,t).pipe(ct(this.validateResponse),B(this.errorHandler))}postChatbot(e,t,n){let r=this.formarUrl(e,n);return this.http.post(r,t)}getChatbot(e,t){let n=this.formarUrl(e,t);return this.http.get(n)}delete(e,t){let n=this.formarUrl(e,t);return this.http.delete(n).pipe(ct(this.validateResponse),B(this.errorHandler))}formarUrl(e,t){let n=e;return t!=null&&(n=n+"?",Object.keys(t).forEach(r=>{t[r]!=null&&(n=n+encodeURIComponent(r)+"="+encodeURIComponent(t[r])+"&")}),n=n.substring(0,n.length-1)),n}validateResponse(e){if(e.error||e.result=="Error")throw e.error?e.error:"Error";return e.result}errorHandler(e){return e instanceof xl?e.status==401?(Se.hasSession=!1,Se.user=null,window.location.href="",Ve("Unauthorized")):e.status==403?(window.location.href="/na",Ve("Unauthorized")):Ve(e.message||"Server Error"):Ve(e)}static \u0275fac=function(t){return new(t||i)(Le(er))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var h0={clientId:null,oauth2BaseUrl:null,azHomeUrl:null,azWindowUrl:null,baseUrl:null,replaceUrl:null,production:!1,hasSession:!1,goplvl:null,codGop:null,permissions:[],userName:null,loadedFrame:!1};var ON=Aa(EN());var e6,iJ=new Uint8Array(16);function oy(){if(!e6&&(e6=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!e6))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e6(iJ)}var mo=[];for(let i=0;i<256;++i)mo.push((i+256).toString(16).slice(1));function DN(i,e=0){return mo[i[e+0]]+mo[i[e+1]]+mo[i[e+2]]+mo[i[e+3]]+"-"+mo[i[e+4]]+mo[i[e+5]]+"-"+mo[i[e+6]]+mo[i[e+7]]+"-"+mo[i[e+8]]+mo[i[e+9]]+"-"+mo[i[e+10]]+mo[i[e+11]]+mo[i[e+12]]+mo[i[e+13]]+mo[i[e+14]]+mo[i[e+15]]}var rJ=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ay={randomUUID:rJ};function oJ(i,e,t){if(ay.randomUUID&&!e&&!i)return ay.randomUUID();i=i||{};let n=i.random||(i.rng||oy)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){t=t||0;for(let r=0;r<16;++r)e[t+r]=n[r];return e}return DN(n)}var sy=oJ;
17var Ar={LOGIN:{action:"LOGIN",description:"Usuario inicia sesi\xF3n"},ABRE_PUSH_VIDA_PROTECCION:{action:"ABRE_PUSH_VIDA_PROTECCION",description:"Usuario abre push de Vida Protecci\xF3n"},ABRE_BANNER_VIDA_PROTECCION:{action:"ABRE_BANNER_VIDA_PROTECCION",description:"Usuario abre el banner de Vida Protecci\xF3n"},SOLICITA_CONTACTO_VIDA_PROTECCION:{action:"SOLICITA_CONTACTO_VIDA_PROTECCION",description:"Usuario solicita contacto por Vida Protecci\xF3n",error:"Error al solicitar contacto por Vida Protecci\xF3n"},DESCARGA_DOCUMENTO:{action:"DESCARGA_DOCUMENTO",description:"Usuario descarga un documento"},DENUNCIA_SINIESTRO:{action:"DENUNCIA_SINIESTRO",description:"Usuario denuncia un siniestro"},DESCONOCIDO:"desconocido"};var Do=class i extends Ya{cachedLogContext=null;cachedSessionUUID=null;UUID_KEY="session_UUID";checkSession(){let e=localStorage.getItem(this.UUID_KEY);e?this.cachedSessionUUID=e:this.logEventInBackground(Ar.LOGIN.action,Ar.LOGIN.description)}deleteSession(){this.cachedSessionUUID=null,localStorage.removeItem(this.UUID_KEY)}async logEventInBackground(e,t,n=null,r=null,o=null,a=null,s=200,l=null){try{let u=await this.getLogContext(),h={application:u?.application,applicationVersion:u?.applicationVersion,sessionId:u?.sessionId,userId:u?.userId,deviceInfo:{browser:u?.browser,os:u?.os},action:e,description:t,metadata:l,httpLog:n?{url:n,queryParams:r?btoa(JSON.stringify(r)):null,requestBody:o?btoa(JSON.stringify(o)):null,responseBody:a?btoa(JSON.stringify(a)):null,statusCode:s}:null};console.log("[DEBUG] eventData",h);let _=new Blob([JSON.stringify(h)],{type:"application/json"});navigator.sendBeacon("/api/events-ms/events",_)||console.error(`[DEBUG] Error queuing event log: ${e}`)}catch(u){console.error(`[DEBUG] Error sending event log: ${u}`)}}async logErrorInBackground(e,t,n=null,r=null,o=null,a=null,s=500,l=null){try{let u=await this.getLogContext(),h={application:u?.application,applicationVersion:u?.applicationVersion,sessionId:u?.sessionId,userId:u?.userId,deviceInfo:{browser:u?.browser,os:u?.os},action:e,errorMessage:t,metadata:l,httpLog:n?{url:n,queryParams:r?btoa(JSON.stringify(r)):null,requestBody:o?btoa(JSON.stringify(o)):null,responseBody:a?btoa(JSON.stringify(a)):null,statusCode:s}:null};console.log("[DEBUG] errorData",h);let _=new Blob([JSON.stringify(h)],{type:"application/json"});navigator.sendBeacon("/api/events-ms/errors",_)||console.error(`[DEBUG] Error queuing error log: ${e}`)}catch(u){console.error(`[DEBUG] Error sending error log: ${u}`)}}async isFirewallBlockResponse(e){if(e?.type!=="text/html")return!1;let t=(await e.text()).toLowerCase();return t.includes("the requested url was rejected")&&t.includes("your support id is")}getSessionUUID(){if(this.cachedSessionUUID)return this.cachedSessionUUID;let e=sy();return this.cachedSessionUUID=e,localStorage.setItem(this.UUID_KEY,e),e}async getLogContext(){if(this.cachedLogContext)return this.cachedLogContext;try{await this.user().toPromise();let e=Se?.user?.details?.userId,t=Jg.version,n=this.getSessionUUID(),r=ON.default.getParser(window.navigator.userAgent),o=`${r.getBrowserName()} ${r.getBrowserVersion()}`,a=`${r.getOSName()} ${r.getOSVersion()} ${r.getPlatformType()}`;this.cachedLogContext={userId:e,applicationVersion:t,sessionId:n,browser:o,os:a,application:"MI_ALLIANZ"}}catch(e){console.error("[DEBUG] Failed to retrieve log context:",e),this.cachedLogContext=null}return this.cachedLogContext}user(){return this.getNoCache("/private/user").pipe(ct(e=>(Se.user=e.user,Se.roles=e.roles,h0.permissions=e.user.details.permissions,e.details&&e.details.parameters&&(Se.params=e.details.parameters),e)),B(e=>(console.error("[DEBUG] Error fetching user data:",e),Dt(null))))}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var wl=class i extends Ya{sendMessage(e,t,n,r){let o=mt(ae({msg:e},t&&{uuid:t}),{name:n,lastName:r,platform:"web",format:"html"});return this.postChatbot("/api/chatbot-ws/send",o)}isUserEnabled(){return this.getChatbot("/api/chatbot-ws/users/enabled")}
17getLatestTerms(){return this.getChatbot("/api/chatbot-ws/terms")}getUserTermsAccepted(e){return this.getChatbot(`/api/chatbot-ws/terms/${e}/accepted`)}acceptTerms(e){return this.postChatbot(`/api/chatbot-ws/terms/${e}/accept`,{})}getWebMessages(){return this.getChatbot("/api/chatbot-ws/messages?platform=WEB")}getChatbotConfig(){return this.getChatbot("/api/chatbot-ws/configuration")}getContactReasons(){return this.getChatbot("/api/chatbot-ws/contact-reason")}sendContact(e){return this.postChatbot("/api/chatbot-ws/contact-reason",e)}sendSurvey(e){return this.postChatbot("/api/chatbot-ws/satisfaction-survey",e)}deletePersistedData(){let e="chatbot_messages",t="chatbot_uuid",n="chatbot_expiration";localStorage.removeItem(e),localStorage.removeItem(t),localStorage.removeItem(n)}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var t6=class i{constructor(){}getParamValue(e,t){let n=new RegExp("[?&]"+t+"=([^&#]*)").exec(e);return n==null?"":decodeURI(n[1])||""}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var Oi=class i extends Ya{urlService=C(t6);eventsService=C(Do);chatBotService=C(wl);constructor(e){super(e)}conf(){return this.getNoCache("/public/conf").pipe(ct(e=>(Se.hasSession=e.hasSession,Se.oauth2.baseUrl=e.oauth2BaseUrl,Se.oauth2.clientId="mi-allianz",Se.oauth2.redirectUri=e.redirectUri,e)))}postLogin(e,t){return this.post("/public/postLogin",{code:e,redirect_uri:t,client_id:"mi-allianz"})}redirectToLogin(e){let t=window.crypto.getRandomValues(new Uint8Array(32)),n=Array.from(t,o=>o.toString(16).padStart(2,"0")).join("");sessionStorage.setItem("oauth2_state",n);let r=Se.oauth2.baseUrl+"/oauth/authorize?response_type=code&client_id="+Se.oauth2.clientId+"&redirect_uri="+window.location.origin+"/postLogin&state="+n;window.location.href=r}version(){return this.get("/api/mi-allianz/public/app/version")}user(){return this.getNoCache("/private/user").pipe(ct(e=>(Se.user=e.user,Se.roles=e.roles,h0.permissions=e.user.details.permissions,e.details?.parameters&&(Se.params=e.details.parameters),e)))}async logout(){this.chatBotService.deletePersistedData(),this.eventsService.deleteSession(),Se.oauth2.baseUrl||await Fa(this.conf());try{await Fa(this.post("/public/logout",{}))}finally{window.location.href=`${Se.oauth2.baseUrl}/logout?redirect_uri=${window.location.origin}/`}}static \u0275fac=function(t){return new(t||i)(Le(er))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var _r=class i{constructor(e){this.router=e;e.events.subscribe(t=>{t instanceof na&&(this.lastNavigationAction=t.navigationTrigger)})}barMessageEmiter=new X;lastNavigationAction=null;subject=new he;notifyMessage(e){this.barMessageEmiter.emit(e)}clearMessage(){this.barMessageEmiter.emit({message:null,type:null})}subscribeMessage(e,t,n){this.barMessageEmiter.subscribe(e,t,n)}isBack(){return this.lastNavigationAction=="popstate"}confirm(e,t,n){let r=this;this.subject.next({type:"confirm",text:e,yesFn:function(){r.subject.next(null),t()},noFn:function(){r.subject.next(null),n&&n()}})}alert(e,t){let n=this;this.subject.next({type:"alert",text:e,noFn:function(){n.subject.next(null),t&&t()}})}getMessage(){return this.subject.asObservable()}hasPermission(e){return Se.roles.includes(e)}static \u0275fac=function(t){return new(t||i)(Le(ot))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var TN={DenunciasOut:[{denuncias:[{descripcionramo:"COMBINADO FAMILIAR",codigotomador:"0",estado_vigente:"Siniestro Cerrado",detalle_estado_vigente:null,ramo:"015",numeropredenuncia:"1823299",numerocarpeta:"C0152101640852",fechasiniestro:"2021-05-08 00:00:00.0",descasegurado:"ZACCHI, CAROLINA 1 ",descproductor:"DIRECTOS EMPLEADOS DE LA COMPANIA",codorg:"M0999",fechaprobablepago:null,numeropoliza:"200150453555",numerosiniestro:"0152101640852",descripcionsiniestro:null,cantidad_estados:"3",codgrupo:"0999",codigoasegurado:"D23473741"},{descripcionramo:"COMBINADO FAMILIAR",codigotomador:"0",estado_vigente:"Apertura del siniestro",detalle_estado_vigente:null,ramo:"015",numeropredenuncia:"1995786",numerocarpeta:"C0152201662077",fechasiniestro:"2022-09-14 00:00:00.0",descasegurado:"ZACCHI, CAROLINA 2 ",descproductor:"DIRECTOS EMPLEADOS DE LA COMPANIA",codorg:"M0999",fechaprobablepago:null,numeropoliza:"220150657846",numerosiniestro:"0152201662077",descripcionsiniestro:null,cantidad_estados:"2",codgrupo:"0999",codigoasegurado:"D23473741"}]}]};var IN={PolizasOut:[{polizas:[{idPoliza:1,categoria:"AUTO",codRamo:"004",estado:"Vigente",nPoliza:"10507681",deuda:"NO",imgCard:"../../../../assets/img/allianz-auto.png",riesgo:[{id:1,patente:"PON755",descripcion:"HONDA CRV 2.4 4x4 EXL AUT L/07 2009",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2022",estado:"Vigente",tarjetaDeCirculacion:"96385274
171",certificadoMercosur:"963852741"}]},{idPoliza:2,categoria:"VIDA",codRamo:"017",estado:"Vigente",nPoliza:"1858909",deuda:"SI",imgCard:"../../../../assets/img/allianz-ap.png",riesgo:[{id:2,descripcion:"JUAN DOMINGO ALLIANZ",vigenciaDesde:"11/11/2021",vigenciaHasta:"11/11/2023",estado:"Vigente"}]},{idPoliza:3,categoria:"HOGAR",codRamo:"015",estado:"Vigente",nPoliza:"12134351",deuda:"NO",imgCard:"../../../../assets/img/allianz-hogar.png",riesgo:[{id:3,descripcion:"VIVIENDAS",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"Vigente",Localidad:"ACASSUSO",Provincia:"Buenos Aires",nomCalle:"ARENALES 1015 1 A"}]},{idPoliza:4,categoria:"AUTO",codRamo:"004",estado:"Vigente",nPoliza:"10599711",deuda:"NO",imgCard:"../../../../assets/img/allianz-auto.png",riesgo:[{id:6,patente:"BWN755",descripcion:"HONDA CRV 2.4 4x4 EXL AUT L/07 2009",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2022",estado:"Vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"}]},{idPoliza:5,categoria:"VIDA",codRamo:"017",estado:"Vigente",nPoliza:"1137890",deuda:"SI",imgCard:"../../../../assets/img/allianz-vida.png",riesgo:[{id:7,descripcion:"RICARDO EMPRESARIO",vigenciaDesde:"11/11/2021",vigenciaHasta:"11/11/2023",estado:"Vigente"}]},{idPoliza:6,categoria:"FLOTA",codRamo:"004",estado:"Vigente",nPoliza:"11183466",deuda:"NO",imgCard:"../../../../assets/img/allianz-flota.jpg",riesgo:[{id:8,patente:"NNP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:9,patente:"WWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:10,patente:"TUP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"}]},{idPoliza:7,categoria:"AUTO",codRamo:"004",estado:"Vigente",nPoliza:"10915678",deuda:"NO",imgCard:"../../../../assets/img/allianz-auto.png",riesgo:[{id:11,patente:"NQN755",descripcion:"HONDA CRV 2.4 4x4 EXL AUT L/07 2009",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2022",estado:"Vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"}]},{idPoliza:8,categoria:"VIDA",codRamo:"017",estado:"Vigente",nPoliza:"1118909",deuda:"SI",imgCard:"../../../../assets/img/allianz-vida.png",riesgo:[{id:12,descripcion:"MIRIAM SEGURATA",vigenciaDesde:"11/11/2021",vigenciaHasta:"11/11/2023",estado:"Vigente"}]},{idPoliza:9,categoria:"FLOTA",codRamo:"004",estado:"Vigente",nPoliza:"10987455",deuda:"NO",imgCard:"../../../../assets/img/allianz-flota.jpg",riesgo:[{id:20,patente:"ABP409",descripcion:"Abarth F595 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:21,patente:"BCP408",descripcion:"Abarth Tributo XSR 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:22,patente:"CDP407",descripcion:"Abarth 124 Spide 1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:23,patente:"DEP409",descripcion:"BMW Serie 2 Gran Coup\xE9  2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:24,patente:"EFP408",descripcion:"BMW M340D XDRIVE 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:25,patente:"FGP407",descripcion:"Alfa Romeo Giulia y Stelvio 2020",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:26,patente:"GHW409",descripcion:"Alfa Romeo Giulia Veloce 2017",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"96385274
171",certificadoMercosur:"963852741"},{id:27,patente:"HIP408",descripcion:"Cadillac SRX 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:28,patente:"IJP407",descripcion:"Ferrari GTC4Lusso  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:29,patente:"JKP409",descripcion:"Aston Martin V8 Vantage GT8 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:30,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:31,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:32,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:33,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:34,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:35,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:36,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:37,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:38,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:39,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:40,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:41,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:42,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:43,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:44,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:45,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:46,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"96385274
171"},{id:47,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:48,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:49,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:50,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:51,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:52,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:53,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:54,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:55,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:56,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:57,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:58,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:59,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:60,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:61,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:62,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:63,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:64,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:65,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:66,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:67,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"96385274
171",certificadoMercosur:"963852741"},{id:68,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:69,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:70,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:71,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:72,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:73,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:74,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:75,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:76,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:77,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:78,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:79,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:80,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:81,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:82,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:83,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:84,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:85,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:86,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:87,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"96385274
171"},{id:88,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:89,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:90,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:91,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:92,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:93,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:94,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:95,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:96,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:97,patente:"TRP407",descripcion:"FORD FALCON 3.0  1995",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:98,patente:"FYP409",descripcion:"CHRYSLER CROSSFIRE 3.2 COUPE L 2006",vigenciaDesde:"10/10/2020",vigenciaHasta:"10/10/2021",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"},{id:99,patente:"RWP408",descripcion:"FORD TAUNUS 3.1 2005",vigenciaDesde:"10/10/2019",vigenciaHasta:"10/10/2020",estado:"No vigente",tarjetaDeCirculacion:"963852741",certificadoMercosur:"963852741"}]}]}]};var _i=class i extends Ya{getMenu(){return this.get("api/mi-allianz/private/menuHeader").toPromise()}getMenuPublico(){return this.get("api/mi-allianz/public/menuHeader").toPromise()}getCards(){return this.get("/api/mi-allianz/public/cards").toPromise()}getCarousel(){return this.get("api/mi-allianz/public/carousel").toPromise()}getNoticias(){return this.get("api/mi-allianz/public/blogArticles").toPromise()}getServicios(){return this.get("api/mi-allianz/private/servicios").toPromise()}getAsistencias(){return this.get("api/mi-allianz/private/asistencias").toPromise()}getmostrarGestiones(){return this.get("api/mi-allianz/private/gestion").toPromise()}getPreguntas(){return this.get("api/mi-allianz/private/faq").toPromise()}getPoliticas(){return this.get("api/mi-allianz/private/politicas").toPromise()}getMensajesEnviados(){return this.get("api/mi-allianz/private/mensajesEnviados").toPromise()}getMensajesRecibidos(){return this.get("api/mi-allianz/private/mensajesRecibidos").toPromise()}getContactInfo(){return this.get("api/mi-allianz/public/contactInfo").toPromise()}getIntendenciaInfo(){return this.get("api/mi-allianz/public/intendenciaInfo").toPromise()}getMenuFooter(){return this.get("api/mi-allianz/public/menuFooter").toProm
17ise()}getFooter(){return this.get("api/mi-allianz/public/footer").toPromise()}getNetworks(){return this.get("api/mi-allianz/public/redesSociales").toPromise()}getBlogNews(){return this.get("api/mi-allianz/public/blogNews").toPromise()}getTelefonos(){return this.get("api/mi-allianz/public/telefonosUtiles").toPromise()}getGuiaAsistencia(e){let t="https://test-mobile-api.allianz.com.ar/mobile/api/asegurados/getGuiaAsistencia?policyNumber="+e;return this.getMobile(t)}postRegister(e){return this.postMobile("https://test-mobile-api.allianz.com.ar/mobile/public/asegurados/createRegistro",e)}getDenuncias(){return new Promise((e,t)=>{e(TN.DenunciasOut[0].denuncias)})}getPolizas(){return new Promise((e,t)=>{e(IN.PolizasOut[0].polizas)})}getHitosWorkflor(){return this.get("api/v1/workflow/hitos-detalle?cdSeccion=015&idExpediente=0152201662077&pagactual=1&grillaExpanded=true&regpaginacion=30").toPromise()}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};function Qa(i,e=0){return kN(i)?Number(i):arguments.length===2?e:0}function kN(i){return!isNaN(parseFloat(i))&&!isNaN(Number(i))}function Ka(i){return i instanceof We?i.nativeElement:i}function g0(i){return Array.isArray(i)?i:[i]}function Pr(i){return i==null?"":typeof i=="string"?i:`${i}px`}function Ue(i){return i!=null&&`${i}`!="false"}var bf={"chevron-down":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor" /> </svg>',"chevron-right":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.5858 6.34317L12 4.92896L19.0711 12L12 19.0711L10.5858 17.6569L16.2427 12L10.5858 6.34317Z" fill="currentColor" /> </svg>',"chevron-left":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M16.2426 6.34317L14.8284 4.92896L7.75739 12L14.8285 19.0711L16.2427 17.6569L10.5858 12L16.2426 6.34317Z" fill="currentColor" /> </svg>',"chevron-up":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M17.6569 16.2427L19.0711 14.8285L12.0001 7.75739L4.92896 14.8285L6.34317 16.2427L12.0001 10.5858L17.6569 16.2427Z" fill="currentColor" /> </svg>',"chevron-down-small":'<svg width="1em" height="1em" viewBox="-4 -4 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z" fill="currentColor" /> </svg>',"chevron-right-small":'<svg width="1em" height="1em" viewBox="-4 -4 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.5858 6.34317L12 4.92896L19.0711 12L12 19.0711L10.5858 17.6569L16.2427 12L10.5858 6.34317Z" fill="currentColor" /> </svg>',"chevron-left-small":'<svg width="1em" height="1em" viewBox="-4 -4 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M16.2426 6.34317L14.8284 4.92896L7.75739 12L14.8285 19.0711L16.2427 17.6569L10.5858 12L16.2426 6.34317Z" fill="currentColor" /> </svg>',"chevron-up-small":'<svg width="1em" height="1em" viewBox="-4 -4 32 32" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M17.6569 16.2427L19.0711 14.8285L12.0001 7.75739L4.92896 14.8285L6.34317 16.2427L12.0001 10.5858L17.6569 16.2427Z" fill="currentColor" /> </svg>',"exclamation-triangle":'<svg width="1em" height="1em" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Exclamation-triangle-icon" stroke="none" stroke-width="1" fill="currentColor" fill-rule="evenodd"><path d="M12,2 C12.3955786,2 12.7611083,2.21813636 12.9588976,2.57223923 L22.851658,20.2832823 C23.0494473,20.6373852 23.0494473,21.0736579 22.851658,21.4277608 C22.6538687,21.7818636 22.288339,22 21.8927604,22 L2.10723959,22 C1.71166099,22 1.34613128,21.7818636 1.14834198,21.4277608 C0.950552674,21.0736579 0.950552674,20.6373852 1.14834198,20.2832823 L11.0411024,2.57223923 C11.2388917,2.21813636 11.6044214,2 12,2 Z M12.01,17 C11.314102,17 10.75,17.583074 10.75,18.3023765 C10.75,19.0216791 11.314102,19.6047531 12.01,19.6047531 C12.705898,19.6047531 13.27,19.0216791 13.27,18.3023765 C13.27,17.583074 12.705898,17 12.01,17 Z M12.01,7.5 C11.314102,7.5 10.75,7.958913 10.75,8.525 L10.75,8.525 L10.75,14.675 C10.75,15.2411075 11.314102,15.7 12.01,15.7 C12.705898,15.7 13.27,15.2411075 13.27,14.675 L13.27,14.675 L13.27,8.525 C13.27,7.958913 12.705898,7.5 12.01,7.5 Z" id="Combined-Shape" fill-rule="nonzero"></path></g></svg>',"exclamation-circle":'<svg width="1em" height="1em" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Exclamation-circle-icon" stroke="none" stroke-width="1" fill="currentColor" fill-rule="evenodd"><path d="M12,2 C17.5228,2 22,6.47715 22,12 C22,17.5228 17.5228,22 12,22 C6.47715,22 2,17.5228 2,12 C2,6.47715 6.47715,2 12,2 Z M12,16 C11.33724,16 10.8,16.53724 10.8,17.2 C10.8,17.86276 11.33724,18.4 
1712,18.4 C12.66276,18.4 13.2,17.86276 13.2,17.2 C13.2,16.53724 12.66276,16 12,16 Z M12,6 C11.33724,6 10.8,6.44772 10.8,7 L10.8,7 L10.8,13 C10.8,13.5523 11.33724,14 12,14 C12.66276,14 13.2,13.5523 13.2,13 L13.2,13 L13.2,7 C13.2,6.44772 12.66276,6 12,6 Z" id="Combined-Shape" fill-rule="nonzero"></path></g></svg>',"check-circle":'<svg width="1em" height="1em" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Check-circle-icon" stroke="none" stroke-width="1" fill="currentColor" fill-rule="evenodd"><path d="M12,2 C17.5228182,2 22,6.47715455 22,12 C22,17.5228182 17.5228182,22 12,22 C6.47715455,22 2,17.5228182 2,12 C2,6.47715455 6.47715455,2 12,2 Z M15.545,8.20763636 L10.4023636,13.3502727 L7.8311,10.7789091 L6.54545455,12.0645455 L10.4023636,15.9215455 L16.8306364,9.49329091 L15.545,8.20763636 Z" id="Combined-Shape" fill-rule="nonzero"></path</g></svg>',"trash-o":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path fill-rule="evenodd" clip-rule="evenodd" d="M17 5V4C17 2.89543 16.1046 2 15 2H9C7.89543 2 7 2.89543 7 4V5H4C3.44772 5 3 5.44772 3 6C3 6.55228 3.44772 7 4 7H5V18C5 19.6569 6.34315 21 8 21H16C17.6569 21 19 19.6569 19 18V7H20C20.5523 7 21 6.55228 21 6C21 5.44772 20.5523 5 20 5H17ZM15 4H9V5H15V4ZM17 7H7V18C7 18.5523 7.44772 19 8 19H16C16.5523 19 17 18.5523 17 18V7Z" fill="currentColor" /> <path d="M9 9H11V17H9V9Z" fill="currentColor" /> <path d="M13 9H15V17H13V9Z" fill="currentColor" /> </svg>',"password-show-o":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g data-name="Layer 2"><g data-name="eye"><rect width="24" height="24" opacity="0"/><path d="M21.87 11.5c-.64-1.11-4.16-6.68-10.14-6.5-5.53.14-8.73 5-9.6 6.5a1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25c5.53-.14 8.74-5 9.6-6.5a1 1 0 0 0 0-1zM12.22 17c-4.31.1-7.12-3.59-8-5 1-1.61 3.61-4.9 7.61-5 4.29-.11 7.11 3.59 8 5-1.03 1.61-3.61 4.9-7.61 5z"/><path d="M12 8.5a3.5 3.5 0 1 0 3.5 3.5A3.5 3.5 0 0 0 12 8.5zm0 5a1.5 1.5 0 1 1 1.5-1.5 1.5 1.5 0 0 1-1.5 1.5z"/></g></g></svg>',"password-hide-o":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g data-name="Layer 2"><g data-name="eye-off"><rect width="24" height="24" opacity="0"/><path d="M4.71 3.29a1 1 0 0 0-1.42 1.42l5.63 5.63a3.5 3.5 0 0 0 4.74 4.74l5.63 5.63a1 1 0 0 0 1.42 0 1 1 0 0 0 0-1.42zM12 13.5a1.5 1.5 0 0 1-1.5-1.5v-.07l1.56 1.56z"/><path d="M12.22 17c-4.3.1-7.12-3.59-8-5a13.7 13.7 0 0 1 2.24-2.72L5 7.87a15.89 15.89 0 0 0-2.87 3.63 1 1 0 0 0 0 1c.63 1.09 4 6.5 9.89 6.5h.25a9.48 9.48 0 0 0 3.23-.67l-1.58-1.58a7.74 7.74 0 0 1-1.7.25z"/><path d="M21.87 11.5c-.64-1.11-4.17-6.68-10.14-6.5a9.48 9.48 0 0 0-3.23.67l1.58 1.58a7.74 7.74 0 0 1 1.7-.25c4.29-.11 7.11 3.59 8 5a13.7 13.7 0 0 1-2.29 2.72L19 16.13a15.89 15.89 0 0 0 2.91-3.63 1 1 0 0 0-.04-1z"/></g></g></svg>',"info-circle":'<svg width="1em" height="1em" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Info-circle-icon" stroke="none" stroke-width="1" fill="currentColor" fill-rule="evenodd"><path d="M12,2 C17.5228,2 22,6.47715 22,12 C22,17.5228 17.5228,22 12,22 C6.47715,22 2,17.5228 2,12 C2,6.47715 6.47715,2 12,2 Z M11.9976048,9.90419162 C11.3361677,9.90419162 10.8,10.3532604 10.8,10.907212 L10.8,10.907212 L10.8,16.9251535 C10.8,17.479105 11.3361677,17.9281437 11.9976048,17.9281437 C12.6590419,17.9281437 13.1952096,17.479105 13.1952096,16.9251535 L13.1952096,16.9251535 L13.1952096,10.907212 C13.1952096,10.3532604 12.6590419,9.90419162 11.9976048,9.90419162 Z M11.9976048,6.07185629 C11.3361677,6.07185629 10.8,6.60803593 10.8,7.26946108 C10.8,7.93087425 11.3361677,8.46706587 11.9976048,8.46706587 C12.6590419,8.46706587 13.1952096,7.93087425 13.1952096,7.26946108 C13.1952096,6.60803593 12.6590419,6.07185629 11.9976048,6.07185629 Z" id="Combined-Shape"></path></g></svg>',"arrow-first":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.2877 11.0001V13.0001H7.80237L11.045 16.2428L9.63079 17.657L3.97394 12.0001L9.63079 6.34326L11.045 7.75748L7.80236 11.0001H22.2877Z" fill="currentColor"/><path d="M3 18V6H1V18H3Z" fill="currentColor"/></svg>',"arrow-left":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20.3284 11.0001V13.0001L7.50011 13.0001L10.7426 16.2426L9.32842 17.6568L3.67157 12L9.32842 6.34314L10.7426 7.75735L7.49988 11.0001L20.3284 11.0001Z" fill="currentColor"/></svg>',"arrow-right":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.0378 6.34317L13.6269 7.76069L16.8972 11.0157L3.29211 11.0293L3.29413 13.0293L16.8619 13.0157L13.6467 16.2459L15.0643 17.6568L20.7079 11.9868L15.0378 6.34317Z" fill="currentColor"/></svg>',"arrow-last":'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M1 12.9999V10.9999H15.4853L12.2427 7.75724L13.6569 6.34303L19.3137 11.9999L13.6569 17.6567L12.2427 16.2425L15.4853 12.9999H1Z" fill="currentColor" /> <path d="M20.2877 6V18H22.2877V6H20.2877Z" fill="currentColor"/></svg>',"star-o":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18.26l-7.053 3.948 1.575-7.928L.587 8.792l8.027-.952L12 .5l3.386 7.34 8.027.952-5.935 5.488 1.575 7.928L12 18.26zm0-2.292l4.247 2.377-.949-4.773 3.573-3.305-4.833-.573L12 5.275l-2.038 4.42-4.833.572 3.573 3.305-.949 4.773L12 15.968z"/></svg>',star:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em"><path fill="none" d="M0 0h24v24H0z"/><path d="M12 18.26l-7.053 3.948 1.575-7.928L.587 8.792l8.027-.952L12 .5l3.386 7.34 8.027.952-5.935 5.488 1.575 7.928z"/></svg>',play:'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M15 12.3301L9 16.6603L9 8L15 12.3301Z" fill="currentColor" /> </svg>',plus:'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M12 4C11.4477 4 11 4.44772 11 5V11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H11V19C11 19.5523 11.4477 20 12 20C12.5
17523 20 13 19.5523 13 19V13H19C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11H13V5C13 4.44772 12.5523 4 12 4Z" fill="currentColor" /> </svg>',minus:'<svg width="1em" height="1em" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M4 12C4 11.4477 4.44772 11 5 11H19C19.5523 11 20 11.4477 20 12C20 12.5523 19.5523 13 19 13H5C4.44772 13 4 12.5523 4 12Z" fill="currentColor" /> </svg>',check:'<svg width="1em" height="1em" viewBox="4 4 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M10.5858 13.4142L7.75735 10.5858L6.34314 12L10.5858 16.2427L17.6568 9.1716L16.2426 7.75739L10.5858 13.4142Z" fill="currentColor" /> </svg>',"ellipsis-h":'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" > <path d="M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z" fill="currentColor" /> <path d="M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z" fill="currentColor" /> <path d="M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z" fill="currentColor" /> </svg>',calendar:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="none" d="M0 0h24v24H0z"/><path d="M17 3h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4V1h2v2h6V1h2v2zM4 9v10h16V9H4zm2 4h5v4H6v-4z"/></svg>',close:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',"clock-o":'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"/></svg>'};bf["exclamation-circle-warning"]=bf["exclamation-circle"];var Cf=class{constructor(e,t,n){this._httpClient=e,this._sanitizer=t,this._document=n}getContent(){return Dt(this.svgElement)}_svgElementFromString(e){let t=this._document.createElement("DIV");t.innerHTML=e;let n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},cy=class extends Cf{constructor(e,t,n,r){super(t,n,r);let o=this._sanitizer.sanitize(So.HTML,e);if(!o)throw Error(`The literal provided to NxIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`);this.svgElement=this._svgElementFromString(o)}},dy=class extends Cf{constructor(e,t,n,r){if(super(t,n,r),this.url=this._sanitizer.sanitize(So.RESOURCE_URL,e),!this.url)throw Error(`The URL provided to NxIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`);if(!t)throw Error("Could not find HttpClient provider for using a SVG url in the nx-icon registry. Please include the HttpClientModule from @angular/common/http in your app imports.");this._httpClient=t}getContent(){return this._loadSvgIcon()}_loadSvgIcon(){return this.svgElement?Dt(this.svgElement):this._fetchUrl(this.url).pipe(ct(e=>(this.svgElement||(this.svgElement=this._svgElementFromString(e)),this.svgElement)))}_fetchUrl(e){if(this._pendingRequest)return this._pendingRequest;let t=this._httpClient.get(e,{responseType:"text"}).pipe(Zo(()=>{this._pendingRequest=void 0}),K7());return this._pendingRequest=t,t}},uy=class{constructor(e,t){this.alias=e,this.font=t}getClasses(){return{alias:this.alias,font:this.font}}};var py=class{constructor(e,t=""){this.hostClass=e,this.prefix=t}},NN=new Ee("NX_ICON_INITIALIZER"),yf=(()=>{let e=class e{constructor(n,r,o){this._httpClient=n,this._sanitizer=r,this._document=o,this._icons=new Map,this._fonts=new Map,this.initializers=C(NN,{optional:!0})??[],Object.entries(bf).forEach(([a,s])=>{this.addSvgIconLiteral(a,r.bypassSecurityTrustHtml(s))}),this.initializers.forEach(a=>a(this))}addSvgIconLiteral(n,r){this._icons.set(n,new cy(r,this._httpClient,this._sanitizer,this._document))}addSvgIcon(n,r){if(r==null)throw Error(`Cannot fetch icon from URL "${r}".`);this._icons.set(n,new dy(r,this._httpClient,this._sanitizer,this._document))}addFontIcon(n,r,o){let a=this.getDefaultFont();if(o&&(a=this._fonts.get(o)),!a)throw Error(`Could not find a registered font with name ${o}.`);this._icons.set(n,new uy(r,a))}getIcon(n){return this._icons.get(n)}ngOnDestroy(){this._icons.clear()}registerFont(n,r,o){this._fonts.set(n,new py(r||n,o))}setDefaultFont(n){let r=this.getFont(n);this._defaultFont=r}getDefaultFont(){return this._defaultFont}getFont(n){let r=this._fonts.get(n);if(!r)throw Error(`Cannot find registered font with name ${n}`);return r}};e.\u0275fac=function(r){return new(r||e)(Le(er,8),Le(As),Le(Gt))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function sJ(i){return i.cloneNode(!0)}var nt=(()=>{let e=class e{set name(n){this._name=n}get name(){return this._name}set outline(n){this._outline=Ue(n)}get outline(){return this._outline}set fill(n){this._fill=Ue(n)}get fill(){return this._fill}set size(n){this._size!==n&&(this._size=n,this.el.nativeElement.classList.add("nx-icon--"+this.size))}get size(){return this._size}constructor(n,r){this.el=n,this._iconRegistry=r,this._previousFontClasses=[],this._name="",this._outline=!1,this._fill=!1,this._size="auto",this.font=""}ngOnChanges(n){(n.name||n.font)&&this.renderIcon()}renderIcon(){let n=this._iconRegistry.getIcon(this.name);n?n instanceof Cf?n.getContent().pipe(Bn(1)).subscribe(r=>{r&&this._setSvgElement(sJ(r))}):(this._updateFontIconClassesFromOverride(n.alias,n.font),this._clearSvgElement()):(this._updateFontIconClasses(),this._clearSvgElement())}_setSvgElement(n){this._clearSvgElement();let r=n.querySelectorAll("style");for(let o=0;o<r.length;o++)r[o].textContent+=" ";this._removePreviousFontClasses(),this.el.nativeElement.appendChild(n)}_clearSvgElement(){let n=this.el.nativeElement,r=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();r--;){let o=n.childNodes[r];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&n.removeChild(o)}}_updateFontIconClassesFromOverride(n,r){let o=n||this.name;this._setFontIconClasses([r.hostClass,r.prefix+o])}_updateFontIconClasses(){let n=this.font?this._iconRegistry.getFont(this.font):this._iconRegistry.getDefaultFont(),r=n?n.hostClass:"",o=n?n.prefix+this.name:this.name;this._setFontIconClasses([r,o])}_setFontIconClasses(n){let r=n.filter(a=>a!==""),o=this.el.nativeElement;this._removePreviousFontClasses(),this._previousFontClasses=r,r.forEach(a=>o.classList.add(a))}_removePreviousFontClasses(){this._previousFontClasses&&this._previousFontClasses.forEac
17h(n=>{this.el.nativeElement.classList.remove(n)})}};e.\u0275fac=function(r){return new(r||e)(D(We),D(yf))},e.\u0275cmp=z({type:e,selectors:[["nx-icon"]],hostVars:7,hostBindings:function(r,o){r&2&&(ye("data-nx-icon-name",o.name),Fe("nx-icon--outline",o.outline)("nx-icon--fill",o.fill)("nx-icon--auto",o.size==="auto"))},inputs:{name:"name",outline:"outline",fill:"fill",size:"size",font:"font"},features:[on],decls:0,vars:0,template:function(r,o){},styles:["[_nghost-%COMP%]{speak:none;text-transform:none;line-height:1;display:inline-flex;align-items:center;justify-content:center;letter-spacing:normal;text-align:center;width:1em;height:1em}[_nghost-%COMP%]     svg{width:1em;height:1em;fill:currentColor;flex:0 0 auto}[_nghost-%COMP%]:before{font-size:inherit;width:1em;height:1em}@media screen and (forced-colors: active){[_nghost-%COMP%]{color:inherit!important}}.nx-icon--auto[_nghost-%COMP%]{font-size:inherit}.nx-icon--s[_nghost-%COMP%]{font-size:24px}.nx-icon--m[_nghost-%COMP%]{font-size:48px}.nx-icon--l[_nghost-%COMP%]{font-size:72px}.nx-icon--xl[_nghost-%COMP%]{font-size:96px}.nx-icon--outline[_nghost-%COMP%]{border-radius:50%;border:solid;width:2em;height:2em;border-width:1px}.nx-icon--outline.nx-icon--s[_nghost-%COMP%]{border-width:1px;width:40px;height:40px}.nx-icon--outline.nx-icon--m[_nghost-%COMP%]{border-width:2px;width:80px;height:80px}.nx-icon--outline.nx-icon--l[_nghost-%COMP%]{border-width:3px;width:120px;height:120px}.nx-icon--outline.nx-icon--xl[_nghost-%COMP%]{border-width:4px;width:160px;height:160px}.nx-icon--fill[_nghost-%COMP%]{border-radius:50%;border-color:transparent;width:2em;height:2em;background:var(--icon-filled-background-color);color:var(--icon-filled-color)}.nx-icon--fill.nx-icon--s[_nghost-%COMP%]{width:40px;height:40px}.nx-icon--fill.nx-icon--m[_nghost-%COMP%]{width:80px;height:80px}.nx-icon--fill.nx-icon--l[_nghost-%COMP%]{width:120px;height:120px}.nx-icon--fill.nx-icon--xl[_nghost-%COMP%]{width:160px;height:160px}"],changeDetection:0});let i=e;return i})(),AN=(()=>{let e=class e{constructor(){this._size="auto",this.statusList={error:{icon:"exclamation-triangle"},warning:{icon:"exclamation-circle-warning"},success:{icon:"check-circle"},info:{icon:"info-circle"}}}set size(n){this._size!==n&&(this._size=n)}get size(){return this._size}get icon(){return this.statusList[this.type]?.icon}get typeClass(){return`nx-status-icon--${this.type}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-status-icon"]],inputs:{type:"type",size:"size"},decls:1,vars:3,consts:[["aria-hidden","true",3,"name","size","ngClass"]],template:function(r,o){r&1&&S(0,"nx-icon",0),r&2&&g("name",o.icon)("size",o.size)("ngClass",o.typeClass)},dependencies:[nt,Un],styles:["[_nghost-%COMP%]{display:inline-flex}.nx-status-icon--error[_ngcontent-%COMP%]{color:var(--danger)}.nx-status-icon--warning[_ngcontent-%COMP%]{color:var(--warning)}.nx-status-icon--info[_ngcontent-%COMP%]{color:var(--info)}.nx-status-icon--success[_ngcontent-%COMP%]{color:var(--success)}"],changeDetection:0});let i=e;return i})(),xt=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var jN=(()=>{class i{_renderer;_elementRef;onChange=t=>{};onTouched=()=>{};constructor(t,n){this._renderer=t,this._elementRef=n}setProperty(t,n){this._renderer.setProperty(this._elementRef.nativeElement,t,n)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}static \u0275fac=function(n){return new(n||i)(D(Ai),D(We))};static \u0275dir=Ie({type:i})}return i})(),qN=(()=>{class i extends jN{static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,features:[tt]})}return i})(),Fi=new Ee("");var lJ={provide:Fi,useExisting:Wt(()=>Rt),multi:!0};function cJ(){let i=Ga()?Ga().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}var dJ=new Ee(""),Rt=(()=>{class i extends jN{_compositionMode;_composing=!1;constructor(t,n,r){super(t,n),this._compositionMode=r,this._compositionMode==null&&(this._compositionMode=!cJ()
17)}writeValue(t){let n=t??"";this.setProperty("value",n)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}static \u0275fac=function(n){return new(n||i)(D(Ai),D(We),D(dJ,8))};static \u0275dir=Ie({type:i,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(n,r){n&1&&I("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:[Mt([lJ]),tt]})}return i})();function hy(i){return i==null||gy(i)===0}function gy(i){return i==null?null:Array.isArray(i)||typeof i=="string"?i.length:i instanceof Set?i.size:null}var Bi=new Ee(""),f2=new Ee(""),uJ=/^(?=.{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])?)*$/,ee=class{static min(e){return pJ(e)}static max(e){return fJ(e)}static required(e){return UN(e)}static requiredTrue(e){return mJ(e)}static email(e){return GN(e)}static minLength(e){return $N(e)}static maxLength(e){return WN(e)}static pattern(e){return hJ(e)}static nullValidator(e){return i6()}static compose(e){return JN(e)}static composeAsync(e){return eA(e)}};function pJ(i){return e=>{if(e.value==null||i==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t<i?{min:{min:i,actual:e.value}}:null}}function fJ(i){return e=>{if(e.value==null||i==null)return null;let t=parseFloat(e.value);return!isNaN(t)&&t>i?{max:{max:i,actual:e.value}}:null}}function UN(i){return hy(i.value)?{required:!0}:null}function mJ(i){return i.value===!0?null:{required:!0}}function GN(i){return hy(i.value)||uJ.test(i.value)?null:{email:!0}}function $N(i){return e=>{let t=e.value?.length??gy(e.value);return t===null||t===0?null:t<i?{minlength:{requiredLength:i,actualLength:t}}:null}}function WN(i){return e=>{let t=e.value?.length??gy(e.value);return t!==null&&t>i?{maxlength:{requiredLength:i,actualLength:t}}:null}}function hJ(i){if(!i)return i6;let e,t;return typeof i=="string"?(t="",i.charAt(0)!=="^"&&(t+="^"),t+=i,i.charAt(i.length-1)!=="$"&&(t+="$"),e=new RegExp(t)):(t=i.toString(),e=i),n=>{if(hy(n.value))return null;let r=n.value;return e.test(r)?null:{pattern:{requiredPattern:t,actualValue:r}}}}function i6(i){return null}function YN(i){return i!=null}function QN(i){return Id(i)?zi(i):i}function KN(i){let e={};return i.forEach(t=>{e=t!=null?ae(ae({},e),t):e}),Object.keys(e).length===0?null:e}function XN(i,e){return e.map(t=>t(i))}function gJ(i){return!i.validate}function ZN(i){return i.map(e=>gJ(e)?e:t=>e.validate(t))}function JN(i){if(!i)return null;let e=i.filter(YN);return e.length==0?null:function(t){return KN(XN(t,e))}}function _y(i){return i!=null?JN(ZN(i)):null}function eA(i){if(!i)return null;let e=i.filter(YN);return e.length==0?null:function(t){let n=XN(t,e).map(QN);return Kp(n).pipe(ct(KN))}}function vy(i){return i!=null?eA(ZN(i)):null}function VN(i,e){return i===null?[e]:Array.isArray(i)?[...i,e]:[i,e]}function tA(i){return i._rawValidators}function nA(i){return i._rawAsyncValidators}function fy(i){return i?Array.isArray(i)?i:[i]:[]}function r6(i,e){return Array.isArray(i)?i.includes(e):i===e}function FN(i,e){let t=fy(e);return fy(i).forEach(r=>{r6(t,r)||t.push(r)}),t}function RN(i,e){return fy(e).filter(t=>!r6(i,t))}var o6=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(e){this._rawValidators=e||[],this._composedValidatorFn=_y(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=vy(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_onDestroyCallbacks=[];_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}
vendor: 14,172 bytes, line 17
17_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},ho=class extends o6{name;get formDirective(){return null}get path(){return null}},ci=class extends o6{_parent=null;name=null;valueAccessor=null},a6=class{_cd;constructor(e){this._cd=e}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}},_J={"[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"},RAe=mt(ae({},_J),{"[class.ng-submitted]":"isSubmitted"}),wt=(()=>{class i extends a6{constructor(t){super(t)}static \u0275fac=function(n){return new(n||i)(D(ci,2))};static \u0275dir=Ie({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){n&2&&Fe("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:[tt]})}return i})(),Pt=(()=>{class i extends a6{constructor(t){super(t)}static \u0275fac=function(n){return new(n||i)(D(ho,10))};static \u0275dir=Ie({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){n&2&&Fe("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)("ng-submitted",r.isSubmitted)},standalone:!1,features:[tt]})}return i})();var Mf="VALID",n6="INVALID",_0="PENDING",wf="DISABLED",Fd=class{},s6=class extends Fd{value;source;constructor(e,t){super(),this.value=e,this.source=t}},Pf=class extends Fd{pristine;source;constructor(e,t){super(),this.pristine=e,this.source=t}},Ef=class extends Fd{touched;source;constructor(e,t){super(),this.touched=e,this.source=t}},v0=class extends Fd{status;source;constructor(e,t){super(),this.status=e,this.source=t}},l6=class extends Fd{source;constructor(e){super(),this.source=e}},c6=class extends Fd{source;constructor(e){super(),this.source=e}};function xy(i){return(f6(i)?i.validators:i)||null}function vJ(i){return Array.isArray(i)?_y(i):i||null}function by(i,e){return(f6(e)?e.asyncValidators:i)||null}function xJ(i){return Array.isArray(i)?vy(i):i||null}function f6(i){return i!=null&&!Array.isArray(i)&&typeof i=="object"}function iA(i,e,t){let n=i.controls;if(!(e?Object.keys(n):n).length)throw new He(1e3,"");if(!n[t])throw new He(1001,"")}function rA(i,e,t){i._forEachChild((n,r)=>{if(t[r]===void 0)throw new He(1002,"")})}var x0=class{_pendingDirty=!1;_hasOwnPendingAsyncValidator=null;_pendingTouched=!1;_onCollectionChange=()=>{};_updateOn;_parent=null;_asyncValidationSubscription;_composedValidatorFn;_composedAsyncValidatorFn;_rawValidators;_rawAsyncValidators;value;constructor(e,t){this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get status(){return ea(this.statusReactive)}set status(e){ea(()=>this.statusReactive.set(e))}_status=lr(()=>this.statusReactive());statusReactive=nn(void 0);get valid(){return this.status===Mf}get invalid(){return this.status===n6}get pending(){return this.status==_0}get disabled(){return this.status===wf}get enabled(){return this.status!==wf}errors;get pristine(){return ea(this.pristineReactive)}set pristine(e){ea(()=>this.pristineReactive.set(e))}_pristine=lr(()=>this.pristineReactive());pristineReactive=nn(!0);get dirty(){return!this.pristine}get touched(){return ea(this.touchedReactive)}set touched(e){ea(()=>this.touchedReactive.set(e))}_touched=lr(()=>this.touchedReactive());touchedReactive=nn(!1);get untouched(){return!this.touched}_events=new he;events=this._events.asObservable();valueChanges;statusChanges;get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(FN(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(FN(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(RN(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(RN(e,this._rawAsyncValidators))}hasValidator(e){return r6(this._rawValidators,e)}hasAsyncValidator(e){return r6(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){let t=this.touched===!1;this.touched=!0;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsTouched(mt(ae({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Ef(!0,n))}markAllAsDirty(e={}){this.markAsDirty({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsDirty(e))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(t=>t.markAllAsTouched(e))}markAsUntouched(e={}){let t=this.touched===!0;this.touched=!1,this._pendingTouched=!1;let n=e.sourceControl??this;this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:n})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,n),t&&e.emitEvent!==!1&&this._events.next(new Ef(!1,n))}markAsDirty(e={}){let t=this.pristine===!0;this.pristine=!1;let n=e.sourceControl??this;this._parent&&!e.onlySelf&&this._parent.markAsDirty(mt(ae({},e),{sourceControl:n})),t&&e.emitEvent!==!1&&this._events.next(new Pf(!1,n))}markAsPristine(e={}){let t=this.pristine===!1;this.pristine=!0,this._pendingDirty=!1;let n=e.sourceControl??this;this._forEachChild(r=>{r.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,n),t&&e.emitEvent!==!1&&this._events.next(new Pf(!0,n))}markAsPending(e={}){this.status=_0;let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new v0(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending(mt(ae({},e),{sourceControl:t}))}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=wf,this.errors=null,this._forEachChild(r=>{r.disable(mt(ae({},e),{onlySelf:!0}))}),this._updateValue();let n=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new s6(this.value,n)),this._events.next(new v0(this.status,n)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(mt(ae({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Mf,this._forEachChild(n=>{n.enable(mt(ae({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(mt(ae({},e),{skipPristineCheck:t}),this),this._onDisabledChange.forEach(n=>n(!1))}_updateAncestors(e,t){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},t),this._parent._updateTouched({},t))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){if(this._setInitialStatus(),this._updateValue(),this.enabled){let n=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Mf||this.status===_0)&&this._runAsyncValidator(n,e.emitEvent)}let t=e.sourceControl??this;e.emitEvent!==!1&&(this._events.next(new s6(this.value,t)),this._events.next(new v0(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(mt(ae({},e),{sourceControl:t}))}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?wf:Mf}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,t){if(this.asyncValidator){this.status=_0,this._hasOwnPendingAsyncValidator={emitEvent:t!==!1,shouldHaveEmitted:e!==!1};let n=QN(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(r,{emitEvent:t,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){this._asyncValidationSubscription.unsubscribe();let e=(this._hasOwnPendingAsyncValidator?.emitEvent||this._hasOwnPendingAsyncValidator?.shouldHaveEmitted)??!1;return this._hasOwnPendingAsyncValidator=null,e}return!1}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1,this,t.shouldHaveEmitted)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((n,r)=>n&&n._find(r),this)}getError(e,t){let n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,t,n){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||n)&&this._events.next(new v0(this.status,t)),this._parent&&this._parent._updateControlsErrors(e,t,n)}_initObservables(){this.valueChanges=new X,this.statusChanges=new X}_calculateStatus(){return this._allControlsDisabled()?wf:this.errors?n6:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(_0)?_0:this._anyControlsHaveStatus(n6)?n6:Mf}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,t){let n=!this._anyControlsDirty(),r=this.pristine!==n;this.pristine=n,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,t),r&&this._events.next(new Pf(this.pristine,t))}_updateTouched(e={},t){this.touched=this._anyControlsTouched(),this._events.next(new Ef(this.touched,t)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,t)}_onDisabledChange=[];_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){f6(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=vJ(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=xJ(this._rawAsyncValidators)}},oo=class extends x0{constructor(e,t,n){super(xy(t),by(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,n={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,n={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){rA(this,!0,e),Object.keys(e).forEach(n=>{iA(this,!0,n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(n=>{let r=this.controls[n];r&&r.patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((n,r)=>{n.reset(e?e[r]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,n)=>n._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let n=this.controls[t];n&&e(n,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,n]of Object.entries(this.controls))if(this.contains(t)&&e(n))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,n,r)=>((n.enabled||this.disabled)&&(t[r]=n.value),t))}_reduceChildren(e,t){let n=e;return this._forEachChild((r,o)=>{n=t(n,r,o)}),n}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}};var my=class extends oo{};var b0=new Ee("",{providedIn:"root",factory:()=>m6}
17),m6="always";function h6(i,e){return[...e.path,i]}function Df(i,e,t=m6){Cy(i,e),e.valueAccessor.writeValue(i.value),(i.disabled||t==="always")&&e.valueAccessor.setDisabledState?.(i.disabled),CJ(i,e),MJ(i,e),yJ(i,e),bJ(i,e)}function d6(i,e,t=!0){let n=()=>{};e.valueAccessor&&(e.valueAccessor.registerOnChange(n),e.valueAccessor.registerOnTouched(n)),p6(i,e),i&&(e._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function u6(i,e){i.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(e)})}function bJ(i,e){if(e.valueAccessor.setDisabledState){let t=n=>{e.valueAccessor.setDisabledState(n)};i.registerOnDisabledChange(t),e._registerOnDestroy(()=>{i._unregisterOnDisabledChange(t)})}}function Cy(i,e){let t=tA(i);e.validator!==null?i.setValidators(VN(t,e.validator)):typeof t=="function"&&i.setValidators([t]);let n=nA(i);e.asyncValidator!==null?i.setAsyncValidators(VN(n,e.asyncValidator)):typeof n=="function"&&i.setAsyncValidators([n]);let r=()=>i.updateValueAndValidity();u6(e._rawValidators,r),u6(e._rawAsyncValidators,r)}function p6(i,e){let t=!1;if(i!==null){if(e.validator!==null){let r=tA(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.validator);o.length!==r.length&&(t=!0,i.setValidators(o))}}if(e.asyncValidator!==null){let r=nA(i);if(Array.isArray(r)&&r.length>0){let o=r.filter(a=>a!==e.asyncValidator);o.length!==r.length&&(t=!0,i.setAsyncValidators(o))}}}let n=()=>{};return u6(e._rawValidators,n),u6(e._rawAsyncValidators,n),t}function CJ(i,e){e.valueAccessor.registerOnChange(t=>{i._pendingValue=t,i._pendingChange=!0,i._pendingDirty=!0,i.updateOn==="change"&&oA(i,e)})}function yJ(i,e){e.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,i.updateOn==="blur"&&i._pendingChange&&oA(i,e),i.updateOn!=="submit"&&i.markAsTouched()})}function oA(i,e){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function MJ(i,e){let t=(n,r)=>{e.valueAccessor.writeValue(n),r&&e.viewToModelUpdate(n)};i.registerOnChange(t),e._registerOnDestroy(()=>{i._unregisterOnChange(t)}
vendor: 5,930 bytes, line 17
17)}function aA(i,e){i==null,Cy(i,e)}function wJ(i,e){return p6(i,e)}function yy(i,e){if(!i.hasOwnProperty("model"))return!1;let t=i.model;return t.isFirstChange()?!0:!Object.is(e,t.currentValue)}function SJ(i){return Object.getPrototypeOf(i.constructor)===qN}function sA(i,e){i._syncPendingControls(),e.forEach(t=>{let n=t.control;n.updateOn==="submit"&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function My(i,e){if(!e)return null;Array.isArray(e);let t,n,r;return e.forEach(o=>{o.constructor===Rt?t=o:SJ(o)?n=o:r=o}),r||n||t||null}function PJ(i,e){let t=i.indexOf(e);t>-1&&i.splice(t,1)}var EJ={provide:ho,useExisting:Wt(()=>tr)},Sf=Promise.resolve(),tr=(()=>{class i extends ho{callSetDisabledState;get submitted(){return ea(this.submittedReactive)}_submitted=lr(()=>this.submittedReactive());submittedReactive=nn(!1);_directives=new Set;form;ngSubmit=new X;options;constructor(t,n,r){super(),this.callSetDisabledState=r,this.form=new oo({},_y(t),vy(n))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){Sf.then(()=>{let n=this._findContainer(t.path);t.control=n.registerControl(t.name,t.control),Df(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){Sf.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){Sf.then(()=>{let n=this._findContainer(t.path),r=new oo({});aA(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){Sf.then(()=>{let n=this._findContainer(t.path);n&&n.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,n){Sf.then(()=>{this.form.get(t.path).setValue(n)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submittedReactive.set(!0),sA(this.form,this._directives),this.ngSubmit.emit(t),this.form._events.next(new l6(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submittedReactive.set(!1),this.form._events.next(new c6(this.form))}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}static \u0275fac=function(n){return new(n||i)(D(Bi,10),D(f2,10),D(b0,8))};static \u0275dir=Ie({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){n&1&&I("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:[Mt([EJ]),tt]})}return i})();function zN(i,e){let t=i.indexOf(e);t>-1&&i.splice(t,1)}function LN(i){return typeof i=="object"&&i!==null&&Object.keys(i).length===2&&"value"in i&&"disabled"in i}var it=class extends x0{defaultValue=null;_onChange=[];_pendingValue;_pendingChange=!1;constructor(e=null,t,n){super(xy(t),by(n,t)),this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),f6(t)&&(t.nonNullable||t.initialValueIsDefault)&&(LN(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(n=>n(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){zN(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){zN(this._onDisabledChange,e)}_forEachChild(e){}_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(e){LN(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}};var DJ=i=>i instanceof it,OJ=(()=>{class i extends ho{_parent;ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return h6(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,standalone:!1,features:[tt]})}return i})();var TJ={provide:ci,useExisting:Wt(()=>C0)},HN=Promise.resolve(),C0=(()=>{class i extends ci{_changeDetectorRef;callSetDisabledState;control=new it;static ngAcceptInputType_isDisabled;_registered=!1;viewModel;name="";isDisabled;model;options;update=new X;constructor(t,n,r,o,a,s){super(),this._changeDetectorRef=a,this.callSetDisabledState=s,this._parent=t,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=My(this,o)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){let n=t.name.previousValue;this.formDirective.removeControl({name:n,path:this._getPath(n)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),yy(t,this.viewModel)&&(this._updateV
17alue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Df(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._checkName()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(t){HN.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(t){let n=t.isDisabled.currentValue,r=n!==0&&$t(n);HN.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(t){return this._parent?h6(t,this._parent):[t]}static \u0275fac=function(n){return new(n||i)(D(ho,9),D(Bi,10),D(f2,10),D(Fi,10),D(Ye,8),D(b0,8))};static \u0275dir=Ie({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],standalone:!1,features:[Mt([TJ]),tt,on]})}return i})();var At=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""],standalone:!1})}return i})(),IJ={provide:Fi,useExisting:Wt(()=>Of),multi:!0},Of=(()=>{class i extends qN{writeValue(t){let n=t??"";this.setProperty("value",n)}registerOnChange(t){this.onChange=n=>{t(n==""?null:parseFloat(n))}}static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(n,r){n&1&&I("input",function(a){return r.onChange(a.target.value)})("blur",function(){return r.onTouched()})},standalone:!1,features:[Mt([IJ]),tt]})}return i})();var wy=new Ee(""),kJ={provide:ci,useExisting:Wt(()=>Tc)},Tc=(()=>{class i extends ci{_ngModelWarningConfig;callSetDisabledState;viewModel;form;set isDisabled(t){}model;update=new X;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,n,r,o,a){super(),this._ngModelWarningConfig=o,this.callSetDisabledState=a,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=My(this,r)}ngOnChanges(t){if(this._isControlChanged(t)){let n=t.form.previousValue;n&&d6(n,this,!1),Df(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}yy(t,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&d6(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_isControlChanged(t){return t.hasOwnProperty("form")}static \u0275fac=function(n){return new(n||i)(D(Bi,10),D(f2,10),D(Fi,10),D(wy,8),D(b0,8))};static \u0275dir=Ie({type:i,selectors:[["","formControl",""]],inputs:{form:[0,"formControl","form"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],standalone:!1,features:[Mt([kJ]),tt,on]})}return i})(),NJ={provide:ho,useExisting:Wt(()=>st)},st=(()=>{class i extends ho{callSetDisabledState;get submitted(){return ea(this._submittedReactive)}set submitted(t){this._submittedReactive.set(t)}_submitted=lr(()=>this._submittedReactive());_submittedReactive=nn(!1);_oldForm;_onCollectionChange=()=>this._updateDomValue();directives=[];form=null;ngSubmit=new X;constructor(t,n,r){super(),this.callSetDisabledState=r,this._setValidators(t),this._setAsyncValidators(n)}
17ngOnChanges(t){t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(p6(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){let n=this.form.get(t.path);return Df(n,t,this.callSetDisabledState),n.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),n}getControl(t){return this.form.get(t.path)}removeControl(t){d6(t.control||null,t,!1),PJ(this.directives,t)}addFormGroup(t){this._setUpFormContainer(t)}removeFormGroup(t){this._cleanUpFormContainer(t)}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){this._setUpFormContainer(t)}removeFormArray(t){this._cleanUpFormContainer(t)}getFormArray(t){return this.form.get(t.path)}updateModel(t,n){this.form.get(t.path).setValue(n)}onSubmit(t){return this._submittedReactive.set(!0),sA(this.form,this.directives),this.ngSubmit.emit(t),this.form._events.next(new l6(this.control)),t?.target?.method==="dialog"}onReset(){this.resetForm()}resetForm(t=void 0,n={}){this.form.reset(t,n),this._submittedReactive.set(!1),n?.emitEvent!==!1&&this.form._events.next(new c6(this.form))}_updateDomValue(){this.directives.forEach(t=>{let n=t.control,r=this.form.get(t.path);n!==r&&(d6(n||null,t),DJ(r)&&(Df(r,t,this.callSetDisabledState),t.control=r))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(t){let n=this.form.get(t.path);aA(n,t),n.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(t){if(this.form){let n=this.form.get(t.path);n&&wJ(n,t)&&n.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Cy(this.form,this),this._oldForm&&p6(this._oldForm,this)}static \u0275fac=function(n){return new(n||i)(D(Bi,10),D(f2,10),D(b0,8))};static \u0275dir=Ie({type:i,selectors:[["","formGroup",""]],hostBindings:function(n,r){n&1&&I("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:[Mt([NJ]),tt,on]})}return i})(),AJ={provide:ho,useExisting:Wt(()=>Sl)},Sl=(()=>{class i extends OJ{name=null;constructor(t,n,r){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(r)}_checkParentType(){lA(this._parent)}static \u0275fac=function(n){return new(n||i)(D(ho,13),D(Bi,10),D(f2,10))};static \u0275dir=Ie({type:i,selectors:[["","formGroupName",""]],inputs:{name:[0,"formGroupName","name"]},standalone:!1,features:[Mt([AJ]),tt]})}return i})(),VJ={provide:ho,useExisting:Wt(()=>y0)},y0=(()=>{class i extends ho{_parent;name=null;constructor(t,n,r){super(),this._parent=t,this._setValidators(n),this._setAsyncValidators(r)}ngOnInit(){lA(this._parent),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective?.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return h6(this.name==null?this.name:this.name.toString(),this._parent)}static \u0275fac=function(n){return new(n||i)(D(ho,13),D(Bi,10),D(f2,10))};static \u0275dir=Ie({type:i,selectors:[["","formArrayName",""]],inputs:{name:[0,"formArrayName","name"]},standalone:!1,features:[Mt([VJ]),tt]})}return i})();function lA(i){return!(i instanceof Sl)&&!(i instanceof st)&&!(i instanceof y0)}var FJ={provide:ci,useExisting:Wt(()=>qt)},qt=(()=>{class i extends ci{_ngModelWarningConfig;_added=!1;viewModel;control;name=null;set isDisabled(t){}model;update=new X;static _ngModelWarningSentOnce=!1;_ngModelWarningSent=!1;constructor(t,n,r,o,a){super(),this._ngModelWarningConfig=a,this._parent=t,this._setValidators(n),this._setAsyncValidators(r),this.valueAccessor=My(this,o)}ngOnChanges(t){this._added||this._setUpControl(),yy(t,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}get path(){return h6(this.name==null?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_setUpControl(){this.control=this.formDirective.addControl(this),this._added=!0}static \u0275fac=function(n){return new(n||i)(D(ho,13),D(Bi,10),D(f2,10),D(Fi,10),D(wy,8))};static \u0275dir=Ie({type:i,selectors:[["","formControlName",""]],inputs:{name:[0,"formControlName","name"],isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"]},outputs:{update:"ngModelChange"},standalone:!1,features:[Mt([FJ]),tt,on]})}return i})();function cA(i){return typeof i=="number"?i:parseInt(i,10)}var g6=(()=>{class i{_validator=i6;_onChange;_enabled;ngOnChanges(t){if(this.inputName in t){let n=this.normalizeInput(t[this.inputName].
17currentValue);this._enabled=this.enabled(n),this._validator=this._enabled?this.createValidator(n):i6,this._onChange&&this._onChange()}}validate(t){return this._validator(t)}registerOnValidatorChange(t){this._onChange=t}enabled(t){return t!=null}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,features:[on]})}return i})();var RJ={provide:Bi,useExisting:Wt(()=>Er),multi:!0};var Er=(()=>{class i extends g6{required;inputName="required";normalizeInput=$t;createValidator=t=>UN;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(n,r){n&2&&ye("required",r._enabled?"":null)},inputs:{required:"required"},standalone:!1,features:[Mt([RJ]),tt]})}return i})();var zJ={provide:Bi,useExisting:Wt(()=>wa),multi:!0},wa=(()=>{class i extends g6{email;inputName="email";normalizeInput=$t;createValidator=t=>GN;enabled(t){return t}static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},standalone:!1,features:[Mt([zJ]),tt]})}return i})(),LJ={provide:Bi,useExisting:Wt(()=>Dn),multi:!0},Dn=(()=>{class i extends g6{minlength;inputName="minlength";normalizeInput=t=>cA(t);createValidator=t=>$N(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ye("minlength",r._enabled?r.minlength:null)},inputs:{minlength:"minlength"},standalone:!1,features:[Mt([LJ]),tt]})}return i})(),HJ={provide:Bi,useExisting:Wt(()=>kn),multi:!0},kn=(()=>{class i extends g6{maxlength;inputName="maxlength";normalizeInput=t=>cA(t);createValidator=t=>WN(t);static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275dir=Ie({type:i,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(n,r){n&2&&ye("maxlength",r._enabled?r.maxlength:null)},inputs:{maxlength:"maxlength"},standalone:!1,features:[Mt([HJ]),tt]})}return i})();var dA=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})(),p2=class extends x0{constructor(e,t,n){super(xy(t),by(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}controls;at(e){return this.controls[this._adjustIndex(e)]}push(e,t={}){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}insert(e,t,n={}){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity({emitEvent:n.emitEvent})}removeAt(e,t={}){let n=this._adjustIndex(e);n<0&&(n=0),this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:t.emitEvent})}setControl(e,t,n={}){let r=this._adjustIndex(e);r<0&&(r=0),this.controls[r]&&this.controls[r]._registerOnCollectionChange(()=>{}),this.controls.splice(r,1),t&&(this.controls.splice(r,0,t),this._registerControl(t)),this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){rA(this,!1,e),e.forEach((n,r)=>{iA(this,!1,r),this.at(r).setValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(e.forEach((n,r)=>{this.at(r)&&this.at(r).patchValue(n,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e=[],t={}
17){this._forEachChild((n,r)=>{n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t,this),this._updateTouched(t,this),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e.getRawValue())}clear(e={}){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:e.emitEvent}))}_adjustIndex(e){return e<0?e+this.length:e}_syncPendingControls(){let e=this.controls.reduce((t,n)=>n._syncPendingControls()?!0:t,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_allControlsDisabled(){for(let e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}_find(e){return this.at(e)??null}};function BN(i){return!!i&&(i.asyncValidators!==void 0||i.validators!==void 0||i.updateOn!==void 0)}var bt=(()=>{class i{useNonNullable=!1;get nonNullable(){let t=new i;return t.useNonNullable=!0,t}group(t,n=null){let r=this._reduceControls(t),o={};return BN(n)?o=n:n!==null&&(o.validators=n.validator,o.asyncValidators=n.asyncValidator),new oo(r,o)}record(t,n=null){let r=this._reduceControls(t);return new my(r,n)}control(t,n,r){let o={};return this.useNonNullable?(BN(n)?o=n:(o.validators=n,o.asyncValidators=r),new it(t,mt(ae({},o),{nonNullable:!0}))):new it(t,n,r)}array(t,n,r){let o=t.map(a=>this._createControl(a));return new p2(o,n,r)}_reduceControls(t){let n={};return Object.keys(t).forEach(r=>{n[r]=this._createControl(t[r])}),n}_createControl(t){if(t instanceof it)return t;if(t instanceof x0)return t;if(Array.isArray(t)){let n=t[0],r=t.length>1?t[1]:null,o=t.length>2?t[2]:null;return this.control(n,r,o)}else return this.control(t)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var $o=(()=>{class i{static withConfig(t){return{ngModule:i,providers:[{provide:b0,useValue:t.callSetDisabledState??m6}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({imports:[dA]})}return i})(),Sa=(()=>{class i{static withConfig(t){return{ngModule:i,providers:[{provide:wy,useValue:t.warnOnNgModelWithFormControl??"always"},{provide:b0,useValue:t.callSetDisabledState??m6}]}}static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({imports:[dA]})}return i})();var Sy={},m2=(()=>{class i{_appId=C(Od);getId(t){return this._appId!=="ng"&&(t+=this._appId),Sy.hasOwnProperty(t)||(Sy[t]=0),`${t}${Sy[t]++}`}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Ic=(()=>{class i{_listeners=[];notify(t,n){for(let r of this._listeners)r(t,n)}listen(t){return this._listeners.push(t),()=>{this._listeners=this._listeners.filter(n=>t!==n)}}ngOnDestroy(){this._listeners=[]}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Py=new Ee("CdkAccordion"),uA=(()=>{class i{_stateChanges=new he;_openCloseAllActions=new he;id=C(m2).getId("cdk-accordion-");multi=!1;openAll(){this.multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(t){this._stateChanges.next(t)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",$t]},exportAs:["cdkAccordion"],features:[Mt([{provide:Py,useExisting:i}]),on]})}return i})(),pA=(()=>{class i{accordion=C(Py,{optional:!0,skipSelf:!0});_changeDetectorRef=C(Ye);_expansionDispatcher=C(Ic);_openCloseAllSubscription=En.EMPTY;closed=new X;opened=new X;destroyed=new X;expandedChange=new X;id=C(m2).getId("cdk-accordion-child-");get expanded(){return this._expanded}set expanded(t){if(this._expanded!==t){if(this._expanded=t,this.expandedChange.emit(t),t){this.opened.emit();let n=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,n)}
17else this.closed.emit();this._changeDetectorRef.markForCheck()}}_expanded=!1;get disabled(){return this._disabled()}set disabled(t){this._disabled.set(t)}_disabled=nn(!1);_removeUniqueSelectionListener=()=>{};constructor(){}ngOnInit(){this._removeUniqueSelectionListener=this._expansionDispatcher.listen((t,n)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===n&&this.id!==t&&(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(t=>{this.disabled||(this.expanded=t)})}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",$t],disabled:[2,"disabled","disabled",$t]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[Mt([{provide:Py,useValue:void 0}])]})}return i})();var Tf=class{_attachedHost;attach(e){return this._attachedHost=e,e.attach(this)}detach(){let e=this._attachedHost;e!=null&&(this._attachedHost=null,e.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},ia=class extends Tf{component;viewContainerRef;injector;projectableNodes;constructor(e,t,n,r){super(),this.component=e,this.viewContainerRef=t,this.injector=n,this.projectableNodes=r}},ao=class extends Tf{templateRef;viewContainerRef;context;injector;constructor(e,t,n,r){super(),this.templateRef=e,this.viewContainerRef=t,this.context=n,this.injector=r}get origin(){return this.templateRef.elementRef}attach(e,t=this.context){return this.context=t,super.attach(e)}detach(){return this.context=void 0,super.detach()}},Ey=class extends Tf{element;constructor(e){super(),this.element=e instanceof We?e.nativeElement:e}},Pl=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(e){if(e instanceof ia)return this._attachedPortal=e,this.attachComponentPortal(e);if(e instanceof ao)return this._attachedPortal=e,this.attachTemplatePortal(e);if(this.attachDomPortal&&e instanceof Ey)return this._attachedPortal=e,this.attachDomPortal(e)}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(e){this._disposeFn=e}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},M0=class extends Pl{outletElement;_appRef;_defaultInjector;constructor(e,t,n){super(),this.outletElement=e,this._appRef=t,this._defaultInjector=n}attachComponentPortal(e){let t;if(e.viewContainerRef){let n=e.injector||e.viewContainerRef.injector,r=n.get(_l,null,{optional:!0})||void 0;t=e.viewContainerRef.createComponent(e.component,{index:e.viewContainerRef.length,injector:n,ngModuleRef:r,projectableNodes:e.projectableNodes||void 0}),this.setDisposeFn(()=>t.destroy())}else{let n=this._appRef,r=e.injector||this._defaultInjector||Nt.NULL,o=r.get(ki,n.injector);t=eg(e.component,{elementInjector:r,environmentInjector:o,projectableNodes:e.projectableNodes||void 0}),n.attachView(t.hostView),this.setDisposeFn(()=>{n.viewCount>0&&n.detachView(t.hostView),t.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}attachTemplatePortal(e){let t=e.viewContainerRef,n=t.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return n.rootNodes.forEach(r=>this.outletElement.appendChild(r)),n.detectChanges(),this.setDisposeFn(()=>{let r=t.indexOf(n);r!==-1&&t.remove(r)}),this._attachedPortal=e,n}attachDomPortal=e=>{let t=e.element;t.parentNode;let n=this.outletElement.ownerDocument.createComment("dom-portal");t.parentNode.insertBefore(n,t),this.outletElement.appendChild(t),this._attachedPortal=e,super.setDisposeFn(()=>{n.parentNode&&n.parentNode.replaceChild(t,n)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},fA=(()=>{class i extends ao{constructor(){let t=C(Rn),n=C(ai);super(t,n)}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[tt]})}return i})();var Fs=(()=>{class i extends Pl{_moduleRef=C(_l,{optional:!0});_document=C(Gt);
17_viewContainerRef=C(ai);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(t){this.hasAttached()&&!t&&!this._isInitialized||(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t||null)}attached=new X;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(t){t.setAttachedHost(this);let n=t.viewContainerRef!=null?t.viewContainerRef:this._viewContainerRef,r=n.createComponent(t.component,{index:n.length,injector:t.injector||n.injector,projectableNodes:t.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return n!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=t,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(t){t.setAttachedHost(this);let n=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachDomPortal=t=>{let n=t.element;n.parentNode;let r=this._document.createComment("dom-portal");t.setAttachedHost(this),n.parentNode.insertBefore(r,n),this._getRootNode().appendChild(n),this._attachedPortal=t,super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(n,r)})};_getRootNode(){let t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[tt]})}return i})();var Xa=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})();var bn=function(i){return i[i.State=0]="State",i[i.Transition=1]="Transition",i[i.Sequence=2]="Sequence",i[i.Group=3]="Group",i[i.Animate=4]="Animate",i[i.Keyframes=5]="Keyframes",i[i.Style=6]="Style",i[i.Trigger=7]="Trigger",i[i.Reference=8]="Reference",i[i.AnimateChild=9]="AnimateChild",i[i.AnimateRef=10]="AnimateRef",i[i.Query=11]="Query",i[i.Stagger=12]="Stagger",i}(bn||{}),Za="*";function go(i,e){return{type:bn.Trigger,name:i,definitions:e,options:{}}}function ji(i,e=null){return{type:bn.Animate,styles:e,timings:i}}function Dy(i,e=null){return{type:bn.Group,steps:i,options:e}}function mA(i,e=null){return{type:bn.Sequence,steps:i,options:e}}function On(i){return{type:bn.Style,styles:i,offset:null}}function cr(i,e,t){return{type:bn.State,name:i,styles:e,options:t}}function $i(i,e,t=null){return{type:bn.Transition,expr:i,animation:e,options:t}}function w0(i,e=null){return{type:bn.Reference,animation:i,options:e}}function _6(i=null){return{type:bn.AnimateChild,options:i}}function S0(i,e=null){return{type:bn.AnimateRef,animation:i,options:e}}function P0(i,e,t=null){return{type:bn.Query,selector:i,animation:e,options:t}}var El=class{_onDoneFns=[];_onStartFns=[];_onDestroyFns=[];_originalOnDoneFns=[];_originalOnStartFns=[];_started=!1;_destroyed=!1;_finished=!1;_position=0;parentPlayer=null;totalTime;constructor(e=0,t=0){this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},h2=class{_onDoneFns=[];_onStartFns=[];_finished=!1;_started=!1;_destroyed=!1;_onDestroyFns=[];parentPlayer=null;totalTime=0;players;constructor(e){this.players=e;let t=0,n=0,r=0,o=this.players.length;o==0?queueMicrotask(()=>
17this._onFinish()):this.players.forEach(a=>{a.onDone(()=>{++t==o&&this._onFinish()}),a.onDestroy(()=>{++n==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(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(n=>{let r=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(r)})}getPosition(){let e=this.players.reduce((t,n)=>t===null||n.totalTime>t.totalTime?n:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},E0="!";var If=class{};var kc=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 he;constructor(e=!1,t,n=!0,r){this._multiple=e,this._emitChanges=n,this.compareWith=r,t&&t.length&&(e?t.forEach(o=>this._markSelected(o)):this._markSelected(t[0]),this._selectedToEmit.length=0)}select(...e){this._verifyValueAssignment(e),e.forEach(n=>this._markSelected(n));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}deselect(...e){this._verifyValueAssignment(e),e.forEach(n=>this._unmarkSelected(n));let t=this._hasQueuedChanges();return this._emitChangeEvent(),t}setSelection(...e){this._verifyValueAssignment(e);let t=this.selected,n=new Set(e.map(o=>this._getConcreteValue(o)));e.forEach(o=>this._markSelected(o)),t.filter(o=>!n.has(this._getConcreteValue(o,n))).forEach(o=>this._unmarkSelected(o));let r=this._hasQueuedChanges();return this._emitChangeEvent(),r}toggle(e){return this.isSelected(e)?this.deselect(e):this.select(e)}clear(e=!0){this._unmarkAll();let t=this._hasQueuedChanges();return e&&this._emitChangeEvent(),t}isSelected(e){return this._selection.has(this._getConcreteValue(e))}isEmpty(){return this._selection.size===0}hasValue(){return!this.isEmpty()}sort(e){this._multiple&&this.selected&&this._selected.sort(e)}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(e){e=this._getConcreteValue(e),this.isSelected(e)||(this._multiple||this._unmarkAll(),this.isSelected(e)||this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}_unmarkSelected(e){e=this._getConcreteValue(e),this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}_unmarkAll(){this.isEmpty()||this._selection.forEach(e=>this._unmarkSelected(e))}_verifyValueAssignment(e){e.length>1&&this._multiple}_hasQueuedChanges(){return!!(this._deselectedToEmit.length||this._selectedToEmit.length)}_getConcreteValue(e,t){if(this.compareWith){t=t??this._selection;for(let n of t)if(this.compareWith(e,n))return n;return e}else return e}};function Pa(i,...e){return e.length?e.some(t=>i[t]):i.altKey||i.shiftKey||i.ctrlKey||i.metaKey}function hA(i){return i.buttons===0||i.detail===0}function gA(i){let e=i.touches&&i.touches[0]||i.changedTouches&&i.changedTouches[0];
vendor: 9,024 bytes, line 17
17return!!e&&e.identifier===-1&&(e.radiusX==null||e.radiusX===1)&&(e.radiusY==null||e.radiusY===1)}var Ty;function _A(){if(Ty==null){let i=typeof document<"u"?document.head:null;Ty=!!(i&&(i.createShadowRoot||i.attachShadow))}return Ty}function Iy(i){if(_A()){let e=i.getRootNode?i.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}function Oo(){let i=typeof document<"u"&&document?document.activeElement:null;for(;i&&i.shadowRoot;){let e=i.shadowRoot.activeElement;if(e===i)break;i=e}return i}function Ea(i){return i.composedPath?i.composedPath()[0]:i.target}var ky;try{ky=typeof Intl<"u"&&Intl.v8BreakIterator}catch{ky=!1}var ti=(()=>{class i{_platformId=C(Td);isBrowser=this._platformId?rk(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||ky)&&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(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var kf;function BJ(){if(kf==null&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>kf=!0}))}finally{kf=kf||!1}return kf}function vA(i){return BJ()?i:!!i.capture}var xA=new Ee("cdk-input-modality-detector-options"),bA={ignoreKeys:[18,17,224,91,16]},CA=650,Ny={passive:!0,capture:!0},yA=(()=>{class i{_platform=C(ti);_listenerCleanups;modalityDetected;modalityChanged;get mostRecentModality(){return this._modality.value}_mostRecentTarget=null;_modality=new mi(null);_options;_lastTouchMs=0;_onKeydown=t=>{this._options?.ignoreKeys?.some(n=>n===t.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=Ea(t))};_onMousedown=t=>{Date.now()-this._lastTouchMs<CA||(this._modality.next(hA(t)?"keyboard":"mouse"),this._mostRecentTarget=Ea(t))};_onTouchstart=t=>{if(gA(t)){this._modality.next("keyboard");return}this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=Ea(t)};constructor(){let t=C(Vt),n=C(Gt),r=C(xA,{optional:!0});if(this._options=ae(ae({},bA),r),this.modalityDetected=this._modality.pipe(Zp(1)),this.modalityChanged=this.modalityDetected.pipe(I1()),this._platform.isBrowser){let o=C(kr).createRenderer(null,null);this._listenerCleanups=t.runOutsideAngular(()=>[o.listen(n,"keydown",this._onKeydown,Ny),o.listen(n,"mousedown",this._onMousedown,Ny),o.listen(n,"touchstart",this._onTouchstart,Ny)])}}ngOnDestroy(){this._modality.complete(),this._listenerCleanups?.forEach(t=>t())}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Nf=function(i){return i[i.IMMEDIATE=0]="IMMEDIATE",i[i.EVENTUAL=1]="EVENTUAL",i}(Nf||{}),MA=new Ee("cdk-focus-monitor-default-options"),v6=vA({passive:!0,capture:!0}),Kt=(()=>{class i{_ngZone=C(Vt);_platform=C(ti);_inputModalityDetector=C(yA);_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=C(Gt);_stopInputModalityDetector=new he;constructor(){let t=C(MA,{optional:!0});this._detectionMode=t?.detectionMode||Nf.IMMEDIATE}_rootNodeFocusAndBlurListener=t=>{let n=Ea(t);for(let r=n;r;r=r.parentElement)t.type==="focus"?this._onFocus(t,r):this._onBlur(t,r)};monitor(t,n=!1){let r=Ka(t);if(!this._platform.isBrowser||r.nodeType!==1)return Dt();let o=Iy(r)||this._document,a=this._elementInfo.get(r);if(a)return n&&(a.checkChildren=!0),a.subject;let s={checkChildren:n,subject:new he,rootNode:o};return this._elementInfo.set(r,s),this._registerGlobalListeners(s),s.subject}stopMonitoring(t){let n=Ka(t),r=this._elementInfo.get(n);r&&(r.subject.complete(),this._setClasses(n),this._elementInfo.delete(n),this._removeGlobalListeners(r))}focusVia(t,n,r){let o=Ka(t),a=this._document.activeElement;o===a?this._getClosestElementsInfo(o).forEach(([s,l])=>this._originChanged(s,n,l)):(this._setOrigin(n),typeof o.focus=="function"&&o.focus(r))}ngOnDestroy(){this._elementInfo.forEach((t,n)=>this.stopMonitoring(n))}_getWindow(){return this._document.defaultView||window}_getFocusOrigin(t){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(t)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:t&&this._isLastInteractionFromInputLabel(t)?"mouse":"program"}_shouldBeAttributedToTouch(t){return this._detectionMode===Nf.EVENTUAL||!!t?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(t,n){t.classList.toggle("cdk-focused",!!n),t.classList.toggle("cdk-touch-focused",n==="touch"),t.classList.toggle("cdk-keyboard-focused",n==="keyboard"),t.classList.toggle("cdk-mouse-focused",n==="mouse"),t.classList.toggle("cdk-program-focused",n==="program")}_setOrigin(t,n=!1){this._ngZone.runOutsideAngular(()=>{if(this._origin=t,this._originFromTouchInteraction=t==="touch"&&n,this._detectionMode===Nf.IMMEDIATE){clearTimeout(this._originTimeoutId);let r=this._originFromTouchInteraction?CA:1;this._originTimeoutId=setTimeout(()=>this._origin=null,r)}})}_onFocus(t,n){let r=this._elementInfo.get(n),o=Ea(t);!r||!r.checkChildren&&n!==o||this._originChanged(n,this._getFocusOrigin(o),r)}_onBlur(t,n){let r=this._elementInfo.get(n);!r||r.checkChildren&&t.relatedTarget instanceof Node&&n.contains(t.relatedTarget)||(this._setClasses(n),this._emitOrigin(r,null))}_emitOrigin(t,n){t.subject.observers.length&&this._ngZone.run(()=>t.subject.next(n))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;let n=t.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular(()=>{n.addEventListener("focus",this._rootNodeFocusAndBlurListener,v6),n.addEventListener("blur",this._rootNodeFocusAndBlurListener,v6)}),this._rootNodeFocusListenerCount.set(n,r+1),++this._monitoredElementCount===1&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ze(this._stopInputModalityDetector)).subscribe(o=>{this._setOrigin(o,!0)}))}_removeGlobalListeners(t){let n=t.rootNode;if(this._rootNodeFocusListenerCount.has(n)){let r=this._rootNodeFocusListenerCount.get(n);r>1?this._rootNodeFocusListenerCount.set(n,r-1):(n.removeEventListener("focus",this._rootNodeFocusAndBlurListener,v6),n.removeEventListener("blur",this._rootNodeFocusAndBlurListener,v6),this._rootNodeFocusListenerCount.delete(n))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(t,n,r){this._setClasses(t,n),this._emitOrigin(r,n),this._lastFocusOrigin=n}_getClosestElementsInfo(t){let n=[];return this._elementInfo.forEach((r,o)=>{(o===t||r.checkChildren&&o.contains(t))&&n.push([o,r])}),n}_isLastInteractionFromInputLabel(t){let{_mostRecentTarget:n,mostRecentModality:r}=this._inputModalityDetector;if(r!=="mouse"||!n||n===t||t.nodeName!=="INPUT"&&t.nodeName!=="TEXTAREA"||t.disabled)return!1;let o=t.labels;if(o){for(let a=0;a<o.length;a++)if(o[a].contains(n))return!0}return!1}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ay=(()=>{class i{_elementRef=C(We);_focusMonitor=C(Kt);_monitorSubscription;_focusOrigin=null;cdkFocusChange=new X;constructor(){}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){let t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,t.nodeType===1&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(n=>{this._focusOrigin=n,this.cdkFocusChange.emit(n)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return i})();var x6=new WeakMap,Nc=(()=>{class i{_appRef;_injector=C(Nt);_environmentInjector=C(ki);load(t){let n=this._appRef=this._appRef||this._injector.get(wr),r=x6.get(n);r||(r={loaders:new Set,refs:[]},x6.set(n,r),n.onDestroy(()=>
17{x6.get(n)?.refs.forEach(o=>o.destroy()),x6.delete(n)})),r.loaders.has(t)||(r.loaders.add(t),r.refs.push(eg(t,{environmentInjector:this._environmentInjector})))}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var b6=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275cmp=z({type:i,selectors:[["ng-component"]],exportAs:["cdkVisuallyHidden"],decls:0,vars:0,template:function(n,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 i})();var wA=new Set,g2,qJ=(()=>{class i{_platform=C(ti);_nonce=C(Gu,{optional:!0});_matchMedia;constructor(){this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):GJ}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&UJ(t,this._nonce),this._matchMedia(t)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function UJ(i,e){if(!wA.has(i))try{g2||(g2=document.createElement("style"),e&&g2.setAttribute("nonce",e),g2.setAttribute("type","text/css"),document.head.appendChild(g2)),g2.sheet&&(g2.sheet.insertRule(`@media ${i} {body{ }}`,0),wA.add(i))}catch(t){console.error(t)}}function GJ(i){return{matches:i==="all"||i==="",media:i,addListener:()=>{},removeListener:()=>{}}}var PA=(()=>{class i{_mediaMatcher=C(qJ);_zone=C(Vt);_queries=new Map;_destroySubject=new he;constructor(){}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return SA(g0(t)).some(r=>this._registerQuery(r).mql.matches)}observe(t){let r=SA(g0(t)).map(a=>this._registerQuery(a).observable),o=sc(r);return o=ol(o.pipe(Bn(1)),o.pipe(Zp(1),lc(0))),o.pipe(ct(a=>{let s={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:u})=>{s.matches=s.matches||l,s.breakpoints[u]=l}),s}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);let n=this._mediaMatcher.matchMedia(t),o={observable:new hn(a=>{let s=l=>this._zone.run(()=>a.next(l));return n.addListener(s),()=>{n.removeListener(s)}}).pipe(ei(n),ct(({matches:a})=>({query:t,matches:a})),ze(this._destroySubject)),mql:n};return this._queries.set(t,o),o}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function SA(i){return i.map(e=>e.split(",")).reduce((e,t)=>e.concat(t)).map(e=>e.trim())}function $J(i){if(i.type==="characterData"&&i.target instanceof Comment)return!0;if(i.type==="childList"){for(let e=0;e<i.addedNodes.length;e++)if(!(i.addedNodes[e]instanceof Comment))return!1;for(let e=0;e<i.removedNodes.length;e++)if(!(i.removedNodes[e]instanceof Comment))return!1;return!0}return!1}var EA=(()=>{class i{create(t){return typeof MutationObserver>"u"?null:new MutationObserver(t)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),DA=(()=>{class i{_mutationObserverFactory=C(EA);_observedElements=new Map;_ngZone=C(Vt);constructor(){}ngOnDestroy(){this._observedElements.forEach((t,n)=>this._cleanupObserver(n))}observe(t){let n=Ka(t);return new hn(r=>{let a=this._observeElement(n).pipe(ct(s=>s.filter(l=>!$J(l))),ln(s=>!!s.length)).subscribe(s=>{this._ngZone.run(()=>{r.next(s)})});return()=>{a.unsubscribe(),this._unobserveElement(n)}})}_observeElement(t){return this._ngZone.runOutsideAngular(()=>{if(this._observedElements.has(t))this._observedElements.get(t).count++;else{let n=new he,r=this._mutationObserverFactory.create(o=>n.next(o));r&&r.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:r,stream:n,count:1})}return this._observedElements.get(t).stream})}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){let{observer:n,stream:r}=this._observedElements.get(t);n&&n.disconnect(),r.complete(),this._observedElements.delete(t)}}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Rd=(()=>{class i{_contentObserver=C(DA);_elementRef=C(We);event=new X;get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._disabled?this._unsubscribe():this._subscribe()}_disabled=!1;get debounce(){return this._debounce}set debounce(t){this._debounce=Qa(t),this._subscribe()}_debounce;_currentSubscription=null;constructor(){}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();let t=this._contentObserver.observe(this._elementRef);this._currentSubscription=(this.debounce?t.pipe(lc(this.debounce)):t).subscribe(this.event)}_unsubscribe(){this._currentSubscription?.unsubscribe()}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkObserveContent",""]],inputs:{disabled:[2,"cdkObserveContentDisabled","disabled",$t],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return i})(),Dl=(()=>
vendor: 6,990 bytes, line 18
18{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({providers:[EA]})}return i})();var Vf=(()=>{class i{_platform=C(ti);constructor(){}isDisabled(t){return t.hasAttribute("disabled")}isVisible(t){return YJ(t)&&getComputedStyle(t).visibility==="visible"}isTabbable(t){if(!this._platform.isBrowser)return!1;let n=WJ(nee(t));if(n&&(OA(n)===-1||!this.isVisible(n)))return!1;let r=t.nodeName.toLowerCase(),o=OA(t);return t.hasAttribute("contenteditable")?o!==-1:r==="iframe"||r==="object"||this._platform.WEBKIT&&this._platform.IOS&&!eee(t)?!1:r==="audio"?t.hasAttribute("controls")?o!==-1:!1:r==="video"?o===-1?!1:o!==null?!0:this._platform.FIREFOX||t.hasAttribute("controls"):t.tabIndex>=0}isFocusable(t,n){return tee(t)&&!this.isDisabled(t)&&(n?.ignoreVisibility||this.isVisible(t))}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function WJ(i){try{return i.frameElement}catch{return null}}function YJ(i){return!!(i.offsetWidth||i.offsetHeight||typeof i.getClientRects=="function"&&i.getClientRects().length)}function QJ(i){let e=i.nodeName.toLowerCase();return e==="input"||e==="select"||e==="button"||e==="textarea"}function KJ(i){return ZJ(i)&&i.type=="hidden"}function XJ(i){return JJ(i)&&i.hasAttribute("href")}function ZJ(i){return i.nodeName.toLowerCase()=="input"}function JJ(i){return i.nodeName.toLowerCase()=="a"}function kA(i){if(!i.hasAttribute("tabindex")||i.tabIndex===void 0)return!1;let e=i.getAttribute("tabindex");return!!(e&&!isNaN(parseInt(e,10)))}function OA(i){if(!kA(i))return null;let e=parseInt(i.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}function eee(i){let e=i.nodeName.toLowerCase(),t=e==="input"&&i.type;return t==="text"||t==="password"||e==="select"||e==="textarea"}function tee(i){return KJ(i)?!1:QJ(i)||XJ(i)||i.hasAttribute("contenteditable")||kA(i)}function nee(i){return i.ownerDocument&&i.ownerDocument.defaultView||window}var Af=class{_element;_checker;_ngZone;_document;_injector;_startAnchor;_endAnchor;_hasAttached=!1;startAnchorListener=()=>this.focusLastTabbableElement();endAnchorListener=()=>this.focusFirstTabbableElement();get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_enabled=!0;constructor(e,t,n,r,o=!1,a){this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._injector=a,o||this.attachAnchors()}destroy(){let e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.remove()),t&&(t.removeEventListener("focus",this.endAnchorListener),t.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(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusInitialElement(e)))})}focusFirstTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusFirstTabbableElement(e)))})}focusLastTabbableElementWhenReady(e){return new Promise(t=>{this._executeOnStable(()=>t(this.focusLastTabbableElement(e)))})}_getRegionBoundary(e){let t=this._element.querySelectorAll(`[cdk-focus-region-${e}], [cdkFocusRegion${e}], [cdk-focus-${e}]`);return e=="start"?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(e){let t=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(t){if(!this._checker.isFocusable(t)){let n=this._getFirstTabbableElement(t);return n?.focus(e),!!n}return t.focus(e),!0}return this.focusFirstTabbableElement(e)}focusFirstTabbableElement(e){let t=this._getRegionBoundary("start");return t&&t.focus(e),!!t}focusLastTabbableElement(e){let t=this._getRegionBoundary("end");return t&&t.focus(e),!!t}hasAttached(){return this._hasAttached}_getFirstTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=0;n<t.length;n++){let r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null}_getLastTabbableElement(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;let t=e.children;for(let n=t.length-1;n>=0;n--){let r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null}_createAnchor(){let e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}_toggleAnchorTabIndex(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}toggleAnchors(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}_executeOnStable(e){this._injector?gr(e,{injector:this._injector}):setTimeout(e)}},C6=(()=>{class i{_checker=C(Vf);_ngZone=C(Vt);_document=C(Gt);_injector=C(Nt);constructor(){C(Nc).load(b6)}create(t,n=!1){return new Af(t,this._checker,this._ngZone,this._document,n,this._injector)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Ff=(()=>{class i{_elementRef=C(We);_focusTrapFactory=C(C6);focusTrap;_previouslyFocusedElement=null;get enabled(){return this.focusTrap?.enabled||!1}set enabled(t){this.focusTrap&&(this.focusTrap.enabled=t)}autoCapture;constructor(){C(ti).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(t){let n=t.autoCapture;n&&!n.firstChange&&this.autoCapture&&this.focusTrap?.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=Oo(),this.focusTrap?.focusInitialElementWhenReady()}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:[2,"cdkTrapFocus","enabled",$t],autoCapture:[2,"cdkTrapFocusAutoCapture","autoCapture",$t]}
18,exportAs:["cdkTrapFocus"],features:[on]})}return i})(),NA=new Ee("liveAnnouncerElement",{providedIn:"root",factory:AA});function AA(){return null}var VA=new Ee("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),iee=0,Ja=(()=>{class i{_ngZone=C(Vt);_defaultOptions=C(VA,{optional:!0});_liveElement;_document=C(Gt);_previousTimeout;_currentPromise;_currentResolve;constructor(){let t=C(NA,{optional:!0});this._liveElement=t||this._createLiveElement()}announce(t,...n){let r=this._defaultOptions,o,a;return n.length===1&&typeof n[0]=="number"?a=n[0]:[o,a]=n,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=t,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 t="cdk-live-announcer-element",n=this._document.getElementsByClassName(t),r=this._document.createElement("div");for(let o=0;o<n.length;o++)n[o].remove();return r.classList.add(t),r.classList.add("cdk-visually-hidden"),r.setAttribute("aria-atomic","true"),r.setAttribute("aria-live","polite"),r.id=`cdk-live-announcer-${iee++}`,this._document.body.appendChild(r),r}_exposeAnnouncerToModals(t){let n=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r<n.length;r++){let o=n[r],a=o.getAttribute("aria-owns");a?a.indexOf(t)===-1&&o.setAttribute("aria-owns",a+" "+t):o.setAttribute("aria-owns",t)}}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var zd=function(i){return i[i.NONE=0]="NONE",i[i.BLACK_ON_WHITE=1]="BLACK_ON_WHITE",i[i.WHITE_ON_BLACK=2]="WHITE_ON_BLACK",i}(zd||{}),TA="cdk-high-contrast-black-on-white",IA="cdk-high-contrast-white-on-black",Vy="cdk-high-contrast-active",FA=(()=>{class i{_platform=C(ti);_hasCheckedHighContrastMode;_document=C(Gt);_breakpointSubscription;constructor(){this._breakpointSubscription=C(PA).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return zd.NONE;let t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);let n=this._document.defaultView||window,r=n&&n.getComputedStyle?n.getComputedStyle(t):null,o=(r&&r.backgroundColor||"").replace(/ /g,"");switch(t.remove(),o){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return zd.WHITE_ON_BLACK;case"rgb(255,255,255)":case"rgb(255,250,239)":return zd.BLACK_ON_WHITE}return zd.NONE}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){let t=this._document.body.classList;t.remove(Vy,TA,IA),this._hasCheckedHighContrastMode=!0;let n=this.getHighContrastMode();n===zd.BLACK_ON_WHITE?t.add(Vy,TA):n===zd.WHITE_ON_BLACK&&t.add(Vy,IA)}}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Da=(()=>{class i{constructor(){C(FA)._applyBodyHighContrastModeCssClasses()}static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({imports:[Dl]})}return i})();var ree=200,y6=class{_letterKeyStream=new he;_items=[];_selectedItemIndex=-1;_pressedLetters=[];_skipPredicateFn;_selectedItem=new he;selectedItem=this._selectedItem;constructor(e,t){let n=typeof t?.debounceInterval=="number"?t.debounceInterval:ree;t?.skipPredicate&&(this._skipPredicateFn=t.skipPredicate),this.setItems(e),this._setupKeyHandler(n)}destroy(){this._pressedLetters=[],this._letterKeyStream.complete(),this._selectedItem.complete()}setCurrentSelectedItemIndex(e){this._selectedItemIndex=e}setItems(e){this._items=e}handleKey(e){let t=e.keyCode;e.key&&e.key.length===1?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(t>=65&&t<=90||t>=48&&t<=57)&&this._letterKeyStream.next(String.fromCharCode(t))}isTyping(){return this._pressedLetters.length>0}reset(){this._pressedLetters=[]}_setupKeyHandler(e){this._letterKeyStream.pipe(Ii(t=>this._pressedLetters.push(t)),lc(e),ln(()=>this._pressedLetters.length>0),ct(()=>this._pressedLetters.join("").toLocaleUpperCase())).subscribe(t=>{for(let n=1;n<this._items.length+1;n++){let r=(this._selectedItemIndex+n)%this._items.length,o=this._items[r];if(!this._skipPredicateFn?.(o)&&o.getLabel?.().toLocaleUpperCase().trim().indexOf(t)===0){this._selectedItem.next(o);break}}this._pressedLetters=[]})}};var D0=class{_items;_activeItemIndex=nn(-1);_activeItem=nn(null);_wrap=!1;
vendor: 4,846 bytes, line 18
18_typeaheadSubscription=En.EMPTY;_itemChangesSubscription;_vertical=!0;_horizontal;_allowedModifierKeys=[];_homeAndEnd=!1;_pageUpAndDown={enabled:!1,delta:10};_effectRef;_typeahead;_skipPredicateFn=e=>e.disabled;constructor(e,t){this._items=e,e instanceof Ho?this._itemChangesSubscription=e.changes.subscribe(n=>this._itemsChanged(n.toArray())):Iu(e)&&(this._effectRef=Z1(()=>this._itemsChanged(e()),{injector:t}))}tabOut=new he;change=new he;skipPredicate(e){return this._skipPredicateFn=e,this}withWrap(e=!0){return this._wrap=e,this}withVerticalOrientation(e=!0){return this._vertical=e,this}withHorizontalOrientation(e){return this._horizontal=e,this}withAllowedModifierKeys(e){return this._allowedModifierKeys=e,this}withTypeAhead(e=200){this._typeaheadSubscription.unsubscribe();let t=this._getItemsArray();return this._typeahead=new y6(t,{debounceInterval:typeof e=="number"?e:void 0,skipPredicate:n=>this._skipPredicateFn(n)}),this._typeaheadSubscription=this._typeahead.selectedItem.subscribe(n=>{this.setActiveItem(n)}),this}cancelTypeahead(){return this._typeahead?.reset(),this}withHomeAndEnd(e=!0){return this._homeAndEnd=e,this}withPageUpDown(e=!0,t=10){return this._pageUpAndDown={enabled:e,delta:t},this}setActiveItem(e){let t=this._activeItem();this.updateActiveItem(e),this._activeItem()!==t&&this.change.next(this._activeItemIndex())}onKeydown(e){let t=e.keyCode,r=["altKey","ctrlKey","metaKey","shiftKey"].every(o=>!e[o]||this._allowedModifierKeys.indexOf(o)>-1);switch(t){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||Pa(e,"shiftKey"))&&this._typeahead?.handleKey(e);return}this._typeahead?.reset(),e.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(e){let t=this._getItemsArray(),n=typeof e=="number"?e:t.indexOf(e),r=t[n];this._activeItem.set(r??null),this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n)}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._effectRef?.destroy(),this._typeahead?.destroy(),this.tabOut.complete(),this.change.complete()}_setActiveItemByDelta(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}_setActiveInWrapMode(e){let t=this._getItemsArray();for(let n=1;n<=t.length;n++){let r=(this._activeItemIndex()+e*n+t.length)%t.length,o=t[r];if(!this._skipPredicateFn(o)){this.setActiveItem(r);return}}}_setActiveInDefaultMode(e){this._setActiveItemByIndex(this._activeItemIndex()+e,e)}_setActiveItemByIndex(e,t){let n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(e+=t,!n[e])return;this.setActiveItem(e)}}_getItemsArray(){return Iu(this._items)?this._items():this._items instanceof Ho?this._items.toArray():this._items}_itemsChanged(e){this._typeahead?.setItems(e);let t=this._activeItem();if(t){let n=e.indexOf(t);n>-1&&n!==this._activeItemIndex()&&(this._activeItemIndex.set(n),this._typeahead?.setCurrentSelectedItemIndex(n))}}};var Hd=class extends D0{setActiveItem(e){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(e),this.activeItem&&this.activeItem.setActiveStyles()}};var Rc=class extends D0{_origin="program";setFocusOrigin(e){return this._origin=e,this}setActiveItem(e){super.setActiveItem(e),this.activeItem&&this.activeItem.focus(this._origin)}};var zA=" ";function oee(i,e,t){let n=w6(i,e);t=t.trim(),!n.some(r=>r.trim()===t)&&(n.push(t),i.setAttribute(e,n.join(zA)))}function aee(i,e,t){let n=w6(i,e);t=t.trim();let r=n.filter(o=>o!==t);
18r.length?i.setAttribute(e,r.join(zA)):i.removeAttribute(e)}function w6(i,e){return i.getAttribute(e)?.match(/\S+/g)??[]}var LA="cdk-describedby-message",M6="cdk-describedby-host",Hy=0,HA=(()=>{class i{_platform=C(ti);_document=C(Gt);_messageRegistry=new Map;_messagesContainer=null;_id=`${Hy++}`;constructor(){C(Nc).load(b6),this._id=C(Od)+"-"+Hy++}describe(t,n,r){if(!this._canBeDescribed(t,n))return;let o=Ly(n,r);typeof n!="string"?(RA(n,this._id),this._messageRegistry.set(o,{messageElement:n,referenceCount:0})):this._messageRegistry.has(o)||this._createMessageElement(n,r),this._isElementDescribedByMessage(t,o)||this._addMessageReference(t,o)}removeDescription(t,n,r){if(!n||!this._isElementNode(t))return;let o=Ly(n,r);if(this._isElementDescribedByMessage(t,o)&&this._removeMessageReference(t,o),typeof n=="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 t=this._document.querySelectorAll(`[${M6}="${this._id}"]`);for(let n=0;n<t.length;n++)this._removeCdkDescribedByReferenceIds(t[n]),t[n].removeAttribute(M6);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(t,n){let r=this._document.createElement("div");RA(r,this._id),r.textContent=t,n&&r.setAttribute("role",n),this._createMessagesContainer(),this._messagesContainer.appendChild(r),this._messageRegistry.set(Ly(t,n),{messageElement:r,referenceCount:0})}_deleteMessageElement(t){this._messageRegistry.get(t)?.messageElement?.remove(),this._messageRegistry.delete(t)}_createMessagesContainer(){if(this._messagesContainer)return;let t="cdk-describedby-message-container",n=this._document.querySelectorAll(`.${t}[platform="server"]`);for(let o=0;o<n.length;o++)n[o].remove();let r=this._document.createElement("div");r.style.visibility="hidden",r.classList.add(t),r.classList.add("cdk-visually-hidden"),this._platform.isBrowser||r.setAttribute("platform","server"),this._document.body.appendChild(r),this._messagesContainer=r}_removeCdkDescribedByReferenceIds(t){let n=w6(t,"aria-describedby").filter(r=>r.indexOf(LA)!=0);t.setAttribute("aria-describedby",n.join(" "))}_addMessageReference(t,n){let r=this._messageRegistry.get(n);oee(t,"aria-describedby",r.messageElement.id),t.setAttribute(M6,this._id),r.referenceCount++}_removeMessageReference(t,n){let r=this._messageRegistry.get(n);r.referenceCount--,aee(t,"aria-describedby",r.messageElement.id),t.removeAttribute(M6)}_isElementDescribedByMessage(t,n){let r=w6(t,"aria-describedby"),o=this._messageRegistry.get(n),a=o&&o.messageElement.id;return!!a&&r.indexOf(a)!=-1}_canBeDescribed(t,n){if(!this._isElementNode(t))return!1;if(n&&typeof n=="object")return!0;let r=n==null?"":`${n}`.trim(),o=t.getAttribute("aria-label");return r?!o||o.trim()!==r:!1}_isElementNode(t){return t.nodeType===this._document.ELEMENT_NODE}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Ly(i,e){return typeof i=="string"?`${e||""}/${i}`:i}function RA(i,e){i.id||(i.id=`${LA}-${e}-${Hy++}`)}var By=class extends Af{_focusTrapManager;_inertStrategy;get enabled(){return this._enabled}set enabled(e){this._enabled=e,this._enabled?this._focusTrapManager.register(this):this._focusTrapManager.deregister(this)}constructor(e,t,n,r,o,a,s,l){super(e,t,n,r,s.defer,l),this._focusTrapManager=o,this._inertStrategy=a,this._focusTrapManager.register(this)}destroy(){this._focusTrapManager.deregister(this),super.destroy()}_enable(){this._inertStrategy.preventFocus(this),this.toggleAnchors(!0)}_disable(){this._inertStrategy.allowFocus(this),this.toggleAnchors(!1)}},jy=class{_listener=null;preventFocus(e){this._listener&&e._document.removeEventListener("focus",this._listener,!0),this._listener=t=>this._trapFocus(e,t),e._ngZone.runOutsideAngular(()=>{e._document.addEventListener("focus",this._listener,!0)})}allowFocus(e){this._listener&&(e._document.removeEventListener("focus",this._listener,!0),this._listener=null)}_trapFocus(e,t){let n=t.target,r=e._element;n&&!r.contains(n)&&!n.closest?.("div.cdk-overlay-pane")&&setTimeout(()=>{e.enabled&&!r.contains(e._document.activeElement)&&e.focusFirstTabbableElement()})}},see=new Ee("FOCUS_TRAP_INERT_STRATEGY"),lee=(()=>{class i{_focusTrapStack=[];register(t){this._focusTrapStack=this._focusTrapStack.filter(r=>r!==t);let n=this._focusTrapStack;n.length&&n[n.length-1]._disable(),n.push(t),t._enable()}deregister(t){t._disable();let n=this._focusTrapStack,r=n.indexOf(t);r!==-1&&(n.splice(r,1),n.length&&n[n.length-1]._enable())}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),S6=(()=>{class i{_checker=C(Vf);_ngZone=C(Vt);_focusTrapManager=C(lee);_document=C(Gt);_inertStrategy;_injector=C(Nt);constructor(){let t=C(see,{optional:!0});this._inertStrategy=t||new jy}create(t,n={defer:!1}){let r;return typeof n=="boolean"?r={defer:n}:r=n,new By(t,this._checker,this._ngZone,this._document,this._focusTrapManager,this._inertStrategy,r,this._injector)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var cee=[[["nx-expansion-panel-header"]],"*"],dee=["nx-expansion-panel-header","*"],uee=i=>({"nx-expansion-panel__body":!0,"flush-alignment":i});function pee(i,e){}
18var fee=[[["nx-expansion-panel-title"]],[["nx-expansion-panel-description"]]],mee=["nx-expansion-panel-title","nx-expansion-panel-description"],hee=i=>({"nx-expansion-panel__header-content":!0,"flush-aligned":i}),BA="regular",Ol=(()=>{let e=class e extends uA{constructor(){super(...arguments),this._style="regular",this.flushAlignmentSignal=nn(!1)}set style(n){n=n||BA;let[r]=n.match(/regular|light|extra-light/)||[BA];this._style=r}get style(){return this._style}set negative(n){this._negative=Ue(n)}get negative(){return!!this._negative}set flushAlignment(n){this.flushAlignmentSignal.set(n)}get flushAlignment(){return this.flushAlignmentSignal()}};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=De(e)))(o||e)}})(),e.\u0275dir=Ie({type:e,selectors:[["nx-accordion"]],hostAttrs:["role","presentation"],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-accordion",!0)},inputs:{style:[0,"variant","style"],negative:"negative",flushAlignment:[2,"flushAlignment","flushAlignment",$t]},features:[tt]});let i=e;return i})(),jA={bodyExpansion:go("bodyExpansion",[cr("closed",On({height:"0px",visibility:"hidden"})),cr("open",On({height:"*",visibility:"visible"})),$i("open <=> closed",ji(".5s cubic-bezier(0.86, 0, 0.07, 1)"))]),indicatorRotate:go("indicatorRotate",[cr("closed",On({transform:"rotate(0deg)"})),cr("open",On({transform:"rotate(180deg)"})),$i("open <=> closed",ji(".3s ease"))])},gee=(()=>{let e=class e{constructor(n){this._template=n}};e.\u0275fac=function(r){return new(r||e)(D(Rn))},e.\u0275dir=Ie({type:e,selectors:[["","nxExpansionPanelBody",""]]});let i=e;return i})(),_ee=0,qy="regular",vee=new Ee("EXPANSION_PANEL_DEFAULT_OPTIONS",{factory:()=>({scrollIntoViewActive:!1,scrollIntoViewOptions:{behavior:"smooth"}})}),es=(()=>{let e=class e extends pA{set negative(n){this._negative=Ue(n)}get negative(){return this._negative}set style(n){n=n||qy;let[r]=n.match(/regular|light|extra-light/)||[qy];this._style=r,this._accordionStyle=r}get style(){return this._style}set flushAlignment(n){this._flushAlignment.set(n)}get flushAlignment(){return this.isFlushAligned()}get portal(){return this._portal}constructor(n,r,o,a,s){super(n,r,o),this.accordion=n,this._viewContainerRef=a,this._defaultOptions=s,this._negative=null,this._accordionStyle=qy,this._style=null,this._flushAlignment=nn(!1),this.isFlushAligned=lr(()=>this.accordion?.flushAlignmentSignal()||this._flushAlignment()),this.scrollIntoViewActive=this._defaultOptions?.scrollIntoViewActive,this.scrollIntoViewOptions=this._defaultOptions?.scrollIntoViewOptions,this._headerId=`nx-expansion-panel-header-${_ee++}`,this._inputChanges=new he}ngAfterContentInit(){this.lazyContent&&this.opened.pipe(ei(null),ln(()=>this.expanded&&!this._portal),Bn(1)).subscribe(()=>{this._portal=new ao(this.lazyContent._template,this._viewContainerRef)}),this.accordion&&(this.style===null&&this.accordion.style!==null&&(this.style=this.accordion.style),this.negative===null&&this.accordion.negative!==null&&(this.negative=this.accordion.negative))}ngOnChanges(n){this._inputChanges.next(n)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}getOpenState(){return this.expanded?"open":"closed"}bodyExpansionDone(n){n.fromState==="closed"&&n.toState==="open"&&n.element.scrollIntoView(this.scrollIntoViewOptions)}};e.\u0275fac=function(r){return new(r||e)(D(Ol,12),D(Ye),D(Ic),D(ai),D(vee,8))},e.\u0275cmp=z({type:e,selectors:[["nx-expansion-panel"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,gee,5),r&2){let s;te(s=ne())&&(o.lazyContent=s.first)}},hostVars:12,hostBindings:function(r,o){r&2&&Fe("nx-expanded",o.expanded)("nx-expansion-panel--light",o._accordionStyle==="light")("nx-expansion-panel--regular",o._accordionStyle==="regular")("nx-expansion-panel--extra-light",o._accordionStyle==="extra-light")("nx-expansion-panel--negative",o.negative)("is-disabled",o.disabled)},inputs:{negative:"negative",style:[0,"variant","style"],flushAlignment:[2,"flushAlignment","flushAlignment",$t],scrollIntoViewActive:"scrollIntoViewActive",scrollIntoViewOptions:"scrollIntoViewOptions"},exportAs:["NxExpansionPanelComponent"],features:[Mt([{provide:Ol,useValue:void 0}]),tt,on],ngContentSelectors:dee,decls:5,vars:7,consts:[["role","regi
18on",1,"nx-expansion-panel__content",3,"id"],[1,"nx-expansion-panel__body",3,"ngClass"],[3,"cdkPortalOutlet"]],template:function(r,o){r&1&&(rt(cee),ke(0),c(1,"div",0),I("@bodyExpansion.done",function(s){return o.scrollIntoViewActive&&o.bodyExpansionDone(s)}),c(2,"div",1),ke(3,1),L(4,pee,0,0,"ng-template",2),d()()),r&2&&(p(),g("@bodyExpansion",o.getOpenState())("id",o.id),ye("aria-labelledby",o._headerId),p(),g("ngClass",Lt(5,uee,o.flushAlignment)),p(2),g("cdkPortalOutlet",o.portal))},dependencies:[Fs,_e,Un],styles:["[_nghost-%COMP%]{display:block}.nx-expansion-panel--negative[_nghost-%COMP%]     div.nx-expansion-panel__body *{color:var(--negative)}.nx-expansion-panel__content[_ngcontent-%COMP%]{overflow:hidden;display:block}.nx-expansion-panel__body[_ngcontent-%COMP%]{padding:var(--accordion-regular-body-padding);font-size:var(--accordion-body-font-size);line-height:var(--accordion-body-line-height);font-weight:var(--accordion-body-font-weight);letter-spacing:var(--accordion-body-letter-spacing)}.nx-expansion-panel__body.flush-alignment[_ngcontent-%COMP%]{padding-left:0;padding-right:0}@media (max-width: 703px){.nx-expansion-panel__body[_ngcontent-%COMP%]{padding:var(--accordion-regular-mobile-body-padding)}}.nx-expansion-panel--regular[_nghost-%COMP%]:not(:first-child){margin-top:var(--accordion-regular-header-top-margin)}.nx-expansion-panel--regular[_nghost-%COMP%]     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--accordion-regular-border-color)}.nx-expansion-panel--regular[_nghost-%COMP%]:last-child, .nx-expansion-panel--regular[_nghost-%COMP%]:only-child{box-shadow:0 1px 0 0 var(--accordion-regular-border-color)}@media (max-width: 703px){.nx-expansion-panel--regular[_nghost-%COMP%]:not(:first-child){margin-top:0}.nx-expansion-panel--regular[_nghost-%COMP%]     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--accordion-regular-mobile-border-color)}.nx-expansion-panel--regular[_nghost-%COMP%]:last-child     .nx-expansion-panel__header-content, .nx-expansion-panel--regular[_nghost-%COMP%]:only-child     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--accordion-regular-mobile-border-color),inset 0 -1px 0 0 var(--accordion-regular-mobile-separator-color)}.nx-expansion-panel--regular.nx-expanded[_nghost-%COMP%]     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--accordion-regular-mobile-border-color),inset 0 -1px 0 0 var(--accordion-regular-mobile-separator-color)}}.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__body[_ngcontent-%COMP%]{padding:var(--accordion-light-body-padding);font-size:var(--accordion-light-body-font-size)}.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__body.flush-alignment[_ngcontent-%COMP%]{padding-left:0;padding-right:0}@media (max-width: 703px){.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__body[_ngcontent-%COMP%]{padding:var(--accordion-light-mobile-body-padding)}}.nx-expansion-panel--light[_nghost-%COMP%]:not(.nx-expansion-panel--negative)     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--accordion-light-border-color)}.nx-expansion-panel--light[_nghost-%COMP%]:not(.nx-expansion-panel--negative):last-child, .nx-expansion-panel--light[_nghost-%COMP%]:not(.nx-expansion-panel--negative):only-child{box-shadow:0 1px 0 0 var(--accordion-light-border-color)}@media (max-width: 703px){.nx-expansion-panel--regular.nx-expansion-panel--negative[_nghost-%COMP%]     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--negative-01)}.nx-expansion-panel--regular.nx-expansion-panel--negative[_nghost-%COMP%]:last-child     .nx-expansion-panel__header-content, .nx-expansion-panel--regular.nx-expansion-panel--negative[_nghost-%COMP%]:only-child     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--negative-01),inset 0 -1px 0 0 var(--negative-01)}.nx-expansion-panel--regular.nx-expansion-panel--negative.nx-expanded[_nghost-%COMP%]     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--negative-01),inset 0 -1px 0 0 var(--negative-01)}}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]{color:var(--negative)}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 var(--negative)}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]:last-child, .nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]:only-child{box-shadow:0 1px 0 0 var(--negative)}.nx-expansion-panel--extra-light[_nghost-%COMP%]:not(:first-child){margin-top:var(--accordion-extra-light-header-top-margin)}.nx-expansion-panel--extra-light[_nghost-%COMP%]   .nx-expansion-panel__body[_ngcontent-%COMP%]{padding:var(--accordion-extra-light-body-padding);font-size:var(--accordion-extra-light-body-font-size);letter-spacing:var(--accordion-extra-light-body-letter-spacing);line-height:var(--accordion-extra-light-body-line-height)}@media screen and (forced-colors: active){[_nghost-%COMP%]{border-color:CanvasText}[_nghost-%COMP%]     .nx-expansion-panel__header-content{color:buttonText}.nx-expansion-panel--regular[_nghost-%COMP%]     .nx-expansion-panel__header-content{border:1px solid buttonText}.is-disabled[_nghost-%COMP%]     .nx-expansion-panel__header-content{border-color:GrayText}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]     .nx-expansion-panel__header-content, .nx-expansion-panel--light[_nghost-%COMP%]:not(.nx-expansion-panel--negative)     .nx-expansion-panel__header-content{box-shadow:inset 0 1px 0 0 CanvasText;border-top:1px solid CanvasText}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]:last-child, .nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]:only-child, .nx-expansion-panel--light[_nghost-%COMP%]:not(.nx-expansion-panel--negative):last-child, .nx-expansion-panel--light[_nghost-%COMP%]:not(.nx-expansion-panel--negative):only-child{box-shadow:0 1px 0 0 CanvasText;border-bottom:1px solid CanvasText}}"],data:{animation:[jA.bodyExpansion]},changeDetection:0});let i=e;return i})(),zc=(()=>{let e=class e{constructor(n,r,o,a){this.panel=n,this._cdr=r,this._elementRef=o,this._focusMonitor=a,this._destroyed=new he,pr(n.opened,n.closed,n._inputChanges.pipe(ln(s=>!!(s.hideToggle||s.disabled)))).pipe(ze(this._destroyed)).subscribe(()=>this._cdr.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}isExpanded(){return this.panel.expanded}getOpenState(){return this.panel.getOpenState()}_getPanelId(){return this.panel.id}
18toggle(){this.panel.toggle()}keydown(n){switch(n.keyCode){case 32:case 13:n.preventDefault(),this.toggle();break;default:}}};e.\u0275fac=function(r){return new(r||e)(D(es,1),D(Ye),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-expansion-panel-header"]],hostAttrs:["role","button",1,"nx-expansion-panel__header"],hostVars:9,hostBindings:function(r,o){r&1&&I("keydown",function(s){return o.keydown(s)})("click",function(){return o.toggle()}),r&2&&(ye("id",o.panel._headerId)("tabindex",o.panel.disabled?-1:0)("aria-controls",o._getPanelId())("aria-expanded",o.isExpanded())("aria-disabled",o.panel.disabled),Fe("nx-expanded",o.isExpanded())("is-disabled",o.panel.disabled))},ngContentSelectors:mee,decls:4,vars:4,consts:[[3,"ngClass"],["name","chevron-down","aria-hidden","true",1,"nx-expansion-panel__chevron"]],template:function(r,o){r&1&&(rt(fee),c(0,"div",0),ke(1),ke(2,1),S(3,"nx-icon",1),d()),r&2&&(g("ngClass",Lt(2,hee,o.panel.flushAlignment)),p(3),g("@indicatorRotate",o.getOpenState()))},dependencies:[xt,nt,_e,Un],styles:["[_nghost-%COMP%]:focus{outline:none}.nx-expansion-panel__header-content[_ngcontent-%COMP%]{width:100%;cursor:pointer;align-items:center;display:flex;justify-content:space-between;position:relative;outline:none;border:none;padding:var(--accordion-regular-header-padding);color:var(--accordion-regular-header-text-color);background:var(--accordion-regular-header-background-color)}.nx-expansion-panel__header-content.flush-aligned[_ngcontent-%COMP%]{padding-left:0;padding-right:0}@media (max-width: 703px){.nx-expansion-panel__header-content[_ngcontent-%COMP%]{padding:var(--accordion-regular-mobile-header-padding)}}.nx-expansion-panel--regular[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--regular   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover{color:var(--accordion-regular-header-hover-text-color)}.nx-expansion-panel--regular[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--regular   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--accordion-regular-hover-chevron-color)}  .nx-expansion-panel__header-title{font-size:var(--accordion-regular-font-size);line-height:var(--accordion-regular-line-height);font-weight:var(--accordion-regular-font-weight);letter-spacing:var(--accordion-regular-letter-spacing);text-align:left;margin-right:32px}@media (max-width: 703px){  .nx-expansion-panel__header-title{font-size:var(--accordion-regular-mobile-font-size);line-height:var(--accordion-regular-mobile-line-height);font-weight:var(--accordion-regular-mobile-font-weight);letter-spacing:var(--accordion-regular-mobile-letter-spacing);margin-right:16px}}[dir=rtl][_nghost-%COMP%]     .nx-expansion-panel__header-title, [dir=rtl]   [_nghost-%COMP%]     .nx-expansion-panel__header-title{text-align:right;margin-right:initial;margin-left:32px}@media (max-width: 703px){[dir=rtl][_nghost-%COMP%]     .nx-expansion-panel__header-title, [dir=rtl]   [_nghost-%COMP%]     .nx-expansion-panel__header-title{margin-right:initial;margin-left:16px}}[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{pointer-events:none;font-size:var(--accordion-chevron-size)}[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--accordion-regular-chevron-color)}.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{padding:var(--accordion-light-header-padding);margin-top:0;background:transparent}.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__header-content.flush-aligned[_ngcontent-%COMP%], .nx-expansion-panel--light   [_nghost-%COMP%]   .nx-expansion-panel__header-content.flush-aligned[_ngcontent-%COMP%]{padding-left:0;padding-right:0}@media (max-width: 703px){.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{padding:var(--accordion-light-mobile-header-padding)}}.nx-expansion-panel--light[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light   [_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--accordion-light-chevron-color)}.nx-expansion-panel--light[_nghost-%COMP%]     .nx-expansion-panel__header-title, .nx-expansion-panel--light   [_nghost-%COMP%]     .nx-expansion-panel__header-title{font-size:var(--accordion-light-font-size);line-height:var(--accordion-light-line-height);
18font-weight:var(--accordion-light-font-weight);letter-spacing:var(--accordion-light-letter-spacing)}@media (max-width: 703px){.nx-expansion-panel--light[_nghost-%COMP%]     .nx-expansion-panel__header-title, .nx-expansion-panel--light   [_nghost-%COMP%]     .nx-expansion-panel__header-title{font-size:var(--accordion-light-mobile-font-size);line-height:var(--accordion-light-mobile-line-height);font-weight:var(--accordion-light-mobile-font-weight);letter-spacing:var(--accordion-light-mobile-letter-spacing)}}.nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{color:var(--accordion-light-header-text-color)}.nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover{color:var(--accordion-light-header-hover-text-color)}.nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--accordion-light-hover-chevron-color)}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{color:var(--negative)}.nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--negative)}.nx-expanded[_nghost-%COMP%]     .nx-expansion-panel__header-title{font-weight:var(--accordion-regular-header-active-font-weight)}.nx-expansion-panel--light.nx-expanded[_nghost-%COMP%]     .nx-expansion-panel__header-title, .nx-expansion-panel--light.nx-expanded   [_nghost-%COMP%]     .nx-expansion-panel__header-title{font-weight:var(--accordion-light-header-active-font-weight)}.nx-expansion-panel--extra-light.nx-expanded[_nghost-%COMP%]     .nx-expansion-panel__header-title, .nx-expansion-panel--extra-light.nx-expanded   [_nghost-%COMP%]     .nx-expansion-panel__header-title{font-weight:var(--accordion-extra-light-header-active-font-weight)}.nx-expansion-panel--extra-light[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{padding:0;margin-top:0;background:transparent;justify-content:flex-start;width:max-content;max-width:100%;color:var(--accordion-extra-light-header-text-color);border-radius:4px}.nx-expansion-panel--extra-light[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light   [_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--accordion-extra-light-chevron-color)}.nx-expansion-panel--extra-light[_nghost-%COMP%]     .nx-expansion-panel__header-title, .nx-expansion-panel--extra-light   [_nghost-%COMP%]     .nx-expansion-panel__header-title{font-size:var(--accordion-extra-light-font-size);line-height:var(--accordion-extra-light-line-height);font-weight:var(--accordion-extra-light-font-weight);letter-spacing:var(--accordion-extra-light-letter-spacing);margin-right:8px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}[dir=rtl]   .nx-expansion-panel--extra-light[_nghost-%COMP%]     .nx-expansion-panel__header-title, [dir=rtl]   .nx-expansion-panel--extra-light   [_nghost-%COMP%]     .nx-expansion-panel__header-title{margin-left:8px;margin-right:0}.nx-expansion-panel--extra-light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{color:var(--negative)}.nx-expansion-panel--extra-light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--negative)}.nx-expansion-panel--extra-light.nx-expansion-panel--negative.is-disabled[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   .is-disabled[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{color:var(--negative-dimmed)}.nx-expansion-panel--extra-light.nx-expansion-panel--negative.is-disabled[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   .is-disabled[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:var(--negative-dimmed)}.is-disabled.is-disabled[_nghost-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .is-disabled.is-disabled[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{cursor:not-allowed;color:var(--accordion-disabled-color)}.cdk-keyboard-focused[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
18dow);z-index:1}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){[_nghost-%COMP%]{forced-colors-adjust:none}.nx-expansion-panel--regular[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--regular   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--regular[_nghost-%COMP%]:not(.is-disabled):not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--regular   [_nghost-%COMP%]:not(.is-disabled):not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--light.nx-expansion-panel--negative   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--extra-light[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--extra-light   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--extra-light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover, .nx-expansion-panel--extra-light.nx-expansion-panel--negative   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover{color:buttonText;background-color:buttonFace}.nx-expansion-panel--regular[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--regular   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--regular[_nghost-%COMP%]:not(.is-disabled):not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--regular   [_nghost-%COMP%]:not(.is-disabled):not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light:not(.nx-expansion-panel--negative)   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--light.nx-expansion-panel--negative   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   [_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative[_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%], .nx-expansion-panel--extra-light.nx-expansion-panel--negative   [_nghost-%COMP%]:not(.is-disabled)   .nx-expansion-panel__header-content[_ngcontent-%COMP%]:hover   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:buttonText}.is-disabled.is-disabled[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]{color:GrayText!important;background-color:buttonFace}.is-disabled.is-disabled[_nghost-%COMP%]   .nx-expansion-panel__header-content[_ngcontent-%COMP%]   .nx-expansion-panel__chevron[_ngcontent-%COMP%]{color:GrayText!important}}"],data:{animation:[jA.indicatorRotate]},changeDetection:0});let i=e;return i})();var Bd=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-expansion-panel-title"]],hostAttrs:[1,"nx-expansion-panel__header-title"]});let i=e;return i})(),jd=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Xa,xt,es,zc]});let i=e;return i})();var xee=["content"],bee=["*"],O0=(()=>{let e=class e{set type(n){n!==this._type&&(this._type=n,this._cdr.markForCheck())}get type(){return this._type}set vibrant(n){let r=Ue(n);n!==this._vibrant&&(this._vibrant=r,this._cdr.markForCheck())}get vibrant(){return this._vibrant}constructor(n){this._cdr=n,this._vibrant=!1,this.content=J9("content")}};e.\u0275fac=function(r){return new(r||e)(D(Ye))},e.\u0275cmp=z({type:e,selectors:[["nx-badge"]],viewQuery:function(r,o){r&1&&W4(o.content,xee,5),r&2&&Y4()},hostVars:12,hostBindings:function(r,o){if(r&2){let a;Fe("nx-badge--active",o.type==="active")("nx-badge--positive",o.type==="positive")("nx-badge--critical",o.type==="critical")("nx-badge--negative",o.type==="negative")("nx-badge--vibrant",o.vibrant)("single-letter",((a=o.content())==null||a.nativeElement==null||a.nativeElement.innerText==null?null:a.nativeElement.innerText.length)===1)}},inputs:{type:"type",vibrant:"vibrant"},ngContentSelectors:bee,decls:3,vars:0,consts:[["content",""]],template:function(r,o){r&1&&(rt(),at(0,"span",null,0),ke(2),pt())},styles:["[_nghost-%COMP%]{font-size:var(--badge-font-size);line-height:var(--badge-line-height);
18font-weight:var(--badge-font-weight);letter-spacing:var(--badge-letter-spacing);display:inline-block;padding:0 8px;white-space:nowrap;border-radius:12px;min-width:24px}@media screen and (forced-colors: active){[_nghost-%COMP%]{border:1px solid CanvasText}}.single-letter[_nghost-%COMP%]{padding:0;text-align:center;min-width:var(--badge-line-height)}[_nghost-%COMP%]{color:var(--badge-color);background-color:var(--badge-background-color)}.nx-badge--active[_nghost-%COMP%]{background-color:var(--badge-active-background-color);color:var(--badge-active-color)}.nx-badge--positive[_nghost-%COMP%]{background-color:var(--badge-positive-background-color);color:var(--badge-positive-color)}.nx-badge--critical[_nghost-%COMP%]{background-color:var(--badge-critical-background-color);color:var(--badge-critical-color)}.nx-badge--negative[_nghost-%COMP%]{background-color:var(--badge-negative-background-color);color:var(--badge-negative-color)}.nx-badge--vibrant[_nghost-%COMP%]{color:var(--badge-vibrant-color);background-color:var(--badge-vibrant-background-color)}.nx-badge--vibrant.nx-badge--active[_nghost-%COMP%]{background-color:var(--badge-vibrant-active-background-color);color:var(--badge-vibrant-active-color)}.nx-badge--vibrant.nx-badge--positive[_nghost-%COMP%]{background-color:var(--badge-vibrant-positive-background-color);color:var(--badge-vibrant-positive-color)}.nx-badge--vibrant.nx-badge--critical[_nghost-%COMP%]{background-color:var(--badge-vibrant-critical-background-color);color:var(--badge-vibrant-critical-color)}.nx-badge--vibrant.nx-badge--negative[_nghost-%COMP%]{background-color:var(--badge-vibrant-negative-background-color);color:var(--badge-vibrant-negative-color)}"],changeDetection:0});let i=e;return i})(),Uy=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();function $y(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}var Cee=new Ee("cdk-dir-doc",{providedIn:"root",factory:yee});function yee(){return C(Gt)}var Mee=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;function Wy(i){let e=i?.toLowerCase()||"";return e==="auto"&&typeof navigator<"u"&&navigator?.language?Mee.test(navigator.language)?"rtl":"ltr":e==="rtl"?"rtl":"ltr"}var jn=(()=>{class i{get value(){return this.valueSignal()}valueSignal=nn("ltr");change=new X;constructor(){let t=C(Cee,{optional:!0});if(t){let n=t.body?t.body.dir:null,r=t.documentElement?t.documentElement.dir:null;this.valueSignal.set(Wy(n||r||"ltr"))}}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var zs=function(i){return i[i.NORMAL=0]="NORMAL",i[i.NEGATED=1]="NEGATED",i[i.INVERTED=2]="INVERTED",i}(zs||{}),E6,v2;function D6(){if(v2==null){if(typeof document!="object"||!document||typeof Element!="function"||!Element)return v2=!1,v2;if("scrollBehavior"in document.documentElement.style)v2=!0;else{let i=Element.prototype.scrollTo;i?v2=!/\{\s*\[native code\]\s*\}/.test(i.toString()):v2=!1}}return v2}function T0(){if(typeof document!="object"||!document)return zs.NORMAL;if(E6==null){let i=document.createElement("div"),e=i.style;i.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";let t=document.createElement("div"),n=t.style;
vendor: 55,560 bytes, lines 18-20
18n.width="2px",n.height="1px",i.appendChild(t),document.body.appendChild(i),E6=zs.NORMAL,i.scrollLeft===0&&(i.scrollLeft=1,E6=i.scrollLeft===0?zs.NEGATED:zs.INVERTED),i.remove()}return E6}var qA=(()=>{class i{_isInitialized=!1;_rawDir;change=new X;get dir(){return this.valueSignal()}set dir(t){let n=this.valueSignal();this.valueSignal.set(Wy(t)),this._rawDir=t,n!==this.valueSignal()&&this._isInitialized&&this.change.emit(this.valueSignal())}get value(){return this.dir}valueSignal=nn("ltr");ngAfterContentInit(){this._isInitialized=!0}ngOnDestroy(){this.change.complete()}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","dir",""]],hostVars:1,hostBindings:function(n,r){n&2&&ye("dir",r._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[Mt([{provide:jn,useExisting:i}])]})}return i})(),x2=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})();var wee=["contentWrapper"],See=["*"],GA=new Ee("VIRTUAL_SCROLL_STRATEGY"),Yy=class{_scrolledIndexChange=new he;scrolledIndexChange=this._scrolledIndexChange.pipe(I1());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(e,t,n){this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n}attach(e){this._viewport=e,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(e,t,n){n<t,this._itemSize=e,this._minBufferPx=t,this._maxBufferPx=n,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(e,t){this._viewport&&this._viewport.scrollToOffset(e*this._itemSize,t)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},n=this._viewport.getViewportSize(),r=this._viewport.getDataLength(),o=this._viewport.measureScrollOffset(),a=this._itemSize>0?o/this._itemSize:0;if(t.end>r){let l=Math.ceil(n/this._itemSize),u=Math.max(0,Math.min(a,r-l));a!=u&&(a=u,o=u*this._itemSize,t.start=Math.floor(a)),t.end=Math.max(0,Math.min(r,t.start+l))}let s=o-t.start*this._itemSize;if(s<this._minBufferPx&&t.start!=0){let l=Math.ceil((this._maxBufferPx-s)/this._itemSize);t.start=Math.max(0,t.start-l),t.end=Math.min(r,Math.ceil(a+(n+this._minBufferPx)/this._itemSize))}else{let l=t.end*this._itemSize-(o+n);if(l<this._minBufferPx&&t.end!=r){let u=Math.ceil((this._maxBufferPx-l)/this._itemSize);u>0&&(t.end=Math.min(r,t.end+u),t.start=Math.max(0,Math.floor(a-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(a))}};function Pee(i){return i._scrollStrategy}var Hc=(()=>{class i{get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=Qa(t)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(t){this._minBufferPx=Qa(t)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(t){this._maxBufferPx=Qa(t)}_maxBufferPx=200;_scrollStrategy=new Yy(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Mt([{provide:GA,useFactory:Pee,deps:[Wt(()=>i)]}]),on]})}return i})(),Eee=20,b2=(()=>{class i{_ngZone=C(Vt);_platform=C(ti);_renderer=C(kr).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new he;_scrolledCount=0;scrollContainers=new Map;register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){let n=this.scrollContainers.get(t);n&&(n.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=Eee){return this._platform.isBrowser?new hn(n=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let r=t>0?this._scrolled.pipe(Xp(t)).subscribe(n):this._scrolled.subscribe(n);return this._scrolledCount++,()=>{r.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):Dt()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((t,n)=>this.deregister(n)),this._scrolled.complete()}ancestorScrolled(t,n){let r=this.getAncestorScrollContainers(t);return this.scrolled(n).pipe(ln(o=>!o||r.indexOf(o)>-1))}getAncestorScrollContainers(t){let n=[];return this.scrollContainers.forEach((r,o)=>{this._scrollableContainsElement(o,t)&&n.push(o)}),n}_scrollableContainsElement(t,n){let r=Ka(n),o=t.getElementRef().nativeElement;do if(r==o)return!0;while(r=r.parentElement);return!1}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Rf=(()=>{class i{elementRef=C(We);scrollDispatcher=C(b2);ngZone=C(Vt);dir=C(jn,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new he;_renderer=C(Ai);_cleanupScroll;_elementScrolled=new he;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",t=>this._elementScrolled.next(t))),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(t){let n=this.elementRef.nativeElement,r=this.dir&&this.dir.value=="rtl";t.left==null&&(t.left=r?t.end:t.start),t.right==null&&(t.right=r?t.start:t.end),t.bottom!=null&&(t.top=n.scrollHeight-n.clientHeight-t.bottom),r&&T0()!=zs.NORMAL?(t.left!=null&&(t.right=n.scrollWidth-n.clientWidth-t.left),T0()==zs.INVERTED?t.left=t.right:T0()==zs.NEGATED&&(t.left=t.right?-t.right:t.right)):t.right!=null&&(t.left=n.scrollWidth-n.clientWidth-t.right),this._applyScrollToOptions(t)}_applyScrollToOptions(t){let n=this.elementRef.nativeElement;D6()?n.scrollTo(t):(t.top!=null&&(n.scrollTop=t.top),t.left!=null&&(n.scrollLeft=t.left))}measureScrollOffset(t){let n="left",r="right",o=this.elementRef.nativeElement;if(t=="top")return o.scrollTop;if(t=="bottom")return o.scrollHeight-o.clientHeight-o.scrollTop;let a=this.dir&&this.dir.value=="rtl";return t=="start"?t=a?r:n:t=="end"&&(t=a?n:r),a&&T0()==zs.INVERTED?t==n?o.scrollWidth-o.clientWidth-o.scrollLeft:o.scrollLeft:a&&T0()==zs.NEGATED?t==n?o.scrollLeft+o.scrollWidth-o.clientWidth:-o.scrollLeft:t==n?o.scrollLeft:o.scrollWidth-o.clientWidth-o.scrollLeft}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return i})(),Dee=20,C2=(()=>{class i{_platform=C(ti);_listeners;_viewportSize;_change=new he;_document=C(Gt);constructor(){let t=C(Vt),n=C(kr).createRenderer(null,null);t.runOutsideAngular(()=>{if(this._platform.isBrowser){let r=o=>this._change.next(o);this._listeners=[n.listen("window","resize",r),n.listen("window","orientationchange",r)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(t=>t()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){let t=this.getViewportScrollPosition(),{width:n,height:r}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let t=this._document,n=this._getWindow(),r=t.documentElement,o=r.getBoundingClientRect(),a=-o.top||t.body.scrollTop||n.scrollY||r.scrollTop||0,s=-o.left||t.body.scrollLeft||n.scrollX||r.scrollLeft||0;return{top:a,left:s}}change(t=Dee){return t>0?this._change.pipe(Xp(t)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),UA=new Ee("VIRTUAL_SCROLLABLE"),Oee=(()=>{class i extends Rf{constructor(){super()}measureViewportSize(t){let n=this.elementRef.nativeElement;return t==="horizontal"?n.clientWidth:n.clientHeight}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,features:[tt]})}return i})();function Tee(i,e){return i.start==e.start&&i.end==e.end}var Iee=typeof requestAnimationFrame<"u"?j7:bs,Bc=(()=>{class i extends Oee{elementRef=C(We);_changeDetectorRef=C(Ye);_scrollStrategy=C(GA,{optional:!0});scrollable=C(UA,{optional:!0});_platform=C(ti);_detachedSubject=new he;_renderedRangeSubject=new he;get orientation(){return this._orientation}set orientation(t){this._orientation!==t&&(this._orientation=t,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new hn(t=>this._scrollStrategy.scrolledIndexChange.subscribe(n=>Promise.resolve().then(()=>this.ngZone.run(()=>t.next(n)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;_totalContentSize=0;_totalContentWidth=nn("");_totalContentHeight=nn("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=nn(!1);_runAfterChangeDetection=[];_viewportChanges=En.EMPTY;_injector=C(Nt);_isDestroyed=!1;constructor(){super();let t=C(C2);this._scrollStrategy,this._viewportChanges=t.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let n=Z1(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:C(wr).injector});C(hr).onDestroy(()=>void n.destroy())}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(ei(null),Xp(0,Iee),ze(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(t){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=t,this._forOf.dataStream.pipe(ze(this._detachedSubject)).subscribe(n=>{let r=n.length;r!==this._dataLength&&(this._dataLength=r,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(t){return this.getElementRef().nativeElement.getBoundingClientRect()[t]}setTotalContentSize(t){this._totalContentSize!==t&&(this._totalContentSize=t,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(t){Tee(this._renderedRange,t)||(this.appendOnly&&(t={start:0,end:Math.max(this._renderedRange.end,t.end)}),this._renderedRangeSubject.next(this._renderedRange=t),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(t,n="to-start"){t=this.appendOnly&&n==="to-start"?0:t;let r=this.dir&&this.dir.value=="rtl",o=this.orientation=="horizontal",a=o?"X":"Y",l=`translate${a}(${Number((o&&r?-1:1)*t)}px)`;this._renderedContentOffset=t,n==="to-end"&&(l+=` translate${a}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=l&&(this._renderedContentTransform=l,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(t,n="auto"){let r={behavior:n};this.orientation==="horizontal"?r.start=t:r.top=t,this.scrollable.scrollTo(r)}scrollToIndex(t,n="auto"){this._scrollStrategy.scrollToIndex(t,n)}measureScrollOffset(t){let n;return this.scrollable==this?n=r=>super.measureScrollOffset(r):n=r=>this.scrollable.measureScrollOffset(r),Math.max(0,n(t??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(t){let n,r="left",o="right",a=this.dir?.value=="rtl";t=="start"?n=a?o:r:t=="end"?n=a?r:o:t?n=t:n=this.orientation==="horizontal"?"left":"top";let s=this.scrollable.measureBoundingClientRectWithScrollOffset(n);return this.elementRef.nativeElement.getBoundingClientRect()[n]-s}measureRenderedContentSize(){let t=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?t.offsetWidth:t.offsetHeight}measureRangeSize(t){return this._forOf?this._forOf.measureRangeSize(t,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(t){t&&this._runAfterChangeDetection.push(t),!ea(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,gr(()=>{this._changeDetectionNeeded.set(!1);let t=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let n of t)n()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=z({type:i,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(n,r){if(n&1&&pe(wee,7),n&2){let o;te(o=ne())&&(r._contentWrapper=o.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(n,r){n&2&&Fe("cdk-virtual-scroll-orientation-horizontal",r.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",r.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",$t]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Mt([{provide:Rf,useFactory:(t,n)=>t||n,deps:[[new ja,new D3(UA)],i]}]),tt],ngContentSelectors:See,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(n,r){n&1&&(rt(),at(0,"div",1,0),ke(2),pt(),wn(3,"div",2)),n&2&&(p(3),qo("width",r._totalContentWidth())("height",r._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}
19`],encapsulation:2,changeDetection:0})}return i})();var Qy=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})(),Ky=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({imports:[x2,Qy,x2,Qy]})}return i})();var $A=D6();function JA(i){return new O6(i.get(C2),i.get(Gt))}var O6=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(e,t){this._viewportRuler=e,this._document=t}attach(){}enable(){if(this._canBeEnabled()){let e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Pr(-this._previousScrollPosition.left),e.style.top=Pr(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let e=this._document.documentElement,t=this._document.body,n=e.style,r=t.style,o=n.scrollBehavior||"",a=r.scrollBehavior||"";this._isEnabled=!1,n.left=this._previousHTMLStyles.left,n.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),$A&&(n.scrollBehavior=r.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$A&&(n.scrollBehavior=o,r.scrollBehavior=a)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let t=this._document.documentElement,n=this._viewportRuler.getViewportSize();return t.scrollHeight>n.height||t.scrollWidth>n.width}};function eV(i,e){return new T6(i.get(b2),i.get(Vt),i.get(C2),e)}var T6=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(e,t,n,r){this._scrollDispatcher=e,this._ngZone=t,this._viewportRuler=n,this._config=r}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(this._scrollSubscription)return;let e=this._scrollDispatcher.scrolled(0).pipe(ln(t=>!t||!this._overlayRef.overlayElement.contains(t.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(()=>{let t=this._viewportRuler.getViewportScrollPosition().top;Math.abs(t-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=e.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 zf=class{enable(){}disable(){}attach(){}};function Xy(i,e){return e.some(t=>{let n=i.bottom<t.top,r=i.top>t.bottom,o=i.right<t.left,a=i.left>t.right;return n||r||o||a})}function WA(i,e){return e.some(t=>{let n=i.top<t.top,r=i.bottom>t.bottom,o=i.left<t.left,a=i.right>t.right;return n||r||o||a})}function F6(i,e){return new I6(i.get(b2),i.get(C2),i.get(Vt),e)}var I6=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(e,t,n,r){this._scrollDispatcher=e,this._viewportRuler=t,this._ngZone=n,this._config=r}attach(e){this._overlayRef,this._overlayRef=e}enable(){if(!this._scrollSubscription){let e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let t=this._overlayRef.overlayElement.getBoundingClientRect(),{width:n,height:r}=this._viewportRuler.getViewportSize();Xy(t,[{width:n,height:r,bottom:r,right:n,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}},tV=(()=>{class i{_injector=C(Nt);constructor(){}noop=()=>new zf;close=t=>eV(this._injector,t);block=()=>JA(this._injector);reposition=t=>F6(this._injector,t);static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),To=class{positionStrategy;scrollStrategy=new zf;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(e){if(e){let t=Object.keys(e);for(let n of t)e[n]!==void 0&&(this[n]=e[n])}}};var k6=class{connectionPair;scrollableViewProperties;constructor(e,t){this.connectionPair=e,this.scrollableViewProperties=t}};var nV=(()=>{class i{_attachedOverlays=[];_document=C(Gt);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(t){this.remove(t),this._attachedOverlays.push(t)}remove(t){let n=this._attachedOverlays.indexOf(t);n>-1&&this._attachedOverlays.splice(n,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),iV=(()=>{class i extends nV{_ngZone=C(Vt);_renderer=C(kr).createRenderer(null,null);_cleanupKeydown;add(t){super.add(t),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=t=>{let n=this._attachedOverlays;for(let r=n.length-1;r>-1;r--)if(n[r]._keydownEvents.observers.length>0){this._ngZone.run(()=>n[r]._keydownEvents.next(t));break}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),rV=(()=>{class i extends nV{_platform=C(ti);_ngZone=C(Vt);_renderer=C(kr).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(t){if(super.add(t),!this._isAttached){let n=this._document.body,r={capture:!0},o=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[o.listen(n,"pointerdown",this._pointerDownListener,r),o.listen(n,"click",this._clickListener,r),o.listen(n,"auxclick",this._clickListener,r),o.listen(n,"contextmenu",this._clickListener,r)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=n.style.cursor,n.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(t=>t()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=t=>{this._pointerDownEventTarget=Ea(t)};_clickListener=t=>{let n=Ea(t),r=t.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:n;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(YA(s.overlayElement,n)||YA(s.overlayElement,r))break;let l=s._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>l.next(t)):l.next(t)}};static \u0275fac=(()=>{let t;return function(r){return(t||(t=De(i)))(r||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function YA(i,e){let t=typeof ShadowRoot<"u"&&ShadowRoot,n=e;for(;n;){if(n===i)return!0;n=t&&n instanceof ShadowRoot?n.host:n.parentNode}return!1}var oV=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275cmp=z({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(n,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}
20`],encapsulation:2,changeDetection:0})}return i})(),Lf=(()=>{class i{_platform=C(ti);_containerElement;_document=C(Gt);_styleLoader=C(Nc);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t="cdk-overlay-container";if(this._platform.isBrowser||$y()){let r=this._document.querySelectorAll(`.${t}[platform="server"], .${t}[platform="test"]`);for(let o=0;o<r.length;o++)r[o].remove()}let n=this._document.createElement("div");n.classList.add(t),$y()?n.setAttribute("platform","test"):this._platform.isBrowser||n.setAttribute("platform","server"),this._document.body.appendChild(n),this._containerElement=n}_loadStyles(){this._styleLoader.load(oV)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Zy=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(e,t,n,r){this._renderer=t,this._ngZone=n,this.element=e.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=t.listen(this.element,"click",r)}detach(){this._ngZone.runOutsideAngular(()=>{let e=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(e,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),e.style.pointerEvents="none",e.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()}},N6=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new he;_attachments=new he;_detachments=new he;_positionStrategy;_scrollStrategy;_locationChanges=En.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new he;_outsidePointerEvents=new he;_afterNextRenderRef;constructor(e,t,n,r,o,a,s,l,u,h=!1,_,y){this._portalOutlet=e,this._host=t,this._pane=n,this._config=r,this._ngZone=o,this._keyboardDispatcher=a,this._document=s,this._location=l,this._outsideClickDispatcher=u,this._animationsDisabled=h,this._injector=_,this._renderer=y,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(e){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let t=this._portalOutlet.attach(e);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=gr(()=>{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 t?.onDestroy=="function"&&t.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),t}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let e=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}dispose(){let e=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,e&&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(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}updateSize(e){this._config=ae(ae({},this._config),e),this._updateElementSize()}setDirection(e){this._config=mt(ae({},this._config),{direction:e}),this._updateElementDirection()}addPanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!0)}removePanelClass(e){this._pane&&this._toggleClasses(this._pane,e,!1)}getDirection(){let e=this._config.direction;return e?typeof e=="string"?e:e.value:"ltr"}updateScrollStrategy(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let e=this._pane.style;e.width=Pr(this._config.width),e.height=Pr(this._config.height),e.minWidth=Pr(this._config.minWidth),e.minHeight=Pr(this._config.minHeight),e.maxWidth=Pr(this._config.maxWidth),e.maxHeight=Pr(this._config.maxHeight)}_togglePointerEvents(e){this._pane.style.pointerEvents=e?"":"none"}_attachBackdrop(){let e="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new Zy(this._document,this._renderer,this._ngZone,t=>{this._backdropClick.next(t)}),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(e))}):this._backdropRef.element.classList.add(e)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(e,t,n){let r=g0(t||[]).filter(o=>!!o);r.length&&(n?e.classList.add(...r):e.classList.remove(...r))}_detachContentWhenEmpty(){let e=!1;try{this._detachContentAfterRenderRef=gr(()=>{e=!0,this._detachContent()},{injector:this._injector})}catch(t){if(e)throw t;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 e=this._scrollStrategy;e?.disable(),e?.detach?.()}},QA="cdk-overlay-connected-position-bounding-box",Nee=/([A-Za-z%]+)$/;function Jy(i,e){return new A6(e,i.get(C2),i.get(Gt),i.get(ti),i.get(Lf))}var A6=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 he;_resizeSubscription=En.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(e,t,n,r,o){this._viewportRuler=t,this._document=n,this._platform=r,this._overlayContainer=o,this.setOrigin(e)}attach(e){this._overlayRef&&this._overlayRef,this._validatePositions(),e.hostElement.classList.add(QA),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.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 e=this._originRect,t=this._overlayRect,n=this._viewportRect,r=this._containerRect,o=[],a;for(let s of this._preferredPositions){let l=this._getOriginPoint(e,r,s),u=this._getOverlayPoint(l,t,s),h=this._getOverlayFit(u,t,n,s);if(h.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(s,l);return}if(this._canFitWithFlexibleDimensions(h,u,n)){o.push({position:s,origin:l,overlayRect:t,boundingBoxRect:this._calculateBoundingBoxRect(l,s)});continue}(!a||a.overlayFit.visibleArea<h.visibleArea)&&(a={overlayFit:h,overlayPoint:u,originPoint:l,position:s,overlayRect:t})}if(o.length){let s=null,l=-1;for(let u of o){let h=u.boundingBoxRect.width*u.boundingBoxRect.height*(u.position.weight||1);h>l&&(l=h,s=u)}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&&y2(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(QA),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let e=this._lastPosition;if(e){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._getOriginPoint(this._originRect,this._containerRect,e);this._applyPosition(e,t)}else this.apply()}withScrollableContainers(e){return this._scrollables=e,this}withPositions(e){return this._preferredPositions=e,e.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(e){return this._viewportMargin=e,this}withFlexibleDimensions(e=!0){return this._hasFlexibleDimensions=e,this}withGrowAfterOpen(e=!0){return this._growAfterOpen=e,this}withPush(e=!0){return this._canPush=e,this}withLockedPosition(e=!0){return this._positionLocked=e,this}setOrigin(e){return this._origin=e,this}withDefaultOffsetX(e){return this._offsetX=e,this}withDefaultOffsetY(e){return this._offsetY=e,this}withTransformOriginOn(e){return this._transformOriginSelector=e,this}_getOriginPoint(e,t,n){let r;if(n.originX=="center")r=e.left+e.width/2;else{let a=this._isRtl()?e.right:e.left,s=this._isRtl()?e.left:e.right;r=n.originX=="start"?a:s}t.left<0&&(r-=t.left);let o;return n.originY=="center"?o=e.top+e.height/2:o=n.originY=="top"?e.top:e.bottom,t.top<0&&(o-=t.top),{x:r,y:o}}_getOverlayPoint(e,t,n){let r;n.overlayX=="center"?r=-t.width/2:n.overlayX==="start"?r=this._isRtl()?-t.width:0:r=this._isRtl()?0:-t.width;let o;return n.overlayY=="center"?o=-t.height/2:o=n.overlayY=="top"?0:-t.height,{x:e.x+r,y:e.y+o}}_getOverlayFit(e,t,n,r){let o=XA(t),{x:a,y:s}=e,l=this._getOffset(r,"x"),u=this._getOffset(r,"y");l&&(a+=l),u&&(s+=u);let h=0-a,_=a+o.width-n.width,y=0-s,b=s+o.height-n.height,x=this._subtractOverflows(o.width,h,_),w=this._subtractOverflows(o.height,y,b),k=x*w;return{visibleArea:k,isCompletelyWithinViewport:o.width*o.height===k,fitsInViewportVertically:w===o.height,fitsInViewportHorizontally:x==o.width}}_canFitWithFlexibleDimensions(e,t,n){if(this._hasFlexibleDimensions){let r=n.bottom-t.y,o=n.right-t.x,a=KA(this._overlayRef.getConfig().minHeight),s=KA(this._overlayRef.getConfig().minWidth),l=e.fitsInViewportVertically||a!=null&&a<=r,u=e.fitsInViewportHorizontally||s!=null&&s<=o;return l&&u}return!1}_pushOverlayOnScreen(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};let r=XA(t),o=this._viewportRect,a=Math.max(e.x+r.width-o.width,0),s=Math.max(e.y+r.height-o.height,0),l=Math.max(o.top-n.top-e.y,0),u=Math.max(o.left-n.left-e.x,0),h=0,_=0;return r.width<=o.width?h=u||-a:h=e.x<this._viewportMargin?o.left-n.left-e.x:0,r.height<=o.height?_=l||-s:_=e.y<this._viewportMargin?o.top-n.top-e.y:0,this._previousPushAmount={x:h,y:_},{x:e.x+h,y:e.y+_}}_applyPosition(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._positionChanges.observers.length){let n=this._getScrollVisibility();if(e!==this._lastPosition||!this._lastScrollVisibility||!Aee(this._lastScrollVisibility,n)){let r=new k6(e,n);this._positionChanges.next(r)}this._lastScrollVisibility=n}this._lastPosition=e,this._isInitialRender=!1}_setTransformOrigin(e){if(!this._transformOriginSelector)return;let t=this._boundingBox.querySelectorAll(this._transformOriginSelector),n,r=e.overlayY;e.overlayX==="center"?n="center":this._isRtl()?n=e.overlayX==="start"?"right":"left":n=e.overlayX==="start"?"left":"right";for(let o=0;o<t.length;o++)t[o].style.transformOrigin=`${n} ${r}`}_calculateBoundingBoxRect(e,t){let n=this._viewportRect,r=this._isRtl(),o,a,s;if(t.overlayY==="top")a=e.y,o=n.height-a+this._viewportMargin;else if(t.overlayY==="bottom")s=n.height-e.y+this._viewportMargin*2,o=n.height-s+this._viewportMargin;else{let b=Math.min(n.bottom-e.y+n.top,e.y),x=this._lastBoundingBoxSize.height;o=b*2,a=e.y-b,o>x&&!this._isInitialRender&&!this._growAfterOpen&&(a=e.y-x/2)}let l=t.overlayX==="start"&&!r||t.overlayX==="end"&&r,u=t.overlayX==="end"&&!r||t.overlayX==="start"&&r,h,_,y;if(u)y=n.width-e.x+this._viewportMargin*2,h=e.x-this._viewportMargin;else if(l)_=e.x,h=n.right-e.x;else{let b=Math.min(n.right-e.x+n.left,e.x),x=this._lastBoundingBoxSize.width;h=b*2,_=e.x-b,h>x&&!this._isInitialRender&&!this._growAfterOpen&&(_=e.x-x/2)}return{top:a,left:_,bottom:s,right:y,width:h,height:o}}_setBoundingBoxStyles(e,t){let n=this._calculateBoundingBoxRect(e,t);!this._isInitialRender&&!this._growAfterOpen&&(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.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=Pr(n.height),r.top=Pr(n.top),r.bottom=Pr(n.bottom),r.width=Pr(n.width),r.left=Pr(n.left),r.right=Pr(n.right),t.overlayX==="center"?r.alignItems="center":r.alignItems=t.overlayX==="end"?"flex-end":"flex-start",t.overlayY==="center"?r.justifyContent="center":r.justifyContent=t.overlayY==="bottom"?"flex-end":"flex-start",o&&(r.maxHeight=Pr(o)),a&&(r.maxWidth=Pr(a))}this._lastBoundingBoxSize=n,y2(this._boundingBox.style,r)}_resetBoundingBoxStyles(){y2(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){y2(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(e,t){let n={},r=this._hasExactPosition(),o=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(r){let h=this._viewportRuler.getViewportScrollPosition();y2(n,this._getExactOverlayY(t,e,h)),y2(n,this._getExactOverlayX(t,e,h))}else n.position="static";let s="",l=this._getOffset(t,"x"),u=this._getOffset(t,"y");l&&(s+=`translateX(${l}px) `),u&&(s+=`translateY(${u}px)`),n.transform=s.trim(),a.maxHeight&&(r?n.maxHeight=Pr(a.maxHeight):o&&(n.maxHeight="")),a.maxWidth&&(r?n.maxWidth=Pr(a.maxWidth):o&&(n.maxWidth="")),y2(this._pane.style,n)}_getExactOverlayY(e,t,n){let r={top:"",bottom:""},o=this._getOverlayPoint(t,this._overlayRect,e);if(this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n)),e.overlayY==="bottom"){let a=this._document.documentElement.clientHeight;r.bottom=`${a-(o.y+this._overlayRect.height)}px`}else r.top=Pr(o.y);return r}_getExactOverlayX(e,t,n){let r={left:"",right:""},o=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(o=this._pushOverlayOnScreen(o,this._overlayRect,n));let a;if(this._isRtl()?a=e.overlayX==="end"?"left":"right":a=e.overlayX==="end"?"right":"left",a==="right"){let s=this._document.documentElement.clientWidth;r.right=`${s-(o.x+this._overlayRect.width)}px`}else r.left=Pr(o.x);return r}_getScrollVisibility(){let e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(r=>r.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:WA(e,n),isOriginOutsideView:Xy(e,n),isOverlayClipped:WA(t,n),isOverlayOutsideView:Xy(t,n)}}_subtractOverflows(e,...t){return t.reduce((n,r)=>n-Math.max(r,0),e)}_getNarrowedViewportRect(){let e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(e,t){return t==="x"?e.offsetX==null?this._offsetX:e.offsetX:e.offsetY==null?this._offsetY:e.offsetY}_validatePositions(){}_addPanelClasses(e){this._pane&&g0(e).forEach(t=>{t!==""&&this._appliedPanelClasses.indexOf(t)===-1&&(this._appliedPanelClasses.push(t),this._pane.classList.add(t))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(e=>{this._pane.classList.remove(e)}),this._appliedPanelClasses=[])}_getOriginRect(){let e=this._origin;if(e instanceof We)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();let t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}};function y2(i,e){for(let t in e)e.hasOwnProperty(t)&&(i[t]=e[t]);return i}function KA(i){if(typeof i!="number"&&i!=null){let[e,t]=i.split(Nee);return!t||t==="px"?parseFloat(e):null}return i||null}function XA(i){return{top:Math.floor(i.top),right:Math.floor(i.right),bottom:Math.floor(i.bottom),left:Math.floor(i.left),width:Math.floor(i.width),height:Math.floor(i.height)}}function Aee(i,e){return i===e?!0:i.isOriginClipped===e.isOriginClipped&&i.isOriginOutsideView===e.isOriginOutsideView&&i.isOverlayClipped===e.isOverlayClipped&&i.isOverlayOutsideView===e.isOverlayOutsideView}var ZA="cdk-global-overlay-wrapper";function aV(i){return new V6}var V6=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(e){let t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(ZA),this._isDisposed=!1}top(e=""){return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}left(e=""){return this._xOffset=e,this._xPosition="left",this}bottom(e=""){return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}right(e=""){return this._xOffset=e,this._xPosition="right",this}start(e=""){return this._xOffset=e,this._xPosition="start",this}end(e=""){return this._xOffset=e,this._xPosition="end",this}width(e=""){return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}height(e=""){return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}centerHorizontally(e=""){return this.left(e),this._xPosition="center",this}centerVertically(e=""){return this.top(e),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),{width:r,height:o,maxWidth:a,maxHeight:s}=n,l=(r==="100%"||r==="100vw")&&(!a||a==="100%"||a==="100vw"),u=(o==="100%"||o==="100vh")&&(!s||s==="100%"||s==="100vh"),h=this._xPosition,_=this._xOffset,y=this._overlayRef.getConfig().direction==="rtl",b="",x="",w="";l?w="flex-start":h==="center"?(w="center",y?x=_:b=_):y?h==="left"||h==="end"?(w="flex-end",b=_):(h==="right"||h==="start")&&(w="flex-start",x=_):h==="left"||h==="start"?(w="flex-start",b=_):(h==="right"||h==="end")&&(w="flex-end",x=_),e.position=this._cssPosition,e.marginLeft=l?"0":b,e.marginTop=u?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=l?"0":x,t.justifyContent=w,t.alignItems=u?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(ZA),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}},sV=(()=>{class i{_injector=C(Nt);constructor(){}global(){return aV()}flexibleConnectedTo(t){return Jy(this._injector,t)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function eM(i,e){i.get(Nc).load(oV);let t=i.get(Lf),n=i.get(Gt),r=i.get(m2),o=i.get(wr),a=i.get(jn),s=n.createElement("div"),l=n.createElement("div");l.id=r.getId("cdk-overlay-"),l.classList.add("cdk-overlay-pane"),s.appendChild(l),t.getContainerElement().appendChild(s);let u=new M0(l,o,i),h=new To(e),_=i.get(Ai,null,{optional:!0})||i.get(kr).createRenderer(null,null);return h.direction=h.direction||a.value,new N6(u,s,l,h,i.get(Vt),i.get(iV),n,i.get($a),i.get(rV),e?.disableAnimations??i.get(Uu,null,{optional:!0})==="NoopAnimations",i.get(ki),_)}var di=(()=>{class i{scrollStrategies=C(tV);_positionBuilder=C(sV);_injector=C(Nt);constructor(){}create(t){return eM(this._injector,t)}position(){return this._positionBuilder}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Vee=[{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"}],lV=new Ee("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(Nt);return()=>F6(i)}}),jc=(()=>{class i{elementRef=C(We);constructor(){}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return i})(),Tl=(()=>{class i{_dir=C(jn,{optional:!0});_injector=C(Nt);_overlayRef;_templatePortal;_backdropSubscription=En.EMPTY;_attachSubscription=En.EMPTY;_detachSubscription=En.EMPTY;_positionSubscription=En.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=C(lV);_disposeOnNavigation=!1;_ngZone=C(Vt);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(t){this._offsetY=t,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(t){this._disposeOnNavigation=t}backdropClick=new X;positionChange=new X;attach=new X;detach=new X;overlayKeydown=new X;overlayOutsideClick=new X;constructor(){let t=C(Rn),n=C(ai);this._templatePortal=new ao(t,n),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(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Vee);let t=this._overlayRef=eM(this._injector,this._buildConfig());this._attachSubscription=t.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=t.detachments().subscribe(()=>this.detach.emit()),t.keydownEvents().subscribe(n=>{this.overlayKeydown.next(n),n.keyCode===27&&!this.disableClose&&!Pa(n)&&(n.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(n=>{let r=this._getOriginElement(),o=Ea(n);(!r||r!==o&&!r.contains(o))&&this.overlayOutsideClick.next(n)})}_buildConfig(){let t=this._position=this.positionStrategy||this._createPositionStrategy(),n=new To({direction:this._dir||"ltr",positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(n.width=this.width),(this.height||this.height===0)&&(n.height=this.height),(this.minWidth||this.minWidth===0)&&(n.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(n.minHeight=this.minHeight),this.backdropClass&&(n.backdropClass=this.backdropClass),this.panelClass&&(n.panelClass=this.panelClass),n}_updatePositionStrategy(t){let n=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 t.setOrigin(this._getOrigin()).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let t=Jy(this._injector,this._getOrigin());return this._updatePositionStrategy(t),t}
20_getOrigin(){return this.origin instanceof jc?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof jc?this.origin.elementRef.nativeElement:this.origin instanceof We?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(t=>{this.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(Jp(()=>this.positionChange.observers.length>0)).subscribe(t=>{this._ngZone.run(()=>this.positionChange.emit(t)),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(n){return new(n||i)};static \u0275dir=Ie({type:i,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",$t],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",$t],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",$t],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",$t],push:[2,"cdkConnectedOverlayPush","push",$t],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",$t]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[on]})}return i})();function Fee(i){let e=C(Nt);return()=>F6(e)}var Ree={provide:lV,useFactory:Fee},Dr=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({providers:[di,Ree],imports:[x2,Xa,Ky,Ky]})}return i})();var dV=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({})}return i})(),I0,cV=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function tM(){if(I0)return I0;if(typeof document!="object"||!document)return I0=new Set(cV),I0;let i=document.createElement("input");return I0=new Set(cV.filter(e=>(i.setAttribute("type",e),i.type===e))),I0}function zee(i,e){}var Lee=["top","bottom"],Hee=["left","right"],Bee=["top","right","bottom","left"],jee=0,Hf=class{constructor(){this.role=null,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="",this.closeOnClickOutside=!0,this.width="",this.height="",this.maxWidth="",this.direction="bottom",this.fallbackOrientation="clockwise",this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0,this.viewportMargin=0}};function nM(){throw Error("Attempting to attach overlay content after content is already attached")}var uV=(()=>{let e=class e extends Pl{constructor(n,r,o,a){super(),this._elementRef=n,this._focusTrapFactory=r,this._document=o,this._config=a,this._elementFocusedBeforeDialogWasOpened=null,this.attachDomPortal=s=>(this._portalOutlet.hasAttached()&&nM(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(s)),this._ariaLabelledBy=a.ariaLabelledBy||null}get elementRef(){return this._elementRef}attachComponentPortal(n){return this._portalOutlet.hasAttached()&&nM(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)}attachTemplatePortal(n){return this._portalOutlet.hasAttached()&&nM(),this._trapFocus(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)}_trapFocus(){let n=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{let r=Oo();r!==n&&!n.contains(r)&&n.focus()}}restoreFocus(){let n=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&n&&typeof n.focus=="function"){let r=Oo(),o=this._elementRef.nativeElement;
20(!r||r===this._document?.body||r===o||o.contains(r))&&n.focus()}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Oo(),this._elementRef.nativeElement.focus&&Promise.resolve().then(()=>this._elementRef.nativeElement.focus()))}};e.\u0275fac=function(r){return new(r||e)(D(We),D(S6),D(Gt,8),D(Hf))},e.\u0275cmp=z({type:e,selectors:[["nx-overlay-container"]],viewQuery:function(r,o){if(r&1&&pe(Fs,7),r&2){let a;te(a=ne())&&(o._portalOutlet=a.first)}},hostAttrs:[1,"nx-overlay-container"],hostVars:5,hostBindings:function(r,o){r&2&&ye("id",o._id)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledBy)("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null)},features:[tt],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(r,o){r&1&&L(0,zee,0,0,"ng-template",0)},dependencies:[Fs],styles:["[_nghost-%COMP%]{display:block;background-color:transparent;width:100%;height:100%}[_nghost-%COMP%]:focus{outline:none}@media screen and (forced-colors: active){[_nghost-%COMP%]{border:1px solid CanvasText;background:Canvas}}"]});let i=e;return i})(),qee=0,z6=class{constructor(e,t,n,r,o=`nx-overlay-${qee++}`){this._overlayRef=e,this._containerInstance=t,this.origin=n,this._router=r,this.id=o,this.closeOnClickOutside=this._containerInstance._config.closeOnClickOutside,this._afterOpened=new he,this._afterClosed=new he,this._beforeClosed=new he,this._state=rM.OPEN,this._documentClickObservable=al(document,"click"),e.backdropClick().pipe(ze(this._afterClosed)).subscribe(()=>{this.closeOnClickOutside&&this.close()}),setTimeout(()=>this.waitForClose()),this._router.events.pipe(ze(this.afterClosed())).subscribe(a=>{a instanceof Ma&&this.close()}),t._id=o,e.detachments().pipe(ze(this._afterClosed)).subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(ln(a=>a.keyCode===27&&!Pa(a)),ze(this._afterClosed)).subscribe(a=>{a.preventDefault(),this.close()}),this._afterOpened.next(),this._afterOpened.complete()}waitForClose(){this._documentClickObservable.pipe(ct(e=>e.target),ln(e=>!this._overlayRef.overlayElement?.contains(e)),ze(this._afterClosed)).subscribe(()=>{this.closeOnClickOutside&&this.close()})}close(e){this._result=e,this._beforeClosed.next(e),this._beforeClosed.complete(),this._overlayRef.dispose(),this._state=rM.CLOSED,this._containerInstance.restoreFocus(),this._containerInstance._config.triggerButton&&this._containerInstance._config.triggerButton.setTriggerInactive()}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}};function k0(i){return Error(`Overlay direction "${i}" is invalid.`)}var iM={top(i){return{overlayX:"center",overlayY:"bottom"}},"top-start":function(i){return{overlayX:i?"end":"start",overlayY:"bottom"}},"top-end":function(i){return{overlayX:i?"start":"end",overlayY:"bottom"}},bottom(i){return{overlayX:"center",overlayY:"top"}},"bottom-start":function(i){return{overlayX:i?"end":"start",overlayY:"top"}},"bottom-end":function(i){return{overlayX:i?"start":"end",overlayY:"top"}},left(i){return{overlayX:i?"start":"end",overlayY:"center"}},right(i){return{overlayX:i?"end":"start",overlayY:"center"}}},pV={top(i){return{originX:"center",originY:"top"}},"top-start":function(i){return{originX:i?"end":"start",originY:"top"}},"top-end":function(i){return{originX:i?"start":"end",originY:"top"}},bottom(i){return{originX:"center",originY:"bottom"}},"bottom-start":function(i){return{originX:i?"end":"start",originY:"bottom"}},"bottom-end":function(i){return{originX:i?"start":"end",originY:"bottom"}},left(i){return{originX:i?"end":"start",originY:"center"}},right(i){return{originX:i?"start":"end",originY:"center"}}},Uee=(()=>{let e=class e{constructor(n,r){this._overlay=n,this._dir=r}createPositionStrategy(n,r){let o=this._getFallbackPositions(r.direction,r),a=this.getOrigin(r.direction),s=this.getOverlayPosition(r.direction),l=this.getOffset(r.direction,r);return this._overlay.position().flexibleConnectedTo(n).withPush(!1).withFlexibleDimensions(!0).withLockedPosition().withGrowAfterOpen().withViewportMargin(r.viewportMargin??0).withPositions([ae(ae(ae({},a),s),l),...o])}getOrigin(n){if(!n||!(n in pV))throw k0(n);return pV[n](this.isRtl)}getOverlayPosition(n){if(!n||!(n in iM))throw k0(n);return iM[n](this.isRtl)}getOffset(n,r){if(!n||!(n in iM))throw k0(n);let o=r.offset||jee,[a]=n.split("-");switch(a){case"top":return{offsetY:o*-1};case"bottom":return{offsetY:o};case"left":return{offsetX:o*-1};case"right":return{offsetX:o};default:throw k0(n)}}_getFallbackPositions(n,r){if(!n)return[];let o=this._getFallbackOrder(n,r),a=this._resolveFallbacks(o,r).filter(l=>l!==n),s=[];return a.forEach(l=>{let u=this.getOrigin(l),h=this.getOverlayPosition(l),_=this.getOffset(l,r);s.push(ae(ae(ae({},u),h),_))}),s}_getFallbackOrder(n,r){let o;switch(r.fallbackOrientation){case"vertical":o=Lee;break;case"horizontal":o=Hee;break;case"clockwise":o=Bee;break;default:throw k0(r.fallbackOrientation||"")}let[a]=this._splitDirection(n),s=o.indexOf(a);return[...o.slice(s),...o.slice(0,s)]}_splitDirection(n){return n.split("-")}
20get isRtl(){return this._dir?.value==="rtl"}_getInversePosition(n){return{top:"bottom",bottom:"top",start:"end",end:"start",center:"center"}[n]}_resolveFallbacks(n,r){if(!r.direction)throw k0("");let[o,a]=this._splitDirection(r.direction);return n.reduce((s,l)=>(l==="top"||l==="bottom"?a?s.push(`${l}-${a}`,`${l}-${this._getInversePosition(a)}`,l):s.push(l,`${l}-start`,`${l}-end`):s.push(l),s),[])}};e.\u0275fac=function(r){return new(r||e)(Le(di),Le(jn,8))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),fV=new Ee("nx-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.reposition()}});function Gee(i){return()=>i.scrollStrategies.reposition()}var $ee={provide:fV,useFactory:Gee,deps:[di]},rM=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSED=1]="CLOSED",i}(rM||{}),Wee=(()=>{let e=class e{constructor(n,r,o,a,s,l,u){this._overlay=n,this._injector=r,this._router=o,this._positionBuilder=a,this._parentOverlayService=s,this._dir=l,this._defaultScrollStrategyFactory=u,this._afterAllClosedAtThisLevel=new he,this._afterOpenedAtThisLevel=new he,this._openOverlaysAtThisLevel=[],this._scrollStrategyFactory=this._defaultScrollStrategyFactory}get openOverlays(){return this._parentOverlayService?this._parentOverlayService.openOverlays:this._openOverlaysAtThisLevel}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}open(n,r,o){if(o=Yee(o,new Hf),o.id&&this.getOverlayById(o.id))throw Error(`Overlay with id "${o.id}" exists already. The overlay id must be unique.`);let a=this._createOverlay(o,r),s=this._attachOverlayContainer(a,o),l=this._attachOverlayContent(n,s,a,o,r);return this.openOverlays.push(l),l.afterClosed().subscribe(()=>this._removeOpenOverlay(l)),o.triggerButton&&o.triggerButton.setTriggerActive(),l}getOverlayById(n){return this.openOverlays.find(r=>r.id===n)}ngOnDestroy(){this._closeOverlays(this._openOverlaysAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(n,r){let o=this._getOverlayConfig(n,r);return this._overlay.create(o)}_getOverlayConfig(n,r){let o=new To({positionStrategy:n.positionStrategy||this._positionBuilder.createPositionStrategy(r,n),scrollStrategy:n.scrollStrategy||this._scrollStrategyFactory(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,width:n.width,height:n.height,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation,direction:this.dir});return n.backdropClass&&(o.backdropClass=n.backdropClass),o}get isRtl(){return this._dir?.value==="rtl"}_attachOverlayContainer(n,r){let o=r?.viewContainerRef?.injector,a=Nt.create({parent:o||this._injector,providers:[{provide:Hf,useValue:r}]}),s=new ia(uV,r.viewContainerRef,a);return n.attach(s).instance}_attachOverlayContent(n,r,o,a,s){let l=new z6(o,r,s,this._router,a.id);if(n instanceof Rn)r.attachTemplatePortal(new ao(n,null,{$implicit:l}));else{let u=this._createInjector(a,l,r),h=r.attachComponentPortal(new ia(n,a.viewContainerRef,u));l.componentInstance=h.instance}return l}_createInjector(n,r,o){let a=n?.viewContainerRef?.injector,s=[{provide:uV,useValue:o},{provide:z6,useValue:r}];return Nt.create({parent:a||this._injector,providers:s})}_removeOpenOverlay(n){let r=this.openOverlays.indexOf(n);r>-1&&this.openOverlays.splice(r,1)}_closeOverlays(n){let r=n.length;for(;r--;)n[r].close()}};e.\u0275fac=function(r){return new(r||e)(Le(di),Le(Nt),Le(ot),Le(Uee),Le(e,12),Le(jn,8),Le(fV))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function Yee(i,e){return ae(ae({},e),i)}var oM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[Wee,$ee],imports:[Dr,Da,Xa,ny,Dr]});let i=e;return i})(),Uc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e});let i=e;return i})();var _V=["nxButton",""],aM=[[["","nxIconPositionStart",""]],"*",[["","nxIconPositionEnd",""]]],sM=["[nxIconPositionStart]","*","[nxIconPositionEnd]"],Qee=["nxIconButton",""],vV="[_nghost-%COMP%]{font-size:var(--button-medium-font-size);line-height:var(--button-medium-line-height);
20font-weight:var(--button-medium-font-weight);letter-spacing:var(--button-medium-letter-spacing);min-height:var(--button-medium-height);text-transform:var(--button-text-transform);border-width:var(--button-border-width);border-radius:var(--button-border-radius);border-style:solid;border-color:transparent;cursor:pointer;padding:var(--button-medium-padding);-webkit-user-select:none;user-select:none;width:auto;hyphens:none;vertical-align:middle;overflow:visible}[_nghost-%COMP%]:has([nxiconpositionstart]){padding-left:var(--button-medium-icon-start-padding)}[_nghost-%COMP%]:has([nxiconpositionend]){padding-right:var(--button-medium-icon-end-padding)}[_nghost-%COMP%]:hover, [_nghost-%COMP%]:focus{transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}@media (max-width: 703px){[_nghost-%COMP%]{display:block;width:100%}}[disabled][_nghost-%COMP%]{cursor:not-allowed}[_nghost-%COMP%]:focus{outline:none}[_nghost-%COMP%]::-moz-focus-inner{border:0}.cdk-keyboard-focused[_nghost-%COMP%], .cdk-keyboard-focused.nx-button--negative[_nghost-%COMP%]{box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%], .cdk-keyboard-focused.nx-button--negative[_nghost-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-button--primary[_nghost-%COMP%]{color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}.nx-button--primary[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-primary-hover-background-color);color:var(--button-primary-hover-text-color);border-color:var(--button-primary-hover-border-color)}@media (hover: none){.nx-button--primary[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}}.nx-button--primary[_nghost-%COMP%]:active, .nx-button--primary.nx-button--active[_nghost-%COMP%]{background-color:var(--button-primary-active-background-color);color:var(--button-primary-active-text-color);border-color:var(--button-primary-active-border-color)}.nx-button--primary[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--primary[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--primary[disabled][_nghost-%COMP%]{background-color:var(--button-primary-disabled-background-color);color:var(--button-primary-disabled-text-color);border-color:var(--button-primary-disabled-border-color)}.nx-button--primary.nx-button--danger[_nghost-%COMP%]{color:var(--button-primary-danger-text-color);background-color:var(--button-primary-danger-background-color);border-color:var(--button-primary-danger-border-color)}.nx-button--primary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-primary-danger-hover-background-color);color:var(--button-primary-danger-hover-text-color);border-color:var(--button-primary-danger-hover-border-color)}@media (hover: none){.nx-button--primary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-primary-danger-text-color);background-color:var(--button-primary-danger-background-color);border-color:var(--button-primary-danger-border-color)}}.nx-button--primary.nx-button--danger[_nghost-%COMP%]:active, .nx-button--primary.nx-button--danger.nx-button--active[_nghost-%COMP%]{background-color:var(--button-primary-danger-active-background-color);color:var(--button-primary-danger-active-text-color);border-color:var(--button-primary-danger-active-border-color)}.nx-button--primary.nx-button--danger[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--primary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--primary.nx-button--danger[disabled][_nghost-%COMP%]{background-color:var(--button-primary-danger-disabled-background-color);color:var(--button-primary-danger-disabled-text-color);border-color:var(--button-primary-danger-disabled-border-color)}.nx-button--primary.nx-button--negative[_nghost-%COMP%]{background-color:var(--negative);border-color:var(--negative);color:var(--negative-accent)}
20.nx-button--primary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative-01);border-color:var(--negative-01);color:var(--negative-accent)}@media (hover: none){.nx-button--primary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative);border-color:var(--negative);color:var(--negative-accent)}}.nx-button--primary.nx-button--negative[_nghost-%COMP%]:active, .nx-button--primary.nx-button--negative.nx-button--active[_nghost-%COMP%]{background-color:var(--negative-02);border-color:var(--negative-02);color:var(--negative-accent)}.nx-button--primary.nx-button--negative[disabled][_nghost-%COMP%]{background-color:var(--negative-dimmed);border-color:transparent;color:var(--negative-background-dimmed)}.nx-button--secondary[_nghost-%COMP%]{color:var(--button-secondary-text-color);background-color:var(--button-secondary-background-color);border-color:var(--button-secondary-border-color)}.nx-button--secondary[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-secondary-hover-background-color);color:var(--button-secondary-hover-text-color);border-color:var(--button-secondary-hover-border-color)}@media (hover: none){.nx-button--secondary[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-secondary-text-color);background-color:var(--button-secondary-background-color);border-color:var(--button-secondary-border-color)}}.nx-button--secondary[_nghost-%COMP%]:active, .nx-button--secondary.nx-button--active[_nghost-%COMP%]{background-color:var(--button-secondary-active-background-color);color:var(--button-secondary-active-text-color);border-color:var(--button-secondary-active-border-color)}.nx-button--secondary[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--secondary[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--secondary[disabled][_nghost-%COMP%]{background-color:var(--button-secondary-disabled-background-color);color:var(--button-secondary-disabled-text-color);border-color:var(--button-secondary-disabled-border-color)}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]{color:var(--button-secondary-danger-text-color);background-color:var(--button-secondary-danger-background-color);border-color:var(--button-secondary-danger-border-color)}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-secondary-danger-hover-background-color);color:var(--button-secondary-danger-hover-text-color);border-color:var(--button-secondary-danger-hover-border-color)}@media (hover: none){.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-secondary-danger-text-color);background-color:var(--button-secondary-danger-background-color);border-color:var(--button-secondary-danger-border-color)}}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:active, .nx-button--secondary.nx-button--danger.nx-button--active[_nghost-%COMP%]{background-color:var(--button-secondary-danger-active-background-color);color:var(--button-secondary-danger-active-text-color);border-color:var(--button-secondary-danger-active-border-color)}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--secondary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--secondary.nx-button--danger[disabled][_nghost-%COMP%]{background-color:var(--button-secondary-danger-disabled-background-color);color:var(--button-secondary-danger-disabled-text-color);border-color:var(--button-secondary-danger-disabled-border-color)}.nx-button--secondary.nx-button--negative[_nghost-%COMP%]{color:var(--negative);border-color:var(--negative)}.nx-button--secondary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative-01);border-color:var(--negative-01);color:var(--button-secondary-text-color)}@media (hover: none){.nx-button--secondary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:transparent;border-color:var(--negative);color:var(--negative)}}.nx-button--secondary.nx-button--negative[_nghost-%COMP%]:active, .nx-button--secondary.nx-button--negative.nx-button--active[_nghost-%COMP%]{background-color:var(--negative-02);border-color:var(--negative-02);color:var(--button-secondary-text-color)}.nx-button--secondary.nx-button--negative[disabled][_nghost-%COMP%]{background-color:transparent;border-color:var(--negative-dimmed);color:var(--negative-dimmed)}.nx-button--tertiary[_nghost-%COMP%]{color:var(--button-tertiary-text-color);background-color:var(--button-tertiary-background-color);border-color:var(--button-tertiary-border-color)}.nx-button--tertiary[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-tertiary-hover-background-color);color:var(--button-tertiary-hover-text-color);border-color:var(--button-tertiary-hover-border-color)}@media (hover: none){.nx-button--tertiary[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-tertiary-text-color);background-color:var(--button-tertiary-background-color);border-color:var(--button-tertiary-border-color)}}.nx-button--tertiary[_nghost-%COMP%]:active, .nx-button--tertiary.nx-button--active[_nghost-%COMP%]{background-color:var(--button-tertiary-active-background-color);color:var(--button-tertiary-active-text-color);border-color:var(--button-tertiary-active-border-color)}.nx-button--tertiary[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--tertiary[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--tertiary[disabled][_nghost-%COMP%]{background-color:var(--button-tertiary-disabled-background-color);color:var(--button-tertiary-disabled-text-color);border-color:var(--button-tertiary-disabled-border-color)}.nx-button--tertiary[_nghost-%COMP%]:not(.nx-icon-button)   .nx-button__content[_ngcontent-%COMP%]{text-decoration:var(--button-tertiary-text-decoration)}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]{color:var(--button-tertiary-danger-text-color);background-color:var(--button-tertiary-danger-background-color);border-color:var(--button-tertiary-danger-border-color)}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-tertiary-danger-hover-background-color);color:var(--button-tertiary-danger-hover-text-color);border-color:var(--button-tertiary-danger-hover-border-color)}@media (hover: none){.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-tertiary-danger-text-color);background-color:var(--button-tertiary-danger-background-color);border-color:var(--button-tertiary-danger-border-color)}}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:active, .nx-button--tertiary.nx-button--danger.nx-button--active[_nghost-%COMP%]{background-color:var(--button-tertiary-danger-active-background-color);color:var(--button-tertiary-danger-active-text-color);border-color:var(--button-tertiary-danger-active-border-color)}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--tertiary.nx-button--danger[disabled][_nghost-%COMP%]{background-color:var(--button-tertiary-danger-disabled-background-color);color:var(--button-tertiary-danger-disabled-text-color);border-color:var(--button-tertiary-danger-disabled-border-color)}.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]{color:var(--negative)}.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative-01);color:var(--button-secondary-text-color)}@media (hover: none){.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:transparent;color:var(--negative)}}.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]:active, .nx-button--tertiary.nx-button--negative.nx-button--active[_nghost-%COMP%]{background-color:var(--negative-02);color:var(--button-secondary-text-color)}.nx-button--tertiary.nx-button--negative[disabled][_nghost-%COMP%]{background-color:transparent;color:var(--negative-dimmed)}.nx-button--large[_nghost-%COMP%]{font-size:var(--button-large-font-size);line-height:var(--button-large-line-height);
20font-weight:var(--button-large-font-weight);letter-spacing:var(--button-large-letter-spacing);min-height:var(--button-large-height);padding:calc(24px - var(--button-border-width)) calc(48px - var(--button-border-width))}@media (max-width: 703px){.nx-button--large[_nghost-%COMP%]{padding:calc(24px - var(--button-border-width)) calc(32px - var(--button-border-width))}}.nx-button--small-medium[_nghost-%COMP%]{display:inline-block;font-size:var(--button-small-medium-font-size);line-height:var(--button-small-medium-line-height);font-weight:var(--button-small-medium-font-weight);letter-spacing:var(--button-small-medium-letter-spacing);padding:calc(8px - var(--button-border-width)) calc(24px - var(--button-border-width));text-transform:none;width:auto;min-height:var(--button-small-medium-height)}.nx-button--small[_nghost-%COMP%]{font-size:var(--button-small-font-size);line-height:var(--button-small-line-height);font-weight:var(--button-small-font-weight);letter-spacing:var(--button-small-letter-spacing);min-height:var(--button-small-height);display:inline-block;padding:var(--button-small-padding);text-transform:none;width:auto}.nx-button--small[_nghost-%COMP%]:has([nxiconpositionstart]){padding-left:var(--button-small-icon-start-padding)}.nx-button--small[_nghost-%COMP%]:has([nxiconpositionend]){padding-right:var(--button-small-icon-end-padding)}.nx-button--cta[_nghost-%COMP%]{color:var(--button-cta-text-color);background-color:var(--button-cta-background-color);border-color:var(--button-cta-border-color)}.nx-button--cta[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-cta-hover-background-color);color:var(--button-cta-hover-text-color);border-color:var(--button-cta-hover-border-color)}@media (hover: none){.nx-button--cta[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-cta-text-color);background-color:var(--button-cta-background-color);border-color:var(--button-cta-border-color)}}.nx-button--cta[_nghost-%COMP%]:active, .nx-button--cta.nx-button--active[_nghost-%COMP%]{background-color:var(--button-cta-active-background-color);color:var(--button-cta-active-text-color);border-color:var(--button-cta-active-border-color)}.nx-button--cta[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--cta[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--cta[disabled][_nghost-%COMP%]{background-color:var(--button-cta-disabled-background-color);color:var(--button-cta-disabled-text-color);border-color:var(--button-cta-disabled-border-color)}.nx-button--emphasis[_nghost-%COMP%]{color:var(--button-emphasis-text-color);background-color:var(--button-emphasis-background-color);border-color:var(--button-emphasis-border-color)}.nx-button--emphasis[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-emphasis-hover-background-color);color:var(--button-emphasis-hover-text-color);border-color:var(--button-emphasis-hover-border-color)}@media (hover: none){.nx-button--emphasis[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-emphasis-text-color);background-color:var(--button-emphasis-background-color);border-color:var(--button-emphasis-border-color)}}.nx-button--emphasis[_nghost-%COMP%]:active, .nx-button--emphasis.nx-button--active[_nghost-%COMP%]{background-color:var(--button-emphasis-active-background-color);color:var(--button-emphasis-active-text-color);border-color:var(--button-emphasis-active-border-color)}.nx-button--emphasis[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--emphasis[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--emphasis[disabled][_nghost-%COMP%]{background-color:var(--button-emphasis-disabled-background-color);color:var(--button-emphasis-disabled-text-color);border-color:var(--button-emphasis-disabled-border-color)}.nx-button--attention[_nghost-%COMP%]{color:var(--button-attention-text-color);background-color:var(--button-attention-background-color);border-color:var(--button-attention-border-color)}.nx-button--attention[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-attention-hover-background-color);color:var(--button-attention-hover-text-color);border-color:var(--button-attention-hover-border-color)}@media (hover: none){.nx-button--attention[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-attention-text-color);background-color:var(--button-attention-background-color);border-color:var(--button-attention-border-color)}}.nx-button--attention[_nghost-%COMP%]:active, .nx-button--attention.nx-button--active[_nghost-%COMP%]{background-color:var(--button-attention-active-background-color);color:var(--button-attention-active-text-color);border-color:var(--button-attention-active-border-color)}.nx-button--attention[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--attention[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--attention[disabled][_nghost-%COMP%]{background-color:var(--button-attention-disabled-background-color);color:var(--button-attention-disabled-text-color);border-color:var(--button-attention-disabled-border-color)}@media (min-width: 704px){.nx-button--block[_nghost-%COMP%]{display:block;width:100%}}[_nghost-%COMP%]   .nx-button__content-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]   .nx-button__content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;vertical-align:bottom;position:relative}[_nghost-%COMP%]   .nx-button__content-wrapper[_ngcontent-%COMP%]{gap:var(--button-gap)}.nx-icon-button[_nghost-%COMP%], .nx-sidebar__toggle-button[_nghost-%COMP%]{padding:var(--icon-button-medium-padding);flex:0 0 auto}.nx-icon-button.nx-button--small[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--small[_nghost-%COMP%]{width:var(--button-small-height);font-size:var(--icon-button-small-icon-size)}.nx-icon-button.nx-button--small-medium[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--small-medium[_nghost-%COMP%]{width:var(--button-small-medium-height);font-size:var(--icon-button-small-medium-icon-size)}.nx-icon-button.nx-button--medium[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--medium[_nghost-%COMP%]{width:var(--button-medium-height);font-size:var(--icon-button-medium-icon-size)}.nx-icon-button.nx-button--large[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--large[_nghost-%COMP%]{width:var(--button-large-height);font-size:var(--icon-button-large-icon-size)}.nx-button.nx-button--small[_nghost-%COMP%]     nx-icon{font-size:var(--button-small-icon-size)}.nx-button.nx-button--small-medium[_nghost-%COMP%]     nx-icon{font-size:var(--button-small-medium-icon-size)}.nx-button.nx-button--medium[_nghost-%COMP%]     nx-icon{font-size:var(--button-medium-icon-size)}.nx-button.nx-button--large[_nghost-%COMP%]     nx-icon{font-size:var(--button-large-icon-size)}@media screen and (forced-colors: active){[_nghost-%COMP%]{forced-color-adjust:none;background-color:buttonFace!important;border-color:buttonText!important;color:buttonText!important}[_nghost-%COMP%]   .nx-button__content-wrapper[_ngcontent-%COMP%]{forced-color-adjust:none}[disabled][_nghost-%COMP%]{background-color:buttonFace!important;border-color:GrayText!important;color:GrayText!important}}a[_nghost-%COMP%]{display:inline-block;height:fit-content;text-align:center;text-decoration:none}a.nx-icon-button[_nghost-%COMP%]{display:inline-flex;justify-content:center}",Kee=["nxPlainButton",""],Xee=[[["","nxIconPositionStart",""]],"*",[["","nxIconPositionEnd",""]],[["nx-icon",5,"nxIconPositionStart",5,"nxIconPositionEnd"]]],Zee=["[nxIconPositionStart]","*","[nxIconPositionEnd]","nx-icon:not(nxIconPositionStart):not(nxIconPositionEnd)"],Jee="[_nghost-%COMP%]{color:var(--plain-button-color);display:inline-block;cursor:pointer;-webkit-user-select:none;user-select:none;width:auto;hyphens:none;vertical-align:middle;background:transparent;border:none;padding:0;font-size:var(--plain-button-font-size);line-height:var(--plain-button-line-height);font-weight:var(--plain-button-font-weight);letter-spacing:var(--plain-button-letter-spacing)}[_nghost-%COMP%]   .nx-plain-button__content[_ngcontent-%COMP%]{text-decoration:var(--button-tertiary-text-decoration)}[_nghost-%COMP%]   .nx-plain-button__content[_ngcontent-%COMP%]:empty{display:none}[_nghost-%COMP%]:focus{outline:none}[_nghost-%COMP%]:hover{color:var(--plain-button-hover-color)}@media (hover: none){[_nghost-%COMP%]:hover{color:var(--plain-button-color)}}[_nghost-%COMP%]:active, .nx-button--active[_nghost-%COMP%]{color:var(--plain-button-active-color)}[disabled][_nghost-%COMP%]{color:var(--plain-button-disabled-color);cursor:not-allowed}[_nghost-%COMP%]:active:not([disabled])   .nx-plain-button__content.nx-plain-button__content[_ngcontent-%COMP%], [_nghost-%COMP%]:hover:not([disabled])   .nx-plain-button__content.nx-plain-button__content[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%]   .nx-plain-button__content-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]   .nx-plain-button__content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;vertical-align:bottom}[_nghost-%COMP%]   .nx-plain-button__content-wrapper[_ngcontent-%COMP%]{gap:var(--plain-button-gap)}.nx-plain-button[_nghost-%COMP%]     nx-icon{font-size:var(--plain-button-icon-size)}.nx-plain-button--small[_nghost-%COMP%]{font-size:var(--plain-button-small-font-size);line-height:var(--plain-button-small-line-height);
20font-weight:var(--plain-button-small-font-weight);letter-spacing:var(--plain-button-small-letter-spacing)}.nx-plain-button--small[_nghost-%COMP%]     nx-icon{font-size:var(--plain-button-small-icon-size)}.nx-plain-button--secondary[_nghost-%COMP%]{color:var(--plain-button-secondary-color)}.nx-plain-button--secondary[_nghost-%COMP%]:hover{color:var(--plain-button-secondary-hover-color)}@media (hover: none){.nx-plain-button--secondary[_nghost-%COMP%]:hover{color:var(--plain-button-secondary-color)}}.nx-plain-button--secondary[_nghost-%COMP%]:active, .nx-plain-button--secondary.nx-button--active[_nghost-%COMP%]{color:var(--plain-button-secondary-active-color)}.nx-plain-button--secondary[disabled][_nghost-%COMP%]{color:var(--plain-button-secondary-disabled-color);cursor:not-allowed}.nx-plain-button--danger[_nghost-%COMP%]{color:var(--plain-button-danger-color)}.nx-plain-button--danger[_nghost-%COMP%]:hover{color:var(--plain-button-danger-hover-color)}@media (hover: none){.nx-plain-button--danger[_nghost-%COMP%]:hover{color:var(--plain-button-danger-color)}}.nx-plain-button--danger[_nghost-%COMP%]:active, .nx-plain-button--danger.nx-button--active[_nghost-%COMP%]{color:var(--plain-button-danger-active-color)}.nx-plain-button--danger[disabled][_nghost-%COMP%]{color:var(--plain-button-danger-disabled-color)}.cdk-keyboard-focused[_nghost-%COMP%]{border-radius:4px;outline:0;box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}a[_nghost-%COMP%]{height:fit-content;text-align:center;text-decoration:none}@media screen and (forced-colors: active){[_nghost-%COMP%]{color:buttonText!important}[disabled][_nghost-%COMP%]{color:GrayText!important}}",hV="medium",gV="primary",lM=(()=>{let e=class e{get isPrimary(){return this.type==="primary"}get isSecondary(){return this.type==="secondary"}get isTertiary(){return this.type==="tertiary"}get isCta(){return this.type==="cta"}get isEmphasis(){return this.type==="emphasis"}get isAttention(){return this.type==="attention"}get isLarge(){return this.size==="large"}get isMedium(){return this.size==="medium"}get isSmallMedium(){return this.size==="small-medium"}get isSmall(){return this.size==="small"}get isDanger(){return this.danger}get isBlock(){return this.block}get isNegative(){return this.negative}get isDisabled(){return this.disabled||null}get isAriaDisabled(){return this.disabled.toString()}set disabled(n){this._disabled=Ue(n)}get disabled(){return this._disabled}set classNames(n){if(this._classNames===n)return;this._classNames=n;let[r=null]=this._classNames?.match(/primary|secondary|tertiary|cta|emphasis|attention/)??[gV];this.type=r;let[o=null]=this._classNames?.match(/small-medium|small|medium|large/)??[hV];this.size=o,this.danger=!!this._classNames?.includes("danger"),this.negative=!!this._classNames?.includes("negative"),this.block=!!this._classNames?.includes("block"),this._cdr.markForCheck()}get classNames(){return this._classNames}get elementRef(){return this._elementRef}constructor(n,r,o){this._cdr=n,this._elementRef=r,this._focusMonitor=o,this._classNames="",this.type=gV,this.size=hV,this.danger=!1,this.negative=!1,this.block=!1,this.active=!1,this._disabled=!1}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}setTriggerActive(){this.active=!0,this._cdr.markForCheck()}setTriggerInactive(){this.active=!1,this._cdr.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Kt))},e.\u0275dir=Ie({type:e,hostVars:30,hostBindings:function(r,o){r&2&&(ye("disabled",o.isDisabled)("aria-disabled",o.isAriaDisabled),Fe("nx-button--primary",o.isPrimary)("nx-button--secondary",o.isSecondary)("nx-button--tertiary",o.isTertiary)("nx-button--cta",o.isCta)("nx-button--emphasis",o.isEmphasis)("nx-button--attention",o.isAttention)("nx-button--large",o.isLarge)("nx-button--medium",o.isMedium)("nx-button--small-medium",o.isSmallMedium)("nx-button--small",o.isSmall)("nx-button--danger",o.isDanger)("nx-button--block",o.isBlock)("nx-button--negative",o.isNegative)("nx-button--active",o.active))},inputs:{disabled:"disabled"}});let i=e;return i})(),ete=(()=>{let e=class e extends lM{constructor(n,r,o,a){super(r,o,a),this._ngZone=n,this._checkEventsDisabled=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())},this._ngZone.runOutsideAngular(()=>{this.elementRef.nativeElement.addEventListener("click",this._checkEventsDisabled)})}ngOnDestroy(){super.ngOnDestroy(),this.elementRef.nativeElement.removeEventListener("click",this._checkEventsDisabled)}};e.\u0275fac=function(r){return new(r||e)(D(Vt),D(Ye),D(We),D(Kt))},e.\u0275dir=Ie({type:e,features:[tt]});let i=e;return i})(),xV=(()=>{let e=class e extends ete{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=De(e)))(o||e)}}
20)(),e.\u0275cmp=z({type:e,selectors:[["a","nxButton",""]],hostAttrs:[1,"nx-button"],inputs:{classNames:[0,"nxButton","classNames"]},features:[Mt([{provide:Uc,useExisting:e}]),tt],attrs:_V,ngContentSelectors:sM,decls:5,vars:0,consts:[[1,"nx-button__content-wrapper"],[1,"nx-button__content"]],template:function(r,o){r&1&&(rt(aM),at(0,"span",0),ke(1),at(2,"span",1),ke(3,1),pt(),ke(4,2),pt())},styles:["[_nghost-%COMP%]{font-size:var(--button-medium-font-size);line-height:var(--button-medium-line-height);font-weight:var(--button-medium-font-weight);letter-spacing:var(--button-medium-letter-spacing);min-height:var(--button-medium-height);text-transform:var(--button-text-transform);border-width:var(--button-border-width);border-radius:var(--button-border-radius);border-style:solid;border-color:transparent;cursor:pointer;padding:var(--button-medium-padding);-webkit-user-select:none;user-select:none;width:auto;hyphens:none;vertical-align:middle;overflow:visible}[_nghost-%COMP%]:has([nxiconpositionstart]){padding-left:var(--button-medium-icon-start-padding)}[_nghost-%COMP%]:has([nxiconpositionend]){padding-right:var(--button-medium-icon-end-padding)}[_nghost-%COMP%]:hover, [_nghost-%COMP%]:focus{transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}@media (max-width: 703px){[_nghost-%COMP%]{display:block;width:100%}}[disabled][_nghost-%COMP%]{cursor:not-allowed}[_nghost-%COMP%]:focus{outline:none}[_nghost-%COMP%]::-moz-focus-inner{border:0}.cdk-keyboard-focused[_nghost-%COMP%], .cdk-keyboard-focused.nx-button--negative[_nghost-%COMP%]{box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%], .cdk-keyboard-focused.nx-button--negative[_nghost-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-button--primary[_nghost-%COMP%]{color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}.nx-button--primary[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-primary-hover-background-color);color:var(--button-primary-hover-text-color);border-color:var(--button-primary-hover-border-color)}@media (hover: none){.nx-button--primary[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-primary-text-color);background-color:var(--button-primary-background-color);border-color:var(--button-primary-border-color)}}.nx-button--primary[_nghost-%COMP%]:active, .nx-button--primary.nx-button--active[_nghost-%COMP%]{background-color:var(--button-primary-active-background-color);color:var(--button-primary-active-text-color);border-color:var(--button-primary-active-border-color)}.nx-button--primary[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--primary[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--primary[disabled][_nghost-%COMP%]{background-color:var(--button-primary-disabled-background-color);color:var(--button-primary-disabled-text-color);border-color:var(--button-primary-disabled-border-color)}.nx-button--primary.nx-button--danger[_nghost-%COMP%]{color:var(--button-primary-danger-text-color);background-color:var(--button-primary-danger-background-color);border-color:var(--button-primary-danger-border-color)}.nx-button--primary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-primary-danger-hover-background-color);color:var(--button-primary-danger-hover-text-color);border-color:var(--button-primary-danger-hover-border-color)}@media (hover: none){.nx-button--primary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-primary-danger-text-color);background-color:var(--button-primary-danger-background-color);border-color:var(--button-primary-danger-border-color)}}.nx-button--primary.nx-button--danger[_nghost-%COMP%]:active, .nx-button--primary.nx-button--danger.nx-button--active[_nghost-%COMP%]{background-color:var(--button-primary-danger-active-background-color);color:var(--button-primary-danger-active-text-color);border-color:var(--button-primary-danger-active-border-color)}.nx-button--primary.nx-button--danger[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--primary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--primary.nx-button--danger[disabled][_nghost-%COMP%]{background-color:var(--button-primary-danger-disabled-background-color);color:var(--button-primary-danger-disabled-text-color);border-color:var(--button-primary-danger-disabled-border-color)}.nx-button--primary.nx-button--negative[_nghost-%COMP%]{background-color:var(--negative);border-color:var(--negative);color:var(--negative-accent)}
20.nx-button--primary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative-01);border-color:var(--negative-01);color:var(--negative-accent)}@media (hover: none){.nx-button--primary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative);border-color:var(--negative);color:var(--negative-accent)}}.nx-button--primary.nx-button--negative[_nghost-%COMP%]:active, .nx-button--primary.nx-button--negative.nx-button--active[_nghost-%COMP%]{background-color:var(--negative-02);border-color:var(--negative-02);color:var(--negative-accent)}.nx-button--primary.nx-button--negative[disabled][_nghost-%COMP%]{background-color:var(--negative-dimmed);border-color:transparent;color:var(--negative-background-dimmed)}.nx-button--secondary[_nghost-%COMP%]{color:var(--button-secondary-text-color);background-color:var(--button-secondary-background-color);border-color:var(--button-secondary-border-color)}.nx-button--secondary[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-secondary-hover-background-color);color:var(--button-secondary-hover-text-color);border-color:var(--button-secondary-hover-border-color)}@media (hover: none){.nx-button--secondary[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-secondary-text-color);background-color:var(--button-secondary-background-color);border-color:var(--button-secondary-border-color)}}.nx-button--secondary[_nghost-%COMP%]:active, .nx-button--secondary.nx-button--active[_nghost-%COMP%]{background-color:var(--button-secondary-active-background-color);color:var(--button-secondary-active-text-color);border-color:var(--button-secondary-active-border-color)}.nx-button--secondary[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--secondary[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--secondary[disabled][_nghost-%COMP%]{background-color:var(--button-secondary-disabled-background-color);color:var(--button-secondary-disabled-text-color);border-color:var(--button-secondary-disabled-border-color)}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]{color:var(--button-secondary-danger-text-color);background-color:var(--button-secondary-danger-background-color);border-color:var(--button-secondary-danger-border-color)}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-secondary-danger-hover-background-color);color:var(--button-secondary-danger-hover-text-color);border-color:var(--button-secondary-danger-hover-border-color)}@media (hover: none){.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-secondary-danger-text-color);background-color:var(--button-secondary-danger-background-color);border-color:var(--button-secondary-danger-border-color)}}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:active, .nx-button--secondary.nx-button--danger.nx-button--active[_nghost-%COMP%]{background-color:var(--button-secondary-danger-active-background-color);color:var(--button-secondary-danger-active-text-color);border-color:var(--button-secondary-danger-active-border-color)}.nx-button--secondary.nx-button--danger[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--secondary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--secondary.nx-button--danger[disabled][_nghost-%COMP%]{background-color:var(--button-secondary-danger-disabled-background-color);color:var(--button-secondary-danger-disabled-text-color);border-color:var(--button-secondary-danger-disabled-border-color)}.nx-button--secondary.nx-button--negative[_nghost-%COMP%]{color:var(--negative);border-color:var(--negative)}.nx-button--secondary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative-01);border-color:var(--negative-01);color:var(--button-secondary-text-color)}@media (hover: none){.nx-button--secondary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:transparent;border-color:var(--negative);color:var(--negative)}}.nx-button--secondary.nx-button--negative[_nghost-%COMP%]:active, .nx-button--secondary.nx-button--negative.nx-button--active[_nghost-%COMP%]{background-color:var(--negative-02);border-color:var(--negative-02);color:var(--button-secondary-text-color)}.nx-button--secondary.nx-button--negative[disabled][_nghost-%COMP%]{background-color:transparent;border-color:var(--negative-dimmed);color:var(--negative-dimmed)}.nx-button--tertiary[_nghost-%COMP%]{color:var(--button-tertiary-text-color);background-color:var(--button-tertiary-background-color);border-color:var(--button-tertiary-border-color)}.nx-button--tertiary[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-tertiary-hover-background-color);color:var(--button-tertiary-hover-text-color);border-color:var(--button-tertiary-hover-border-color)}@media (hover: none){.nx-button--tertiary[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-tertiary-text-color);background-color:var(--button-tertiary-background-color);border-color:var(--button-tertiary-border-color)}}.nx-button--tertiary[_nghost-%COMP%]:active, .nx-button--tertiary.nx-button--active[_nghost-%COMP%]{background-color:var(--button-tertiary-active-background-color);color:var(--button-tertiary-active-text-color);border-color:var(--button-tertiary-active-border-color)}.nx-button--tertiary[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--tertiary[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--tertiary[disabled][_nghost-%COMP%]{background-color:var(--button-tertiary-disabled-background-color);color:var(--button-tertiary-disabled-text-color);border-color:var(--button-tertiary-disabled-border-color)}.nx-button--tertiary[_nghost-%COMP%]:not(.nx-icon-button)   .nx-button__content[_ngcontent-%COMP%]{text-decoration:var(--button-tertiary-text-decoration)}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]{color:var(--button-tertiary-danger-text-color);background-color:var(--button-tertiary-danger-background-color);border-color:var(--button-tertiary-danger-border-color)}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-tertiary-danger-hover-background-color);color:var(--button-tertiary-danger-hover-text-color);border-color:var(--button-tertiary-danger-hover-border-color)}@media (hover: none){.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-tertiary-danger-text-color);background-color:var(--button-tertiary-danger-background-color);border-color:var(--button-tertiary-danger-border-color)}}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:active, .nx-button--tertiary.nx-button--danger.nx-button--active[_nghost-%COMP%]{background-color:var(--button-tertiary-danger-active-background-color);color:var(--button-tertiary-danger-active-text-color);border-color:var(--button-tertiary-danger-active-border-color)}.nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--tertiary.nx-button--danger[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--tertiary.nx-button--danger[disabled][_nghost-%COMP%]{background-color:var(--button-tertiary-danger-disabled-background-color);color:var(--button-tertiary-danger-disabled-text-color);border-color:var(--button-tertiary-danger-disabled-border-color)}.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]{color:var(--negative)}.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--negative-01);color:var(--button-secondary-text-color)}@media (hover: none){.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:transparent;color:var(--negative)}}.nx-button--tertiary.nx-button--negative[_nghost-%COMP%]:active, .nx-button--tertiary.nx-button--negative.nx-button--active[_nghost-%COMP%]{background-color:var(--negative-02);color:var(--button-secondary-text-color)}.nx-button--tertiary.nx-button--negative[disabled][_nghost-%COMP%]{background-color:transparent;color:var(--negative-dimmed)}.nx-button--large[_nghost-%COMP%]{font-size:var(--button-large-font-size);line-height:var(--button-large-line-height);
20font-weight:var(--button-large-font-weight);letter-spacing:var(--button-large-letter-spacing);min-height:var(--button-large-height);padding:calc(24px - var(--button-border-width)) calc(48px - var(--button-border-width))}@media (max-width: 703px){.nx-button--large[_nghost-%COMP%]{padding:calc(24px - var(--button-border-width)) calc(32px - var(--button-border-width))}}.nx-button--small-medium[_nghost-%COMP%]{display:inline-block;font-size:var(--button-small-medium-font-size);line-height:var(--button-small-medium-line-height);font-weight:var(--button-small-medium-font-weight);letter-spacing:var(--button-small-medium-letter-spacing);padding:calc(8px - var(--button-border-width)) calc(24px - var(--button-border-width));text-transform:none;width:auto;min-height:var(--button-small-medium-height)}.nx-button--small[_nghost-%COMP%]{font-size:var(--button-small-font-size);line-height:var(--button-small-line-height);font-weight:var(--button-small-font-weight);letter-spacing:var(--button-small-letter-spacing);min-height:var(--button-small-height);display:inline-block;padding:var(--button-small-padding);text-transform:none;width:auto}.nx-button--small[_nghost-%COMP%]:has([nxiconpositionstart]){padding-left:var(--button-small-icon-start-padding)}.nx-button--small[_nghost-%COMP%]:has([nxiconpositionend]){padding-right:var(--button-small-icon-end-padding)}.nx-button--cta[_nghost-%COMP%]{color:var(--button-cta-text-color);background-color:var(--button-cta-background-color);border-color:var(--button-cta-border-color)}.nx-button--cta[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-cta-hover-background-color);color:var(--button-cta-hover-text-color);border-color:var(--button-cta-hover-border-color)}@media (hover: none){.nx-button--cta[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-cta-text-color);background-color:var(--button-cta-background-color);border-color:var(--button-cta-border-color)}}.nx-button--cta[_nghost-%COMP%]:active, .nx-button--cta.nx-button--active[_nghost-%COMP%]{background-color:var(--button-cta-active-background-color);color:var(--button-cta-active-text-color);border-color:var(--button-cta-active-border-color)}.nx-button--cta[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--cta[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--cta[disabled][_nghost-%COMP%]{background-color:var(--button-cta-disabled-background-color);color:var(--button-cta-disabled-text-color);border-color:var(--button-cta-disabled-border-color)}.nx-button--emphasis[_nghost-%COMP%]{color:var(--button-emphasis-text-color);background-color:var(--button-emphasis-background-color);border-color:var(--button-emphasis-border-color)}.nx-button--emphasis[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-emphasis-hover-background-color);color:var(--button-emphasis-hover-text-color);border-color:var(--button-emphasis-hover-border-color)}@media (hover: none){.nx-button--emphasis[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-emphasis-text-color);background-color:var(--button-emphasis-background-color);border-color:var(--button-emphasis-border-color)}}.nx-button--emphasis[_nghost-%COMP%]:active, .nx-button--emphasis.nx-button--active[_nghost-%COMP%]{background-color:var(--button-emphasis-active-background-color);color:var(--button-emphasis-active-text-color);border-color:var(--button-emphasis-active-border-color)}.nx-button--emphasis[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--emphasis[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--emphasis[disabled][_nghost-%COMP%]{background-color:var(--button-emphasis-disabled-background-color);color:var(--button-emphasis-disabled-text-color);border-color:var(--button-emphasis-disabled-border-color)}.nx-button--attention[_nghost-%COMP%]{color:var(--button-attention-text-color);background-color:var(--button-attention-background-color);border-color:var(--button-attention-border-color)}.nx-button--attention[_nghost-%COMP%]:hover:not([disabled]):not(:active){background-color:var(--button-attention-hover-background-color);color:var(--button-attention-hover-text-color);border-color:var(--button-attention-hover-border-color)}@media (hover: none){.nx-button--attention[_nghost-%COMP%]:hover:not([disabled]):not(:active){color:var(--button-attention-text-color);background-color:var(--button-attention-background-color);border-color:var(--button-attention-border-color)}}.nx-button--attention[_nghost-%COMP%]:active, .nx-button--attention.nx-button--active[_nghost-%COMP%]{background-color:var(--button-attention-active-background-color);color:var(--button-attention-active-text-color);border-color:var(--button-attention-active-border-color)}.nx-button--attention[_nghost-%COMP%]:active:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%], .nx-button--attention[_nghost-%COMP%]:hover:not([disabled])   .nx-button__content.nx-button__content[_ngcontent-%COMP%]{text-decoration:none}.nx-button--attention[disabled][_nghost-%COMP%]{background-color:var(--button-attention-disabled-background-color);color:var(--button-attention-disabled-text-color);border-color:var(--button-attention-disabled-border-color)}@media (min-width: 704px){.nx-button--block[_nghost-%COMP%]{display:block;width:100%}}[_nghost-%COMP%]   .nx-button__content-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]   .nx-button__content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;vertical-align:bottom;position:relative}[_nghost-%COMP%]   .nx-button__content-wrapper[_ngcontent-%COMP%]{gap:var(--button-gap)}.nx-icon-button[_nghost-%COMP%], .nx-sidebar__toggle-button[_nghost-%COMP%]{padding:var(--icon-button-medium-padding);flex:0 0 auto}.nx-icon-button.nx-button--small[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--small[_nghost-%COMP%]{width:var(--button-small-height);font-size:var(--icon-button-small-icon-size)}.nx-icon-button.nx-button--small-medium[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--small-medium[_nghost-%COMP%]{width:var(--button-small-medium-height);font-size:var(--icon-button-small-medium-icon-size)}.nx-icon-button.nx-button--medium[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--medium[_nghost-%COMP%]{width:var(--button-medium-height);font-size:var(--icon-button-medium-icon-size)}.nx-icon-button.nx-button--large[_nghost-%COMP%], .nx-sidebar__toggle-button.nx-button--large[_nghost-%COMP%]{width:var(--button-large-height);font-size:var(--icon-button-large-icon-size)}.nx-button.nx-button--small[_nghost-%COMP%]     nx-icon{font-size:var(--button-small-icon-size)}.nx-button.nx-button--small-medium[_nghost-%COMP%]     nx-icon{font-size:var(--button-small-medium-icon-size)}.nx-button.nx-button--medium[_nghost-%COMP%]     nx-icon{font-size:var(--button-medium-icon-size)}.nx-button.nx-button--large[_nghost-%COMP%]     nx-icon{font-size:var(--button-large-icon-size)}@media screen and (forced-colors: active){[_nghost-%COMP%]{forced-color-adjust:none;background-color:buttonFace!important;border-color:buttonText!important;color:buttonText!important}[_nghost-%COMP%]   .nx-button__content-wrapper[_ngcontent-%COMP%]{forced-color-adjust:none}[disabled][_nghost-%COMP%]{background-color:buttonFace!important;border-color:GrayText!important;color:GrayText!important}}a[_nghost-%COMP%]{display:inline-block;height:fit-content;text-align:center;text-decoration:none}a.nx-icon-button[_nghost-%COMP%]{display:inline-flex;justify-content:center}"],changeDetection:0});let i=e;return i})();var _t=(()=>{let e=class e extends lM{constructor(n,r,o){super(n,r,o)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["button","nxButton",""]],hostAttrs:[1,"nx-button"],inputs:{classNames:[0,"nxButton","classNames"]},features:[Mt([{provide:Uc,useExisting:e}]),tt],attrs:_V,ngContentSelectors:sM,decls:5,vars:0,consts:[[1,"nx-button__content-wrapper"],[1,"nx-button__content"]],template:function(r,o){r&1&&(rt(aM),at(0,"span",0),ke(1),at(2,"span",1),ke(3,1),pt(),ke(4,2),pt())},styles:[vV],changeDetection:0});let i=e;return i})(),bV=(()=>{let e=class e extends lM{constructor(n,r,o){super(n,r,o)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["button","nxIconButton",""]],hostAttrs:[1,"nx-icon-button"],inputs:{classNames:[0,"nxIconButton","classNames"]},features:[Mt([{provide:Uc,useExisting:e}]),tt],attrs:Qee,ngContentSelectors:sM,decls:5,vars:0,consts:[[1,"nx-button__content-wrapper"],[1,"nx-button__content"]],template:function(r,o){r&1&&(rt(aM),at(0,"span",0),ke(1),at(2,"span",1),ke(3,1),pt(),ke(4,2),pt())},styles:[vV],changeDetection:0});let i=e;return i})(),_o=(()=>{let e=class e{get isDisabled(){return this.disabled||null}get isAriaDisabled(){return this.disabled.toString()}set critical(n){this._critical=Ue(n)}get critical(){return this._critical}set disabled(n){this._disabled=Ue(n)}get disabled(){return this._disabled}set classNames(n){this._classNames!==n&&(this._classNames=n,this._cdr.markForCheck())}get classNames(){return this._classNames}constructor(n,r,o){this._cdr=n,this._elementRef=r,this._focusMonitor=o,this.size="medium",this.variant="primary",this._critical=!1,this._disabled=!1,this._classNames="",this.active=!1}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef),e2()&&this._classNames?.includes("danger")&&console.warn("The danger property has been removed from the plain button component, Use critical instead")}setTriggerActive(){this.active||(this.active=!0,this._cdr.markForCheck())}setTriggerInactive(){this.active&&(this.active=!1,this._cdr.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["button","nxPlainButton",""]],hostAttrs:[1,"nx-plain-button"],hostVars:10,hostBindings:function(r,o){r&2&&(ye("disabled",o.isDisabled)("aria-disabled",o.isAriaDisabled),Fe("nx-plain-button--danger",o.critical)("nx-plain-button--secondary",o.variant==="secondary")("nx-plain-button--small",o.size==="small")("nx-button--active",o.active))},inputs:{classNames:[0,"nxPlainButton","classNames"],size:"size",variant:"variant",critical:"critical",disabled:"disabled"},features:[Mt([{provide:Uc,useExisting:e}])],attrs:Kee,ngContentSelectors:Zee,decls:6,vars:0,consts:[[1,"nx-plain-button__content-wrapper"],[1,"nx-plain-button__content"]],template:function(r,o){r&1&&(rt(Xee),at(0,"span",0),ke(1),at(2,"span",1),ke(3,1),pt(),ke(4,2),ke(5,3),pt(
20))},styles:[Jee],changeDetection:0});let i=e;return i})(),dr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({});let i=e;return i})();var tte=["closeButton"],CV=["*"];function nte(i,e){if(i&1&&S(0,"nx-icon",1),i&2){let t=M();g("name",t._iconName)}}function ite(i,e){if(i&1){let t=Y();c(0,"button",4,0),I("click",function(){O(t);let r=M();return T(r._emitCloseEvent())}),S(2,"nx-icon",5),d()}if(i&2){let t=M();ye("aria-label",t.closeButtonLabel)}}function rte(i,e){if(i&1&&S(0,"nx-icon",1),i&2){let t=M();g("name",t._iconName)}}function ote(i,e){if(i&1){let t=Y();c(0,"button",4,0),I("click",function(){O(t);let r=M();return T(r._emitCloseEvent())}),S(2,"nx-icon",5),d()}if(i&2){let t=M();ye("aria-label",t.closeButtonLabel)}}var ate="[_nghost-%COMP%]{font-size:var(--message-font-size);line-height:var(--message-line-height);font-weight:var(--message-font-weight);letter-spacing:var(--message-letter-spacing);color:var(--message-text-color);border-radius:var(--message-border-radius);width:100%;display:flex;align-items:flex-start;text-align:left;position:relative;border:1px solid;padding:23px}@media (max-width: 703px){[_nghost-%COMP%]{display:block}}[dir=rtl]   [_nghost-%COMP%]{text-align:right}[_nghost-%COMP%], .context-regular[_nghost-%COMP%]{border-color:var(--message-regular-border-color);background-color:var(--message-regular-background-color)}.context-info[_nghost-%COMP%]{border-color:var(--message-info-border-color);background-color:var(--message-info-background-color)}.context-info[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-info-icon-color)}.context-error[_nghost-%COMP%]{border-color:var(--message-error-border-color);background-color:var(--message-error-background-color)}.context-error[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-error-icon-color)}.context-success[_nghost-%COMP%]{border-color:var(--message-success-border-color);background-color:var(--message-success-background-color)}.context-success[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-success-icon-color)}.context-warning[_nghost-%COMP%]{border-color:var(--message-warning-border-color);background-color:var(--message-warning-background-color)}.context-warning[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-warning-icon-color)}@media screen and (forced-colors: active){.nx-message__icon[_ngcontent-%COMP%]{color:CanvasText}}.nx-message__icon[_ngcontent-%COMP%]{margin-right:16px}@media (max-width: 703px){.nx-message__icon[_ngcontent-%COMP%]{float:left;margin-right:8px}}[dir=rtl][_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{float:right;margin-right:initial;margin-left:16px}@media (max-width: 703px){[dir=rtl][_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{margin-left:8px}}.nx-message--closable[_nghost-%COMP%]{padding-right:47px}[dir=rtl]   .nx-message--closable[_nghost-%COMP%]{padding-right:23px;padding-left:47px}.nx-message__close-icon[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px}[dir=rtl][_nghost-%COMP%]   .nx-message__close-icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-message__close-icon[_ngcontent-%COMP%]{right:auto;left:16px}";function ste(i,e){}function lte(i,e){if(i&1&&m(0),i&2){let t=M();K(" ",t.data.data," ")}}var cte={info:"info-circle",error:"exclamation-triangle",success:"check-circle",warning:"exclamation-circle-warning"},$r=(()=>{let e=class e{get _isInfo(){return this._context==="info"}get _isSuccess(){return this._context==="success"}get _isWarning(){return this._context==="warning"}get _isError(){return this._context==="error"}set context(n){this._updateContext(n)}get context(){return this._context}set closable(n){let r=Ue(n);r!==this._closable&&(this._closable=r,this._cdr.markForCheck())}get closable(){return this._closable}set closeButtonLabel(n){n!==this._closeButtonLabel&&(this._closeButtonLabel=n,this._cdr.markForCheck())}get closeButtonLabel(){return this._closeButtonLabel}get _iconName(){let n=this._allowedContexts.includes(this._context)?this._context:this._allowedContexts[0];return cte[n]}constructor(n,r){this._cdr=n,this._focusMonitor=r,this._allowedContexts=["regular","info","error","warning","success"],this._context="regular",this._closable=!1,this._closeButtonLabel="Close dialog",this.closeEvent=ne
20w X}ngAfterViewInit(){this.closable&&this._focusMonitor.monitor(this._closeButton)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._closeButton)}_emitCloseEvent(){this.closeEvent.emit()}_updateContext(n){n!==this._context&&(this._context=n,this._cdr.markForCheck())}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-message"]],viewQuery:function(r,o){if(r&1&&pe(tte,5),r&2){let a;te(a=ne())&&(o._closeButton=a.first)}},hostVars:10,hostBindings:function(r,o){r&2&&Fe("context-info",o._isInfo)("context-success",o._isSuccess)("context-warning",o._isWarning)("context-error",o._isError)("nx-message--closable",o.closable)},inputs:{context:"context",closable:"closable",closeButtonLabel:"closeButtonLabel"},outputs:{closeEvent:"close"},exportAs:["nxMessage"],ngContentSelectors:CV,decls:4,vars:2,consts:[["closeButton",""],["size","s","aria-hidden","true",1,"nx-message__icon",3,"name"],["nxPlainButton","","tabindex","0","type","button",1,"nx-message__close-icon"],[1,"nx-message__content"],["nxPlainButton","","tabindex","0","type","button",1,"nx-message__close-icon",3,"click"],["name","close","size","s","aria-hidden","true"]],template:function(r,o){r&1&&(rt(),re(0,nte,1,1,"nx-icon",1),re(1,ite,3,1,"button",2),c(2,"div",3),ke(3),d()),r&2&&(oe(o._iconName?0:-1),p(),oe(o.closable?1:-1))},dependencies:[xt,nt,dr,_o],styles:["[_nghost-%COMP%]{font-size:var(--message-font-size);line-height:var(--message-line-height);font-weight:var(--message-font-weight);letter-spacing:var(--message-letter-spacing);color:var(--message-text-color);border-radius:var(--message-border-radius);width:100%;display:flex;align-items:flex-start;text-align:left;position:relative;border:1px solid;padding:23px}@media (max-width: 703px){[_nghost-%COMP%]{display:block}}[dir=rtl]   [_nghost-%COMP%]{text-align:right}[_nghost-%COMP%], .context-regular[_nghost-%COMP%]{border-color:var(--message-regular-border-color);background-color:var(--message-regular-background-color)}.context-info[_nghost-%COMP%]{border-color:var(--message-info-border-color);background-color:var(--message-info-background-color)}.context-info[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-info-icon-color)}.context-error[_nghost-%COMP%]{border-color:var(--message-error-border-color);background-color:var(--message-error-background-color)}.context-error[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-error-icon-color)}.context-success[_nghost-%COMP%]{border-color:var(--message-success-border-color);background-color:var(--message-success-background-color)}.context-success[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-success-icon-color)}.context-warning[_nghost-%COMP%]{border-color:var(--message-warning-border-color);background-color:var(--message-warning-background-color)}.context-warning[_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{color:var(--message-warning-icon-color)}@media screen and (forced-colors: active){.nx-message__icon[_ngcontent-%COMP%]{color:CanvasText}}.nx-message__icon[_ngcontent-%COMP%]{margin-right:16px}@media (max-width: 703px){.nx-message__icon[_ngcontent-%COMP%]{float:left;margin-right:8px}}[dir=rtl][_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{float:right;margin-right:initial;margin-left:16px}@media (max-width: 703px){[dir=rtl][_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-message__icon[_ngcontent-%COMP%]{margin-left:8px}}.nx-message--closable[_nghost-%COMP%]{padding-right:47px}[dir=rtl]   .nx-message--closable[_nghost-%COMP%]{padding-right:23px;padding-left:47px}.nx-message__close-icon[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px}[dir=rtl][_nghost-%COMP%]   .nx-message__close-icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-message__close-icon[_ngcontent-%COMP%]{right:auto;left:16px}"],changeDetection:0});let i=e;return i})(),dte=(()=>{let e=class e extends $r{set context(n){this._updateContext(n)}get context(){return this._context}constructor(n,r){super(n,r),this._context="info",this._closable=!0,this._allowedContexts=["info","error","warning"]}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-message-banner"]],inputs:{context:"context"},exportAs:["nxMessageBanner"],features:[tt],ngContentSelectors:CV,decls:4,vars:2,consts:[["closeButton",""],["size","s","aria-hidden","true",1,"nx-message__icon",3,"name"],["nxPlainButton","","tabindex","0","type","button",1,"nx-message__close-icon"],[1,"nx-message__content"],["nxPlainButton","","tabindex","0","type","button",1,"nx-message__close-icon",3,"click"],["name","close","size","s","aria-hidden","true"]],template:function(r,o){r&1&&(rt(),re(0,rte,1,1,"nx-icon",1),re(1,ote,3,1,"button",2),c(2,"div",3),ke(3),d()),r&2&&(oe(o._iconName?0:-1),p(),oe(o.closable?1:-1))},dependencies:[xt,nt,dr,_o],styles:[ate,"[_nghost-%COMP%]{border-radius:var(--message-banner-border-radius)}"],changeDetection:0});let i=e;return i})(),ute={toastState:go("state",[cr("initial, void, hidden",On({opacity:0,transform:"translateY(100%)"})),cr("visible",On({opacity:1})),$i("* => visible",ji("300ms cubic-bezier(0, 0, 0.2, 1)",On({opacity:1,transform:"translateY(0)"}))),$i("* => hidden",ji("300ms cubic-bezier(0, 0, 0.2, 1)",On({opacity:0,transform:"translateY(200%)"})))])},cM=class{constructor(){this.politeness="polite",this.announcementMessage="",this.duration=3e3,this.context="info",this.data=null}},dM=class{constructor(e){this.data=e}},pte=(()=>{let e=class e extends Pl{constructor(n,r,o,a){super(),this._ngZone=n,this._cdr=r,this.config=o,this.data=a,this._destroyed=!1,this._onExit=new he,this._onEnter=new he,this._animationState="void",this._role=null,this._context=this.config.context,this._setAriaLabels()}attachComponentPortal(n){return this._assertNotAttached(),this._portalOutlet.attachComponentPortal(n)}attachTemplatePortal(n){return this._assertNotAttached(),this._portalOutlet.attachTemplatePortal(n)}onAnimationEnd(n){let{fromState:r,toState:o}=n;
20if((o==="void"&&r!=="void"||o==="hidden")&&this._completeExit(),o==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._cdr.detectChanges(),this._cdr.markForCheck())}exit(){this._animationState="hidden",this._cdr.markForCheck()}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_assertNotAttached(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach message toast content after content is already attached")}_setAriaLabels(){this.config.politeness==="assertive"&&!this.config.announcementMessage?this._role="alert":this.config.politeness==="off"?this._role=null:this._role="status"}};e.\u0275fac=function(r){return new(r||e)(D(Vt),D(Ye),D(cM),D(dM))},e.\u0275cmp=z({type:e,selectors:[["nx-message-toast"]],viewQuery:function(r,o){if(r&1&&pe(Fs,7),r&2){let a;te(a=ne())&&(o._portalOutlet=a.first)}},hostVars:2,hostBindings:function(r,o){r&1&&Qu("@state.done",function(s){return o.onAnimationEnd(s)}),r&2&&(Cc("@state",o._animationState),ye("role",o._role))},features:[tt],decls:3,vars:2,consts:[[3,"context"],["cdkPortalOutlet",""]],template:function(r,o){r&1&&(c(0,"nx-message",0),L(1,ste,0,0,"ng-template",1),re(2,lte,1,1),d()),r&2&&(g("context",o._context),p(2),oe(o.data?2:-1))},dependencies:[$r,Fs],styles:["nx-message[_ngcontent-%COMP%]{box-shadow:var(--message-box-shadow);max-width:352px;margin-bottom:16px}@media (max-width: 703px){nx-message[_ngcontent-%COMP%]{max-width:calc(100vw - 16px)}}"],data:{animation:[ute.toastState]}});let i=e;return i})(),N0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Dr,Xa,$r,pte,dte]});let i=e;return i})(),VLe=2**31-1;var FLe=new Ee("NX_MESSAGE_TOAST_DEFAULT_CONFIG"),RLe=new Ee("NxMessageToastComponentData");var yV=["*"];function fte(i,e){i&1&&S(0,"nx-icon",2),i&2&&g("name","exclamation-triangle")}function mte(i,e){if(i&1&&(re(0,fte,1,1,"nx-icon",2),c(1,"div",3)(2,"div",4),Ei(3,5),d()()),i&2){let t=M(),n=Ct(3);oe(t.showIcon?0:-1),p(2),ye("id",t.id),p(),g("ngTemplateOutlet",n)}}function hte(i,e){if(i&1&&(c(0,"nx-message",1)(1,"div",4),Ei(2,5),d()()),i&2){let t=M(),n=Ct(3);p(),ye("id",t.id),p(),g("ngTemplateOutlet",n)}}function gte(i,e){i&1&&ke(0)}var _te=0;var vte=new Ee("ERROR_DEFAULT_OPTIONS"),jt=(()=>{let e=class e{set showIcon(n){this._showIcon=Ue(n),this._cdr.markForCheck()}get showIcon(){return this._showIcon}set id(n){n&&n!==this._id&&(this._id=n,this._cdr.markForCheck())}get id(){return this._id}set appearance(n){n!==this.appearance&&(this._appearance=n||"message",this._cdr.markForCheck())}get appearance(){return this._appearance||this._defaultOptions?.appearance||"message"}constructor(n,r){this._cdr=n,this._defaultOptions=r,this._showIcon=!0,this._id=`nx-error-${_te++}`,this._destroyed=new he,this._defaultOptions?.changes?.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(vte,8))},e.\u0275cmp=z({type:e,selectors:[["nx-error"]],hostVars:3,hostBindings:function(r,o){r&2&&(ye("role","alert"),Fe("nx-error--message",o.appearance=="message"))},inputs:{showIcon:"showIcon",id:"id",appearance:"appearance"},ngContentSelectors:yV,decls:4,vars:2,consts:[["errorContent",""],["context","error"],["aria-hidden","true",1,"nx-error__icon",3,"name"],[1,"nx-error__content-wrapper"],[1,"nx-error__content"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&(rt(),re(0,mte,4,3),re(1,hte,3,2,"nx-message",1),L(2,gte,1,0,"ng-template",null,0,an)),r&2&&(oe(o.appearance==="text"?0:-1),p(),oe(o.appearance==="message"?1:-1))},dependencies:[xt,nt,Ji,N0,$r],styles:["[_nghost-%COMP%]{font-size:var(--base-error-simple-font-size);line-height:var(--base-error-simple-line-height);font-weight:var(--base-error-simple-font-weight);letter-spacing:var(--base-error-simple-letter-spacing);color:var(--base-error-color);width:100%;display:flex;text-align:left}[_nghost-%COMP%]   .nx-error__icon[_ngcontent-%COMP%]{font-size:var(--base-error-simple-icon-size);line-height:var(--base-error-simple-line-height);margin-right:8px}@media screen and (forced-colors: active){[_nghost-%COMP%]   .nx-error__icon[_ngcontent-%COMP%]{color:CanvasText}}[_nghost-%COMP%]   .nx-error__content-wrapper[_ngcontent-%COMP%]{max-width:100%}[dir=rtl]   [_nghost-%COMP%]{text-align:right}[dir=rtl]   [_nghost-%COMP%]   .nx-error__icon[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}"],changeDetection:0});let i=e;return i})(),Gc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,N0,jt]});let i=e;return i})(),xte=0,bte="large",Cte=new Ee("LABEL_DEFAULT_OPTIONS"),L6=(()=>{let e=class e{set disabled(n){this._disabled=Ue(n),this._stateChanges.next()}get disabled(){return this._disabled}set negative(n){this._negative=Ue(n),this._stateChanges.next()}get negative(){return this._negative}set id(n){this._id=n}get id(){return this._id}set size(n){this._size=n,this._stateChanges.next()}get size(){return this._size||this._defaultOptions?.size||bte}set for(n){this._for=n,this._cdr.markForCheck(),this._stateChanges.next()}get for(){return this._for}constructor(n,r){this._defaultOptions=n,this._cdr=r,this._stateChanges=new he,this._disabled=!1,this._negative=!1,this._id=`nx-label-${xte++}`,this._for=null}};e.\u0275fac=function(r){return new(r||e)(D(Cte,8),D(Ye))},e.\u0275cmp=z({type:e,selectors:[["nx-label"]],hostVars:7,hostBindings:function(r,o){r&2&&(ye("disabled",o.disabled),Fe("nx-label--negative",o.negative)("nx-label--large",o.size==="large")("nx-label--small",o.size==="small"))},inputs:{disabled:"disabled",negative:"negative",id:"id",size:"size",for:"for"},ngContentSelectors:yV,decls:2,vars:2,consts:[[1,"nx-label__content",3,"for","id"]],template:function(r,o){r&1&&(rt(),at(0,"label",0),ke(1),pt()),r&2&&gi("htmlFor",o.for)("id",o.id
20)},styles:["[_nghost-%COMP%]{display:block;color:var(--text-01)}.nx-label--small[_nghost-%COMP%]{font-size:var(--base-label-small-font-size);line-height:var(--base-label-small-line-height);font-weight:var(--base-label-small-font-weight);letter-spacing:var(--base-label-small-letter-spacing)}.nx-label--large[_nghost-%COMP%]{font-size:var(--base-label-large-font-size);line-height:var(--base-label-large-line-height);font-weight:var(--base-label-large-font-weight);letter-spacing:var(--base-label-large-letter-spacing)}[disabled=true][_nghost-%COMP%]   label[_ngcontent-%COMP%]{cursor:not-allowed}.nx-label--negative[_nghost-%COMP%]{color:var(--negative)}"],changeDetection:0});let i=e;return i})(),Ud=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var Wr=class{};var ur=(()=>{let e=class e{isErrorState(n,r){return!!(n?.invalid&&(n.touched||r?.submitted))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function M2(i,e=2,t="0"){if(typeof i!="string"||i.length>=e)return i;for(;i.length<e;)i=t+i;return i}function _n(i,e=[],t={}){let n=[...e];if(typeof i=="string"){let r=yte(i,t);n=[...n,...r]}return n.join(" ").trim()}function yte(i,e={}){let t=[];if(typeof i=="string"){let n=i.split(" "),r=Object.keys(e);t=n.map(o=>r.includes(o)?e[o]:o)}return t}function MV(i,e,t){i&&e&&t&&t.split(" ").forEach(n=>{i.addClass(e.nativeElement,n)})}function H6(i,e,t){i&&e&&t&&t.split(" ").forEach(n=>{i.removeClass(e.nativeElement,n)})}function wV(i,e=0,t=1){return Math.max(e,Math.min(t,i))}function A0(){return Math.random().toString(36)}var B6=function(i){return i[i.BREAKPOINT_XSMALL=0]="BREAKPOINT_XSMALL",i[i.BREAKPOINT_SMALL=320]="BREAKPOINT_SMALL",i[i.BREAKPOINT_MEDIUM=704]="BREAKPOINT_MEDIUM",i[i.BREAKPOINT_LARGE=992]="BREAKPOINT_LARGE",i[i.BREAKPOINT_XLARGE=1280]="BREAKPOINT_XLARGE",i[i.BREAKPOINT_2XLARGE=1472]="BREAKPOINT_2XLARGE",i[i.BREAKPOINT_3XLARGE=1760]="BREAKPOINT_3XLARGE",i}(B6||{}),uM=200,V0=(()=>{let e=class e{constructor(){this._platform=C(ti),this.viewportChange$=this._platform.isBrowser?al(window,"resize").pipe(ct(()=>window.innerWidth)):ar}min(n,r=uM){return this._platform.isBrowser?this.viewportChange$.pipe(ei(window.innerWidth),e3(r,Co,{leading:!0,trailing:!0}),ct(o=>o>=n)):ar}max(n,r=uM){return this._platform.isBrowser?this.viewportChange$.pipe(ei(window.innerWidth),e3(r,Co,{leading:!0,trailing:!0}),ct(o=>o<n)):ar}between(n,r,o=uM){return this._platform.isBrowser?this.viewportChange$.pipe(ei(window.innerWidth),e3(o,Co,{leading:!0,trailing:!0}),ct(a=>a>=n&&a<r)):ar}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Mte=[[["nx-label"]],"*",[["nx-error"]]],wte=["nx-label","*","nx-error"];function Ste(i,e){i&1&&(at(0,"div",1),ke(1,2),pt())}var Pte=["checkboxLabelWrapper"],Ete=["input"],Dte=["*",[["nx-error"]]],Ote=["*","nx-error"];function Tte(i,e){i&1&&S(0,"nx-icon",5)}function Ite(i,e){i&1&&S(0,"div",6)}function kte(i,e){i&1&&(c(0,"div",8),ke(1,1),d())}var SV=0,pM=class{constructor(e,t,n){this.checked=e,this.value=t,this.checkbox=n}},fM=class{constructor(e,t){this.value=e,this.checkboxGroup=t}},Nte=(()=>{let e=class e{set id(n){this._id!==n&&(this._id=n,this._cdr.markForCheck())}get id(){return this._id}set name(n){this._name=n,this._cdr.markForCheck()}get name(){return this._name}set disabled(n){this._disabled=Ue(n),this._label&&(this._label.disabled=this._disabled),this._stateChanges.next()}get disabled(){return this._disabled}set readonly(n){this._readonly=n,this._stateChanges.next()}get readonly(){return this._readonly}set negative(n){this._negative=Ue(n),this._cdr.markForCheck(),this._stateChanges.next()}get negative(){return this._negative}set labelSize(n){this._labelSize=n,this._stateChanges.next()}get labelSize(){return this._labelSize}set required(n){this._required=Ue(n)}get required(){return!!this._required}constructor(n,r,o,a,s){this._cdr=n,this._errorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this.ngControl=s,this.errorState=!1,this._stateChanges=new he,this.selectionChange=new X,this._id=`nx-checkbox-group-${SV++}`,this._name="",this._disabled=!1,this._readonly=!1,this._negative=!1,this._destroyed=new he,this._onChange=()=>{},this._onTouched=()=>{},this.ngControl&&(this.ngControl.valueAccessor=this)}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}ngAfterContentInit(){setTimeout(()=>{this._updateSelectedCheckboxFromValue(!0)}),this._checkboxes.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._value=this._checkboxes.filter(n=>n.checked).map(n=>n.value),this.ngControl&&this.ngControl.control.setValue(this._value),this._updateSelectedCheckboxFromValue()})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stateChanges.complete()}writeValue(n){this._value!==n&&(this._value=n,this._updateSelectedCheckboxFromValue())}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n}_updateSelectedCheckboxFromValue(n=!1){let r=n?!!this._value&&this._value.length:!!this._value;this._checkboxes?.length&&r&&this._checkboxes.map(o=>{o.checked=this._value.includes(o.value)})}change(n){let r=this._checkboxes.filter(o=>o.checked).map(o=>o.value);this._onChange(r),this._onTouched&&this._onTouched(),this.selectionChange.emit(new fM(r,this))}get checkboxes(){return this._checkboxes.toArray()}updateErrorState(){let n=this.errorState,r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(
20o,r);a!==n&&(this.errorState=a,this._cdr.markForCheck())}getLabelledby(){return!this._label?.id&&!this.error?.id?null:[this._label?.id,this.error?.id].join(" ")}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ur),D(tr,8),D(st,8),D(ci,10))},e.\u0275cmp=z({type:e,selectors:[["nx-checkbox-group"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,L6,5),Ft(a,jt,5),Ft(a,Yo,5)),r&2){let s;te(s=ne())&&(o._label=s.first),te(s=ne())&&(o.error=s.first),te(s=ne())&&(o._checkboxes=s)}},hostVars:9,hostBindings:function(r,o){r&1&&I("focus",function(){return o._forwardFocusToInput()}),r&2&&(ye("id",o.id)("required",o.required)("disabled",o.disabled||null)("role","group")("aria-labelledby",o.getLabelledby()),Fe("nx-checkbox-group",!0)("nx-checkbox-group--negative",o.negative))},inputs:{id:"id",name:"name",disabled:"disabled",readonly:[2,"readonly","readonly",$t],negative:"negative",labelSize:"labelSize",required:"required"},outputs:{selectionChange:"selectionChange"},features:[Mt([{provide:Wr,useExisting:Wt(()=>e)}])],ngContentSelectors:wte,decls:6,vars:1,consts:[[1,"nx-checkbox-group__label"],[1,"nx-checkbox-group__errors"],[1,"nx-checkbox-group__controls"]],template:function(r,o){r&1&&(rt(Mte),at(0,"div")(1,"div",0),ke(2),pt(),re(3,Ste,2,0,"div",1),at(4,"div",2),ke(5,1),pt()()),r&2&&(p(3),oe(o.errorState?3:-1))},styles:["[_nghost-%COMP%]     nx-error{margin-bottom:8px}[_nghost-%COMP%]     nx-label{margin-bottom:16px;display:block}.nx-checkbox-group--negative[_nghost-%COMP%]     nx-error, .nx-checkbox-group--negative[_nghost-%COMP%]     nx-label, .nx-checkbox-group--negative[_nghost-%COMP%]     nx-icon.nx-error__icon{color:var(--negative)}"],changeDetection:0});let i=e;return i})(),Yo=(()=>{let e=class e{set id(n){n!==this._id&&(this._id=n,this._cdr.markForCheck())}get id(){return`nx-checkbox-${this._id}`}set name(n){this._name=n}get name(){return this.checkboxGroup?.name||this._name}set disabled(n){let r=Ue(n);r!==this._disabled&&(this._disabled=r,this._cdr.markForCheck())}get disabled(){return this.checkboxGroup?.disabled||this._disabled}set readonly(n){this._readonly=n}get readonly(){return this.checkboxGroup?.readonly||this._readonly}set labelSize(n){this._labelSize=n,this._cdr.markForCheck()}get labelSize(){return this.checkboxGroup?.labelSize||this._labelSize}set negative(n){let r=Ue(n);r!==this._negative&&(this._negative=r,this._cdr.markForCheck())}get negative(){return this.checkboxGroup?.negative||this._negative}set checked(n){let r=Ue(n);r!==this._checked&&(this._indeterminate&&this._setIndeterminate(!1),this._setChecked(r))}get checked(){return this._checked}set indeterminate(n){let r=Ue(n);this._indeterminate!==r&&(this._checked&&this._setChecked(!1),this._setIndeterminate(r)),this._cdr.markForCheck()}get indeterminate(){return this._indeterminate}set required(n){this._required=Ue(n)}get required(){return!!this._required}set value(n){this._value=n,this._cdr.markForCheck()}get value(){return this._value?this._value:this.checked.toString()}get labelHasContent(){return!!this._checkboxLabelWrapper.nativeElement.innerHTML.trim()}labelContentChanged(){this._cdr.detectChanges()}constructor(n,r,o,a,s){this._cdr=n,this._errorStateMatcher=r,this.checkboxGroup=o,this._focusMonitor=a,this.injector=s,this.ariaLabel=null,this.ariaLabelledBy=null,this._id=(SV++).toString(),this._name=null,this._disabled=!1,this._readonly=!1,this._labelSize="small",this._negative=!1,this._checked=!1,this._indeterminate=!1,this._value="",this.indeterminateChange=new X(!1),this.checkedChange=new X(!1),this.checkboxChange=new X,this._destroyed=new he,this.ngControl=null,this._parentForm=null,this._parentFormGroup=null,this.onChangeCallback=l=>{},this.onTouchedCallback=()=>{}}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}validate(n){return this.required&&n.value!==!0?{required:!0}:null}_controlInvalid(){let n=this._parentFormGroup||this._parentForm,r=null;return this.checkboxGroup?.ngControl?r=this.checkboxGroup.ngControl:r=this.ngControl?this.ngControl.control:null,this._errorStateMatcher.isErrorState(r,n)}ngOnInit(){this.ngControl=this.injector.get(ci,null),this._parentForm=this.injector.get(tr,null),this._parentFormGroup=this.injector.get(st,null),this.checkboxGroup&&(this.name=this.checkboxGroup.name,this.checkboxGroup._stateChanges.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()}))}ngAfterViewInit(){this._focusMonitor.monitor(this._nativeInput)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._nativeInput)}_setIndeterminate(n){this._indeterminate=n,this.indeterminateChange.emit(this._indeterminate),this._cdr.markForCheck()}_setChecked(n){this._checked=n,this._cdr.markForCheck()}toggle(){this.checked=!this.checked,this.onChangeCallback(this.checked),this.checkboxGroup!==null&&this.checkboxGroup.change(this)}writeValue(n){n===null&&(n=!1),n!==this.checked&&(this.checked=n)}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}setDisabledState(n){this.disabled=n}focus(n){this._focusMonitor.focusVia(this._nativeInput,n)}_forwardFocusToInput(){this._nativeInput.nativeElement.focus()}touch(){this.onTouchedCallback()}_onInputClick(n){if(n.stopPropagation(),this.disabled||this.readonly){n.preventDefault();return}this.toggle(),this.checkedChange.emit(this._checked),this.checkboxChange.emit(this._createChangeEvent(this._checked))}_createChangeEvent(n){return new pM(n,this.value,this)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ur),D(Nte,8),D(Kt),D(Nt))},e.\u0275cmp=z({type:e,selectors:[["nx-checkbox"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,jt,5),r&2){let s;
20te(s=ne())&&(o.error=s.first)}},viewQuery:function(r,o){if(r&1&&(pe(Pte,7),pe(Ete,5)),r&2){let a;te(a=ne())&&(o._checkboxLabelWrapper=a.first),te(a=ne())&&(o._nativeInput=a.first)}},hostVars:18,hostBindings:function(r,o){r&2&&(ye("required",o.required)("aria-invalid",o._controlInvalid()||null),Fe("nx-checkbox",!0)("disabled",o.disabled)("nx-checkbox--label-large",o.labelSize==="large")("nx-checkbox--label-small",o.labelSize==="small")("nx-checkbox--negative",o.negative)("has-error",o._controlInvalid()||null)("is-readonly",(o.checkboxGroup==null?null:o.checkboxGroup.readonly)||o.readonly)("can-hover",!o.readonly&&!o.disabled&&!o.negative))},inputs:{ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",id:"id",name:"name",disabled:"disabled",readonly:[2,"readonly","readonly",$t],labelSize:"labelSize",negative:"negative",checked:"checked",indeterminate:"indeterminate",required:"required",value:"value"},outputs:{indeterminateChange:"indeterminateChange",checkedChange:"checkedChange",checkboxChange:"checkboxChange"},features:[Mt([{provide:Fi,useExisting:Wt(()=>e),multi:!0},{provide:Bi,useExisting:Wt(()=>e),multi:!0},{provide:Wr,useExisting:Wt(()=>e)}])],ngContentSelectors:Ote,decls:10,vars:19,consts:[["input",""],["checkboxLabelWrapper",""],["type","checkbox",1,"nx-checkbox__input",3,"blur","click","id","name","checked","indeterminate","disabled","value"],[1,"nx-checkbox__label",3,"id"],[1,"nx-checkbox__control"],["name","check","aria-hidden","true"],[1,"nx-checkbox__indeterminate-indicator"],[1,"nx-checkbox__label-text",3,"cdkObserveContent"],[1,"nx-margin-top-xs"]],template:function(r,o){if(r&1){let a=Y();rt(Dte),c(0,"input",2,0),I("blur",function(){return O(a),T(o.touch())})("click",function(l){return O(a),T(o._onInputClick(l))}),d(),c(2,"label",3)(3,"span",4),re(4,Tte,1,0,"nx-icon",5),re(5,Ite,1,0,"div",6),d(),c(6,"div",7,1),I("cdkObserveContent",function(){return O(a),T(o.labelContentChanged())}),ke(8),d()(),re(9,kte,2,0,"div",8)}r&2&&(Fe("is-readonly",o.readonly),g("id",o.id)("name",o.name)("checked",o.checked)("indeterminate",o.indeterminate)("disabled",o.disabled)("value",o.value),ye("aria-labelledby",o.ariaLabelledBy)("aria-label",o.ariaLabel)("aria-describedby",(o.error==null?null:o.error.id)||null)("aria-disabled",o.readonly||null),p(2),Fe("has-label",o.labelHasContent),g("id",o.id+"-label"),ye("for",o.id),p(2),oe(o.checked?4:-1),p(),oe(o.indeterminate?5:-1),p(4),oe(o._controlInvalid()&&!o.checkboxGroup?9:-1))},dependencies:[xt,nt,Rd],styles:["[_nghost-%COMP%]{display:block;position:relative}.nx-checkbox__input[_ngcontent-%COMP%]{opacity:0;position:absolute}.nx-checkbox__label[_ngcontent-%COMP%]{font-size:var(--checkbox-small-label-font-size);line-height:var(--checkbox-small-label-line-height);font-weight:var(--checkbox-small-label-font-weight);letter-spacing:var(--checkbox-small-label-letter-spacing);color:var(--checkbox-label-color);cursor:pointer;display:inline-flex;vertical-align:middle}.has-error[_nghost-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:var(--danger)}.has-error[_nghost-%COMP%]:has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]:has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--danger);border-color:var(--danger)}.has-error.can-hover[_nghost-%COMP%]:hover   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:var(--danger-hover)}.has-error.can-hover[_nghost-%COMP%]:hover:has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], .has-error.can-hover[_nghost-%COMP%]:hover:has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--danger-hover);border-color:var(--danger-hover)}.has-error.can-hover[_nghost-%COMP%]:hover:not(:has(input:checked)):not(:has(.nx-checkbox__indeterminate-indicator))   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-unselected-hover-background-color)}.has-error.can-hover[_nghost-%COMP%]:has(input:active)   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:var(--danger-active)}.has-error.can-hover[_nghost-%COMP%]:has(input:active):has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], .has-error.can-hover[_nghost-%COMP%]:has(input:active):has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--danger-active);border-color:var(--danger-active)}.nx-checkbox--label-large[_nghost-%COMP%]   .nx-checkbox__label[_ngcontent-%COMP%]{font-size:var(--checkbox-large-label-font-size);line-height:var(--checkbox-large-label-line-height);
20font-weight:var(--checkbox-large-label-font-weight);letter-spacing:var(--checkbox-large-label-letter-spacing)}.nx-checkbox--label-large[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%]{margin-top:var(--checkbox-large-label-text-margin-top)}.nx-checkbox--label-large[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{margin-top:var(--checkbox-large-label-control-margin-top)}.nx-checkbox--label-large[_nghost-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%]{margin-left:var(--checkbox-large-label-text-margin-left)}[dir=rtl]   .nx-checkbox--label-large[_nghost-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%]{margin-left:initial;margin-right:var(--checkbox-large-label-text-margin-left)}.nx-checkbox--label-small[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%]{margin-top:var(--checkbox-small-label-text-margin-top)}.nx-checkbox--label-small[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{margin-top:var(--checkbox-small-label-control-margin-top)}.nx-checkbox__label-text[_ngcontent-%COMP%]{padding:0;margin-left:var(--checkbox-small-label-text-margin-left)}.nx-checkbox__label-text[_ngcontent-%COMP%]:empty{display:none}[dir=rtl][_nghost-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%]{margin-left:initial;margin-right:var(--checkbox-small-label-text-margin-left)}.nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-background-color);border-style:solid;border-width:var(--checkbox-border-width);border-color:var(--checkbox-border-color);border-radius:var(--checkbox-border-radius);color:var(--checkbox-icon-color);font-size:var(--checkbox-icon-size);height:var(--checkbox-control-size);width:var(--checkbox-control-size);min-width:var(--checkbox-control-size);display:flex;justify-content:center;align-items:center;z-index:0;cursor:pointer;transition:var(--checkbox-transition)}.nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:var(--checkbox-icon-color);box-sizing:content-box;height:0;width:8px;border:1px solid;border-radius:2px}[_nghost-%COMP%]:has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], [_nghost-%COMP%]:has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}[_nghost-%COMP%]:has(input:checked):has(input:disabled)   .nx-checkbox__control[_ngcontent-%COMP%], [_nghost-%COMP%]:has(.nx-checkbox__indeterminate-indicator):has(input:disabled)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-disabled-selected-background-color);border-color:var(--checkbox-disabled-selected-border-color)}[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-disabled-background-color);border-color:var(--checkbox-disabled-border-color);color:var(--checkbox-disabled-icon-color);cursor:not-allowed}[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__label[_ngcontent-%COMP%]{color:var(--checkbox-label-disabled-color);cursor:not-allowed}[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:var(--checkbox-disabled-icon-color)}.is-readonly[_nghost-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-readonly-background-color);border-color:var(--checkbox-readonly-border-color);color:var(--checkbox-readonly-icon-color)}.is-readonly[_nghost-%COMP%]   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{border-color:var(--checkbox-readonly-icon-color)}.is-readonly[_nghost-%COMP%]:has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], .is-readonly[_nghost-%COMP%]:has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-readonly-selected-background-color);border-color:var(--checkbox-readonly-selected-border-color)}.can-hover[_nghost-%COMP%]:hover:not(.has-error)   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:var(--checkbox-hover-border-color)}.can-hover[_nghost-%COMP%]:hover:not(.has-error):has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], .can-hover[_nghost-%COMP%]:hover:not(.has-error):has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-selected-hover-background-color)}.can-hover[_nghost-%COMP%]:hover:not(.has-error):not(:has(input:checked)):not(:has(.nx-checkbox__indeterminate-indicator))   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-unselected-hover-background-color)}.can-hover[_nghost-%COMP%]:has(input:active):not(.has-error)   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:var(--checkbox-active-border-color)}.can-hover[_nghost-%COMP%]:has(input:active):not(.has-error):has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%], .can-hover[_nghost-%COMP%]:has(input:active):not(.has-error):has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-active-background-color)}.can-hover[_nghost-%COMP%]:has(input:active):not(.has-error):not(:has(input:checked)):not(:has(.nx-checkbox__indeterminate-indicator))   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-unselected-active-background-color)}.nx-checkbox--negative[_nghost-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:var(--negative);background-color:transparent}.nx-checkbox--negative[_nghost-%COMP%]   .nx-checkbox__label[_ngcontent-%COMP%]{color:var(--negative)}.nx-checkbox--negative[_nghost-%COMP%]:has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%]{color:var(--negative-accent);background-color:var(--negative);border-color:var(--negative)}.nx-checkbox--negative[_nghost-%COMP%]:has(input:checked):has(input:disabled)   .nx-checkbox__control[_ngcontent-%COMP%]{color:var(--negative-dimmed);border-color:transparent;background-color:var(--negative-02-dimmed)}.nx-checkbox--negative[_nghost-%COMP%]   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:var(--negative);background-color:var(--negative)}.nx-checkbox--negative[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__label[_ngcontent-%COMP%]{color:var(--negative-dimmed)}.nx-checkbox--negative[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-disabled-negative-background-color);border-color:var(--negative-01-dimmed)}.nx-checkbox--negative[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:var(--negative-01-dimmed);background-color:var(--negative-01-dimmed)}[_nghost-%COMP%]:has(.cdk-keyboard-focused)   .nx-checkbox__control[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
20dow)}@media screen and (forced-colors: active),(forced-colors: active){[_nghost-%COMP%]:has(.cdk-keyboard-focused)   .nx-checkbox__control[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){[_nghost-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{forced-color-adjust:none;border-color:buttonText!important;background-color:buttonFace!important}[_nghost-%COMP%]   .nx-checkbox__label-text[_ngcontent-%COMP%]{color:buttonText!important}[_nghost-%COMP%]:has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:highlight!important;border-color:highlight!important;color:highlightText!important;forced-color-adjust:none}[_nghost-%COMP%]:not(:has(input:disabled)):has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:highlight!important;border-color:highlight!important}[_nghost-%COMP%]:not(:has(input:disabled)):has(.nx-checkbox__indeterminate-indicator)   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:window!important;border-color:window!important}[_nghost-%COMP%]   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:buttonText!important}[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__control[_ngcontent-%COMP%]{border-color:GrayText!important;color:GrayText!important}[_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__label-text[_ngcontent-%COMP%], [_nghost-%COMP%]:has(input:disabled)   .nx-checkbox__indeterminate-indicator[_ngcontent-%COMP%]{color:GrayText!important}[_nghost-%COMP%]:has(input:disabled):has(input:checked)   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:buttonFace!important;border-color:GrayText!important;color:GrayText!important}}"],changeDetection:0});let i=e;return i})(),$c=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Dl,Yo,Ud,Gc]});let i=e;return i})();var Ate=["*",[["","nxHighlightHeader",""]]],Vte=["*","[nxHighlightHeader]"];function Fte(i,e){i&1&&(at(0,"div",0),ke(1,1),pt())}var Rte=["*",[["nx-error"]]],zte=["*","nx-error"];function Lte(i,e){i&1&&ke(0,1)}var Hte=["input"],Bte=[[["nx-card-header"]],"*",[["nx-card-footer"]],[["","nxHighlightHeader",""]],[["nx-error"]]],jte=["nx-card-header","*","nx-card-footer","[nxHighlightHeader]","nx-error"],qte=i=>["indicator-element",i];function Ute(i,e){i&1&&(c(0,"div",3),ke(1,3),d())}function Gte(i,e){i&1&&Ei(0)}function $te(i,e){i&1&&ke(0,4)}function Wte(i,e){i&1&&S(0,"nx-icon",7)}function Yte(i,e){i&1&&S(0,"div",8)}function Qte(i,e){if(i&1&&(c(0,"span"),re(1,Wte,1,0,"nx-icon",7),re(2,Yte,1,0,"div",8),d()),i&2){let t=M();Gi(Lt(4,qte,t.inputType)),p(),oe(t.checked&&t.inputType==="checkbox"?1:-1),p(),oe(t.checked&&t.inputType==="radio"?2:-1)}}var j6=(()=>{let e=class e{constructor(n,r,o){this._elementRef=n,this._focusMonitor=r,this._cdr=o,this._highlight=!1,this.clickable=!1,this.disabled=!1}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}set highlight(n){let r=Ue(n);r!==this._highlight&&(this._highlight=r,this._cdr.markForCheck())}get highlight(){return this._highlight}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Kt),D(Ye))},e.\u0275cmp=z({type:e,selectors:[["nx-card"]],hostAttrs:[1,"nx-card"],hostVars:6,hostBindings:function(r,o){r&2&&Fe("is-highlight",o.highlight)("is-clickable",o.clickable)("is-disabled",o.disabled)},inputs:{highlight:"highlight",clickable:[2,"clickable","clickable",$t],disabled:[2,"disabled","disabled",$t]},ngContentSelectors:Vte,decls:3,vars:1,consts:[[1,"nx-card-highlight"],[1,"nx-card-inner"]],template:function(r,o){r&1&&(rt(Ate),re(0,Fte,2,0,"div",0),at(1,"div",1),ke(2),pt()),r&2&&oe(o.highlight?0:-1)},styles:['[_nghost-%COMP%]{background:var(--card-background-color);border-color:var(--card-border-color);border-width:var(--card-border-width);border-style:solid;border-radius:var(--card-border-radius);box-shadow:none;display:inline-block;transition:background-color .2s ease,box-shadow .2s ease}[_nghost-%COMP%]   .nx-card-inner[_ngcontent-%COMP%]{padding:23px}[_nghost-%COMP%]:hover, [_nghost-%COMP%]:focus{outline:none}.is-clickable[_nghost-%COMP%]{position:relative}.is-clickable[_nghost-%COMP%]:not(.is-disabled):hover{background-color:var(--cl
20ickable-card-hover-background-color);border-color:var(--clickable-card-hover-border-color)}.is-clickable[_nghost-%COMP%]:not(.is-disabled):active{background-color:var(--clickable-card-active-background-color);border-color:var(--clickable-card-active-border-color)}.is-clickable[_nghost-%COMP%]:not(.is-disabled):focus-within:has(.nx-card-main-link:focus){box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.is-clickable[_nghost-%COMP%]:not(.is-disabled):focus-within:has(.nx-card-main-link:focus){box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.is-disabled[_nghost-%COMP%]{border-color:var(--clickable-card-disabled-border-color);pointer-events:none}[_nghost-%COMP%]     .nx-card-main-link:after{position:absolute;inset:0;content:" "}[_nghost-%COMP%]     .nx-card-secondary-info{position:relative;z-index:2}.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-card-highlight[_ngcontent-%COMP%]{padding:0 23px;border-radius:var(--selectable-card-border-radius) var(--selectable-card-border-radius) 0 0;background:var(--card-highlight-background-color);color:var(--card-highlight-text-color);line-height:28px;font-size:14px;text-align:center}.is-expert[_ngcontent-%COMP%]   .nx-card-highlight[_ngcontent-%COMP%]{text-align:left}'],changeDetection:0});let i=e;return i})();var mM=class{constructor(e,t,n){this.checked=e,this.value=t,this.card=n}},Kte=0,Xte=new Ee("SELECTABLE_CARD_DEFAULT_OPTIONS"),Zte=(()=>{let e=class e{ngAfterContentInit(){setTimeout(()=>{this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton()})}change(n){this.value=n,this._onChange(n)}set value(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}get value(){return this._value}constructor(n,r,o,a,s){this._cdr=n,this.ngControl=r,this._parentForm=o,this._parentFormGroup=a,this._errorStateMatcher=s,this._selected=null,this.errorState=!1,this._value=null,this._onChange=()=>{},this._onTouched=()=>{},this.ngControl&&(this.ngControl.valueAccessor=this)}writeValue(n){this.value=n}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}_updateSelectedRadioFromValue(){this._cards!=null&&(this._selected=null,this._cards.forEach(n=>{n.checked=this.value===n.value,n.checked&&(this._selected=n)}))}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}ngDoCheck(){this.ngControl&&this.updateErrorState()}updateErrorState(){let n=this.errorState,r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(o,r);a!==n&&(this.errorState=a,this._cards.forEach(s=>{s._errorState=a}),this._cdr.markForCheck())}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ci,10),D(tr,8),D(st,8),D(ur))},e.\u0275cmp=z({type:e,selectors:[["nx-selectable-card-group"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,PV,5),r&2){let s;te(s=ne())&&(o._cards=s)}},hostAttrs:["role","radiogroup"],hostVars:4,hostBindings:function(r,o){r&2&&(ye("id",o.id)("aria-labelledby",(o._label==null?null:o._label.id)||null),Fe("has-error",o.errorState))},inputs:{value:"value"},ngContentSelectors:zte,decls:2,vars:1,template:function(r,o){r&1&&(rt(Rte),ke(0),re(1,Lte,1,0)),r&2&&(p(),oe(o.errorState?1:-1))},encapsulation:2,changeDetection:0});let i=e;return i})(),PV=(()=>{let e=class e{set appearance(n){n!==this.appearance&&(this._appearance=n,this._cdr.markForCheck())}get appearance(){return this._appearance||this._defaultOptions?.appearance||"default"}set id(n){n!==this._id&&(this._id=n,this._cdr.markForCheck())}get id(){return this._id}set checked(n){let r=Ue(n);r!==this._checked&&(this._checked=r,this._cdr.markForCheck())}get checked(){return this._checked}set value(n){n&&(this._value=n),this._cdr.markForCheck()}get value(){return this._value}set disabled(n){let r=Ue(n);r!==this._disabled&&(this._disabled=r,this._cdr.markForCheck())}get disabled(){return this._disabled}set negative(n){let r=Ue(n);r!==this._negative&&(this._negative=r,this._cdr.markForCheck())}get negative(){return this._negative}set required(n){this._required=Ue(n)}get required(){return!!this._required}set name(n){this._name=n}get name(){return this._name}set tabindex(n){this._tabindex=n}get tabindex(){return this.disabled?"-1":this._tabindex}set highlight(n){let r=Ue(n);r!==this._highlight&&(this._highlight=r,this._cdr.markForCheck())}get highlight(){return this._highlight}get _isExpert(){return this.appearance==="expert"}constructor(n,r,o,a,s,l,u,h){this._cdr=n,this._errorStateMatcher=r,this.ngControl=o,this._parentForm=a,this._parentFormGroup=s,this._focusMonitor=l,this._defaultOptions=u,this.cardGroup=h,this._errorListIds="",this.inputType="checkbox",this._errorState=!1,this.selectionChange=new X,this.checkedChange=new X,this._id=`nx-selectable-card-${Kte++}`,this._checked=!1,this._value="",this._disabled=!1,this._negative=!1,this._name="",this._tabindex="0",this._highlight=!1,this._destroyed=new he,this.onChangeCallback=_=>{},this.onTouchedCallback=_=>{},this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterViewInit(){this._focusMonitor.monitor(this._nativeInput)}ngAfterContentInit(){this._errorList.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._errorListIds=this._getErrorListIds(),this._cdr.markForCheck()}),this._errorListIds=this._getErrorListIds(),this.cardGroup&&(this.inputType="radio")}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._nativeInput)}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}setDisabledState(n){this.disabled=n}writeValue(n){this.checked=!!n}ngDoCheck(){this.ngControl&&this._updateErrorState()}_updateErrorState(){let n=this._errorState,r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(
20o,r);a!==n&&(this._errorState=a,this._cdr.markForCheck())}toggle(){this.disabled||(this.cardGroup?this.checked=!0:this.checked=!this.checked)}_onInputClick(n){n.stopPropagation(),this.disabled||(this.toggle(),this._emitChangeEvent())}_onInteractionEvent(n){n.stopPropagation()}_emitChangeEvent(){let n=new mM(this.checked,this.value,this);this.onChangeCallback(this.checked),this.selectionChange.emit(n),this.checkedChange.emit(this.checked),this.cardGroup?.change(this.value)}_getErrorListIds(){return this._errorList.map(n=>n.id).join(" ")}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ur),D(ci,10),D(tr,8),D(st,8),D(Kt),D(Xte,8),D(Zte,8))},e.\u0275cmp=z({type:e,selectors:[["nx-selectable-card"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,jt,4),r&2){let s;te(s=ne())&&(o._errorList=s)}},viewQuery:function(r,o){if(r&1&&pe(Hte,5),r&2){let a;te(a=ne())&&(o._nativeInput=a.first)}},hostVars:8,hostBindings:function(r,o){r&2&&Fe("is-disabled",o.disabled)("has-error",o._errorState)("is-highlight",o.highlight)("is-expert",o._isExpert)},inputs:{appearance:"appearance",id:"id",checked:"checked",value:"value",disabled:"disabled",negative:"negative",required:"required",name:"name",tabindex:"tabindex",highlight:"highlight"},outputs:{selectionChange:"selectionChange",checkedChange:"checkedChange"},ngContentSelectors:jte,decls:13,vars:15,consts:[["input",""],["indicatorElement",""],[3,"change","blur","click","type","checked","value","required"],[1,"nx-card-highlight"],[1,"nx-card-inner"],[4,"ngTemplateOutlet"],[1,"content"],["name","check","aria-hidden","true"],[1,"check-dot"]],template:function(r,o){if(r&1){let a=Y();rt(Bte),c(0,"input",2,0),I("change",function(l){return O(a),T(o._onInteractionEvent(l))})("blur",function(l){return O(a),T(o.onTouchedCallback(l))})("click",function(l){return O(a),T(o._onInputClick(l))}),d(),c(2,"label"),re(3,Ute,2,0,"div",3),c(4,"div",4),L(5,Gte,1,0,"ng-container",5),c(6,"div",6),ke(7),ke(8,1),ke(9,2),d()()(),re(10,$te,1,0),L(11,Qte,3,6,"ng-template",null,1,an)}if(r&2){let a=Ct(12);g("type",o.inputType)("checked",o.checked)("value",o.value||null)("required",o.required),ye("disabled",o.disabled||null)("id",o.id)("name",o.name)("aria-required",o.required)("tabindex",o.tabindex)("aria-invalid",o._errorState)("aria-describedby",o._errorListIds||null),p(2),ye("for",o.id),p(),oe(o.highlight?3:-1),p(2),g("ngTemplateOutlet",a),p(5),oe(o._errorState?10:-1)}},dependencies:[Ji,xt,nt],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     nx-error{margin-top:8px}[_nghost-%COMP%]     nx-error.nx-error--message{margin-top:12px}  nx-card-footer,   nx-card-content,   nx-card-header{display:block}.indicator-element[_ngcontent-%COMP%]{float:left;color:var(--checkbox-icon-color);font-size:var(--checkbox-icon-size);height:var(--checkbox-control-size);width:var(--checkbox-control-size);min-width:var(--checkbox-control-size);display:flex;justify-content:center;align-items:center;z-index:0}[dir=rtl][_nghost-%COMP%]   .indicator-element[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .indicator-element[_ngcontent-%COMP%]{float:right}.checkbox[_ngcontent-%COMP%]{background-color:var(--checkbox-background-color);border-style:solid;border-width:var(--checkbox-border-width);border-color:var(--checkbox-border-color);border-radius:var(--checkbox-border-radius)}.radio[_ngcontent-%COMP%]{border-style:solid;border-width:2px;border-color:var(--radio-button-circle-color);border-radius:50%}.check-dot[_ngcontent-%COMP%]{width:var(--radio-button-dot-size);height:var(--radio-button-dot-size);border-radius:50%;transition:background-color .2s ease;background-color:var(--radio-button-selected-dot-color)}[_nghost-%COMP%]:not(.is-expert)   .content[_ngcontent-%COMP%]{display:flow-root;padding-left:16px}[dir=rtl]   [_nghost-%COMP%]:not(.is-expert)   .content[_ngcontent-%COMP%]{padding-left:0;padding-right:16px}@media (max-width: 703px){[_nghost-%COMP%]:not(.is-expert)   .content[_ngcontent-%COMP%]{padding-left:8px}[dir=rtl]   [_nghost-%COMP%]:not(.is-expert)   .content[_ngcontent-%COMP%]{padding-right:8px}}[_nghost-%COMP%]:not(.is-expert)   input[_ngcontent-%COMP%]:not(:disabled) + label[_ngcontent-%COMP%]:hover   .checkbox[_ngcontent-%COMP%]{border-color:var(--selectable-card-checkbox-border-hover-color)}[_nghost-%COMP%]:not(.is-expert)   input[_ngcontent-%COMP%]:not(:disabled) + label[_ngcontent-%COMP%]:hover   .radio[_ngcontent-%COMP%]{border-color:var(--selectable-card-radio-border-hover-color)}[_nghost-%COMP%]:not(.is-expert)   input[_ngcontent-%COMP%]:not(:disabled):checked + label[_ngcontent-%COMP%]:hover   .checkbox[_ngcontent-%COMP%]{background-color:var(--selectable-card-checkbox-selected-background-hover-color);border-color:var(--selectable-card-checkbox-selected-border-hover-color)}[_nghost-%COMP%]:not(.is-expert)   input[_ngcontent-%COMP%]:not(:disabled):checked + label[_ngcontent-%COMP%]:hover   .radio[_ngcontent-%COMP%]{border-color:var(--selectable-card-radio-border-hover-color)}[_nghost-%COMP%]:not(.is-expert).has-error   input[_ngcontent-%COMP%]:not(:disabled) + label[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{border-color:var(--selectable-card-checkbox-error-border-color)}[_nghost-%COMP%]:not(.is-expert).has-error   input[_ngcontent-%COMP%]:not(:disabled) + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]{border-color:var(--selectable-card-radio-error-border-color)}[_nghost-%COMP%]:not(.is-expert).has-error   input[_ngcontent-%COMP%]:not(:disabled):checked + label[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{background-color:var(--selectable-card-checkbox-error-background-color);border-color:var(--selectable-card-checkbox-error-border-color)}[_nghost-%COMP%]:not(.is-expert).has-error   input[_ngcontent-%COMP%]:not(:disabled):checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]{border-color:var(--selectable-card-radio-error-border-color)}[_nghost-%COMP%]:not(.is-expert).has-error   input[_ngcontent-%COMP%]:not(:disabled):checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]   .check-dot[_ngcontent-%COMP%]{background-color:var(--selectable-card-radio-error-dot-color)}.is-expert[_nghost-%COMP%]   label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-expert-background-hover-color)}.is-expert[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background:var(--selectable-card-expert-background-selected-color)}.is-expert[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-expert-background-selected-hover-color)}.is-expert[_nghost-%COMP%]   .indicator-element[_ngcontent-%COMP%]{float:right;position:relative}[dir=rtl]   .is-expert[_nghost-%COMP%]   .indicator-element[_ngcontent-%COMP%]{float:left}input[_ngcontent-%COMP%]{position:absolute;height:0;width:0;overflow:hidden;opacity:0}
20input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background:var(--selectable-card-background-selected-color);border-color:var(--selectable-card-border-selected-color)}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-background-selected-hover-color)}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]{background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}label[_ngcontent-%COMP%]{border:var(--selectable-card-border-width) solid var(--selectable-card-border-color);display:block;position:relative;cursor:pointer;width:100%;min-height:56px;border-radius:var(--selectable-card-border-radius);background:var(--selectable-card-background-color)}label[_ngcontent-%COMP%]   .nx-card-inner[_ngcontent-%COMP%]{padding:16px}label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-background-hover-color);border-color:var(--selectable-card-border-hover-color)}.nx-card-highlight[_ngcontent-%COMP%]{padding:0 16px;border-radius:var(--selectable-card-border-radius) var(--selectable-card-border-radius) 0 0;background:var(--card-highlight-background-color);color:var(--card-highlight-text-color);line-height:28px;font-size:14px}@media (hover: none){label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-background-color);border-color:var(--selectable-card-border-color)}input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-background-selected-color)}}.is-disabled[_nghost-%COMP%]   label[_ngcontent-%COMP%]{border-color:var(--selectable-card-border-disabled-color);cursor:not-allowed}.is-disabled[_nghost-%COMP%]   .nx-card-highlight[_ngcontent-%COMP%]{opacity:40%}.is-disabled[_nghost-%COMP%]   label[_ngcontent-%COMP%]:hover{background:var(--selectable-card-background-disabled-color)}.is-disabled[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background:var(--selectable-card-background-disabled-selected-color);border-color:var(--selectable-card-border-disabled-selected-color)}.is-disabled[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .indicator-element[_ngcontent-%COMP%]{border-color:var(--checkbox-disabled-border-color)}.is-disabled[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{background-color:var(--checkbox-disabled-selected-background-color);color:var(--checkbox-disabled-icon-color)}.is-disabled[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]{background-color:var(--radio-button-disabled-selected-background-color);color:var(--radio-button-disabled-text-color)}.is-disabled.is-expert[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{background:var(--selectable-card-expert-background-disabled-selected-color)}.is-disabled[_nghost-%COMP%]   .checkbox[_ngcontent-%COMP%]{background-color:var(--checkbox-disabled-background-color);border-color:var(--checkbox-disabled-border-color);color:var(--checkbox-disabled-icon-color)}.is-disabled[_nghost-%COMP%]   .radio[_ngcontent-%COMP%]{cursor:not-allowed;color:var(--radio-button-disabled-text-color);border-color:var(--radio-button-disabled-border-color)}.is-disabled[_nghost-%COMP%]   .check-dot[_ngcontent-%COMP%]{border-color:var(--radio-button-disabled-border-color);background-color:var(--radio-button-disabled-selected-dot-color)}.has-error[_nghost-%COMP%]   label[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   label[_ngcontent-%COMP%]:hover, .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover{border-color:var(--selectable-card-border-error-color)}input.cdk-keyboard-focused[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
20dow)}@media screen and (forced-colors: active),(forced-colors: active){input.cdk-keyboard-focused[_ngcontent-%COMP%] + label[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){[_nghost-%COMP%]   label[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]:hover, .has-error[_nghost-%COMP%]   label[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   label[_ngcontent-%COMP%]:hover{border-color:buttonText}[_nghost-%COMP%]   .radio[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   .radio[_ngcontent-%COMP%]{border-color:buttonText!important}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], [_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover, .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover{border-width:3px;border-color:highlight}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .nx-card-inner[_ngcontent-%COMP%], [_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover   .nx-card-inner[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .nx-card-inner[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover   .nx-card-inner[_ngcontent-%COMP%]{padding:14px}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%], [_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover   .radio[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover   .radio[_ngcontent-%COMP%]{border-color:highlight!important}[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]   .check-dot[_ngcontent-%COMP%], [_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover   .radio[_ngcontent-%COMP%]   .check-dot[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]   .radio[_ngcontent-%COMP%]   .check-dot[_ngcontent-%COMP%], .has-error[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:hover   .radio[_ngcontent-%COMP%]   .check-dot[_ngcontent-%COMP%]{background-color:highlight}.is-disabled[_nghost-%COMP%]   label[_ngcontent-%COMP%], .is-disabled[_nghost-%COMP%]   input[_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{border-color:GrayText;color:GrayText}.is-disabled[_nghost-%COMP%]   .radio[_ngcontent-%COMP%]{border-color:GrayText!important}.is-disabled[_nghost-%COMP%]   .radio[_ngcontent-%COMP%]   .check-dot[_ngcontent-%COMP%]{background-color:GrayText!important}}"],changeDetection:0});let i=e;return i})(),hM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Gc,$c,PV,Gc]});let i=e;return i})();var eBe=new Ee("DATA_DISPLAY_DEFAULT_OPTIONS");var gM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var Jte={tooltipState:go("state",[cr("initial, void, hidden",On({opacity:0})),cr("visible",On({opacity:1})),$i("* => visible",ji("70ms cubic-bezier(0, 0, 0.2, 1)",On({opacity:1}))),$i("* => hidden",ji("70ms cubic-bezier(0, 0, 0.2, 1)",On({opacity:0})))])},ene=(()=>{let e=class e{set message(n){this._message=n,this._cdr.markForCheck()}get message(){return this._message}get visibility(){return this._visibility}set position(n){this._position=n,this._cdr.markForCheck()}get position(){return this._position}set arrowStyle(n){this._arrowStyle=n,this._cdr.markForCheck()}get arrowStyle(){return this._arrowStyle}get arrowClass(){return`nx-tooltip__arrow--${this.position}`}constructor(n,r){this._cdr=n,this.elementRef=r,this._liveAnnouncer=C(Ja),this._showTimeoutId=null,this._hideTimeoutId=null,this._visibility="initial",this._position="bottom",this._arrowStyle={},this._closeOnInteraction=!1,this._onHide=new he}show(n){this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._showTimeoutId=window.setTimeout(()=>{this._visibility="visible",this._showTimeoutId=null,this._liveAnnouncer.announce(this.message),this._cdr.markForCheck()},n)}hide(n){this._hideTimeoutId||(this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=window.setTimeout(()=>{this._visibility="hidden",this._hideTimeoutId=null,this._cdr.markForCheck()},n))}afterHidden(){return this._onHide.asObservable()}isVisible(){return this.visibility==="visible"}isDelayed(){return this._showTimeoutId!==null||this._hideTimeoutId!==null}ngOnDestroy(){this._onHide.complete()}_animationStart(){this._closeOnInteraction=!1}_animationDone(n){let r=n.toState;r==="hidden"&&!this.isVisible()&&this._onHide.next(),(r==="visible"||r==="hidden")&&(this._closeOnInteraction=!0)}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(r,o){r&1&&I("click",function(){return o._handleBodyInteraction()},a9),r&2&&qo("zoom",o.visibility==="visible"?1:null)},decls:3,vars:4,consts:[[1,"nx-tooltip"],[1,"nx-tooltip__arrow",3,"ngClass","ngStyle"]],template:function(r,o){r&1&&(c(0,"div",0),I("@state.start",function(){return o._animationStart()})("@state.done",function(s){return o._animationDone(s)}),S(1,"div",1),m(2),d()),r&2&&(g("@state",o.visibility),p(),g("ngClass",o.arrowClass)("ngStyle",o.arrowStyle),p(),K(" ",o.message,`
21`))},dependencies:[Un,fo],styles:[".nx-tooltip-panel{pointer-events:none!important}.nx-tooltip[_ngcontent-%COMP%]{font-size:var(--tooltip-font-size);line-height:var(--tooltip-line-height);font-weight:var(--tooltip-font-weight);letter-spacing:var(--tooltip-letter-spacing);color:var(--tooltip-text-color);background-color:var(--tooltip-background-color);border-radius:var(--tooltip-border-radius);max-width:408px;padding:4px 8px;word-break:break-word}.nx-tooltip__arrow[_ngcontent-%COMP%]{position:absolute;width:8px;height:8px;background-color:inherit;z-index:-1;opacity:inherit}.nx-tooltip__arrow--top[_ngcontent-%COMP%]{transform:translate(-50%) rotate(45deg);bottom:-4px}.nx-tooltip__arrow--right[_ngcontent-%COMP%]{transform:translateY(-50%) rotate(45deg);left:-4px}[dir=rtl][_nghost-%COMP%]   .nx-tooltip__arrow--right[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-tooltip__arrow--right[_ngcontent-%COMP%]{right:-4px;left:auto}.nx-tooltip__arrow--bottom[_ngcontent-%COMP%]{transform:translate(-50%) rotate(45deg);top:-4px}.nx-tooltip__arrow--left[_ngcontent-%COMP%]{transform:translateY(-50%) rotate(45deg);right:-4px}[dir=rtl][_nghost-%COMP%]   .nx-tooltip__arrow--left[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-tooltip__arrow--left[_ngcontent-%COMP%]{right:auto;left:-4px}@media screen and (forced-colors: active){.nx-tooltip__arrow[_ngcontent-%COMP%]{border:1px solid CanvasText}.nx-tooltip[_ngcontent-%COMP%]{border:1px solid CanvasText;border-radius:4px}}"],data:{animation:[Jte.tooltipState]},changeDetection:0});let i=e;return i})(),q6=12,tne=new Ee("nx-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.reposition()}});var nne="nx-tooltip-panel";function _M(i){return Error(`Tooltip position "${i}
21" is invalid.`)}var ine=new Ee("nx-tooltip-default-options",{providedIn:"root",factory:rne});function rne(){return{showDelay:200,hideDelay:200,touchendHideDelay:1500}}var Wc=(()=>{let e=class e{set position(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&(this._tooltipInstance.position=this._position,this._tooltipInstance.show(0)),this._overlayRef.updatePosition()))}get position(){return this._position}set disabled(n){this._disabled=Ue(n),this._disabled&&this.hide(0)}get disabled(){return this._disabled}set selectable(n){let r=this._selectable;this._selectable=Ue(n),this._selectable!==r&&this._updateSelectabilityStyles()}get selectable(){return this._selectable}set message(n){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=n!=null?`${n}`.trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ariaDescriber.describe(this._elementRef.nativeElement,this.message))}get message(){return this._message}constructor(n,r,o,a,s,l,u,h,_,y,b){this._overlay=n,this._elementRef=r,this._scrollDispatcher=o,this._viewContainerRef=a,this._ngZone=s,this._ariaDescriber=u,this._focusMonitor=h,this._dir=_,this._defaultOptions=y,this._defaultScrollStrategyFactory=b,this._injector=C(Nt),this._possibleTooltipPositions=["bottom","top","left","right"],this._position="bottom",this._disabled=!1,this._selectable=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._scrollStrategyFactory=this._defaultScrollStrategyFactory,this._manualListeners=new Map,this._destroyed=new he,this.manualTrigger=ba(!1),this._dir?.change.pipe(ze(this._destroyed)).subscribe(this._dirChangeHandler.bind(this));let x=r.nativeElement;!l.IOS&&!l.ANDROID?this._manualListeners.set("mouseenter",()=>this.manualTrigger()?null:this.show()).set("mouseleave",()=>this.hide()):this._manualListeners.set("touchstart",()=>this.show()),this._manualListeners.forEach((w,k)=>x.addEventListener(k,w)),y?.position&&(this.position=y.position)}ngOnInit(){this._updateSelectabilityStyles()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef).pipe(ze(this._destroyed)).subscribe(n=>{n?n==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((n,r)=>{this._elementRef.nativeElement.removeEventListener(r,n)}),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)}show(n=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance?.isDelayed())return;let r=this._createOverlay();this._detach(),this._portal=this._portal||new ia(ene,this._viewContainerRef),this._embeddedViewRef=r.attach(this._portal),this._tooltipInstance=this._embeddedViewRef.instance,this._tooltipInstance.afterHidden().pipe(ze(this._destroyed)).subscribe(()=>this._detach()),this._updateTooltipMessage(),this._tooltipInstance.show(n)}hide(n=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(n)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_handleKeydown(n){this._isTooltipVisible()&&n.keyCode===27&&(n.stopPropagation(),this.hide(0))}_handleTouchend(){this.hide(this._defaultOptions?.touchendHideDelay)}_updateSelectabilityStyles(){let n=this._elementRef.nativeElement,r=n.style,a=n.nodeName==="INPUT"||n.nodeName==="TEXTAREA"||this._selectable?"auto":"none";r.webkitUserSelect=r.userSelect=r.msUserSelect=a}_createOverlay(){if(this._overlayRef&&this._overlayRef.hostElement)return this._overlayRef;let n=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),r=this._overlay.position().flexibleConnectedTo(this._elementRef).withLockedPosition(!0).withFlexibleDimensions(!1).withPush(!0);return r.withScrollableContainers(n),r.positionChanges.pipe(ze(this._destroyed)).subscribe(o=>{if(this._tooltipInstance){let a=o.connectionPair;this._ngZone.run(()=>this._positionArrow(a)),o.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}}),this._overlayRef=this._overlay.create({direction:this._dir?.value||"ltr",positionStrategy:r,panelClass:nne,scrollStrategy:this._scrollStrategyFactory(),disposeOnNavigation:!0}),this._updatePosition(),this._overlayRef.detachments().pipe(ze(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef}_detach(){this._overlayRef?.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(){if(!this._overlayRef)return;let n=this._overlayRef.getConfig().positionStrategy,r=this._getOrigin(this.position),o=this._getOverlayPosition(this.position),a=this._getOffset(this.position),s=this._getFallbackPositions(this.position);n.withPositions([ae(ae(ae({},r),o),a),...s])}_getOrigin(n){switch(n){case"top":case"bottom":return{originX:"center",originY:n};case"left":return{originX:this._isLtr?"start":"end",originY:"center"};case"right":return{originX:this._isLtr?"end":"start",originY:"center"};default:throw _M(n)}}_getOverlayPosition(n){switch(n){case"top":case"bottom":return{overlayX:"center",overlayY:this._getInversePosition(n)};case"left":return{overlayX:this._isLtr?"end":"start",overlayY:"center"};case"right":return{overlayX:this._isLtr?"start":"end",overlayY:"center"};default:throw _M(n)}}_getOffset(n){switch(n){case"top":return{offsetY:q6*-1};case"bottom":return{offsetY:q6};case"left":return{offsetX:q6*-1};case"right":return{offsetX:q6};default:throw _M(n)}}_getInverseTooltipPosition(n){return{top:"bottom",right:"left",bottom:"top",left:"r
21ight"}[n]}_getInversePosition(n){return{top:"bottom",bottom:"top",start:"end",end:"start",center:"center"}[n]}_getFallbackPositions(n,r=this._possibleTooltipPositions){if(!n)return[];let o=r.filter(u=>u!==n),a=[];switch(n){case"top":case"bottom":{a=this._getVerticalFallbackPositionPairs(n);break}case"left":case"right":{a=this._getHorizontalFallbackPositionPairs(n);break}}let s=this._getInverseTooltipPosition(n),l=o.includes(s)?s:r[0];return[...a,...this._getFallbackPositions(l,o)]}_getVerticalFallbackPositionPairs(n){let r=n===this.position,o=[],a=ae(ae(ae({},this._getOrigin(n)),this._getOverlayPosition(n)),this._getOffset(n));return r||o.push(a),o.push(mt(ae({},a),{originX:"start",overlayX:"start"}),mt(ae({},a),{originX:"end",overlayX:"end"})),o}_getHorizontalFallbackPositionPairs(n){let r=this._getOffset(n);return[ae(ae(ae({},this._getOrigin(n)),this._getOverlayPosition(n)),r)]}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,gr({write:()=>{this._tooltipInstance&&this._overlayRef&&this._overlayRef.updatePosition()}},{injector:this._injector}))}_positionArrow(n){if(!this._overlayRef||!this._tooltipInstance)return;let r=this._elementRef.nativeElement.getBoundingClientRect().left,o=this._elementRef.nativeElement.getBoundingClientRect().width/2,a=this._overlayRef.overlayElement.getBoundingClientRect().left,s=r+o-a;if(n.originX===n.overlayX){let l={left:s+"px"};this._tooltipInstance.arrowStyle=l}n.originX==="end"&&n.overlayX==="start"?(this._tooltipInstance.arrowStyle={top:"50%"},this._tooltipInstance.position="right"):n.originY==="bottom"&&n.overlayY==="top"?(this._tooltipInstance.arrowStyle={left:s+"px"},this._tooltipInstance.position="bottom"):n.originX==="start"&&n.overlayX==="end"?(this._tooltipInstance.arrowStyle={top:"50%"},this._tooltipInstance.position="left"):n.originY==="top"&&n.overlayY==="bottom"&&(this._tooltipInstance.arrowStyle={left:s+"px"},this._tooltipInstance.position="top")}_dirChangeHandler(n){this._overlayRef&&(this.hide(0),this._overlayRef.setDirection(n),this._updatePosition())}get _isLtr(){return!this._dir||this._dir.value==="ltr"}};e.\u0275fac=function(r){return new(r||e)(D(di),D(We),D(b2),D(ai),D(Vt),D(ti),D(HA),D(Kt),D(jn,8),D(ine,8),D(tne))},e.\u0275dir=Ie({type:e,selectors:[["","nxTooltip",""]],hostBindings:function(r,o){r&1&&I("keydown",function(s){return o._handleKeydown(s)})("touchend",function(){return o._handleTouchend()})},inputs:{position:[0,"nxTooltipPosition","position"],disabled:[0,"nxTooltipDisabled","disabled"],selectable:[0,"nxTooltipSelectable","selectable"],showDelay:[0,"nxTooltipShowDelay","showDelay"],hideDelay:[0,"nxTooltipHideDelay","hideDelay"],message:[0,"nxTooltip","message"],manualTrigger:[1,"manualTrigger"]},exportAs:["nxTooltip"]});let i=e;return i})(),Hs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[Da,_e,Dr]});let i=e;return i})();var one=["connectionContainer"],ane=[[["nx-formfield-label"]],"*",[["","nxFormfieldPrefix",""]],[["input","nxInput",""]],[["","nxFormfieldSuffix",""]],[["","nxFormfieldHint",""]],[["","nxFormfieldAppendix",""]],[["","nxFormfieldError",""]],[["","nxFormfieldNote",""]]],sne=["nx-formfield-label","*","[nxFormfieldPrefix]","input[nxInput]","[nxFormfieldSuffix]","[nxFormfieldHint]","[nxFormfieldAppendix]","[nxFormfieldError]","[nxFormfieldNote]"];function lne(i,e){i&1&&(c(0,"div",6),ke(1,2),d())}function cne(i,e){if(i&1&&(c(0,"span",15)(1,"span"),m(2),d()()),i&2){let t=M(2);p(2),Pe(t.optional)}}function dne(i,e){if(i&1&&(re(0,cne,3,1,"span",15),c(1,"span"),m(2),d()),i&2){let t=M();oe(t.optional?0:-1),p(2),Pe(t.label)}}function une(i,e){if(i&1){let t=Y();c(0,"div",16,1),I("mouseenter",function(){O(t);let r=Ct(2),o=M();return T(o._isEllipsisActive()&&r.show())})("focusin",function(){O(t);let r=Ct(2),o=M();return T(o._isEllipsisActive()&&r.show())})("click",function(){O(t);let r=Ct(2);return T(r.hide())}),ke(3,3),d()}if(i&2){let t=M();g("nxTooltip",t.inputValueText)("manualTrigger",!0)}}function pne(i,e){i&1&&(c(0,"div",11),ke(1,4),d())}function fne(i,e){if(i&1&&(c(0,"div",12),ke(1,5),d()),i&2){let t=M();
21ye("aria-hidden",t._control.disabled)}}function mne(i,e){i&1&&(c(0,"div",13),ke(1,6),d())}function hne(i,e){i&1&&(c(0,"div",14),ke(1,7),d())}function gne(i,e){i&1&&(c(0,"div",14),ke(1,8),d())}var _ne=0,vM=(()=>{let e=class e{constructor(){this.id=`nx-formfield-appendix-${_ne++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxFormfieldAppendix",""]],hostVars:1,hostBindings:function(r,o){r&2&&ye("id",o.id)},inputs:{id:"id"}});let i=e;return i})(),vne=0,sn=(()=>{let e=class e{constructor(){this.id=`nx-formfield-error-${vne++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxFormfieldError",""],["","nxError",""]],hostAttrs:["aria-live","assertive","aria-atomic","true"],hostVars:1,hostBindings:function(r,o){r&2&&ye("id",o.id)},inputs:{id:"id"}});let i=e;return i})(),Yc=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e});let i=e;return i})(),xne=0,Yr=(()=>{let e=class e{constructor(){this.id=`nx-formfield-hint-${xne++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxFormfieldHint",""]],hostVars:3,hostBindings:function(r,o){r&2&&(ye("id",o.id),Fe("nx-formfield-hint",!0))},inputs:{id:"id"}});let i=e;return i})(),w2=(()=>{let e=class e{constructor(n){this.el=n}};e.\u0275fac=function(r){return new(r||e)(D(We))},e.\u0275dir=Ie({type:e,selectors:[["nx-formfield-label"]]});let i=e;return i})(),bne=0,Cne=(()=>{let e=class e{constructor(){this.id=`nx-formfield-note-${bne++}`}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxFormfieldNote",""]],hostVars:1,hostBindings:function(r,o){r&2&&ye("id",o.id)},inputs:{id:"id"}});let i=e;return i})(),yne=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxFormfieldPrefix",""]]});let i=e;return i})(),ui=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxFormfieldSuffix",""]]});let i=e;return i})(),Mne=0,xM=new Ee("FORMFIELD_DEFAULT_OPTIONS"),St=(()=>{let e=class e{get optional(){return this._isRequired()||!this.optionalLabel?"":this.optionalLabel}set floatLabel(n){n!==this._floatLabel&&(this._floatLabel=n||"auto",this._cdr.markForCheck())}get floatLabel(){return this._floatLabel||this._defaultOptions?.nxFloatLabel||"auto"}set styles(n){this._negative=!!n.match(/negative/),this._styles=n}get styles(){return this._styles}set appearance(n){this._appearance!==n&&(this._appearance=n,this._cdr.markForCheck())}get appearance(){return this._appearance||this._defaultOptions?.appearance||"auto"}set updateOn(n){this._updateOn=n}get updateOn(){return this._updateOn||this._defaultOptions?.updateOn||"change"}get _shouldAlwaysFloat(){return this.floatLabel==="always"}get shouldLabelFloat(){return this._control.shouldLabelFloat||this._shouldAlwaysFloat}get control(){return this._control}constructor(n,r,o,a){this.elementRef=n,this.renderer=r,this._cdr=o,this._defaultOptions=a,this._negative=!1,this._styles="",this.labelId=`nx-formfield-label-${Mne++}`,this.optionalLabel=this._defaultOptions?.nxOptionalLabel,this._destroyed=new he}ngAfterContentInit(){this._validateControlChild(),this._control.controlType&&(this.elementRef.nativeElement.classList.add(`nx-formfield--type-${this._control.controlType}`),this._control.updateOn&&(this._control.updateOn=this.updateOn)),this.updateOn==="change"&&(this._control.stateChanges.pipe(ei(null),rl(bs),ze(this._destroyed)).subscribe(()=>{this._syncDescribedByIds(),this._cdr.markForCheck()}),pr(this._hintChildren.changes,this._appendixChildren.changes,this._prefixChildren.changes,this._suffixChildren.changes,this._noteChildren.changes).pipe(ei(null),ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()}),this._errorChildren.changes.pipe(ei(null),rl(bs),ze(this._destroyed)).subscribe(()=>{this._syncDescribedByIds(),this._cdr.markForCheck()})),this._control.ngControl?.valueChanges?.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()})}ngAfterContentChecked(){this._validateControlChild()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}getDisplayedMessage(){return this._control.errorState&&this._errorChildren&&this._errorChildren.length>0?"error":this._noteChildren&&this._noteChildren.length>0?"note":""}_syncDescribedByIds(){if(this._control){let n=[];n=this._hintChildren.map(r=>r.id),this.getDisplayedMessage()==="note"?n=[...this._noteChildren.map(r=>r.id),...n]:this._errorChildren&&(n=[...this._errorChildren.map(r=>r.id),...n]),this._control.setDescribedByIds(n)}}_validateControlChild(){if(!this._control)throw new Error("Formfield must contain a NxFormfieldControl like input[nxInput] or a custom implementation")}getConnectedOverlayOrigin(){return this._connectionContainerRef||this.elementRef}_hasLabel(){return!!this._labelChild||!!this.label}_hideControlPlaceholder(){return!this.shouldLabelFloat&&this._hasLabel()||!this._control.empty}_getTitle(){return this._labelChild?this._labelChild.el.nativeElement?.innerText:this.label??""}
21_onBlur(){this.updateOn==="blur"&&(this._validateControlChild(),this._syncDescribedByIds(),this._cdr.markForCheck())}_isRequired(){return this._control.ngControl?.control?.hasValidator(ee.required)||!1}_isOutline(){return this.appearance==="outline"}_isNxInput(){return this._control.elementRef.nativeElement.tagName==="INPUT"&&this._control.elementRef.nativeElement.hasAttribute("nxInput")}get inputValueText(){if(!(!this._control.readonly&&!this._control.disabled))return(this._control.elementRef.nativeElement.value||"").trim()}_isEllipsisActive(){return this._control.elementRef.nativeElement.offsetWidth<this._control.elementRef.nativeElement.scrollWidth}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Ai),D(Ye),D(xM,8))},e.\u0275cmp=z({type:e,selectors:[["nx-formfield"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,Yc,5),Ft(a,w2,5),Ft(a,Yr,4),Ft(a,Cne,4),Ft(a,sn,4),Ft(a,ui,4),Ft(a,yne,4),Ft(a,vM,4)),r&2){let s;te(s=ne())&&(o._control=s.first),te(s=ne())&&(o._labelChild=s.first),te(s=ne())&&(o._hintChildren=s),te(s=ne())&&(o._noteChildren=s),te(s=ne())&&(o._errorChildren=s),te(s=ne())&&(o._suffixChildren=s),te(s=ne())&&(o._prefixChildren=s),te(s=ne())&&(o._appendixChildren=s)}},viewQuery:function(r,o){if(r&1&&pe(one,7),r&2){let a;te(a=ne())&&(o._connectionContainerRef=a.first)}},hostVars:22,hostBindings:function(r,o){r&1&&I("focusout",function(){return o._onBlur()}),r&2&&Fe("nx-formfield",!0)("is-disabled",o._control.disabled)("is-readonly",o._control.readonly)("is-filled",o._control.empty===!1)("is-focused",o._control.focused)("is-floating",o.shouldLabelFloat)("is-auto-floating",o.floatLabel==="auto")("has-error",o._control.errorState)("has-outline",o.appearance==="outline")("has-hint",(o._hintChildren==null?null:o._hintChildren.length)>0)("nx-formfield--negative",o._negative)},inputs:{label:"label",optionalLabel:"optionalLabel",floatLabel:"floatLabel",styles:[0,"negative","styles"],appearance:"appearance",updateOn:"updateOn"},ngContentSelectors:sne,decls:18,vars:9,consts:[["connectionContainer",""],["input","","tooltip","nxTooltip"],[1,"nx-formfield__wrapper"],[1,"nx-formfield__row"],[1,"nx-formfield__flexfield"],[1,"nx-formfield__input-container"],[1,"nx-formfield__prefix"],[1,"nx-formfield__input"],[1,"nx-formfield__label-holder"],[1,"nx-formfield__label",3,"id"],[1,"nx-formfield__tooltip",3,"nxTooltip","manualTrigger"],[1,"nx-formfield__suffix"],[1,"nx-formfield__hints"],[1,"nx-formfield__appendix"],[1,"nx-formfield__message"],[1,"optional"],[1,"nx-formfield__tooltip",3,"mouseenter","focusin","click","nxTooltip","manualTrigger"]],template:function(r,o){if(r&1&&(rt(ane),c(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5,0),re(5,lne,2,0,"div",6),c(6,"div",7)(7,"span",8)(8,"label",9),re(9,dne,3,2),ke(10),d()(),re(11,une,4,2,"div",10),ke(12,1),d(),re(13,pne,2,0,"div",11),d(),re(14,fne,2,1,"div",12),d(),re(15,mne,2,0,"div",13),d(),re(16,hne,2,0,"div",14)(17,gne,2,0,"div",14),d()),r&2){let a;p(5),oe(o._prefixChildren.length?5:-1),p(3),g("id",o.labelId),ye("for",o._control.id),p(),oe(o._labelChild?-1:9),p(2),oe(o._isNxInput()?11:-1),p(2),oe(o._suffixChildren.length?13:-1),p(),oe(o._hintChildren.length?14:-1),p(),oe(o._appendixChildren.length?15:-1),p(),oe((a=o.getDisplayedMessage())==="error"?16:a==="note"?17:-1)}},dependencies:[Hs,Wc],styles:[`.nx-formfield{display:block;color:var(--formfield-input-color)}.nx-formfield nx-message{margin-top:12px}.nx-formfield:has(nx-password-toggle) input::-ms-reveal{display:none}.nx-formfield__wrapper{padding-bottom:var(--formfield-bottom-padding);padding-top:var(--formfield-label-height)}@media (max-width: 703px){.nx-formfield__wrapper{padding-bottom:var(--formfield-mobile-bottom-padding)}}.nx-formfield__row{min-height:var(--formfield-control-height);background-color:var(--formfield-background-color);display:flex;align-items:stretch;width:100%}.nx-formfield__row:after{content:"";font-size:0;display:block;min-height:inherit}.nx-formfield__flexfield{font-size:var(--formfield-control-font-size);line-height:var(--formfield-control-line-height);font-weight:var(--formfield-control-font-weight);letter-spacing:var(--formfield-control-letter-spacing);align-items:stretch;flex-direction:column;display:inline-flex;width:100%;position:relative;min-width:0;flex:0 1 auto}.nx-formfield__input-container{display:flex;border-bottom:var(--formfield-border-width) solid var(--formfield-border-color);height:var(--formfield-control-height);flex:auto;padding:var(--formfield-input-padding)}.nx-formfield__input{position:relative;flex:auto;min-width:0;display:flex;text-align:left}[dir=rtl] .nx-formfield__input{text-align:right}.nx-formfield__label-holder{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}[dir=rtl] .nx-formfield__label-holder{right:0;left:auto}.nx-formfield__label{font-size:var(--formfield-placeholder-label-font-size);line-height:var(--formfield-placeholder-label-line-height);
21font-weight:var(--formfield-placeholder-label-font-weight);letter-spacing:var(--formfield-placeholder-label-letter-spacing);color:var(--formfield-label-color);display:block;position:absolute;left:0;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;-webkit-text-size-adjust:100%;text-size-adjust:100%;text-align:left}[dir=rtl] .nx-formfield__label{right:0;left:auto;text-align:right}.nx-formfield__label .optional{font-weight:400}.nx-formfield__label .optional:after{content:":";margin-right:4px}.nx-formfield__appendix,.nx-formfield__prefix,.nx-formfield__suffix{align-items:center;flex:none;white-space:nowrap;color:var(--formfield-control-color)}.nx-formfield__appendix nx-icon.nx-icon--auto,.nx-formfield__prefix nx-icon.nx-icon--auto,.nx-formfield__suffix nx-icon.nx-icon--auto{font-size:var(--formfield-icon-size)}.nx-formfield__appendix nx-icon,.nx-formfield__prefix nx-icon,.nx-formfield__suffix nx-icon{display:block}.nx-formfield__prefix,.nx-formfield__suffix{display:inline-flex}.nx-formfield__appendix{height:var(--formfield-control-height);margin-left:8px;display:flex;border-bottom-style:solid;border-bottom-color:transparent;border-bottom-width:var(--formfield-border-width);padding:var(--formfield-input-padding)}[dir=rtl] .nx-formfield__appendix{margin-right:8px;margin-left:initial}.nx-formfield__prefix{margin-right:8px}[dir=rtl] .nx-formfield__prefix{margin-right:initial;margin-left:8px}.nx-formfield__suffix{margin-left:8px}[dir=rtl] .nx-formfield__suffix{margin-right:8px;margin-left:initial}.nx-formfield__hints{color:var(--formfield-hint-color);font-size:var(--formfield-hint-font-size);line-height:var(--formfield-hint-line-height);font-weight:var(--formfield-hint-font-weight);letter-spacing:var(--formfield-hint-letter-spacing);padding-top:var(--formfield-hint-spacing);text-align:right}[dir=rtl] .nx-formfield__hints{text-align:left}.nx-formfield-hint{display:block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nx-formfield__message{margin-top:var(--formfield-message-gap)}.nx-formfield.is-focused .nx-formfield__label{text-overflow:ellipsis}.nx-formfield.is-focused:not(.nx-formfield--negative):not(.has-error){color:var(--formfield-active-color)}.nx-formfield.is-focused:not(.nx-formfield--negative):not(.has-error).nx-formfield--negative{color:var(--negative)}.nx-formfield.is-focused:not(.has-outline) .nx-formfield__input-container{border-bottom-color:var(--formfield-active-border-bottom-color);position:relative}.nx-formfield.is-focused:not(.has-outline) .nx-formfield__input-container:after{content:"";position:absolute;left:0;bottom:calc(var(--formfield-active-border-width) * -1 + var(--formfield-border-width));border-radius:var(--formfield-active-border-radius);height:var(--formfield-active-border-width);background-color:var(--formfield-active-border-color);width:100%}.nx-formfield.is-focused:not(.has-outline).nx-formfield--negative .nx-formfield__input-container:after{background-color:var(--negative)}.nx-formfield.is-focused:not(.has-outline).has-error .nx-formfield__input-container:after{background-color:var(--danger)}.nx-formfield:not(.nx-formfield--negative):not(.has-error):not(.is-disabled):not(.is-focused):not(.has-outline):not(.is-readonly) .nx-formfield__row:hover .nx-formfield__input-container{border-bottom-color:var(--formfield-hover-border-color)}.nx-formfield.is-focused:not(.nx-formfield--negative).has-outline .nx-formfield__input-container{border-color:var(--formfield-outline-active-border-color);box-shadow:var(--formfield-outline-focus-box-shadow);background-color:var(--formfield-outline-focus-background-color)}@media screen and (forced-colors: active){.nx-formfield.is-focused:not(.nx-formfield--negative).has-outline .nx-formfield__input-container{box-shadow:0 0 0 2px highlight;border:1px solid highlight}}.nx-formfield.is-focused:not(.nx-formfield--negative).has-outline.has-error .nx-formfield__input-container{border-bottom-color:var(--danger)}.nx-formfield.has-outline{font-size:var(--formfield-outline-control-font-size);line-height:var(--formfield-outline-control-line-height);
21font-weight:var(--formfield-outline-control-font-weight);letter-spacing:var(--formfield-outline-control-letter-spacing)}.nx-formfield.has-outline.nx-formfield--type-textarea .nx-formfield__input-container{height:auto}.nx-formfield.has-outline .nx-formfield__wrapper{padding-bottom:var(--formfield-outline-bottom-padding);padding-top:var(--formfield-outline-label-height)}.nx-formfield.has-outline .nx-formfield__row{min-height:var(--formfield-outline-control-height)}.nx-formfield.has-outline .nx-formfield__flexfield{font-size:var(--formfield-outline-control-font-size);line-height:var(--formfield-outline-control-line-height);font-weight:var(--formfield-outline-control-font-weight);letter-spacing:var(--formfield-outline-control-letter-spacing);padding:0}.nx-formfield.has-outline .nx-formfield__input-container{padding:var(--formfield-outline-input-container-padding);border-width:var(--formfield-border-width);border-color:var(--formfield-outline-border-color);background-color:var(--formfield-outline-background-color);border-style:solid;border-radius:var(--formfield-outline-border-radius);height:var(--formfield-outline-control-height);gap:var(--formfield-outline-gap)}.nx-formfield.has-outline input,.nx-formfield.has-outline nx-dropdown .nx-dropdown__container,.nx-formfield.has-outline nx-multi-select .value{padding:0 var(--formfield-outline-spacing)}.nx-formfield.has-outline .nx-formfield__suffix{margin-right:var(--formfield-outline-spacing);margin-left:0}[dir=rtl] .nx-formfield.has-outline .nx-formfield__suffix{margin-right:0;margin-left:var(--formfield-outline-spacing)}.nx-formfield.has-outline .nx-formfield__prefix{margin-left:var(--formfield-outline-spacing);margin-right:0}[dir=rtl] .nx-formfield.has-outline .nx-formfield__prefix{margin-right:var(--formfield-outline-spacing);margin-left:0}.nx-formfield.has-outline .nx-formfield__input textarea.nx-input{line-height:24px;padding:var(--formfield-outline-spacing);min-height:var(--formfield-outline-control-line-height)}.nx-formfield.has-outline .nx-formfield__appendix{height:var(--formfield-outline-control-height);margin-left:8px;display:flex;border-top:var(--formfield-border-width) solid transparent;border-bottom:var(--formfield-border-width) solid transparent;padding:0}[dir=rtl] .nx-formfield.has-outline .nx-formfield__appendix{margin-left:initial;margin-right:8px}.nx-formfield.has-outline .nx-formfield__hints{text-align:left;font-size:var(--formfield-outline-hint-font-size);line-height:var(--formfield-outline-hint-line-height);font-weight:var(--formfield-outline-hint-font-weight);letter-spacing:var(--formfield-outline-hint-letter-spacing);padding:var(--formfield-outline-hint-spacing)}[dir=rtl] .nx-formfield.has-outline .nx-formfield__hints{text-align:right}.nx-formfield.has-outline input::placeholder,.nx-formfield.has-outline textarea::placeholder{font-size:var(--formfield-outline-input-native-placeholder-font-size);line-height:var(--formfield-outline-input-native-placeholder-line-height);font-weight:var(--formfield-outline-input-native-placeholder-font-weight);letter-spacing:var(--formfield-outline-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color)}.nx-formfield.has-outline input::-moz-placeholder,.nx-formfield.has-outline textarea::-moz-placeholder{font-size:var(--formfield-outline-input-native-placeholder-font-size);line-height:var(--formfield-outline-input-native-placeholder-line-height);font-weight:var(--formfield-outline-input-native-placeholder-font-weight);letter-spacing:var(--formfield-outline-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color)}.nx-formfield.has-outline input::-webkit-input-placeholder,.nx-formfield.has-outline textarea::-webkit-input-placeholder{font-size:var(--formfield-outline-input-native-placeholder-font-size);line-height:var(--formfield-outline-input-native-placeholder-line-height);font-weight:var(--formfield-outline-input-native-placeholder-font-weight);letter-spacing:var(--formfield-outline-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color)}.nx-formfield.has-outline input:-ms-input-placeholder,.nx-formfield.has-outline textarea:-ms-input-placeholder{font-size:var(--formfield-outline-input-native-placeholder-font-size);line-height:var(--formfield-outline-input-native-placeholder-line-height);font-weight:var(--formfield-outline-input-native-placeholder-font-we
21ight);letter-spacing:var(--formfield-outline-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color)}.nx-formfield.has-outline input::placeholder,.nx-formfield.has-outline textarea::placeholder{opacity:1}.nx-formfield.has-outline input::-moz-placeholder{line-height:calc(var(--formfield-outline-control-height) - 2 * var(--formfield-border-width))}.nx-formfield.has-outline input:-webkit-autofill:first-line{font-size:var(--formfield-outline-control-font-size);line-height:var(--formfield-outline-control-line-height);font-weight:var(--formfield-outline-control-font-weight);letter-spacing:var(--formfield-outline-control-letter-spacing)}.nx-formfield.has-outline .nx-formfield__label{flex-direction:row-reverse;display:flex;justify-content:flex-end}.nx-formfield.has-outline .optional{margin-left:var(--formfield-outline-optional-label-gap);font-size:var(--formfield-outline-optional-label-font-size);line-height:var(--formfield-outline-optional-label-line-height);font-weight:var(--formfield-outline-optional-label-font-weight);letter-spacing:var(--formfield-outline-optional-label-letter-spacing);font-weight:400}.nx-formfield.has-outline .optional:before{content:"("}.nx-formfield.has-outline .optional:after{content:")"}.nx-formfield.has-outline.is-readonly:not(.is-disabled) .nx-formfield__input-container{border-color:var(--formfield-readonly-border-color);background-color:var(--formfield-readonly-background-color)}.nx-formfield:not(.has-outline).is-readonly:not(.is-disabled) .nx-formfield__input-container{border-bottom-color:var(--formfield-readonly-border-color)}.nx-formfield.is-floating .nx-formfield__label{transform:translateY(var(--formfield-floating-distance));font-size:var(--formfield-label-font-size);line-height:var(--formfield-label-line-height);font-weight:var(--formfield-label-font-weight);letter-spacing:var(--formfield-label-letter-spacing)}.nx-formfield.is-floating.is-filled .nx-formfield__label{transition:none}.nx-formfield.is-floating .optional{font-weight:400}.nx-formfield.is-floating.has-outline .nx-formfield__label{padding-top:0;transform:translateY(var(--formfield-outline-floating-distance));font-size:var(--formfield-outline-label-font-size);line-height:var(--formfield-outline-label-line-height);font-weight:var(--formfield-outline-label-font-weight);letter-spacing:var(--formfield-outline-label-letter-spacing)}.nx-formfield.is-floating.has-outline .nx-formfield__prefix~.nx-formfield__input .nx-formfield__label{padding:0}.nx-formfield.is-floating.has-outline .nx-formfield__input-container{position:relative}.nx-formfield.is-floating.has-outline .nx-formfield__input{position:unset}.nx-formfield.is-auto-floating .nx-formfield__label{transition:transform .15s ease-out,font-size .15s ease-out}.nx-formfield.has-error:not(.has-outline):not(.is-floating) .nx-formfield__label{font-weight:var(--formfield-error-input-font-weight)}.nx-formfield.has-error:not(.has-outline) .nx-formfield__prefix,.nx-formfield.has-error:not(.has-outline) .nx-formfield__suffix{font-weight:var(--formfield-error-input-font-weight)}.nx-formfield.has-error:not(.has-outline) .nx-formfield__input input.nx-input{font-weight:var(--formfield-error-input-font-weight)}.nx-formfield.has-error:not(.nx-formfield--negative){color:var(--danger)}.nx-formfield.has-error:not(.nx-formfield--negative):not(.has-outline) .nx-formfield__prefix,.nx-formfield.has-error:not(.nx-formfield--negative):not(.has-outline) .nx-formfield__suffix,.nx-formfield.has-error:not(.nx-formfield--negative):not(.has-outline) .nx-formfield__label{color:var(--danger)}.nx-formfield.has-error:not(.nx-formfield--negative):not(.is-focused) .nx-formfield__input-container{border-bottom-color:var(--danger)}.nx-formfield.has-error:not(.nx-formfield--negative).is-floating .nx-formfield__label{color:var(--formfield-label-color)}.nx-formfield.has-error:not(.nx-formfield--negative).has-outline{color:var(--text-01)}.nx-formfield.has-error:not(.nx-formfield--negative).has-outline .nx-formfield__input-container{border-color:var(--danger)}.nx-formfield.is-disabled{color:var(--formfield-disabled-text-color);cursor:not-allowed}.nx-formfield.is-disabled .nx-formfield__label{color:var(--formfield-disabled-text-color)}.nx-formfield.is-disabled .nx-formfield__hints{color:inherit}.nx-formfield.is-disabled .nx-formfield__input-container{border-bottom-color:var(--formfield-disabled-border-color)}.nx-formfield.is-disabled.has-outline .nx-formfield__input-container{border-color:var(--formfield-disabled-border-color);background-color:var(--formfield-disabled-background-color)}.nx-formfield.is-disabled.has-outline input::placeholder,.nx-formfield.is-disabled.has-outline textarea::placeholder{color:var(--formfield-input-native-placeholder-disabled-color)}.nx-formfield.is-disabled.has-outline input::-moz-placeholder,.nx-formfield.is-disabled.has-outline textarea::-moz-placeholder{color:var(--formfield-input-native-placeholder-disabled-color)}.nx-formfield.is-disabled.has-outline input::-webkit-input-placeholder,.nx-formfield.is-disabled.has-outline textarea::-webkit-input-placeholder{color:var(--formfield-input-native-placeholder-disabled-color)}.nx-formfield.is-disabled.has-outline input:-ms-input-placeholder,.nx-formfield.is-disabled.has-outline textarea:-ms-input-placeholder{color:var(--formfield-input-native-placeholder-disabled-color)}.nx-formfield.is-disabled nx-datepicker-toggle button{color:var(--formfield-disabled-text-color)}.nx-formfield.is-readonly input,.nx-formfield.is-disabled input{text-overflow:ellipsis}.nx-formfield__tooltip{width:100%;display:flex}
21.nx-formfield.is-readonly:not(.is-disabled) nx-datepicker-toggle button{color:var(--formfield-disabled-text-color)}.nx-formfield--negative{color:var(--negative)}.nx-formfield--negative .nx-formfield__hints{color:inherit}.nx-formfield--negative .nx-formfield__input-container,.nx-formfield--negative.has-outline .nx-formfield__input-container{border-color:var(--negative)}.nx-formfield--negative .nx-formfield__appendix,.nx-formfield--negative .nx-formfield__prefix,.nx-formfield--negative .nx-formfield__suffix,.nx-formfield--negative .nx-formfield__label{color:var(--negative)}.nx-formfield--type-nx-dropdown .nx-formfield__label,.nx-formfield--type-nx-multi-select .nx-formfield__label{width:calc(100% - var(--formfield-icon-size))}.nx-formfield__input textarea.nx-input{vertical-align:bottom;min-height:var(--formfield-control-line-height);resize:vertical}@media screen and (forced-colors: active){.nx-formfield__input-container,.nx-formfield.nx-formfield--negative .nx-formfield__input-container,.nx-formfield:not(.nx-formfield--negative):not(.has-error):not(.is-disabled):not(.is-focused):not(.has-outline) .nx-formfield__row:hover .nx-formfield__input-container,.nx-formfield.has-error:not(.nx-formfield--negative) .nx-formfield__input-container,.nx-formfield.has-error:not(.nx-formfield--negative):not(.is-focused) .nx-formfield__input-container{border-bottom-color:buttonText}.nx-formfield.has-outline .nx-formfield__input-container{border-color:buttonText}.nx-formfield.has-outline .nx-formfield__appendix{border-bottom-color:Canvas;border-top-color:Canvas}.nx-formfield.is-disabled{color:GrayText;-webkit-text-fill-color:GrayText}.nx-formfield.is-disabled .nx-formfield__input-container{border-bottom-color:GrayText}.nx-formfield.is-disabled .nx-formfield__hints{color:CanvasText}.nx-formfield.is-disabled.has-outline .nx-formfield__input-container{border-color:GrayText}.nx-formfield.is-focused:not(.has-outline) .nx-formfield__input-container,.nx-formfield.is-focused.has-error.nx-formfield.is-floating .nx-formfield__input-container,.nx-formfield.is-focused.nx-formfield--negative:not(.has-error) .nx-formfield__input-container{border-color:buttonText}.nx-formfield.is-focused:not(.has-outline) .nx-formfield__input-container:after,.nx-formfield.is-focused.has-error.nx-formfield.is-floating .nx-formfield__input-container:after,.nx-formfield.is-focused.nx-formfield--negative:not(.has-error) .nx-formfield__input-container:after{background-color:buttonText}.nx-formfield:not(.nx-formfield--negative) .nx-formfield__appendix nx-icon{color:inherit}}.nx-formfield--type-textarea .nx-formfield__flexfield{padding:0}.nx-formfield--type-textarea .nx-formfield__input-container{height:auto}input:-webkit-autofill{transition:background-color 5000s ease-in-out 0s}input:-webkit-autofill:first-line{font-size:var(--formfield-control-font-size);line-height:var(--formfield-control-line-height);font-weight:var(--formfield-control-font-weight);letter-spacing:var(--formfield-control-letter-spacing);font-family:var(--font-family);color:var(--formfield-control-color)}
22`,`@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}textarea.cdk-textarea-autosize{resize:none;box-sizing:content-box}textarea.cdk-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.c-input{text-align:inherit;font-size:inherit;font-weight:inherit;background:0 0;color:inherit;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%}.c-input::-ms-clear{display:none}.c-input::-webkit-search-decoration,.c-input::-webkit-search-cancel-button,.c-input::-webkit-search-results-button,.c-input::-webkit-search-results-decoration{display:none;-webkit-appearance:none}.c-input::placeholder{-webkit-user-select:none;user-select:none;font-size:var(--formfield-input-native-placeholder-font-size);line-height:var(--formfield-input-native-placeholder-line-height);
22font-weight:var(--formfield-input-native-placeholder-font-weight);letter-spacing:var(--formfield-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color);transition:color ease-in .1s .2s}.c-input::placeholder:-ms-input-placeholder{-ms-user-select:text}.c-input::-moz-placeholder{-webkit-user-select:none;user-select:none;font-size:var(--formfield-input-native-placeholder-font-size);line-height:var(--formfield-input-native-placeholder-line-height);font-weight:var(--formfield-input-native-placeholder-font-weight);letter-spacing:var(--formfield-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color);transition:color ease-in .1s .2s}.c-input::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.c-input::-webkit-input-placeholder{-webkit-user-select:none;user-select:none;font-size:var(--formfield-input-native-placeholder-font-size);line-height:var(--formfield-input-native-placeholder-line-height);font-weight:var(--formfield-input-native-placeholder-font-weight);letter-spacing:var(--formfield-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color);transition:color ease-in .1s .2s}.c-input::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.c-input:-ms-input-placeholder{-webkit-user-select:none;user-select:none;font-size:var(--formfield-input-native-placeholder-font-size);line-height:var(--formfield-input-native-placeholder-line-height);font-weight:var(--formfield-input-native-placeholder-font-weight);letter-spacing:var(--formfield-input-native-placeholder-letter-spacing);color:var(--formfield-input-native-placeholder-color);transition:color ease-in .1s .2s}.c-input:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.c-input::-moz-placeholder{line-height:calc(var(--formfield-control-height) - var(--formfield-border-width))}textarea.c-input{height:auto;font-family:inherit}.c-input.is-focused{border:none;outline:none;box-shadow:none}.c-input.is-focused::placeholder{opacity:1;transition:opacity ease-in .2s .15s}.c-input.is-focused::-moz-placeholder{opacity:1;transition:opacity ease-in .2s .15s}.c-input.is-focused::-webkit-input-placeholder{opacity:1;transition:opacity ease-in .2s .15s}.c-input.is-focused:-ms-input-placeholder{opacity:1;transition:opacity ease-in .2s .15s}.c-input.is-disabled{cursor:not-allowed}textarea.nx-input-element{resize:vertical;overflow:auto}.c-input:invalid,.c-input:required{box-shadow:none}
23`],encapsulation:2,changeDetection:0});let i=e;return i})(),Qr=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Hs,St,Gc,Ud]});let i=e;return i})();var wne=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275cmp=z({type:i,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(n,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}
24`],encapsulation:2,changeDetection:0})}return i})(),Sne={passive:!0},DV=(()=>{class i{_platform=C(ti);_ngZone=C(Vt);_renderer=C(kr).createRenderer(null,null);_styleLoader=C(Nc);_monitoredElements=new Map;constructor(){}monitor(t){if(!this._platform.isBrowser)return ar;this._styleLoader.load(wne);let n=Ka(t),r=this._monitoredElements.get(n);if(r)return r.subject;let o=new he,a="cdk-text-field-autofilled",s=u=>{u.animationName==="cdk-text-field-autofill-start"&&!n.classList.contains(a)?(n.classList.add(a),this._ngZone.run(()=>o.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&n.classList.contains(a)&&(n.classList.remove(a),this._ngZone.run(()=>o.next({target:u.target,isAutofilled:!1})))},l=this._ngZone.runOutsideAngular(()=>(n.classList.add("cdk-text-field-autofill-monitored"),this._renderer.listen(n,"animationstart",s,Sne)));return this._monitoredElements.set(n,{subject:o,unlisten:l}),o}stopMonitoring(t){let n=Ka(t),r=this._monitoredElements.get(n);r&&(r.unlisten(),r.subject.complete(),n.classList.remove("cdk-text-field-autofill-monitored"),n.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(n))}
24ngOnDestroy(){this._monitoredElements.forEach((t,n)=>this.stopMonitoring(n))}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var Bf=new Ee("NX_INPUT_VALUE_ACCESSOR"),Ene=["button","checkbox","file","hidden","image","radio","range","reset","submit"],Dne=["date","datetime","datetime-local","month","time","week"].filter(i=>tM().has(i)),One=0,Yt=(()=>{let e=class e{set id(n){this._id=n||this._uid}get id(){return this._id}set value(n){n!==this.value&&(this._inputValueAccessor.value=n)}get value(){return this._inputValueAccessor.value}set readonly(n){this._readonly=Ue(n),this._inputValueAccessor&&this._inputValueAccessor.setReadonly&&this._inputValueAccessor.setReadonly?.(this._readonly),this.stateChanges.next()}get readonly(){return this._readonly}setReadonly(n){this.readonly=n}set disabled(n){this._disabled=Ue(n),this.focused&&(this.focused=!1,this.stateChanges.next())}get disabled(){return this.ngControl?.disabled!=null?this.ngControl.disabled:this._disabled}set required(n){this._required=Ue(n)}get required(){return this._required??this.ngControl?.control?.hasValidator(ee.required)??!1}set type(n){this._type=n||"text",this._validateType(),!this._isTextarea()&&tM().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get type(){return this._type}set placeholder(n){this._placeholder=n}get placeholder(){return this.empty?this._placeholder:""}set updateOn(n){this._updateOn!==n&&(this._updateOn=n)}get updateOn(){return this._updateOn}constructor(n,r,o,a,s,l,u,h){this._elementRef=n,this._platform=r,this.ngControl=o,this._parentForm=a,this._parentFormGroup=s,this._errorStateMatcher=l,this.inputValueAccessor=u,this._autofillMonitor=h,this._uid=`nx-input-${One++}`,this.errorState=!1,this.controlType="nx-input",this.autofilled=!1,this.stateChanges=new he,this.focused=!1,this._readonly=!1,this._disabled=!1,this._type="text",this._updateOn="change",this._destroyed=new he;let _=this.id;this.id=_,this._inputValueAccessor=u||this._elementRef.nativeElement,this._previousNativeValue=this.value,this._elementRef.nativeElement.nodeName.toLowerCase()==="textarea"&&(this.controlType="textarea")}ngOnInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).pipe(ze(this._destroyed)).subscribe(n=>{this.autofilled=n.isAutofilled,this.stateChanges.next()})}get elementRef(){return this._elementRef}_focusChanged(n){n!==this.focused&&(this.focused=n,this.stateChanges.next(),this._updateOn==="blur"&&this._detectInputChanges())}_detectInputChanges(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}ngDoCheck(){this._updateOn==="change"&&this._detectInputChanges()}updateErrorState(){let n=this.errorState,r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(o,r);a!==n&&(this.errorState=a,this.stateChanges.next())}setDescribedByIds(n){this._ariaDescribedby=n.join(" ")}setAriaLabel(n){this._ariaLabel=n}_isBadInput(){return this._elementRef.nativeElement.validity?.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}_isNeverEmpty(){return Dne.includes(this._type)}_isTextarea(){let n=this._elementRef.nativeElement;return n.nodeName?n.nodeName.toLowerCase()==="textarea":!1}_validateType(){if(Ene.includes(this._type))throw new Error(`Input of type '${this._type}' is not supported`)}get shouldLabelFloat(){return!!(this.focused||!this.empty||this.placeholder&&this.placeholder.length>0)}_dirtyCheckNativeValue(){let n=this.value;this._previousNativeValue!==n&&(this._previousNativeValue=n,this.stateChanges.next())}};e.\u0275fac=function(r){return new(r||e)(D(We),D(ti),D(ci,10),D(tr,8),D(st,8),D(ur),D(Bf,10),D(DV))},e.\u0275dir=Ie({type:e,selectors:[["input","nxInput",""],["textarea","nxInput",""],["select","nxInput",""]],hostVars:21,hostBindings:function(r,o){r&1&&I("blur",function(){return o._focusChanged(!1)})("focus",function(){return o._focusChanged(!0)}
24),r&2&&(ye("id",o.id)("disabled",o.disabled||null)("readonly",o.readonly||null)("required",o.required||null)("aria-label",o._ariaLabel||null)("aria-describedby",o._ariaDescribedby||null)("aria-invalid",o.errorState)("aria-required",o.required.toString())("placeholder",o.placeholder||null),Fe("c-input",!0)("nx-input",!0)("is-filled",o.empty===!1)("is-disabled",o.disabled)("has-error",o.errorState)("is-focused",o.focused))},inputs:{_ariaLabel:[0,"nxAriaLabel","_ariaLabel"],id:"id",value:"value",readonly:"readonly",disabled:"disabled",required:"required",type:"type",placeholder:"placeholder",updateOn:"updateOn"},exportAs:["nxInput"],features:[Mt([{provide:Yc,useExisting:e},{provide:Wr,useExisting:e}]),on]});let i=e;return i})(),R0={show:"password-show-o",hide:"password-hide-o"},Bs=(()=>{let e=class e{set ariaLabel(n){n!==this._ariaLabel&&(this._ariaLabel=n,this._cdr.markForCheck())}get ariaLabel(){return this._ariaLabel}constructor(n,r,o){this._cdr=n,this._elementRef=r,this._focusMonitor=o,this._currentIcon=R0.show,this._pressed=!1,this._ariaLabel="Show password"}ngAfterViewInit(){if(this._focusMonitor.monitor(this._elementRef),!this.control){console.warn("You need to pass an input as a control to the password toggle.");return}this._currentIcon=this.control.type==="password"?R0.show:R0.hide}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}toggleInputType(){this.control&&(this.control.type=this.control.type==="password"?"text":"password",this._pressed=!this._pressed,this.toggleIcon(),this._cdr.markForCheck())}toggleIcon(){this._currentIcon=this._currentIcon===R0.show?R0.hide:R0.show}_onKeydown(n){n&&(n.keyCode===13||n.keyCode===32)&&this.toggleInputType()}get tabindex(){return this.control?this.control.disabled?-1:0:null}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-password-toggle"]],hostAttrs:["role","button"],hostVars:3,hostBindings:function(r,o){r&1&&I("click",function(){return o.toggleInputType()})("keydown",function(s){return o._onKeydown(s)}),r&2&&ye("aria-label",o.ariaLabel)("tabindex",o.tabindex)("aria-pressed",o._pressed)},inputs:{control:"control",ariaLabel:"ariaLabel"},decls:1,vars:1,consts:[["aria-hidden","true",3,"name"]],template:function(r,o){r&1&&S(0,"nx-icon",0),r&2&&g("name",o._currentIcon)},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{position:relative;display:inline-block;height:24px;width:24px;cursor:pointer}@media screen and (forced-colors: active){[_nghost-%COMP%]{color:buttonText!important}}[_nghost-%COMP%]:focus{outline:none}[_nghost-%COMP%]:hover{color:var(--hover-primary)}.cdk-keyboard-focused[_nghost-%COMP%]     nx-icon{box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]     nx-icon{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.is-disabled[_nghost-%COMP%], .is-disabled   [_nghost-%COMP%]{pointer-events:none}@media screen and (forced-colors: active){.is-disabled[_nghost-%COMP%], .is-disabled   [_nghost-%COMP%]{color:GrayText!important}}"],changeDetection:0});let i=e;return i})(),Gd=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Qr,xt,Bs,Qr]});let i=e;return i})();function S2(i){i||(i=C(hr));let e=new hn(t=>{if(i.destroyed){t.next();return}return i.onDestroy(t.next.bind(t))});return t=>t.pipe(ze(e))}var Tne=["cell"],Ine=["nx-calendar-body",""],kV=()=>[],kne=(i,e)=>e[0].value;function Nne(i,e){i&1&&wn(0,"td",3)}function Ane(i,e){if(i&1&&Ot(0,Nne,1,0,"td",3,Bo),i&2){let t=M(2);Tt(In(0,kV).constructor(t.previousItems))}}function Vne(i,e){if(i&1){let t=Y();at(0,"td",4,0)(2,"div",5),uo("click",function(){let r=O(t).$implicit,o=M(2);return T(o._cellClicked(r))})("focus",function(){let r=O(t).$implicit,o=M(2);return T(o._cellFocused(r))})("mouseover",function(){let r=O(t).$implicit,o=M(2);return T(o._cellFocused(r))}),m(3),pt()()}if(i&2){let t=e.$implicit,n=e.$index,r=M(),o=r.$implicit,a=r.$index,s=M();qo("width",100/s.numCols,"%"),Fe("range-start",s.selectedValue===t.value&&(s.betweenRange().length>0||s.selectedEndDate()===t.value+1))("range-end",s.selectedEndDate()===t.value&&(s.betweenRange().length>0||s.selectedValue===t.value-1))("in-range",s.selectedValue!==t.value&&s.selectedEndDate()!==t.value&&s.betweenRange().includes(t.value))("range-row-start",n===0&&s.betweenRange().includes(t.value))("range-row-end",(n===s.numCols-1||n===o.length-1)&&s.betweenRange().includes(t.value))("nx-calendar-body-active",s._isActiveCell(a,n))("nx-calendar-body-selected",s.selectedValue===t.value||s.selectedEndDate()===t.value),gi("tabIndex",s._isActiveCell(a,n)?0:-1),p(2),Fe("nx-calendar-body-disabled",!t.enabled)("nx-calendar-body-active",s._isActiveCell(a,n))("nx-calendar-body-selected",s.selectedValue===t.value||s.selectedEndDate()===t.value)("nx-calendar-body-today",s.todayValue===t.value),ye("aria-label",t.ariaLabel)("aria-disabled",!t.enabled||null),p(),K(" ",t.displayValue," ")}}function Fne(i,e){i&1&&wn(0,"td",3)}function Rne(i,e){if(i&1&&Ot(0,Fne,1,0,"td",3,Bo),i&2){let t=M(2);Tt(In(0,kV).constructor(t.followingItems))}}function zne(i,e){if(i&1&&(at(0,"tr",1),re(1,Ane,2,1),Ot(2,Vne,4,28,"td",2,$n),re(4,Rne,2,1),pt()),i&2){let t=e.$implicit,n=e.$index,r=M();p(),oe(n===0?1:-1),p(),Tt(t),p(2),oe(n===r._lastRowIndex&&r._lastRowOffset?4:-1)}}function Lne(i,e){if(i&1&&(c(0,"th",2),m(1),d()),i&2){let t=e.$implicit;ye("aria-label",t.long),p(),Pe(t.narrow)}}var Hne=["previousButton"],Bne=["nextButton"],jne=["changeViewButton"],qne=["todayButton"];function Une(i,e){if(i&1){let t=Y();c(0,"nx-month-view",16),jr("activeDateChange",function(r){O(t);let o=M();return ro(o._activeDate,r)||(o._activeDate=r),T(r)}),I("hoverDateChange",function(r){O(t);let o=M();return T(o._hoverDateChange(r))})("selectedChange",function(r){O(t);let o=M();return T(o._dateSelected(r))})("_userSelection",function(){O(t);let r=M();return T(r._userSelected())}),d()}if(i&2){let t=M();g("isRange",t.isRange()),Br("activeDate",t._activeDate),g("selected",t._selected())("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function Gne(i,e){if(i&1){let t=Y();c(0,"nx-year-view",17),jr("activeDateChange",function(r){O(t);let o=M();return ro(o._activeDate,r)||(o._activeDate=r),T(r)}),I("monthSelected",function(r){O(t);let o=M();return T(o._monthSelectedInYearView(r))})("selectedChange",function(r){O(t);let o=M();return T(o._goToDateInView(r,"month"))}),d()}if(i&2){let t=M();g("isRange",t.isRange()),Br("activeDate",t._activeDate),g("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function $ne(i,e){if(i&1){let t=Y();c(0,"nx-multi-year-view",18),jr("activeDateChange",function(r){O(t);let o=M();return ro(o._activeDate,r)||(o._activeDate=r),T(r)}),I("yearSelected",function(r){O(t);let o=M();return T(o._yearSelectedInMultiYearView(r))})("selectedChange",function(r){O(t);let o=M();return T(o._goToDateInView(r,"year"))}),d()}if(i&2){let t=M();Br("activeDate",t._activeDate),g("selected",t.selected)("dateFilter",t.dateFilter)("maxDate",t.maxDate)("minDate",t.minDate)}}function Wne(i,e){if(i&1){let t=Y();c(0,"div",15)(1,"button",19,3),I("click",function(){O(t);let r=M();return T(r.todayButtonHandler())})("keydown",function(r){O(t);let o=M();return T(o.todayButtonKeydownHandler(r))}),m(3),d()()}if(i&2){let t=M();p(),g("disabled",t._disableTodayButton),ye("aria-label",t._intl.todayButtonAriaLabel),p(2),K(" ",t._intl.todayButtonLabel," ")}}var Yne=["closeButton"],Qne=["toggleButton"],Kne=[[["","nxDatepickerToggleIcon",""]]],Xne=["[nxDatepickerToggleIcon]"];function Zne(i,e){i&1&&S(0,"nx-icon",2)}var Or=class{constructor(){this.locale="de-DE",this._localeChanges=new he}get localeChanges(){return this._localeChanges}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}sameDate(e,t){if(e&&t){let n=this.isValid(e),r=this.isValid(t);return n&&r?!this.compareDate(e,t):n===r}return e===t}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}setLocale(e){this.locale=e,this._localeChanges.next(this.locale)}getLocale(){return this.locale}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},E2=new Ee("nx-date-formats"),Jne=new Ee("nx-date-strict"),Qo=new Ee("nx-date-locale"),jf=typeof Intl<"u",eie={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},tie=G6(31,i=>String(i+1)),nie={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
24ay","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},iie=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:\+|-)\d{2}:\d{2})?)?$/;function G6(i,e){let t=Array(i);for(let n=0;n<i;n++)t[n]=e(n);return t}var rie=(()=>{let e=class e extends Or{constructor(n,r){super(),this.useUtcForDisplay=!0,super.setLocale(n||"en-US"),this.useUtcForDisplay=!r.TRIDENT,this._clampDate=r.TRIDENT||r.EDGE}getYear(n){return n.getFullYear()}getMonth(n){return n.getMonth()}getDate(n){return n.getDate()}getDayOfWeek(n){return n.getDay()}getMonthNames(n){if(jf){let r=new Intl.DateTimeFormat(this.locale,{month:n,timeZone:"utc"});return G6(12,o=>this._stripDirectionalityCharacters(this._format(r,new Date(2017,o,1))))}return eie[n]}getDateNames(){if(jf){let n=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return G6(31,r=>this._stripDirectionalityCharacters(this._format(n,new Date(2017,0,r+1))))}return tie}getDayOfWeekNames(n){if(jf){let r=new Intl.DateTimeFormat(this.locale,{weekday:n,timeZone:"utc"});return G6(7,o=>this._stripDirectionalityCharacters(this._format(r,new Date(2017,0,o+1))))}return nie[n]}getYearName(n){if(jf){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(r,n))}return String(this.getYear(n))}getFirstDayOfWeek(){return 0}getNumDaysInMonth(n){return this.getDate(this._createDateWithOverflow(this.getYear(n),this.getMonth(n)+1,0))}clone(n){return this.createDate(this.getYear(n),this.getMonth(n),this.getDate(n))}createDate(n,r,o){if(r<0||r>11)throw Error(`Invalid month index "${r}". Month index has to be between 0 and 11.`);if(o<1)throw Error(`Invalid date "${o}". Date has to be greater than 0.`);let a=this._createDateWithOverflow(n,r,o);if(a.getMonth()!==r)throw Error(`Invalid date "${o}" for month with index "${r}".`);return a}today(){return new Date}parse(n){return typeof n=="number"?new Date(n):n?new Date(Date.parse(n)):null}format(n,r){if(!this.isValid(n))throw Error("NxNativeDateAdapter: Cannot format invalid date.");if(jf){this._clampDate&&(n.getFullYear()<1||n.getFullYear()>9999)&&(n=this.clone(n),n.setFullYear(Math.max(1,Math.min(9999,n.getFullYear())))),r=mt(ae({},r),{timeZone:"utc"});let o=new Intl.DateTimeFormat(this.locale,r);
24return this._stripDirectionalityCharacters(this._format(o,n))}return this._stripDirectionalityCharacters(n.toDateString())}addCalendarYears(n,r){return this.addCalendarMonths(n,r*12)}addCalendarMonths(n,r){let o=this._createDateWithOverflow(this.getYear(n),this.getMonth(n)+r,this.getDate(n));return this.getMonth(o)!==((this.getMonth(n)+r)%12+12)%12&&(o=this._createDateWithOverflow(this.getYear(o),this.getMonth(o),0)),o}addCalendarDays(n,r){return this._createDateWithOverflow(this.getYear(n),this.getMonth(n),this.getDate(n)+r)}toIso8601(n){return[n.getUTCFullYear(),this._2digit(n.getUTCMonth()+1),this._2digit(n.getUTCDate())].join("-")}deserialize(n){if(typeof n=="string"){if(!n)return null;if(iie.test(n)){let r=new Date(n);if(this.isValid(r))return r}}return super.deserialize(n)}isDateInstance(n){return n instanceof Date}isValid(n){return!isNaN(n.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(n,r,o){let a=new Date(n,r,o);return n>=0&&n<100&&a.setFullYear(this.getYear(a)-1900),a}_2digit(n){return("00"+n).slice(-2)}_stripDirectionalityCharacters(n){return n.replace(/[\u200e\u200f]/g,"")}_format(n,r){let o=new Date(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate(),r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()));return n.format(o)}};e.\u0275fac=function(r){return new(r||e)(Le(Qo,8),Le(ti))},e.\u0275prov=W({token:e,factory:e.\u0275fac});let i=e;return i})();var oie={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},W6={provide:Qo,useFactory:(i,e)=>e!==null?e:i,deps:[yc,[new Q1,new ja,Qo]]},aie=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[{provide:Or,useClass:rie},W6],imports:[dV]});let i=e;return i})(),js=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[{provide:E2,useValue:oie}],imports:[aie]});let i=e;return i})(),z0=class i{static parse(e,t,n,r,o=null){return typeof n!="string"?i.parseBySingleHtmlInput(e,t,n,r,o):i.parseByStrings(e,t,n,r)}static parseByStrings(e,t,n,r){return()=>{if(!n)return null;let o=e.parse(n,t,r);return o&&e.isValid(o)?null:{nxDatefieldParse:{text:n,format:t,strict:r}}}}static parseBySingleHtmlInput(e,t,n,r,o){return()=>{if(!n.value)return null;let a=e.parse(n.value,o||t.parse.dateInput,r);return a&&e.isValid(a)?null:{nxDatefieldParse:{text:n.value}}}}static min(e,t){return n=>{let r=bM(e,e.deserialize(n.value));return!t||!r||e.compareDate(t,r)<=0?null:{nxDatefieldMin:{min:t,actual:r}}}}static max(e,t){return n=>{let r=bM(e,e.deserialize(n.value));return!t||!r||e.compareDate(t,r)>=0?null:{nxDatefieldMax:{max:t,actual:r}}}}static filter(e,t){return n=>{let r=bM(e,e.deserialize(n.value));return!t||!r||t(r)?null:{nxDatefieldFilter:!0}}}};function bM(i,e){return i.isDateInstance(e)&&i.isValid(e)?e:null}function kl(i){return Error(`NxDatepicker: No provider found for ${i}. You must import one of the following modules at your application root: NxNativeDateModule, NxMomentDateModule, NxIsoDateModule or provide a custom implementation.`)}var yM=class{},sie={provide:Fi,useExisting:Wt(()=>Nl),multi:!0},lie={provide:Bi,useExisting:Wt(()=>Nl),multi:!0},L0=class{constructor(e,t){this.target=e,this.targetElement=t,this.value=this.target.value}},Nl=(()=>{let e=class e{set datepicker(n){this.registerDatepicker(n)}set datefieldFilter(n){this._dateFilter=n,this._validatorOnChange()}set dateFilter(n){this._dateFilter=n,this._validatorOnChange()}get dateFilter(){return this._dateFilter}set value(n){n=this._dateAdapter.deserialize(n),n=this._getValidDateOrNull(n);let r=this.value;this._value=n,this._formatValue(this.value),this._dateAdapter.sameDate(r,n)||this._valueChange.emit(n)}get value(){return this._value}set min(n){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._validatorOnChange()}get min(){return this._min}set max(n){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._val
24idatorOnChange()}get max(){return this._max}set strict(n){this._strict=Ue(n)}get strict(){return this._strict}set parseFormat(n){this._parseFormat=n}get parseFormat(){return this._parseFormat}set displayFormat(n){this._displayFormat=n,this._formatValue(this.value)}get displayFormat(){return this._displayFormat}set disabled(n){let r=Ue(n);this._disabled!==r&&(this._disabled=r,this._disabledChange.emit(r)),r&&this._isInitialized&&this._elementRef.nativeElement.blur()}get disabled(){return!!this._disabled}setReadonly(n){this.readonlyState.set(n)}constructor(n,r,o,a,s,l){if(this._elementRef=n,this._formField=s,this._dateRange=l,this.currentFormattedDate=null,this.hasPopup=ba(!1),this._strict=!0,this.readonlyState=J1(!1,{alias:"readonly"}),this.dateChange=new X,this.dateInput=new X,this._valueChange=new X,this._disabledChange=new X,this._readonlyChange=new X,this._destroyed=new he,this._onTouched=()=>{},this._cvaOnChange=()=>{},this._validatorOnChange=()=>{},!r)throw kl("DateAdapter");if(this._dateAdapter=r,!o)throw kl("NX_DATE_FORMATS");this._dateFormats=o,this._strict=a??!0,r.localeChanges.pipe(ze(this._destroyed)).subscribe(()=>{let u=this.value;this.value=u}),this._readonlyStateChangeEffect=Z1(()=>{this._readonlyChange.emit(this.readonlyState())})}ngAfterContentInit(){this._datepicker?.selectedChanged.pipe(ze(this._destroyed)).subscribe(n=>{this.value=n,this._cvaOnChange(this.value),this._onTouched(),this.dateInput.emit(new L0(this,this._elementRef.nativeElement)),this.dateChange.emit(new L0(this,this._elementRef.nativeElement))}),this._isInitialized=!0}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._valueChange.complete(),this._disabledChange.complete(),this._readonlyChange.complete(),this._readonlyStateChangeEffect.destroy()}registerOnValidatorChange(n){this._validatorOnChange=n}validate(n){if(this._dateRange)return null;let r=ee.compose(this.getValidators());return r?r(n):null}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}writeValue(n){this.value=n}registerOnChange(n){this._cvaOnChange=n}registerOnTouched(n){this._onTouched=n}setDisabledState(n){this.disabled=n}_onKeydown(n){n.altKey&&n.keyCode===40&&(this._datepicker?.open(),n.preventDefault())}_onInput(n){let r=this._dateAdapter.parse(n,this._parseFormat||this._dateFormats.parse.dateInput,this.strict);r=this._getValidDateOrNull(r),this._value=r,r?this.currentFormattedDate=this._dateAdapter.format(r,this._displayFormat||this._dateFormats.display.dateInput):this.currentFormattedDate=null,this._cvaOnChange(r),this._valueChange.emit(r),this.dateInput.emit(new L0(this,this._elementRef.nativeElement))}_onChange(){this.dateChange.emit(new L0(this,this._elementRef.nativeElement))}_focus(){this._elementRef.nativeElement.focus()}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}getValidators(){return[z0.parse(this._dateAdapter,this._dateFormats,this._elementRef.nativeElement,this._strict,this._parseFormat),z0.min(this._dateAdapter,this.min),z0.max(this._dateAdapter,this.max),z0.filter(this._dateAdapter,this._dateFilter)]}_formatValue(n){this._elementRef.nativeElement.value=n?this._dateAdapter.format(n,this._displayFormat||this._dateFormats.display.dateInput):""}_getValidDateOrNull(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}registerDatepicker(n){n&&(this._datepicker=n,this._datepicker.registerInput(this))}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Or,8),D(E2,8),D(Jne,8),D(St,8),D(yM,8))},e.\u0275dir=Ie({type:e,selectors:[["input","nxDatefield",""]],hostVars:6,hostBindings:function(r,o){r&1&&I("input",function(s){return o._onInput(s.target.value)})("change",function(){return o._onChange()})("blur",function(){return o._onBlur()})("keydown",function(s){return o._onKeydown(s)}),r&2&&(gi("disabled",o.disabled)("readOnly",o.readonlyState()),ye("aria-haspopup",!!o._datepicker||o.hasPopup()||null)("aria-owns",(o._datepicker==null?null:o._datepicker.opened)&&o._datepicker.id||null)("min",o.min?o._dateAdapter.toIso8601(o.min):null)("max",o.max?o._dateAdapter.toIso8601(o.max):null))},inputs:{hasPopup:[1,"hasPopup"],datepicker:"datepicker",datefieldFilter:"datefieldFilter",dateFilter:"dateFilter",value:"value",min:"min",max:"max",strict:"strict",parseFormat:"parseFormat",displayFormat:"displayFormat",disabled:"disabled",readonlyState:[1,"readonly","readonlyState"]},outputs:{readonlyState:"readonlyChange",dateChange:"dateChange",dateInput:"dateInput"},exportAs:["nxDatefield"],features:[Mt([sie,lie,{provide:Bf,useExisting:e},{provide:Wr,useExisting:e}])]});let i=e;return i})();var H0=class{constructor(e,t,n,r){this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=r}},B0=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._focusMonitor=r,this.selectedValue=null,this.selectedEndDate=ba(null),this.betweenRange=ba([]),this.numCols=7,this.allowDisabledSelection=!1,this.activeCell=0,this.previousItems=0,this.followingItems=0,this.selectedValueChange=new X,this.hoverValueChange=new X,this.selectedValueChangeToPrevious=new X,this.selectedValueChangeToFollowing=new X,this._injector=C(Nt),this._focusActiveCellAfterViewChecked=!1,this._destroyed=new he}
24ngAfterViewInit(){this._cells.forEach(n=>this._focusMonitor.monitor(n)),this._cellsPrevious=this._cells,this._cells.changes.pipe(ze(this._destroyed)).subscribe(n=>{this._cellsPrevious.forEach(r=>this._focusMonitor.stopMonitoring(r)),this._cellsPrevious=this._cells,this._cells.forEach(r=>this._focusMonitor.monitor(r))})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._cells.forEach(n=>this._focusMonitor.stopMonitoring(n))}_previousCellClicked(n){!this.allowDisabledSelection&&!n.enabled||this.selectedValueChangeToPrevious.emit(n.value)}_cellClicked(n){!this.allowDisabledSelection&&!n.enabled||this.selectedValueChange.emit(n.value)}_cellFocused(n){this.hoverValueChange.emit(n.value)}_followingCellClicked(n){!this.allowDisabledSelection&&!n.enabled||this.selectedValueChangeToFollowing.emit(n.value)}get _firstRowOffset(){return this.rows?.length&&this.rows[0].length?this.numCols-this.rows[0].length:0}get _lastRowOffset(){return this.rows?.length&&this.rows[this.rows.length-1].length?this.numCols-this.rows[this.rows.length-1].length:0}get _lastRowIndex(){return this.rows?.length?this.rows.length-1:0}_isActiveCell(n,r){let o=n*this.numCols+r;return n&&(o-=this._firstRowOffset),o===this.activeCell}_focusActiveCell(){gr({read:()=>{this._elementRef.nativeElement.querySelector(".nx-calendar-body-active").focus()}},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["","nx-calendar-body",""]],viewQuery:function(r,o){if(r&1&&pe(Tne,5),r&2){let a;te(a=ne())&&(o._cells=a)}},hostAttrs:["role","rowgroup","attr.aria-readonly","true",1,"nx-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",selectedValue:"selectedValue",selectedEndDate:[1,"selectedEndDate"],betweenRange:[1,"betweenRange"],numCols:"numCols",allowDisabledSelection:"allowDisabledSelection",activeCell:"activeCell",previousItems:"previousItems",followingItems:"followingItems"},outputs:{selectedValueChange:"selectedValueChange",hoverValueChange:"hoverValueChange",selectedValueChangeToPrevious:"selectedValueChangeToPrevious",selectedValueChangeToFollowing:"selectedValueChangeToFollowing"},exportAs:["nxCalendarBody"],attrs:Ine,decls:2,vars:0,consts:[["cell",""],["role","row"],["role","gridcell",1,"nx-calendar-body-cell",3,"tabindex","width","range-start","range-end","in-range","range-row-start","range-row-end","nx-calendar-body-active","nx-calendar-body-selected"],["aria-hidden","true"],["role","gridcell",1,"nx-calendar-body-cell",3,"tabindex"],["role","button",1,"nx-calendar-body-cell-content",3,"click","focus","mouseover"]],template:function(r,o){r&1&&Ot(0,zne,5,2,"tr",1,kne),r&2&&Tt(o.rows)},styles:['.nx-calendar-body-cell[_ngcontent-%COMP%], .nx-calendar-adjacent-cell[_ngcontent-%COMP%]{position:relative;height:0;line-height:0;text-align:center;outline:none;vertical-align:text-bottom;cursor:pointer;border-top:2px;border-top-style:solid;border-top-color:var(--ui-background);border-bottom:2px;border-bottom-style:solid;border-bottom-color:var(--ui-background)}.nx-calendar-body-cell.range-start[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.range-start[_ngcontent-%COMP%]{background-color:var(--datepicker-range-background-color);border-top-left-radius:50%;border-bottom-left-radius:50%}.nx-calendar-body-cell.range-end[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.range-end[_ngcontent-%COMP%]{background-color:var(--datepicker-range-background-color);border-bottom-right-radius:50%;border-top-right-radius:50%}.nx-calendar-body-cell.in-range[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.in-range[_ngcontent-%COMP%]{background-color:var(--datepicker-range-background-color)}.nx-calendar-body-cell.range-row-start[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.range-row-start[_ngcontent-%COMP%]{border-top-left-radius:50%;border-bottom-left-radius:50%}.nx-calendar-body-cell.range-row-end[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.range-row-end[_ngcontent-%COMP%]{border-top-right-radius:50%;border-bottom-right-radius:50%}.nx-calendar-body-cell.cdk-keyboard-focused[_ngcontent-%COMP%] > .nx-calendar-body-cell-content[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.cdk-keyboard-focused[_ngcontent-%COMP%] > .nx-calendar-body-cell-content[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
24dow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-calendar-body-cell.cdk-keyboard-focused[_ngcontent-%COMP%] > .nx-calendar-body-cell-content[_ngcontent-%COMP%], .nx-calendar-adjacent-cell.cdk-keyboard-focused[_ngcontent-%COMP%] > .nx-calendar-body-cell-content[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-calendar-body-disabled[_ngcontent-%COMP%]{cursor:default}.nx-calendar-body-cell-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;margin:0 auto;outline:none;font-size:var(--datefield-cell-font-size);line-height:var(--datefield-cell-line-height);font-weight:var(--datefield-cell-font-weight);letter-spacing:var(--datefield-cell-letter-spacing);color:var(--datefield-cell-color);border-radius:50%;line-height:1;box-shadow:0 0 0 6px transparent}@media screen and (forced-colors: active){.nx-calendar-body-cell-content[_ngcontent-%COMP%]{color:buttonText}}.nx-calendar-body-cell-content[_ngcontent-%COMP%]:focus{z-index:1;position:relative}.nx-calendar-body-cell-content.nx-calendar-body-selected[_ngcontent-%COMP%]{color:var(--datefield-cell-selected-color);background-color:var(--datefield-cell-selected-background-color)}@media screen and (forced-colors: active){.nx-calendar-body-cell-content.nx-calendar-body-selected[_ngcontent-%COMP%]{forced-color-adjust:none;background-color:highlight;color:highlightText}}.nx-calendar-body-cell-content.nx-calendar-body-today[_ngcontent-%COMP%]{color:var(--datefield-controls-color)!important}.nx-calendar-body-cell-content.nx-calendar-body-today[_ngcontent-%COMP%]:after{content:"";display:block;position:absolute;width:4px;height:4px;margin-top:24px;background-color:var(--datefield-controls-color);border-radius:50%}@media screen and (forced-colors: active){.nx-calendar-body-cell-content.nx-calendar-body-today[_ngcontent-%COMP%]:after{background-color:CanvasText!important}}.nx-calendar-body-cell-content.nx-calendar-body-today.nx-calendar-body-selected[_ngcontent-%COMP%]{color:var(--datefield-cell-selected-color)!important}.nx-calendar-body-cell-content.nx-calendar-body-today.nx-calendar-body-selected[_ngcontent-%COMP%]:after{background-color:var(--datefield-cell-selected-color)}@media screen and (forced-colors: active){.nx-calendar-body-cell-content.nx-calendar-body-today.nx-calendar-body-selected[_ngcontent-%COMP%]:after{background-color:Background!important}}.nx-calendar-body-disabled[_ngcontent-%COMP%] > .nx-calendar-body-cell-content[_ngcontent-%COMP%]:not(.nx-calendar-body-selected){color:var(--datefield-cell-disabled-color)}@media screen and (forced-colors: active){.nx-calendar-body-disabled[_ngcontent-%COMP%] > .nx-calendar-body-cell-content[_ngcontent-%COMP%]:not(.nx-calendar-body-selected){color:GrayText}}.nx-calendar-body-cell-content.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-calendar-body-cell-content.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-calendar-body-cell-content[_ngcontent-%COMP%]   .nx-calendar-body-cell-content[_ngcontent-%COMP%]:not(.nx-calendar-body-selected){background-color:var(--datefield-cell-focused-background-color)}@media screen and (forced-colors: active){.nx-calendar-body-cell-content[_ngcontent-%COMP%]   .nx-calendar-body-cell-content[_ngcontent-%COMP%]:not(.nx-calendar-body-selected){background-color:highlight}}.nx-calendar-body-disabled[_ngcontent-%COMP%]{color:var(--datefield-cell-disabled-color)}.nx-calendar-body-disabled.nx-calendar-body-today[_ngcontent-%COMP%]{color:var(--datefield-cell-disabled-today-color)!important}.nx-calendar-body-disabled.nx-calendar-body-today[_ngcontent-%COMP%]:after{background-color:var(--datefield-cell-disabled-today-color)!important}.nx-calendar-body-disabled.nx-calendar-body-today.nx-calendar-body-selected[_ngcontent-%COMP%]:after{background-color:var(--datefield-cell-selected-color)!important}.nx-calendar-body-disabled.nx-calendar-body-selected[_ngcontent-%COMP%]{background-color:var(--datefield-cell-disabled-selected-background-color)!important}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-body-cell-content[_ngcontent-%COMP%], [_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-adjacent-cell-content[_ngcontent-%COMP%]{color:var(--datefield-cell-hover-color);background-color:var(--datefield-cell-hover-background-color)}@media screen and (forced-colors: active){[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-body-cell-content[_ngcontent-%COMP%], [_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-adjacent-cell-content[_ngcontent-%COMP%]{forced-color-adjust:none;background-color:highlight;color:highlightText}}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-body-cell-content.nx-calendar-body-selected[_ngcontent-%COMP%], [_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-adjacent-cell-content.nx-calendar-body-selected[_ngcontent-%COMP%]{color:var(--datefield-cell-selected-color);background-color:var(--datefield-cell-selected-hover-background-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-body-cell-content.nx-calendar-body-selected.nx-calendar-body-today[_ngcontent-%COMP%]:after, [_ng
24content-%COMP%]:not(.nx-calendar-body-disabled):hover > .nx-calendar-adjacent-cell-content.nx-calendar-body-selected.nx-calendar-body-today[_ngcontent-%COMP%]:after{background-color:var(--datefield-cell-selected-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):hover.in-range > .nx-calendar-body-cell-content[_ngcontent-%COMP%]{background-color:var(--datepicker-range-hover-background-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):active > .nx-calendar-body-cell-content.nx-calendar-body-today[_ngcontent-%COMP%]{color:var(--datefield-cell-active-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):active > .nx-calendar-body-cell-content.nx-calendar-body-today[_ngcontent-%COMP%]:after{background-color:var(--datefield-cell-active-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):active > .nx-calendar-body-cell-content[_ngcontent-%COMP%]:not(.nx-calendar-body-selected){background-color:var(--datefield-cell-active-background-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):active > .nx-calendar-body-cell-content.nx-calendar-body-selected[_ngcontent-%COMP%]{background-color:var(--datefield-cell-selected-active-background-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):active > .nx-calendar-body-cell-content.nx-calendar-body-selected.nx-calendar-body-today[_ngcontent-%COMP%]:after{background-color:var(--datefield-cell-selected-color)}[_ngcontent-%COMP%]:not(.nx-calendar-body-disabled):active.in-range > .nx-calendar-body-cell-content[_ngcontent-%COMP%]{background-color:var(--datepicker-range-active-background-color);color:var(--datefield-cell-selected-color)}.nx-calendar-adjacent-cell-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:40px;height:40px;margin:0 auto;font-size:var(--datefield-cell-font-size);line-height:var(--datefield-cell-line-height);font-weight:var(--datefield-cell-font-weight);letter-spacing:var(--datefield-cell-letter-spacing);font-weight:400;color:var(--datefield-cell-disabled-color);border-radius:50%;line-height:1}@media screen and (forced-colors: active){.nx-calendar-adjacent-cell-content[_ngcontent-%COMP%]{color:GrayText}}'],changeDetection:0});let i=e;return i})();var $6=7,cie=6*$6,OV=(()=>{let e=class e{set activeDate(n){let r=this._activeDate,o=this._getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._hasSameMonthAndYear(r,this._activeDate)||this._init()}get activeDate(){return this._activeDate}set selected(n){this._selected=this._getValidDateOrNull(n),this.selectedDateInMonth.set(this._getDateInCurrentMonth(n?.start||this._selected)),this.isRange()&&(this.selectedEndDate.set(this._getDateInCurrentMonth(n?.end||this._selected)),this.betweenRange.set(this.getRangeInMonth(n)))}get selected(){return this._selected}set minDate(n){this._minDate=this._getValidSingleDateOrNull(this._dateAdapter.deserialize(n))}get minDate(){return this._minDate}set maxDate(n){this._maxDate=this._getValidSingleDateOrNull(this._dateAdapter.deserialize(n))}get maxDate(){return this._maxDate}constructor(n,r,o,a){if(this._cdr=n,this._dir=a,this.isRange=ba(!1),this.selectedChange=new X,this._userSelection=new X,this.activeDateChange=new X,this.hoverDateChange=new X,this.selectedDateInMonth=J1(null),this.selectedEndDate=J1(null),this.betweenRange=J1([]),this._numCols=7,!o)throw kl("DateAdapter");if(this._dateAdapter=o,!r)throw kl("MAT_DATE_FORMATS");this._dateFormats=r;let s=this._dateAdapter.getFirstDayOfWeek(),l=this._dateAdapter.getDayOfWeekNames("narrow"),h=this._dateAdapter.getDayOfWeekNames("long").map((_,y)=>({long:_,narrow:l[y]}));this._weekdays=h.slice(s).concat(h.slice(0,s)),this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._init(),this._focusActiveCell()}handleHoverChange(n,r=0){let o=this._dateAdapter.getYear(this._dateAdapter.addCalendarMonths(this.activeDate,r)),a=this._dateAdapter.getMonth(this._dateAdapter.addCalendarMonths(this.activeDate,r)),s=this._dateAdapter.createDate(o,a,n);this.hoverDateChange.emit(s)}calcDate(n,r=0){let o=this._dateAdapter.getYear(this._dateAdapter.addCalendarMonths(this.activeDate,r)),a=this._dateAdapter.getMonth(this._dateAdapter.addCalendarMonths(this.activeDate,r));return this._dateAdapter.createDate(o,a,n)}_dateSelected(n,r=0){!this.isRange()&&this.selectedDateInMonth()!==n&&this.selectedChange.emit(this.calcDate(n,r)),this.isRange()&&this.selectedChange.emit(this.calcDate(n,r))}_handleCalendarBodyKeydown(n){let r=this._activeDate,o=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-this._numCols);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._numCols);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=n.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=n.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:(!this.dateFilter||this.dateFilter(this._activeDate))&&(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this.isRange()||this._userSelection.emit(),n.preventDefault());return;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()}_init(){let n=this.selected&&this.isRange()?this.selected.start:this.selected;this.selectedDateInMonth.set(this._getDateInCurrentMonth(n)),this.isRange()&&this.selected&&(this.selectedEndDate.set(this._getDateInCurrentMonth(this.selected?.end||this.selected)),this.betweenRange.set(this.getRangeInMonth(this.selected))),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=($6+this._dateAdapter.getDayOfWeek(r)-this._dateAdapter.getFirstDayOfWeek())%$6,this._createWeekCells(),this._cdr.markForCheck()}_focusActiveCell(){this._nxCalendarBody._focusActiveCell()}_createWeekCells(){let n=this._dateAdapter.getNumDaysInMonth(this.activeDate),r=this._dateAdapter.getDateNames();this._weeks=[[]];for(let o=0,a=this._firstWeekOffset;o<n;o++,a++){a===$6&&(this._weeks.push([]),a=0);let s=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),o+1),l=this._shouldEnableDate(s),u=this._dateAdapter.format(s,this._dateFormats.display.dateA11yLabel);this._weeks[this._weeks.length-1].push(new H0(o+1,r[o],u,l))}}_shouldEnableDate(n){return!!n&&(!this.dateFilter||this.dateFilter(n))&&(!this.minDate||this._dateAdapter.compareDate(n,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(n,this.maxDate)<=0)}_getDateInCurrentMonth(n){let r=this.getInitialSelectionDate(n),o=n&&this._hasSameMonthAndYear(r,this.activeDate);return n&&o?this._dateAdapter.getDate(r):null}getRangeInMonth(n){let r=(y,b)=>Array.from({length:b-y+1},(x,w)=>y+w);if(!(n.start&&n.end&&this._dateAdapter.isValid(n.start)&&this._dateAdapter.isValid(n.end)))return[];if(!(this._dateAdapter.compareDate(n.start,n.end)<0))return[];let s=this._hasSameMonthAndYear(n.start,this.activeDate),l=this._hasSameMonthAndYear(n.end,this.activeDate);if(s&&l){let y=this._dateAdapter.getDate(n.start),b=this._dateAdapter.getDate(n.end);
24return r(y+1,b-1)}if(s&&!l){let y=this._dateAdapter.getDate(n.start);return r(y+1,31)}if(!s&&l){let b=this._dateAdapter.getDate(n.end);return r(1,b-1)}let u=this._dateAdapter.compareDate(this.activeDate,n.start)>0,h=this._dateAdapter.compareDate(this.activeDate,n.end)<0;return u&&h?r(1,31):[]}getInitialSelectionDate(n){return this._dateAdapter.isDateInstance(n)?n:n?.start}_hasSameMonthAndYear(n,r){return!!(n&&r&&this._dateAdapter.getMonth(n)===this._dateAdapter.getMonth(r)&&this._dateAdapter.getYear(n)===this._dateAdapter.getYear(r))}_getValidDateOrNull(n){if(this.isRange()&&!this._dateAdapter.isDateInstance(n)){let r=n;return{start:this._dateAdapter.isDateInstance(r?.start)&&this._dateAdapter.isValid(r.start)?n.start:null,end:this._dateAdapter.isDateInstance(r?.end)&&this._dateAdapter.isValid(r.end)?n.end:null}}return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}_getValidSingleDateOrNull(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_getFirstDaysOfFollowingMonth(){let r=(cie-this._firstWeekOffset-this._dateAdapter.getNumDaysInMonth(this.activeDate))%7;return r>0?r:0}_getRowOfDays(n,r){let o=[],a=this._dateAdapter.getDateNames();for(let s=0;s<r;s++){let l=this._dateAdapter.addCalendarDays(n,s),u=this._dateAdapter.getDate(l),h=this._shouldEnableDate(l),_=this._dateAdapter.format(l,this._dateFormats.display.dateA11yLabel);o.push(new H0(u,a[u-1],_,h))}return o}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(E2,8),D(Or,8),D(jn,8))},e.\u0275cmp=z({type:e,selectors:[["nx-month-view"]],viewQuery:function(r,o){if(r&1&&pe(B0,7),r&2){let a;te(a=ne())&&(o._nxCalendarBody=a.first)}},inputs:{activeDate:"activeDate",isRange:[1,"isRange"],selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",selectedDateInMonth:[1,"selectedDateInMonth"],selectedEndDate:[1,"selectedEndDate"],betweenRange:[1,"betweenRange"]},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange",hoverDateChange:"hoverDateChange",selectedDateInMonth:"selectedDateInMonthChange",selectedEndDate:"selectedEndDateChange",betweenRange:"betweenRangeChange"},exportAs:["nxMonthView"],decls:6,vars:10,consts:[["role","grid",1,"nx-calendar-table"],[1,"nx-calendar-table-head"],[1,"nx-calendar-table-header"],["nx-calendar-body","",3,"selectedValueChange","selectedValueChangeToPrevious","selectedValueChangeToFollowing","keydown","hoverValueChange","label","rows","previousItems","followingItems","todayValue","numCols","selectedValue","selectedEndDate","betweenRange","activeCell"]],template:function(r,o){r&1&&(c(0,"table",0)(1,"thead",1)(2,"tr"),Ot(3,Lne,2,2,"th",2,$n),d()(),c(5,"tbody",3),I("selectedValueChange",function(s){return o._dateSelected(s)})("selectedValueChangeToPrevious",function(s){return o._dateSelected(s,-1)})("selectedValueChangeToFollowing",function(s){return o._dateSelected(s,1)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)})("hoverValueChange",function(s){return o.handleHoverChange(s)}),d()()),r&2&&(p(3),Tt(o._weekdays),p(2),g("label",o._monthLabel)("rows",o._weeks)("previousItems",o._firstWeekOffset)("followingItems",o._getFirstDaysOfFollowingMonth())("todayValue",o._todayDate)("numCols",o._numCols)("selectedValue",o.selectedDateInMonth())("selectedEndDate",o.selectedEndDate())("betweenRange",o.betweenRange())("activeCell",o._dateAdapter.getDate(o.activeDate)-1))},dependencies:[B0],styles:[".nx-calendar-table[_ngcontent-%COMP%]{border-spacing:0;border-collapse:collapse;width:100%}.nx-calendar-table-header[_ngcontent-%COMP%]{font-size:var(--datefield-cell-font-size);line-height:var(--datefield-cell-line-height);font-weight:var(--datefield-cell-font-weight);letter-spacing:var(--datefield-cell-letter-spacing);color:var(--datefield-header-cell-color);text-align:center;height:40px;font-weight:var(--datefield-header-cell-font-weight)}"],changeDetection:0});let i=e;return i})();var ts=20,CM=4,TV=(()=>{let e=class e{set activeDate(n){let r=this._activeDate,o=this._getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),Math.floor(this._dateAdapter.getYear(r)/ts)!==Math.floor(this._dateAdapter.getYear(this._activeDate)/ts)&&this._init()}get activeDate(){return this._activeDate}set selected(n){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)}get selected(){return this._selected}set minDate(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}
24get minDate(){return this._minDate}set maxDate(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}get maxDate(){return this._maxDate}constructor(n,r,o){if(this._cdr=n,this._dir=o,this.selectedChange=new X,this.yearSelected=new X,this.activeDateChange=new X,!r)throw kl("DateAdapter");this._dateAdapter=r,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._init(),this._focusActiveCell()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let n=this._dateAdapter.getYear(this._activeDate),r=n%ts;this._years=[];for(let o=0,a=[];o<ts;o++)a.push(n-r+o),a.length===CM&&(this._years.push(a.map(s=>this._createCellForYear(s))),a=[]);this._cdr.markForCheck()}_yearSelected(n){this.yearSelected.emit(this._dateAdapter.createDate(n,0,1));let r=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(n,r,1));this.selectedChange.emit(this._dateAdapter.createDate(n,r,Math.min(this._dateAdapter.getDate(this.activeDate),o)))}_handleCalendarBodyKeydown(n){let r=this._activeDate,o=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-CM);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,CM);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-this._dateAdapter.getYear(this._activeDate)%ts);break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ts-this._dateAdapter.getYear(this._activeDate)%ts-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?-ts*10:-ts);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?ts*10:ts);break;case 13:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()}_getActiveCell(){return this._dateAdapter.getYear(this.activeDate)%ts}_focusActiveCell(){this._nxCalendarBody._focusActiveCell()}_createCellForYear(n){let r=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1));return new H0(n,r,r,this._shouldEnableYear(n))}_shouldEnableYear(n){if(n==null||this.maxDate&&n>this._dateAdapter.getYear(this.maxDate)||this.minDate&&n<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(n,0,1);for(let o=r;this._dateAdapter.getYear(o)===n;o=this._dateAdapter.addCalendarDays(o,1))if(this.dateFilter(o))return!0;return!1}_getValidDateOrNull(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}_isRtl(){return this._dir&&this._dir.value==="rtl"}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Or,8),D(jn,8))},e.\u0275cmp=z({type:e,selectors:[["nx-multi-year-view"]],viewQuery:function(r,o){if(r&1&&pe(B0,7),r&2){let a;te(a=ne())&&(o._nxCalendarBody=a.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["nxMultiYearView"],decls:2,vars:5,consts:[["role","grid",1,"nx-calendar-table"],["nx-calendar-body","",3,"selectedValueChange","keydown","rows","todayValue","selectedValue","numCols","activeCell"]],template:function(r,o){r&1&&(c(0,"table",0)(1,"tbody",1),I("selectedValueChange",function(s){return o._yearSelected(s)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)}),d()()),r&2&&(p(),g("rows",o._years)("todayValue",o._todayYear)("selectedValue",o._selectedYear)("numCols",4)("activeCell",o._getActiveCell()))},dependencies:[B0],styles:[".nx-calendar-table[_ngcontent-%COMP%]{border-spacing:0;border-collapse:collapse;width:100%}[_nghost-%COMP%]     .nx-calendar-body .nx-calendar-body-cell-content{margin:0 17.3333333333px 8px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-calendar-body .nx-calendar-body-cell-content{margin:0 12px 8px}}[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-left:8px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-left:16px}}[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-right:8px;margin-left:17.3333333333px}@media (max-width: 703px){[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-right:12px;margin-left:12px}}[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:8px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:16px}}[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:17.3333333333px;margin-left:8px}@media (max-width: 703px){[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:12px;margin-left:12px}}"],changeDetection:0});let i=e;return i})();var IV=(()=>{let e=class e{set activeDate(n){let r=this._activeDate,o=this._getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(o,this.minDate,this.maxDate),this._dateAdapter.getYear(r)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get activeDate(){return this._activeDate}set selected(n){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)}get selected(){return this._selected}set minDate(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}
24get minDate(){return this._minDate}set maxDate(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}get maxDate(){return this._maxDate}constructor(n,r,o,a){if(this._cdr=n,this._dir=a,this.isRange=ba(!1),this.selectedChange=new X,this.monthSelected=new X,this.activeDateChange=new X,this._numCols=3,!o)throw kl("DateAdapter");if(this._dateAdapter=o,!r)throw kl("MAT_DATE_FORMATS");this._dateFormats=r,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._init(),this._focusActiveCell()}_monthSelected(n){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(r);let o=this._dateAdapter.getNumDaysInMonth(r);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,Math.min(this._dateAdapter.getDate(this.activeDate),o)))}_handleCalendarBodyKeydown(n){let r=this._activeDate,o=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,o?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._numCols);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,this._numCols);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,n.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?10:1);break;case 13:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()}_init(){let n=this.selected&&this.isRange()?this.selected.start:this.selected;this._selectedMonth=this._getMonthInCurrentYear(n),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let r=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2],[3,4,5],[6,7,8],[9,10,11]].map(o=>o.map(a=>this._createCellForMonth(a,r[a]))),this._cdr.markForCheck()}_focusActiveCell(){this._nxCalendarBody._focusActiveCell()}_getMonthInCurrentYear(n){return n&&this._dateAdapter.getYear(n)===this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(n):null}_createCellForMonth(n,r){let o=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1),this._dateFormats.display.monthYearA11yLabel);return new H0(n,r,o,this._shouldEnableMonth(n))}_shouldEnableMonth(n){let r=this._dateAdapter.getYear(this.activeDate);if(n==null||this._isYearAndMonthAfterMaxDate(r,n)||this._isYearAndMonthBeforeMinDate(r,n))return!1;if(!this.dateFilter)return!0;let o=this._dateAdapter.createDate(r,n,1);for(let a=o;this._dateAdapter.getMonth(a)===n;a=this._dateAdapter.addCalendarDays(a,1))if(this.dateFilter(a))return!0;return!1}_isYearAndMonthAfterMaxDate(n,r){if(this.maxDate){let o=this._dateAdapter.getYear(this.maxDate),a=this._dateAdapter.getMonth(this.maxDate);return n>o||n===o&&r>a}return!1}_isYearAndMonthBeforeMinDate(n,r){if(this.minDate){let o=this._dateAdapter.getYear(this.minDate),a=this._dateAdapter.getMonth(this.minDate);return n<o||n===o&&r<a}return!1}_getValidDateOrNull(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}_isRtl(){return this._dir&&this._dir.value==="rtl"}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(E2,8),D(Or,8),D(jn,8))},e.\u0275cmp=z({type:e,selectors:[["nx-year-view"]],viewQuery:function(r,o){if(r&1&&pe(B0,7),r&2){let a;te(a=ne())&&(o._nxCalendarBody=a.first)}},inputs:{isRange:[1,"isRange"],activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["nxYearView"],decls:2,vars:6,consts:[["role","grid",1,"nx-calendar-table"],["nx-calendar-body","",3,"selectedValueChange","keydown","label","rows","todayValue","selectedValue","numCols","activeCell"]],template:function(r,o){r&1&&(c(0,"table",0)(1,"tbody",1),I("selectedValueChange",function(s){return o._monthSelected(s)})("keydown",function(s){return o._handleCalendarBodyKeydown(s)}),d()()),r&2&&(p(),g("label",o._yearLabel)("rows",o._months)("todayValue",o._todayMonth)("selectedValue",o._selectedMonth)("numCols",o._numCols)("activeCell",o._dateAdapter.getMonth(o.activeDate)))},dependencies:[B0],styles:[".nx-calendar-table[_ngcontent-%COMP%]{border-spacing:0;border-collapse:collapse;width:100%}[_nghost-%COMP%]     .nx-calendar-body .nx-calendar-body-cell-content{margin:0 36px 8px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-calendar-body .nx-calendar-body-cell-content{margin:0 24px 8px}}[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-left:8px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-left:24px}}[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-right:8px;margin-left:36px}@media (max-width: 703px){[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:first-child .nx-calendar-body-cell-content{margin-right:24px;margin-left:24px}}[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:8px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:24px}}[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:36px;margin-left:8px}@media (max-width: 703px){[dir=rtl]   [_nghost-%COMP%]     .nx-calendar-body tr .nx-calendar-body-cell:last-child .nx-calendar-body-cell-content{margin-right:24px;margin-left:24px}}"],changeDetection:0});let i=e;return i})();var wM=(()=>{let e=class e{constructor(){this.changes=new he,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeIconLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 
24years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year",this.todayButtonLabel="Today",this.todayButtonAriaLabel="Navigate to today",this.startDateSelectedAnnouncement="Start date selected. Please Select end date.",this.dateRangeSelectionCompleteAnnouncement="Date range selection complete."}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var P2=20,MM=(()=>{let e=class e{set startAt(n){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}get startAt(){return this._startAt}set selected(n){this.isRange()?this._selected.set(this.getValidRangeOrNullDate(n)):this._selected.set(this._getValidDateOrNull(n))}get selected(){return this._selected()}set minDate(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}get minDate(){return this._minDate}set maxDate(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}get maxDate(){return this._maxDate}set _activeDate(n){this._clampedActiveDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate)}get _activeDate(){return this._clampedActiveDate}get _periodButtonText(){if(this._currentView==="month")return this._dateAdapter.format(this._activeDate,this._dateFormats.display.monthYearLabel);if(this._currentView==="year")return this._dateAdapter.getYearName(this._activeDate);let n=this._dateAdapter.getYear(this._activeDate),r=this._dateAdapter.getYearName(this._dateAdapter.createDate(n-n%P2,0,1)),o=this._dateAdapter.getYearName(this._dateAdapter.createDate(n+P2-1-n%P2,0,1));return`${r} \u2013 ${o}`}get _periodButtonLabel(){return this._currentView==="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get _prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this._currentView]}get _nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this._currentView]}get _isRtl(){return this._dir?.value==="rtl"}get _disableTodayButton(){let n=this._dateAdapter.today();return this._currentView==="month"&&this._dateAdapter.getMonth(this._activeDate)===this._dateAdapter.getMonth(n)&&this._dateAdapter.getYear(this._activeDate)===this._dateAdapter.getYear(n)}constructor(n,r,o,a,s,l,u,h){if(this._intl=n,this._dir=o,this._focusMonitor=l,this._liveAnnouncer=u,this._elementRef=h,this.isRange=ba(!1),this.startView="month",this._selected=nn(null),this._currentRange={start:null,end:null},this._inEndDateSelectionMode=!1,this.showTodayButton=!1,this.selectedChange=new X,this.yearSelected=new X,this.monthSelected=new X,this._userSelection=new X,this.todayButtonClick=new X,this._injector=C(Nt),this._destroyed=new he,!r)throw kl("DateAdapter");if(this._dateAdapter=r,!a)throw kl("MAT_DATE_FORMATS");this._dateFormats=a,n.changes.pipe(ze(this._destroyed)).subscribe(()=>s.markForCheck())}ngAfterContentInit(){this._activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewInit(){this._focusMonitor.monitor(this._previousButton),this._focusMonitor.monitor(this._nextButton),this._focusMonitor.monitor(this._changeViewButton),this._todayButton&&this._focusMonitor.monitor(this._todayButton)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._previousButton),this._focusMonitor.stopMonitoring(this._nextButton),this._focusMonitor.stopMonitoring(this._changeViewButton),this._todayButton&&this._focusMonitor.stopMonitoring(this._todayButton)}ngOnChanges(n){let r=n.minDate||n.maxDate||n.dateFilter;if(r&&!r.firstChange){let o=this.monthView||this.yearView||this.multiYearView;o&&o._init()}}_hoverDateChange(n){this._inEndDateSelectionMode=!0,this.isRange()&&this._currentRange.start&&(this._currentRange={start:this._currentRange.start,end:n},this._selected.set(this._currentRange))}_dateSelected(n){if(!this.isRange()&&!this._dateAdapter.sameDate(n,this.selected)){this.selected=n,this.selectedChange.emit(n),this._userSelected();return}let r=this._getValidDateOrNull(n);if(r){if(this.isRange()&&!this._currentRange.start){this._currentRange={start:r,end:null},this._selected.set(this._currentRange),this._liveAnnouncer.announce(this._intl.startDateSelectedAnnouncement),this.selectedChange.emit(this.selected);return}if(this.isRange()&&this._currentRange.start&&this._dateAdapter.compareDate(r,this._currentRange.start)<0){this._currentRange={start:r,end:null},this._selected.set(this._currentRange),this.selectedChange.emit(this.selected);return}this.isRange()&&this._currentRange.start&&(!this._currentRange.end||this._inEndDateSelectionMode)&&(this._currentRange={start:this._currentRange.start,end:r},this._selected.set(this._currentRange),this._liveAnnouncer.announce(this._intl.dateRangeSelectionCompleteAnnouncement),this.selectedChange.emit(this.selected),this._userSelected())}}_yearSelectedInMultiYearView(n){this.yearSelected.emit(n)}_monthSelectedInYearView(n){this.monthSelected.emit(n)}_userSelected(){this.isRange()||this._userSelection.emit();let n=this.selected;this.isRange()&&n.start&&n.end&&this._userSelection.emit()}_goToDateInView(n,r){this._activeDate=n,this._currentView=r}_changeViewClicked(){this._currentView=this._currentView==="month"?"multi-year":"month"}_previousClicked(){this._activeDate=this._currentView==="month"?this._dateAdapter.addCalendarMonths(this._activeDate,-1):this._dateAdapter.addCalendarYears(this._activeDate,this._currentView==="year"?-1:-P2)}_nextClicked(){this._activeDate=this._currentView==="month"?this._dateAdapter.addCalendarMonths(this._activeDate,1):this._dateAdapter.addCalendarYears(this._activeDate,this._currentView==="year"?1:P2)}_previousEnabled(){return this.minDate?!this.minDate||!this._isSameView(this._activeDate,this.minDate):!0}_nextEnabled(){return!this.maxDate||!this._isSameView(this._activeDate,this.maxDate)}_isSameView(n,r){return this._currentView==="month"?this._dateAdapter.getYear(n)===this._dateAdapter.getYear(r)&&this._dateAdapter.getMonth(n)===this._dateAdapter.getMonth(r):this._currentView==="year"?this._dateAdapter.getYear(n)===this._dateAdapter.getYear(r):Math.floor(this._dateAdapter.getYear(n)/P2)===Math.floor(this._dateAdapter.getYear(r)/P2)}_getValidDateOrNull(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}getValidRangeOrNullDate(n){if(n===null)return{start:null,end:null};let r=n,o=this._dateAdapter.isDateInstance(r?.start)&&this._dateAdapter.isValid(r.start),a=this._dateAdapter.isDateInstance(r?.end)&&this._dateAdapter.isValid(r.end);return{start:o?r.start:null,end:a?r.end:null}}todayButtonHandler(){this._activeDate=this._dateAdapter.today(),this._currentView!=="month"&&(this._currentView="month"),gr({read:()=>{let n=this._elementRef.nativeElement.querySelector(".nx-calendar-body-today");n&&n.focus()}},{injector:this._injector}),this.todayButtonClick.emit()}todayButtonKeydownHandler(n){(n.key==="Enter"||n.key===" ")&&(n.preventDefault(),this.todayButtonHandler())}};e.\u0275fac=function(r){return new(r||e)(D(wM),D(Or,8),D(jn,8),D(E2,8),D(Ye),D(Kt),D(Ja),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-calendar"]],viewQuery:function(r,o){if(r&1&&(pe(OV,5),pe(IV,5),pe(TV,5),pe(Hne,5),pe(Bne,5),pe(jne,5),pe(qne,5)),r&2){let a;te(a=ne())&&(o.monthView=a.first),te(a=ne())&&(o.yearView=a.first),te(a=ne())&&(o.multiYearView=a.first),te(a=ne())&&(o._previousButton=a.first),te(a=ne())&&(o._nextButton=a.first),te(a=ne())&&(o._changeViewButton=a.first),te(a=ne())&&(o._todayButton=a.first)}},hostAttrs:[1,"nx-calendar"],inputs:{isRange:[1,"isRange"],startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",showTodayButton:[2,"showTodayButton","showTodayButton",$t]},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection",todayButtonClick:"todayButtonClick"},exportAs:["nxCalendar"],features:[on],decls:19,vars:11,consts:[["previousButton",""],["nextButton",""],["changeViewButton",""],["todayButton",""],[1,"nx-calendar-header"],[1,"nx-calendar-control
24s"],["nxPlainButton","",1,"nx-calendar-previous-button",3,"click","disabled"],["aria-hidden","true",3,"name"],[1,"nx-calendar-period-label"],["nxPlainButton","",1,"nx-calendar-next-button",3,"click","disabled"],[1,"nx-calendar-view-controls"],["nxPlainButton","",1,"nx-calendar-change-view-button",3,"click"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"nx-calendar-content"],[3,"isRange","activeDate","selected","dateFilter","maxDate","minDate"],[3,"activeDate","selected","dateFilter","maxDate","minDate"],[1,"nx-calendar-footer"],[3,"activeDateChange","hoverDateChange","selectedChange","_userSelection","isRange","activeDate","selected","dateFilter","maxDate","minDate"],[3,"activeDateChange","monthSelected","selectedChange","isRange","activeDate","selected","dateFilter","maxDate","minDate"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate"],["nxPlainButton","","type","button",3,"click","keydown","disabled"]],template:function(r,o){if(r&1){let a=Y();c(0,"div",4)(1,"div",5)(2,"button",6,0),I("click",function(){return O(a),T(o._previousClicked())}),S(4,"nx-icon",7),d(),c(5,"span",8),m(6),d(),c(7,"button",9,1),I("click",function(){return O(a),T(o._nextClicked())}),S(9,"nx-icon",7),d()(),c(10,"div",10)(11,"button",11,2),I("click",function(){return O(a),T(o._changeViewClicked())}),m(13),d()()(),c(14,"div",12),re(15,Une,1,6,"nx-month-view",13)(16,Gne,1,6,"nx-year-view",13)(17,$ne,1,5,"nx-multi-year-view",14),d(),re(18,Wne,4,3,"div",15)}if(r&2){let a;p(2),g("disabled",!o._previousEnabled()),ye("aria-label",o._prevButtonLabel),p(2),g("name",o._isRtl?"chevron-right":"chevron-left"),p(2),K(" ",o._periodButtonText," "),p(),g("disabled",!o._nextEnabled()),ye("aria-label",o._nextButtonLabel),p(2),g("name",o._isRtl?"chevron-left":"chevron-right"),p(2),ye("aria-label",o._periodButtonLabel),p(2),K(" ",o._periodButtonLabel," "),p(2),oe((a=o._currentView)==="month"?15:a==="year"?16:a==="multi-year"?17:-1),p(3),oe(o.showTodayButton?18:-1)}},dependencies:[xt,nt,Ay,OV,IV,TV,dr,_o],styles:[".nx-calendar-content[_ngcontent-%COMP%]{width:280px;margin:16px auto 0;height:292px}.nx-calendar-previous-button[disabled][_ngcontent-%COMP%], .nx-calendar-next-button[disabled][_ngcontent-%COMP%]{cursor:not-allowed}.nx-calendar-previous-button[disabled][_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%], .nx-calendar-next-button[disabled][_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:var(--disabled-01)}.nx-calendar-controls[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:0 40px}.nx-calendar-period-label[_ngcontent-%COMP%]{font-size:var(--datefield-period-label-font-size);line-height:var(--datefield-period-label-line-height);font-weight:var(--datefield-period-label-font-weight);letter-spacing:var(--datefield-period-label-letter-spacing);color:var(--datefield-period-label-color);text-align:center}.nx-calendar-view-controls[_ngcontent-%COMP%]{text-align:center;height:24px}.nx-calendar-change-view-button[_ngcontent-%COMP%]{margin:8px 0 0}.nx-calendar-change-view-button.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-calendar-previous-button.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-calendar-next-button.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-calendar-change-view-button.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-calendar-previous-button.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-calendar-next-button.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}button[_ngcontent-%COMP%]::-moz-focus-inner{border:0}.nx-calendar-footer[_ngcontent-%COMP%]{text-align:center;margin:16px 0 32px}"],changeDetection:0});let i=e;return i})();var die=0,uie=new Ee("nx-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.reposition()}});var pie=new Ee("DATEPICKER_DEFAULT_OPTIONS"),NV=(()=>{let e=class e{constructor(n,r,o){this._intl=n,this.elementRef=r,this._focusMonitor=o,this.isRange=lr(()=>this.datepicker.isRange()),this._afterNextRenderInitial=gr({read:()=>{this.elementRef.nativeElement.querySelector(".nx-calendar-body-active").focus()}})}ngAfterViewInit(){this._focusMonitor.monitor(this._closeButton)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._closeButton),this._afterNextRenderInitial.destroy()}};e.\u0275fac=function(r){return new(r||e)(D(wM),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-datepicker-content"]],viewQuery:function(r,o){if(r&1&&(pe(MM,7),pe(Yne,5)),r&2){let a;te(a=ne())&&(o._calendar=a.first),te(a=ne())&&(o._closeButton=a.first)}},hostAttrs:[1,"nx-datepicker-content"],exportAs:["nxDatepickerContent"],decls:6,vars:11,consts:[["closeButton",""],["cdkTrapFocus","",1,"nx-calendar-focus-trap"],[1,"nx-datepicker-header"],["nxPlainButton","","type","button",1,"nx-datepicker-close",3,"click"],["name","close","aria-hidden","true"],[3,"selectedChange","yearSelected","monthSelected","_userSelection","todayButtonClick","id","ngClass","startAt","startView","isRange","minDate","maxDate","dateFilter","selected","showTodayButton"]],template:function(r,o){if(r&1){let a=Y();c(0,"div",1)(1,"div",2)(2,"button",3,0),I("click",function(){return O(a),T(o.datepicker.close())}),S(4,"nx-icon",4),d()(),c(5,"nx-calendar",5),I("selectedChange",function(l){return O(a),T(o.datepicker.select(l))})("yearSelected",function(l){return O(a),T(o.datepicker.selectYear(l))})("monthSelected",function(l){return O(a),T(o.datepicker.selectMonth(l))})("_userSelection",function(){return O(a),T(o.datepicker.close())})("todayButtonClick",function(){return O(a),T(o.datepicker.handleTodayButtonClick())}),d()()}r&2&&(p(2),ye("aria-label",o._intl.closeIconLabel||"Close calendar"),p(3),g("id",o.datepicker.id)("ngClass",o.datepicker.panelClass)("startAt",o.datepicker.startAt)("startView",o.datepicker.startView)("isRange",o.isRange())("minDate",o.datepicker.minDate)("maxDate",o.datepicker.maxDate)("dateFilter",o.datepicker.dateFilter)("selected",o.datepicker.selectedComputed())("showTodayButton",o.datepicker.showTodayButton))},dependencies:[Ff,xt,nt,MM,Un,dr,_o],styles:["[_nghost-%COMP%]{background:var(--datefield-panel-background-color);display:flex;flex-flow:column nowrap;box-shadow:var(--shadow-large);border:1px solid var(--datefield-panel-border-color);border-radius:4px}.nx-calendar-focus-trap[_ngcontent-%COMP%]{display:flex;flex-flow:column nowrap;max-height:95vh;overflow-y:auto}.nx-datepicker-header[_ngcontent-%COMP%]{background:var(--datefield-panel-header-background-color);padding:15px 16px 16px;display:flex;height:55px}@media (max-width: 703px){.nx-datepicker-header[_ngcontent-%COMP%]{padding-left:19px;padding-right:19px}}.nx-datepicker-close[_ngcontent-%COMP%]{margin-left:auto}[dir=rtl][_nghost-%COMP%]   .nx-datepicker-close[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-datepicker-close[_ngcontent-%COMP%]{margin-right:auto;margin-left:initial}.nx-datepicker-close.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
24dow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-datepicker-close.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}nx-calendar[_ngcontent-%COMP%]{width:342px;min-height:375px}@media (max-width: 703px){nx-calendar[_ngcontent-%COMP%]{width:302px;min-height:359px}}"],changeDetection:0});let i=e;return i})(),Io=(()=>{let e=class e{set startAt(n){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(n))}get startAt(){return this.getStartAtDate()}set opened(n){n?this.open():this.close()}get opened(){return this._opened}set selected(n){this._selected.set(n)}get selected(){return this._selected()}get minDate(){return this._datepickerInput?.min||this._datepickerInputStartDate?.min||null}get maxDate(){return this._datepickerInput?.max||this._datepickerInputEndDate?.max||null}set dateFilter(n){this._dateFilter=n}get dateFilter(){return this._datepickerInput?.dateFilter||this._dateFilter}constructor(n,r,o,a,s,l){if(this._overlay=n,this._viewContainerRef=r,this._defaultScrollStrategyFactory=o,this._dir=s,this._document=l,this._injector=C(Nt),this.isRange=lr(()=>this.rangeMode()),this.startView="month",this.showTodayButton=!1,this.disabledInput=J1(void 0,{alias:"disabled"}),this.disabled=lr(()=>this.disabledInput()!==void 0?this.disabledInput():this._datepickerInput?.readonlyState()||this._datepickerInputStartDate?.readonlyState()||!1),this.selectedChanged=new X,this.yearSelected=new X,this.monthSelected=new X,this.openedStream=new X,this.closedStream
24=new X,this.todayButtonClick=new X,this._opened=!1,this.id=`nx-datepicker-${die++}`,this._selected=nn(null),this.selectedComputed=lr(()=>this._selected()),this._focusedElementBeforeOpen=null,this._scrollStrategyFactory=this._defaultScrollStrategyFactory,this._disabledChange=new he,this._destroyed=new he,this.rangeMode=ba(!1),!a)throw kl("DateAdapter");this._dateAdapter=a,this._dir?.change.pipe(ze(this._destroyed)).subscribe(()=>{this.close(),this._destroyPopup()})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.close(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)}select(n){let r=this._selected();this._selected.set(n),(this.isRange()||!this.isRange()&&!this._dateAdapter.sameDate(r,this.selected))&&this.selectedChanged.emit(this._selected())}selectYear(n){this.yearSelected.emit(n||void 0)}selectMonth(n){this.monthSelected.emit(n||void 0)}registerInput(n,r="single"){if(this._datepickerInput&&!this.isRange())throw Error("A NxDatepicker can only be associated with a single input.");r==="start"?(this._datepickerInputStartDate=n,this._datepickerInputStartDate._valueChange.pipe(ze(this._destroyed)).subscribe(o=>{this._selected.set({start:o,end:this._selected()?.end})})):r==="end"?(this._datepickerInputEndDate=n,this._datepickerInputEndDate._valueChange.pipe(ze(this._destroyed)).subscribe(o=>{this._selected.set({start:this._selected()?.start,end:o})})):(this._datepickerInput=n,this._datepickerInput._valueChange.pipe(ze(this._destroyed)).subscribe(o=>{this._selected.set(o)}))}registerToggle(n){if(this._toggleButton)throw Error("A NxDatepicker can only be associated with a single toggle button.");this._toggleButton=n}open(){if(!(this._opened||this.disabled())){if(!this.isRange()&&!this._datepickerInput||this.isRange()&&(!this._datepickerInputStartDate||!this._datepickerInputEndDate))throw Error("Attempted to open an NxDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=Oo()),this._openAsPopup(),this._opened=!0,this.openedStream.emit()}}close(){if(this.isRange()&&this.selected?.start&&!this.selected?.end&&this.select({start:this.selected?.start,end:this.selected?.start}),!this._opened)return;this._popupRef?.hasAttached()&&this._popupRef.detach(),this._calendarPortal?.isAttached&&this._calendarPortal.detach();let r=()=>{this._opened&&(this._opened=!1,this.closedStream.emit(),this._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function"?(this._focusedElementBeforeOpen.focus(),setTimeout(r)):r(),this._toggleButton&&this._toggleButton.tabindex<0&&this._datepickerInput._focus()}_openAsPopup(){this._calendarPortal||(this._calendarPortal=new ia(NV,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,gr({write:()=>{this._popupRef.updatePosition()}},{injector:this._injector}))}_createPopup(){let n=new To({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"nx-overlay-transparent-backdrop",direction:this._dir?.value||"ltr",scrollStrategy:this._scrollStrategyFactory(),panelClass:"nx-datepicker-popup"});this._popupRef=this._overlay.create(n),pr(this._popupRef.backdropClick(),this._popupRef.keydownEvents().pipe(ln(r=>r.keyCode===27))).pipe(ze(this._destroyed)).subscribe(()=>this.close())}_destroyPopup(){this._popupRef&&(this._popupRef=null,this._popupComponentRef=null,this._calendarPortal=null)}_createPopupPositionStrategy(){let n=this.isRange()?this._datepickerInputEndDate:this._datepickerInput;return this._overlay.position().flexibleConnectedTo(n.getConnectedOverlayOrigin()).withTransformOriginOn(".nx-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])}_getValidDateOrNull(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null}getStartAtDate(){return this._startAt?this._startAt:this.isRange()?this._datepickerInputStartDate?.value:this._datepickerInput.value}handleTodayButtonClick(){this.todayButtonClick.emit()}};e.\u0275fac=function(r){return new(r||e)(D(di),D(ai),D(uie),D(Or,8),D(jn,8),D(Gt,8))},e.\u0275cmp=z({type:e,selectors:[["nx-datepicker"]],inputs:{startAt:"startAt",startView:"startView",showTodayButton:"showTodayButton",disabledInput
24:[1,"disabled","disabledInput"],panelClass:"panelClass",opened:"opened",rangeMode:[1,"rangeMode"]},outputs:{disabledInput:"disabledChange",yearSelected:"yearSelected",monthSelected:"monthSelected",openedStream:"opened",closedStream:"closed",todayButtonClick:"todayButtonClick"},exportAs:["nxDatepicker"],decls:0,vars:0,template:function(r,o){},encapsulation:2,changeDetection:0});let i=e;return i})(),fie=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxDatepickerToggleIcon",""]]});let i=e;return i})(),vo=(()=>{let e=class e{set datepicker(n){this.registerDatepicker(n)}get datepicker(){return this._datepicker}set tabindex(n){let r=Qa(n);this._tabindex!==r&&(this._tabindex=r)}get tabindex(){return this._tabindex!==void 0?this._tabindex:this._defaultOptions?.toggleIconTabindex!==void 0?this._defaultOptions.toggleIconTabindex:0}constructor(n,r,o,a){this._intl=n,this._cdr=r,this._defaultOptions=o,this._focusMonitor=a,this._stateChanges=En.EMPTY,this.disabledInput=J1(void 0,{alias:"disabled"}),this.disabled=lr(()=>this.disabledInput()!==void 0?this.disabledInput():this.datepicker.disabled()||!1),this._destroyed=new he,this._defaultOptions?.changes&&this._defaultOptions.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()})}ngAfterViewInit(){this._focusMonitor.monitor(this._toggleButton)}ngOnChanges(n){n.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stateChanges.unsubscribe(),this._focusMonitor.stopMonitoring(this._toggleButton)}ngAfterContentInit(){this._watchStateChanges()}_open(n){this.datepicker&&!this.disabled()&&(this.datepicker.open(),n.stopPropagation())}registerDatepicker(n){n&&(this._datepicker=n,this._datepicker.registerToggle(this))}_watchStateChanges(){let n=this.datepicker?this.datepicker._disabledChange.asObservable():Dt(),r=this.datepicker?._datepickerInput?this.datepicker._datepickerInput._disabledChange.asObservable():Dt(),o=this.datepicker?pr(this.datepicker.openedStream,this.datepicker.closedStream):Dt();this._stateChanges.unsubscribe(),this._stateChanges=pr(this._intl.changes,n,r,o).pipe(ze(this._destroyed)).subscribe(()=>this._cdr.markForCheck())}keydownHandler(n){(n.key==="Enter"||n.key===" ")&&this._open(n)}};e.\u0275fac=function(r){return new(r||e)(D(wM),D(Ye),D(pie,8),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-datepicker-toggle"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,fie,5),r&2){let s;te(s=ne())&&(o._customIcon=s.first)}},viewQuery:function(r,o){if(r&1&&pe(Qne,5),r&2){let a;te(a=ne())&&(o._toggleButton=a.first)}},hostAttrs:[1,"nx-datepicker-toggle"],hostVars:4,hostBindings:function(r,o){r&2&&Fe("nx-datepicker-toggle-active",o.datepicker&&o.datepicker.opened)("nx-datepicker-toggle--disabled",o.disabled())},inputs:{datepicker:[0,"for","datepicker"],disabledInput:[1,"disabled","disabledInput"],tabindex:"tabindex"},outputs:{disabledInput:"disabledChange"},exportAs:["nxDatepickerToggle"],features:[on],ngContentSelectors:Xne,decls:4,vars:4,consts:[["toggleButton",""],["type","button",1,"nx-datepicker-toggle-button",3,"click","keydown","tabindex","disabled"],["name","calendar","aria-hidden","true"]],template:function(r,o){if(r&1){let a=Y();rt(Kne),c(0,"button",1,0),I("click",function(l){return O(a),T(o._open(l))})("keydown",function(l){return O(a),T(o.keydownHandler(l))}),re(2,Zne,1,0,"nx-icon",2),ke(3),d()}r&2&&(g("tabindex",o.tabindex)("disabled",o.disabled()),ye("aria-label",o._intl.openCalendarLabel),p(2),oe(o._customIcon?-1:2))},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{position:relative;display:flex}[_nghost-%COMP%]:active{outline:none}[_nghost-%COMP%]:hover{color:var(--hover-primary)}.nx-datepicker-toggle-button[_ngcontent-%COMP%]{border:none;background-color:transparent;color:inherit;outline:none;cursor:pointer;padding:0;margin:0}.nx-datepicker-toggle-button[_ngcontent-%COMP%]::-moz-focus-inner{border:0}@media screen and (forced-colors: active){.nx-datepicker-toggle-button[_ngcontent-%COMP%]{color:ButtonText}}.default-icon[_ngcontent-%COMP%]{display:block;height:var(--datefield-toggle-icon-size);width:var(--datefield-toggle-icon-size)}.nx-datepicker-toggle--disabled[_nghost-%COMP%]   .nx-datepicker-toggle-button[_ngcontent-%COMP%]{cursor:not-allowed}@media screen and (forced-colors: active){.nx-datepicker-toggle--disabled[_nghost-%COMP%]   .nx-datepicker-toggle-button[_ngcontent-%COMP%]{color:GrayText}}.nx-datepicker-toggle-button.cdk-keyboard-focused[_ngcontent-%COMP%]{border-radius:4px;
24box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-datepicker-toggle-button.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}"],changeDetection:0});let i=e;return i})(),qs=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[W6],imports:[_e,Dr,Da,xt,vo,NV,MM]});let i=e;return i})();var mie={bars:{alias:"bars",font:"far"},"bell-o":{alias:"bell",font:"far"},"bookmark-o":{alias:"bookmark",font:"far"},download:{alias:"download",font:"fas"},duplicate:{alias:"copy",font:"far"},facebook:{alias:"facebook-square",font:"fab"},file:{alias:"file",font:"far"},"file-text":{alias:"file-alt",font:"far"},"info-circle-o":{alias:"info-circle",font:"fas"},launch:{alias:"external-link-alt",font:"fas"},"lock-o":{alias:"lock",font:"fas"},mail:{alias:"envelope",font:"far"},"mail-o":{alias:"envelope",font:"fas"},pdf:{alias:"file-pdf",font:"far"},pen:{alias:"pen",font:"fas"},popout:{alias:"expand-alt",font:"fas"},refresh:{alias:"redo",font:"fas"},"phone-o":{alias:"phone-alt",font:"fas"},"product-car":{alias:"car",font:"fas"},"product-care-insurance":{alias:"hand-holding-heart",font:"fas"},"product-heart":{alias:"heart",font:"far"},"product-plane":{alias:"plane",font:"fas"},"product-search":{alias:"search",font:"fas"},"save-o":{alias:"save",font:"far"},search:{alias:"search",font:"fas"},setting:{alias:"cog",font:"fas"},"speech-bubble-o":{alias:"comment",font:"far"},twitter:{alias:"twitter",font:"fab"},"user-o":{alias:"user",font:"far"},users:{alias:"user",font:"fas"},globe:{alias:"globe",font:"fas"},"grip-vertical":{alias:"grip-vertical",font:"fas"}},SM=(()=>{let e=class e{constructor(n){this._iconRegistry=n,this._iconRegistry.registerFont("far","far","fa-"),this._iconRegistry.registerFont("fas","fas","fa-"),this._iconRegistry.registerFont("fab","fab","fa-"),this._iconRegistry.setDefaultFont("far"),Object.entries(mie).forEach(([r,{alias:o,font:a}])=>this._iconRegistry.addFontIcon(r,o,a))}};e.\u0275fac=function(r){return new(r||e)(Le(yf))},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[xt]});let i=e;return i})();var DM=["*"],hie=["container"],gie=i=>({"nx-dropdown-results__option--selected":i});function _ie(i,e){i&1&&Ei(0)}function vie(i,e){if(i&1&&(c(0,"nx-checkbox",4),L(1,_ie,1,0,"ng-container",6),d()),i&2){let t=M(),n=Ct(6);g("checked",t.selected)("disabled",t.disabled),p(),g("ngTemplateOutlet",n)}}function xie(i,e){i&1&&(c(0,"span",5),S(1,"nx-icon",7),d())}function bie(i,e){i&1&&Ei(0)}function Cie(i,e){if(i&1&&L(0,bie,1,0,"ng-container",6),i&2){M();let t=Ct(6);g("ngTemplateOutlet",t)}}function yie(i,e){if(i&1&&m(0),i&2){let t=M(2);K(" ",t._formattedValue," ")}}function Mie(i,e){if(i&1){let t=Y();c(0,"div",8)(1,"div",9,2),I("cdkObserveContent",function(){O(t);let r=M();return T(r._onLabelChange())}),ke(3),d(),c(4,"div"),re(5,yie,1,1),d()()}if(i&2){let t=Ct(2),n=M();p(5),oe(n._isContentEmpty(t)?5:-1)}}var wie=["panel"],Sie=["panelBody"],VV=["trigger"],Pie=["fallbackOrigin"],FV=["filterInput"],Eie=["defaultClosedDropdownLabel"];function Die(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M();p(),Pe(t.placeholder)}}function Oie(i,e){i&1&&Ei(0)}function Tie(i,e){if(i&1&&L(0,Oie,1,0,"ng-container",10),i&2){let t=M();g("ngTemplateOutlet",t.closedDropdownLabel)}}function Iie(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M(2);p(),Pe(t.triggerValue)}}function kie(i,e){if(i&1&&re(0,Iie,2,1,"span"),i&2){let t=M();oe(t.triggerValue?0:-1)}}function Nie(i,e){if(i&1&&(c(0,"div",12),m(1),d()),i&2){let t=M(2);p(),Pe(t.label)}}function Aie(i,e){if(i&1){let t=Y();c(0,"span",19),I("click",function(){O(t);let r=M(3);return T(r._clearFilter())}),S(1,"nx-icon",20),d()}}function Vie(i,e){if(i&1){let t=Y();c(0,"div",13)(1,"div",16)(2,"input",17,4),I("input",function(r){return O(t),T(r.preventDefault())}),jr("ngModelChange",function(r){O(t);let o=M(2);return ro(o.filterValue,r)||(o.filterValue=r),T(r)}),I("ngModelChange",function(r){O(t);let o=M(2);return T(o._onFilter(r))}),d(),re(4,Aie,2,0,"span",18),d()()}if(i&2){let t=M(2);
24p(2),Fe("is-filled",!t.isFilterEmpty),g("type",t.filterInputType),Br("ngModel",t.filterValue),g("placeholder",t.filterPlaceholder),ye("aria-controls",t.modalId)("aria-label",t.label)("aria-activedescendant",t.activeId()),p(2),oe(t.isFilterEmpty?-1:4)}}function Fie(i,e){if(i&1){let t=Y();c(0,"nx-dropdown-item",21),I("onSelectionChange",function(r){let o=O(t).$implicit,a=M(2);return T(a._onSelect(r.item,r.isUserInput,o))}),m(1),d()}if(i&2){let t=e.$implicit,n=M(2);g("value",t.value),p(),Pe(n._getLabel(t))}}function Rie(i,e){if(i&1){let t=Y();c(0,"div",11,2),I("keydown",function(r){O(t);let o=M();return T(o._handleKeydown(r))}),re(2,Nie,2,1,"div",12),re(3,Vie,5,9,"div",13),c(4,"div",14,3),ke(6),Ot(7,Fie,2,2,"nx-dropdown-item",15,$n),d()()}if(i&2){let t=M();Fe("has-filter",t.showFilter)("nx-dropdown__panel--in-outline-field",t._isInOutlineField)("centered-checkmark",t.verticalAlignCheckmark==="center"),g("dir",t.dir),p(2),oe(t.label?2:-1),p(),oe(t.showFilter?3:-1),p(),Fe("keyboard-focused",t.openedByKeyboard),g("id",t.modalId),ye("aria-activedescendant",t.activeId())("aria-multiselectable",t.isMultiSelect),p(3),Tt(t.options)}}function zie(i,e){i&1&&S(0,"nx-icon",2)}var Lie=["selectAllCheckbox"],Hie=["itemsList"],Bie=["panelHeader"],jie=["panelContent"],qie=["selectAllCheckbox","option"];function Uie(i,e){if(i&1&&(c(0,"div",12,3),m(2),d()),i&2){let t=M(2);p(2),K(" ",t._overlayLabel," ")}}function Gie(i,e){if(i&1){let t=Y();c(0,"div",13)(1,"nx-multi-select-all",17,4),I("selectedAllChange",function(){O(t);let r=M(2);return T(r._onSelectAll())}),d()()}if(i&2){let t=M(2);p(),g("label",t._intl.selectAll)("indeterminate",t._someSelected)("selected",t._allSelected)}}function $ie(i,e){if(i&1){let t=Y();c(0,"div",14)(1,"nx-formfield",18)(2,"input",19,5),jr("ngModelChange",function(r){O(t);let o=M(2);return ro(o._filterValue,r)||(o._filterValue=r),T(r)}),I("ngModelChange",function(r){O(t);let o=M(2);return T(o._onFilterChange(r))}),d(),c(4,"nx-icon",20),I("click",function(){O(t);let r=M(2);return T(r._clearFilter())}),d()()()}if(i&2){let t=M(2);p(2),Br("ngModel",t._filterValue),g("placeholder",t.filterPlaceholder),ye("aria-expanded",t._isOpen)("aria-controls",t._comboboxId)("aria-labelledby",t._getAriaLabelledBy())("aria-activedescendant",t._getAriaActiveDescendant()),p(2),Fe("hidden",!t._filterValue.length)}}function Wie(i,e){if(i&1){let t=Y();c(0,"nx-multi-select-option",21,6),I("selectedChange",function(r){let o=O(t).$implicit,a=M(2);return T(a._onSelect(o,r))}),d()}if(i&2){let t=e.$implicit,n=e.$index,r=M(2);Fe("divider",r._divider===n),g("value",r._selectValue(t))("label",r._selectLabel(t))("selected",r.selectedItems.has(t))("disabled",r._isDisabled(t))("appearance",r._appearance)}}function Yie(i,e){if(i&1){let t=Y();c(0,"div",11,1),I("keydown",function(r){O(t);let o=M();return T(o._onKeydown(r))})("focusin",function(r){O(t);let o=M();return T(o._onFocusWithinOverlay(r))}),re(2,Uie,3,1,"div",12),re(3,Gie,3,3,"div",13),re(4,$ie,5,8,"div",14),c(5,"div",15,2),Ot(7,Wie,2,7,"nx-multi-select-option",16,$n),d()()}if(i&2){let t=M();Fe("is-outline",t._isOutline),ye("aria-owns",t._isOpen?t._comboboxId:null)("aria-activedescendant",t._getAriaActiveDescendant())("aria-labelledby",t._getAriaLabelledBy()),p(2),oe(!t._isOutline&&t._overlayLabel?2:-1),p(),oe(t._isOutline&&!t.disableSelectAll?3:-1),p(),oe(t.filter?4:-1),p(),g("id",t._comboboxId),p(2),Tt(t.listItems)}}var Qie=(()=>{let e=class e{constructor(n){this.templateRef=n}};e.\u0275fac=function(r){return new(r||e)(D(Rn))},e.\u0275dir=Ie({type:e,selectors:[["","nxClosedLabel",""]]});let i=e;return i})(),Y6=class extends Yc{constructor(){super(...arguments),this.isMultiSelect=!1,this.ignoreItemTruncation=!1}};function Kie(){return Error("Value must be an array in multiselect mode.")}function Xie(i=0){return[{originX:"start",originY:"top",overlayX:"start",overlayY:"top",offsetY:i},{originX:"start",originY:"center",overlayX:"start",overlayY:"center"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}function Zie(){return[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:8},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",offsetY:-8}]}function Q6(i,e){return i==="outline"?Zie():Xie(e)}function RV(i,e,t){let n=e.getBoundingClientRect(),r=i.getBoundingClientRect(),o=t?parseInt(getComputedStyle(t).paddingTop,10):0;return Math.round(n.top)-Math.round(r.top)-Math.round(o)}var zV=(()=>{let e=class e{constructor(){this.id=`nx-dropdown-group-${A0()}-${e.nextId++}`}}
24;e.nextId=0,e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-dropdown-group"]],hostAttrs:["role","group"],hostVars:1,hostBindings:function(r,o){r&2&&ye("aria-labelledby",o.id)},inputs:{label:"label"},ngContentSelectors:DM,decls:4,vars:2,consts:[[1,"nx-dropdown-results__group"],["role","presentation",1,"nx-dropdown-results__group-label"]],template:function(r,o){r&1&&(rt(),at(0,"div",0)(1,"div",1),m(2),pt(),ke(3),pt()),r&2&&(p(),ye("id",o.id),p(),Pe(o.label))},styles:['[_nghost-%COMP%]{display:block}[_nghost-%COMP%]:not(:last-child)   .nx-dropdown-results__group[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%]:not(:last-child)   .nx-dropdown-results__group[_ngcontent-%COMP%]:after{content:"";position:absolute;width:calc(100% - 64px);height:1px;margin:0 32px;background-color:var(--dropdown-group-divider);bottom:0;left:0}.nx-dropdown-results__group-label[_ngcontent-%COMP%]{font-size:var(--dropdown-group-label-font-size);line-height:var(--dropdown-group-label-line-height);font-weight:var(--dropdown-group-label-font-weight);letter-spacing:var(--dropdown-group-label-letter-spacing);padding:24px 32px 8px;color:var(--dropdown-group-label-color)}'],changeDetection:0});let i=e;return i})(),PM=class{constructor(e,t=!1){this.item=e,this.isUserInput=t}},Jie=0,Yn=(()=>{let e=class e{get label(){return this._mostRecentViewValue||this.viewValue}get id(){return this._id}set disabled(n){let r=Ue(n);this.disabled!==r&&(this._disabled=r,this._cdr.markForCheck())}get disabled(){return this._disabled}get selected(){return this._selected}get active(){return this._active}get multiselect(){return this._dropdown?.isMultiSelect}constructor(n,r,o,a){this._dropdown=n,this.group=r,this._cdr=o,this._elementRef=a,this._hidden=!1,this._mostRecentViewValue="",this._id=`nx-dropdown-item-${Jie++}`,this._disabled=!1,this._selected=!1,this._destroyed=new he,this.onSelectionChange=new X,this._stateChanges=new he,this._dropdown.filterChanges.pipe(ze(this._destroyed)).subscribe(s=>{this._showOrHideByFilter(s)}),this._dropdown._closedStream.pipe(ze(this._destroyed)).subscribe(()=>{this._hidden=!1})}ngAfterViewChecked(){this._updateViewValue()}_updateViewValue(){if(this._selected){let n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stateChanges.complete()}_onClick(n){n.preventDefault(),n.stopPropagation(),this._selectViaInteraction()}_selectViaInteraction(){this.disabled||(this._selected=this.multiselect?!this._selected:!0,this._updateViewValue(),this._cdr.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.multiselect?this.selected:null}show(){this._hidden=!1,this._cdr.markForCheck()}hide(){this._hidden=!0,this._cdr.markForCheck()}_showOrHideByFilter(n){let r=this._dropdown.filterFn(n,this.viewValue);this._hidden=!r,this._cdr.markForCheck()}get _formattedValue(){return this._dropdown.valueFormatter(this.value)}get viewValue(){return(this._elementRef.nativeElement.textContent||"").trim()}get elementRef(){return this._elementRef}select(){!this._selected&&!this.disabled&&(this._selected=!0,this._cdr.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._cdr.markForCheck(),this._emitSelectionChangeEvent())}_initSelected(n){this._selected=n,this._cdr.markForCheck()}focus(){this._elementRef.nativeElement.focus()}_emitSelectionChangeEvent(n=!1){this.onSelectionChange.emit(new PM(this,n))}setActiveStyles(){this._active=!0,this._cdr.markForCheck()}setInactiveStyles(){this._active=!1,this._cdr.markForCheck()}getLabel(){return this.viewValue}_isContentEmpty(n){return n.children.length===0&&!n.textContent?.trim()}_onLabelChange(){this._cdr.detectChanges()}_getTabIndex(){return this.disabled?"-1":"0"}};e.\u0275fac=function(r){return new(r||e)(D(Y6),D(zV,8),D(Ye),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-dropdown-item"]],viewQuery:function(r,o){if(r&1&&pe(hie,7),r&2){let a;te(a=ne())&&(o.containerElement=a.first)}},hostAttrs:["role","option"],hostVars:14,hostBindings:function(r,o){r&1&&I("click",function(s){return o._onClick(s)}
24),r&2&&(gi("id",o.id),ye("tabindex",o._getTabIndex())("aria-disabled",o.disabled.toString())("aria-selected",o._getAriaSelected()),Fe("nx-hidden",o._hidden)("nx-dropdown-item--active",o.active)("nx-dropdown-item--disabled",o.disabled)("nx-selected",o.selected)("nx-multiselect",o.multiselect))},inputs:{value:"value",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"},ngContentSelectors:DM,decls:7,vars:6,consts:[["container",""],["contentTemplate",""],["content",""],[1,"nx-dropdown-results__option",3,"ngClass"],[3,"checked","disabled"],[1,"nx-dropdown-results__option-checkicon"],[4,"ngTemplateOutlet"],["name","check","aria-hidden","true"],[1,"nx-dropdown-results__option-label"],[3,"cdkObserveContent"]],template:function(r,o){r&1&&(rt(),c(0,"div",3,0),re(2,vie,2,3,"nx-checkbox",4),re(3,xie,2,0,"span",5),re(4,Cie,1,1,"ng-container"),d(),L(5,Mie,6,1,"ng-template",null,1,an)),r&2&&(g("ngClass",Lt(4,gie,o.selected)),p(2),oe(o.multiselect?2:-1),p(),oe(o.multiselect?-1:3),p(),oe(o.multiselect?-1:4))},dependencies:[Un,$c,Yo,Ji,xt,nt,Hs,Rd],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]:focus{outline:none}.nx-hidden[_nghost-%COMP%]{display:none}[_nghost-%COMP%]:first-child   .nx-dropdown-results__option[_ngcontent-%COMP%]{padding-top:16px}nx-checkbox[_ngcontent-%COMP%]{margin-bottom:0}.nx-dropdown-results__option[_ngcontent-%COMP%]{font-size:var(--dropdown-item-font-size);line-height:var(--dropdown-item-line-height);font-weight:var(--dropdown-item-font-weight);letter-spacing:var(--dropdown-item-letter-spacing);padding-top:var(--dropdown-item-padding-top);padding-right:var(--dropdown-item-padding-right);padding-bottom:var(--dropdown-item-padding-bottom);padding-left:var(--dropdown-item-padding-left);cursor:pointer;position:relative;display:flex;max-width:100%;white-space:nowrap}[dir=rtl][_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]{padding:var(--dropdown-item-padding-top) var(--dropdown-item-padding-left) var(--dropdown-item-padding-bottom) var(--dropdown-item-padding-right)}[_nghost-%COMP%]:not(.nx-dropdown-item--disabled)   .nx-dropdown-results__option[_ngcontent-%COMP%]:hover{background-color:var(--dropdown-item-hover-background-color)}[_nghost-%COMP%]:not(.nx-dropdown-item--disabled)   .nx-dropdown-results__option[_ngcontent-%COMP%]:active{background-color:var(--dropdown-item-active-background-color)}.nx-dropdown-results__option-label[_ngcontent-%COMP%]{padding:0 12px;margin:0 -12px;color:var(--dropdown-item-text-color);word-break:break-word;white-space:pre-line}@media screen and (forced-colors: active){.nx-dropdown-results__option-label[_ngcontent-%COMP%]{forced-colors-adjust:none;color:buttonText;background-color:buttonFace;border-radius:4px}}.nx-multiselect[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]{display:block;padding-left:32px}[dir=rtl]   .nx-multiselect[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]{padding-right:32px}[_nghost-%COMP%]:not(.nx-dropdown-item--disabled):hover   .nx-dropdown-results__option-label[_ngcontent-%COMP%], .nx-selected[_nghost-%COMP%]:not(.nx-dropdown-item--disabled):hover   .nx-dropdown-results__option-label[_ngcontent-%COMP%], .nx-selected[_nghost-%COMP%]:not(.nx-dropdown-item--disabled):hover   .nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]{color:var(--dropdown-item-hover-color)}.nx-selected[_nghost-%COMP%]   .nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]{opacity:1}.nx-selected[_nghost-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{color:var(--dropdown-item-selected-color)}.nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;opacity:0;margin-right:8px;height:var(--dropdown-item-line-height);color:var(--dropdown-item-checkmark-color)}.nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:20px}  .nx-dropdown__panel--in-outline-field .nx-dropdown-results__option-checkicon nx-icon{font-size:16px!important}.nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]:has(svg){height:var(--dropdown-item-line-height)}[dir=rtl][_nghost-%COMP%]   .nx-dropdown-results__option-checkicon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}.keyboard-focused   .nx-dropdown-item--active[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{border-radius:4px;
24box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.keyboard-focused   .nx-dropdown-item--active[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-multiselect.nx-dropdown-item--active[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{box-shadow:none}@media screen and (forced-colors: active){.nx-multiselect.nx-dropdown-item--active[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{box-shadow:none}}.nx-multiselect.nx-dropdown-item--active[_nghost-%COMP%]     .nx-checkbox__label{border-radius:4px;box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-multiselect.nx-dropdown-item--active[_nghost-%COMP%]     .nx-checkbox__label{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-selected.nx-dropdown-item--active[_nghost-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{padding-left:24px;margin-left:-24px}[dir=rtl]   .nx-selected.nx-dropdown-item--active[_nghost-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{padding-left:initial;margin-left:initial;padding-right:24px;margin-right:-24px}[_nghost-%COMP%]     .nx-checkbox__label{padding:0 4px;margin:0 -4px}.nx-dropdown-item--disabled[_nghost-%COMP%]   .nx-dropdown-results__option[_ngcontent-%COMP%]{cursor:not-allowed}.nx-dropdown-item--disabled[_nghost-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{color:var(--dropdown-item-text-color-disabled)}@media screen and (forced-colors: active){[_nghost-%COMP%]:hover:not(.nx-dropdown-item--disabled)   .nx-dropdown-results__option-label[_ngcontent-%COMP%], .nx-dropdown-item--active[_nghost-%COMP%]:not(.nx-multiselect)   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{color:highlightText;background-color:highlight;forced-color-adjust:none}.nx-dropdown-item--active[_nghost-%COMP%]:not(.nx-multiselect)   .nx-dropdown-results__option-checkicon[_ngcontent-%COMP%]{forced-color-adjust:none;color:highlightText;background:highlight;z-index:1}.nx-dropdown-item--disabled[_nghost-%COMP%]   .nx-dropdown-results__option-label[_ngcontent-%COMP%]{color:GrayText}}"],changeDetection:0});let i=e;return i})(),AV=0,ere=(()=>{let e=class e{constructor(){this.changes=new he,this.selectAll="Select all",this.clearAll="Clear all"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),EM=class{constructor(e,t){this.source=e,this.value=t}},tre=new Ee("nx-dropdown-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.reposition()}});var nre=(i,e)=>e.toLocaleLowerCase().includes(i.toLocaleLowerCase()),ire=(i,e)=>i===e,rre=i=>i==null?"":i.toString(),ri=(()=>{var e,t,n;let r=class r{constructor(a,s,l,u,h,_,y,b,x,w,k,V){_s(this,e);_s(this,t);_s(this,n);this._cdr=a,this._elementRef=s,this._ngZone=l,this.formFieldComponent=h,this._errorStateMatcher=_,this.ngControl=y,this._parentForm=b,this._parentFormGroup=x,this._dir=w,this._defaultScrollStrategyFactory=k,this.liveAnnouncer=V,this._readonly=!1,this.ariaLabelledBy=null,this.verticalAlignCheckmark="top",this.renderedValueId=`nx-dropdown-rendered-${AV++}`,this.modalId=`nx-dropdown-modal-${AV++}`,this._focused=!1,this._panelOpen=!1,this.errorState=!1,this._tooltipText="",this._overlayWidth="",this._overlayMinWidth="",this.controlType="nx-dropdown",this._overlayViewportMargin=this.dir==="rtl"?0:16,this._positions=Q6("auto",0),this.stateChanges=new he,this._options=new mi(null),this._filterInputType="text",this._tabIndex=0,this._disabled=!1,this.isMultiSelect=!1,this._required=!1,this._style="",this._negative=!1,this._placeholder="",this._ignoreItemTruncation=!1,this.showFilter=!1,this.filterPlaceholder="",this.overlayLabel="",this.openedChange=new X,this.focusOut=new X,this.filterResultChange=new X,this._openedStream
24=this.openedChange.pipe(ln(N=>N),ct(()=>{})),this._closedStream=this.openedChange.pipe(ln(N=>!N),ct(()=>{})),this.filterChanges=new X,this.valueChange=new X,this.selectionChange=new X,this.filterValue="",this._destroyed=new he,this.panelMinWidthWasSet=!1,this.panelGrowWasSet=!1,this.ignoreItemTruncationWasSet=!1,this._scrollStrategyFactory=this._defaultScrollStrategyFactory,this._scrollStrategy=this._scrollStrategyFactory(),this._panelMinWidth="trigger",this._panelGrow=!1,this._onChange=()=>{},this._onTouched=()=>{},this.activeId=nn(null),this.openedByKeyboard=!0,this.ngControl&&(this.ngControl.valueAccessor=this),this.tabIndex=parseInt(u,10)||0}set readonly(a){this._readonly=Ue(a),this.stateChanges.next()}get readonly(){return this._readonly}setReadonly(a){this.readonly=a}set options(a){this._options.next(a)}get options(){return this._options.value}set filterInputType(a){this._filterInputType=a}get filterInputType(){return this._filterInputType}set tabIndex(a){this._tabIndex=a??0}get tabIndex(){return this.disabled?-1:this._tabIndex}set value(a){a!==this._value&&(this.writeValue(a),this._value=a,this._onChange(a))}get value(){return this._value}set disabled(a){this._disabled=Ue(a)}get disabled(){return this._disabled}get id(){return this.renderedValueId}set required(a){this._required=Ue(a)}get required(){return this._required}set styles(a){this._style!==a&&(this._style=a,this._negative=!!this._style.match(/negative/))}set placeholder(a){this._placeholder=a,this.stateChanges.next()}get placeholder(){return this._placeholder}set ignoreItemTruncation(a){this._ignoreItemTruncation=Ue(a),this._ignoreItemTruncation&&(this.ignoreItemTruncationWasSet=!0)}get ignoreItemTruncation(){return this._ignoreItemTruncation}get dropdownItems(){return this._isLazy?this._lazyDropdownItems:this._contentDropdownItems}get closedDropdownLabel(){return this._closedDropdownLabel}set panelOpen(a){this._panelOpen=a}get panelOpen(){return this._panelOpen}get label(){return this._isInOutlineField?"":this.overlayLabel?this.overlayLabel:this.formFieldComponent?.label??""}set panelMinWidth(a){this.panelMinWidthWasSet=!0,this._panelMinWidth=a}get panelMinWidth(){return this._panelMinWidth}set panelGrow(a){this.panelGrowWasSet=!0,this._panelGrow=a}get panelGrow(){return this._panelGrow}set valueFormatter(a){Va(this,e,a)}get valueFormatter(){return Xo(this,e)??rre}set compareWith(a){Va(this,t,a),this._selectionModel&&this._initializeSelection()}get compareWith(){return Xo(this,t)??ire}set filterFn(a){Va(this,n,a)}get filterFn(){return Xo(this,n)??nre}get focused(){return this._focused||this.panelOpen}get elementRef(){return this._elementRef}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnInit(){this._selectionModel=new kc(this.isMultiSelect)}ngAfterViewInit(){this._initKeyManager()}ngAfterContentInit(){this._closedDropdownLabel=this._customClosedDropdownLabel?.templateRef||this._defaultClosedDropdownLabel,this._selectionModel.changed.pipe(ze(this._destroyed)).subscribe(a=>{a.added.forEach(({value:s})=>{this.dropdownItems.filter(l=>l.value===s).forEach(l=>l.select())}),a.removed.forEach(({value:s})=>{this.dropdownItems.filter(l=>l.value===s).forEach(l=>l.deselect())})}),this._isLazy?this._options.pipe(ze(this._destroyed)).subscribe(()=>{this._initializeSelection()}):this.dropdownItems.changes.pipe(ei(null),ze(this._destroyed)).subscribe(()=>{this._subscribeToOptionChanges(),this._initializeSelection()})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}updateErrorState(){let a=this.errorState,s=this._parentFormGroup||this._parentForm,l=this.ngControl?this.ngControl.control:null,u=this._errorStateMatcher.isErrorState(l,s);u!==a&&(this.errorState=u,this.stateChanges.next())}_updateTooltipText(){if(!this.trigger)return;let[a,s]=this.trigger.nativeElement.children,{paddingLeft:l,paddingRight:u}=getComputedStyle(this.trigger.nativeElement);this.trigger.nativeElement.clientWidth-parseInt(l,10)-parseInt(u,10)-s.offsetWidth<a.scrollWidth?this._tooltipText=this.triggerValue:this._tooltipText=""}_initKeyManager(){this._keyManager=new Hd(this.dropdownItems).withTypeAhead(500).withHomeAndEnd().withVerticalOrientation().withHorizontalOrientation("ltr").skipPredicate(a=>a._hidden||a.disabled),this._keyManager.tabOut.pipe(ze(this._closedStream),ze(this._destroyed)).subscribe(()=>{this.closePanel()}),this._keyManager.change.pipe(ze(this._destroyed)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollActiveOptionIntoView():!this._panelOpen&&!this.isMultiSelect&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.activeId.set(this._keyManager.activeItem?.id||null)})}_initActiveItem(){if(!this.isMultiSelect&&this._selectionModel.selected[0]){let a=this.dropdownItems.find(s=>s.value===this._selectionModel.selected[0].value);a&&(this._keyManager.setActiveItem(a),this._scrollActiveOptionIntoCenter())}else this._keyManager.setFirstItemActive()}_subscribeToOptionChanges(){pr(...this.dropdownItems.map(a=>a.onSelectionChange)).pipe(ze(this.dropdownItems.changes),ze(this._destroyed)).subscribe(a=>{this._onSelect(a.item,a.isUserInput)}),pr(...this.dropdownItems.map(a=>a._stateChanges)).pipe(ze(this.dropdownItems.changes),ze(this._destroyed)).subscribe(()=>{Promise.resolve().then(()=>{this._panelOpen&&this._initActiveItem(),this._cdr.markForCheck(),this.stateChanges.next()})})}_onSelect(a,s,l){let u=this._selectionModel.isSelected(a),h=l||a;a.value===null&&!this.isMultiSelect?(a.deselect(),this._selectionModel.clear(),this._propagateChanges(h.value)):(a.selected?this._selectionModel.select(h):this._selectionModel.deselect(h),s&&this._keyManager?.setActiveItem(a),this.isMultiSelect&&this._sortValues());let _=this._selectionModel.isSelected(h);u!==_&&(this._propagateChanges(),this._tooltipText="",setTimeout(()=>{this._updateTooltipText()})),this.stateChanges.next(),s&&!this.isMultiSelect&&this._panelOpen&&this.closePanel()}_initializeSelection(){Promise.resolve().then(()=>{this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value)})}_setSelectionByValue(a){if(this._selectionModel){if(this._selectionModel.clear(),this.isMultiSelect&&a){if(!Array.isArray(a))throw Kie();a.forEach(s=>this._selectValue(s)),this._sortValues()}else this._selectValue(a);this._cdr.markForCheck()}}_selectValue(a){let s=h=>{try{return h.value!==null&&this.compareWith(h.value,a)}catch(_){return e2()&&console.warn(_),!1}},u=(this._isLazy?this.options:this.dropdownItems.toArray()).find(s);u&&this._selectionModel.select(u)}_propagateChanges(a){let s=null;if(this.isMultiSelect)s=this._selectionModel.selected.map(l=>l.value);else{let l=this._selectionModel.selected[0];s=l?l.value:a}this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(new EM(this,s)),this._cdr.markForCheck()}_sortValues(){if(this.isMultiSelect){let a=this._isLazy?this.options:this.dropdownItems.toArray();this._selectionModel.sort((s,l)=>a.findIndex(u=>u.value===s.value)-a.findIndex(u=>u.value===l.value)),this.stateChanges.next()}}_updatePosition(){if(this.formFieldComponent){let a=this.overlayDir.overlayRef.overlayElement.querySelector(".nx-dropdown__panel-header"),s=RV(this._elementRef.nativeElement,this.formFieldComponent.elementRef.nativeElement,a);this._positions=Q6(this.formFieldComponent.appearance,s)}}focus(){this._elementRef.nativeElement.focus()}get overlayOrigin(){return this.overlayFallbackOrigin?this.overlayFallbackOrigin.elementRef:this.formFieldComponent?this.formFieldComponent.getConnectedOverlayOrigin():this.fallbackOrigin}
24openPanel(a){this.disabled||this.readonly||!(this.dropdownItems?.length||this.options?.length)||this._panelOpen||(a.preventDefault(),this._panelOpen=!0,setTimeout(()=>{this._selectionModel.selected.forEach(s=>{let l=this.dropdownItems.find(u=>u.value===s.value);l&&l._initSelected(!0)}),this._initActiveItem(),this._cdr.markForCheck()}),(this.panelMinWidthWasSet&&!this.panelGrowWasSet||this.ignoreItemTruncationWasSet&&!this.panelGrowWasSet)&&(this.panelGrow=!0),this.getOverlayWidth(),this._cdr.markForCheck())}getOverlayWidth(){let a=this.overlayOrigin,l=(a instanceof jc?a.elementRef:a).nativeElement.getBoundingClientRect().width;this.panelGrow?this._overlayMinWidth=l:this.panelGrow||(this._overlayWidth=l)}closePanel(){this._panelOpen&&(this._panelOpen=!1,this._cdr.markForCheck(),this._onTouched(),this.openedChange.emit(!1),this._ngZone.runOutsideAngular(()=>{setTimeout(()=>this.focus())}))}_scrollActiveOptionIntoCenter(){if(this.panelBody&&(this.panelBody.nativeElement.scrollTop=0,!this.empty)){let a=this._getItemOffset(this._keyManager.activeItem),s=this.panelBody.nativeElement.offsetHeight,u=this.panelBody.nativeElement.getBoundingClientRect().top+s/2;a>u&&(this.panelBody.nativeElement.scrollTop=a-u)}}_scrollActiveOptionIntoView(){if(!this.panelBody||!this.panelOpen||!this._keyManager.activeItem)return;this._keyManager.activeItem.containerElement.nativeElement.scrollIntoView({block:"nearest"})}_getItemOffset(a){if(!a)return 0;let s=a.containerElement.nativeElement.getBoundingClientRect();return s.top+s.height/2}setDescribedByIds(a){this.ariaDescribedby=a.join(" ")}setAriaLabel(a){return a}_getAriaLabelledBy(){if(this.ariaLabelledBy!==null)return this.ariaLabelledBy;let a=this.formFieldComponent?.labelId;return a||this.renderedValueId}get _isInOutlineField(){return this.formFieldComponent!==null&&this.formFieldComponent.appearance==="outline"}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}get hasValue(){return this._selectionModel.hasValue()}get shouldLabelFloat(){return this.focused||!this.empty||!!(this.placeholder&&this.placeholder.length>0)}writeValue(a){Promise.resolve().then(()=>{this._setSelectionByValue(a)})}registerOnChange(a){this._onChange=a}registerOnTouched(a){this._onTouched=a}setDisabledState(a){this.disabled=a,this._cdr.markForCheck(),this.stateChanges.next()}_handleKeydown(a){this.openedByKeyboard=!0,this.panelOpen?this._handleOpenKeydown(a):this._handleClosedKeydown(a)}get _isLazy(){return Array.isArray(this.options)}setNextItemActive(){let a=this._isLazy?this.options:this.dropdownItems.toArray(),s=a.indexOf(this._selectionModel.selected[0]);for(s++;s<a.length;s++)if(this._isSelectable(a[s],this._isLazy)){this._selectionModel.select(a[s]),this.liveAnnouncer.announce(a[s].label||""),this._propagateChanges();return}}setPreviousItemActive(){let a=this._isLazy?this.options:this.dropdownItems.toArray(),s=a.indexOf(this._selectionModel.selected[0]);for(s--;s>=0;s--)if(this._isSelectable(a[s],this._isLazy)){this._selectionModel.select(a[s]),this.liveAnnouncer.announce(a[s].label||""),this._propagateChanges();return}}_isSelectable(a,s){return s||a&&!a?.disabled&&!a.selected}_handleClosedKeydown(a){if(this.disabled||this.readonly)return;
24let s=a.keyCode,l=a.key.length===1&&!a.ctrlKey&&!a.metaKey&&!a.altKey,u=s===40||s===38||s===37||s===39;if(s===13||s===32||(this.isMultiSelect||a.altKey)&&u)a.preventDefault(),this.openPanel(a);else if(!this.isMultiSelect)switch(s){case 40:case 38:this.openPanel(a),a.preventDefault();break;case 36:this.openPanel(a),setTimeout(()=>{this._keyManager.setFirstItemActive(),this._cdr.markForCheck()}),a.preventDefault();break;case 35:this.openPanel(a),setTimeout(()=>{this._keyManager.setLastItemActive(),this._cdr.markForCheck()}),a.preventDefault();break;default:l&&(this.openPanel(a),setTimeout(()=>{this.showFilter?(this.filterValue=a.key,this._onFilter(a.key)):this._keyManager.onKeydown(a)}))}}_handleOpenKeydown(a){let s=a.keyCode;if(![40,38,36,35,13,37,39,16,32,9].includes(s)&&this.showFilter)return;let l=s===40||s===38,u=s===37||s===39,h=s===36||s===35,_=this._keyManager,y=this.dropdownItems.map(b=>b._hidden).every(b=>!!b);if(!((u||h)&&this.showFilter))if(h)a.preventDefault(),s===36?_.setFirstItemActive():_.setLastItemActive();else if(l&&a.altKey)a.preventDefault(),this.closePanel();else if(s===13&&_.activeItem&&!y)a.preventDefault(),_.activeItem._selectViaInteraction();else if(s===13&&y)a.preventDefault(),this.closePanel();else if(!this.showFilter&&s===32&&_.activeItem)a.preventDefault(),_.activeItem._selectViaInteraction();else if(s===9)this.closePanel();else{let b=_.activeItemIndex;_.onKeydown(a),this.isMultiSelect&&l&&a.shiftKey&&_.activeItem&&_.activeItemIndex!==b&&_.activeItem._selectViaInteraction()}}formatValue(a){return this.valueFormatter(a)}_onFilter(a){this.filterChanges.next(a),this.dropdownItems.toArray().every(u=>u._hidden)?this._keyManager.setActiveItem(null):this._keyManager.setFirstItemActive();let l=this.dropdownItems.filter(u=>!u._hidden);this.filterResultChange.next(l)}get triggerValue(){return this.empty?"":this.isMultiSelect?this._selectionModel.selected.map(a=>this._getLabel(a)).join(", "):this._getLabel(this._selectionModel.selected[0])}_getLabel(a){return a.label||this.formatValue(a.value)}_onAttached(){this.overlayDir.positionChange.pipe(Bn(1)).subscribe(()=>{let a=this.overlayDir.overlayRef,s=a.getConfig().positionStrategy;a.updateSize({maxWidth:this.panelMaxWidth}),this._updatePosition(),s.withPositions(this._positions),a.updatePosition(),this._cdr.markForCheck(),this.openedChange.emit(!0),this.showFilter?this.filterInput?.nativeElement.focus():this.panelBody?.nativeElement.focus()})}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this.filterInput&&this.showFilter&&this._clearFilter(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._cdr.markForCheck(),this.focusOut.emit(!0),this.stateChanges.next())}get isFilterEmpty(){return this.filterValue.length===0}_clearFilter(){this.filterInput&&(this.filterValue="",this.filterChanges.next(""))}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}};e=new WeakMap,t=new WeakMap,n=new WeakMap,r.\u0275fac=function(s){return new(s||r)(D(Ye),D(We),D(Vt),O3("tabindex"),D(St,8),D(ur),D(ci,10),D(tr,8),D(st,8),D(jn,8),D(tre),D(Ja))},r.\u0275cmp=z({type:r,selectors:[["nx-dropdown"]],contentQueries:function(s,l,u){if(s&1&&(Ft(u,Qie,5),Ft(u,Yn,5),Ft(u,zV,4)),s&2){let h;te(h=ne())&&(l._customClosedDropdownLabel=h.first),te(h=ne())&&(l._contentDropdownItems=h),te(h=ne())&&(l.groups=h)}},viewQuery:function(s,l){if(s&1&&(pe(wie,5),pe(Sie,5),pe(VV,7),pe(Pie,5),pe(FV,5),pe(Tl,7),pe(Eie,7),pe(Yn,5)),s&2){let u;te(u=ne())&&(l.panel=u.first),te(u=ne())&&(l.panelBody=u.first),te(u=ne())&&(l.trigger=u.first),te(u=ne())&&(l.fallbackOrigin=u.first),te(u=ne())&&(l.filterInput=u.first),te(u=ne())&&(l.overlayDir=u.first),te(u=ne())&&(l._defaultClosedDropdownLabel=u.first),te(u=ne())&&(l._lazyDropdownItems=u)}},hostAttrs:["role","combobox","aria-haspopup","listbox"],hostVars:22,hostBindings:function(s,l){s&1&&I("keydown",function(h){return l._handleKeydown(h)})("focus",function(){return l._onFocus()})("blur",function(){return l._onBlur()}
24)("click",function(h){return l.openedByKeyboard=!1,l.openPanel(h)}),s&2&&(ye("aria-describedby",l.ariaDescribedby||null)("aria-required",l.required)("aria-labelledby",l._getAriaLabelledBy()||null)("aria-controls",l.modalId)("aria-invalid",l.errorState)("aria-expanded",l.panelOpen)("readonly",l.readonly||null)("disabled",l.disabled||null)("aria-disabled",l.disabled||l.readonly)("tabindex",l.tabIndex),Fe("nx-dropdown",!0)("is-filled",l.hasValue)("is-readonly",l.readonly)("has-focus",l.focused)("nx-dropdown--negative",l._negative)("nx-dropdown--disabled",l.disabled))},inputs:{readonly:"readonly",ariaLabelledBy:"ariaLabelledBy",verticalAlignCheckmark:"verticalAlignCheckmark",options:"options",filterInputType:"filterInputType",tabIndex:"tabIndex",value:"value",disabled:"disabled",isMultiSelect:"isMultiSelect",required:"required",styles:[0,"variant","styles"],placeholder:"placeholder",ignoreItemTruncation:"ignoreItemTruncation",showFilter:"showFilter",filterPlaceholder:"filterPlaceholder",overlayLabel:"overlayLabel",overlayFallbackOrigin:"overlayFallbackOrigin",panelMaxWidth:"panelMaxWidth",panelMinWidth:"panelMinWidth",panelGrow:[2,"panelGrow","panelGrow",$t],valueFormatter:"valueFormatter",compareWith:"compareWith",filterFn:"filterFn"},outputs:{openedChange:"openedChange",focusOut:"focusOut",filterResultChange:"filterResult",_openedStream:"opened",_closedStream:"closed",filterChanges:"filterInput",valueChange:"valueChange",selectionChange:"selectionChange"},features:[Mt([{provide:Y6,useExisting:r},{provide:Yc,useExisting:r},{provide:Wr,useExisting:r}])],ngContentSelectors:DM,decls:11,vars:14,consts:[["fallbackOrigin","cdkOverlayOrigin","trigger",""],["defaultClosedDropdownLabel",""],["panel",""],["panelBody",""],["filterInput",""],["cdkOverlayOrigin","",1,"nx-dropdown__container",3,"nxTooltip","nxTooltipSelectable"],[1,"nx-dropdown__rendered",3,"id"],[1,"nx-dropdown__icon"],["name","chevron-down","aria-hidden","true",1,"nx-dropdown__chevron"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"backdropClick","attach","detach","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayMinWidth","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayViewportMargin","cdkConnectedOverlayPush"],[4,"ngTemplateOutlet"],[1,"nx-dropdown__panel",3,"keydown","dir"],[1,"nx-dropdown__panel-header"],[1,"nx-dropdown__filter-wrap"],["tabindex","-1","role","listbox",1,"nx-dropdown__panel-body",3,"id"],[3,"value"],[1,"nx-dropdown__filter"],["role","combobox",1,"nx-dropdown__filter-input",3,"input","ngModelChange","type","ngModel","placeholder"],[1,"nx-dropdown__filter-icon"],[1,"nx-dropdown__filter-icon",3,"click"],["name","close"],[3,"onSelectionChange","value"]],template:function(s,l){if(s&1){let u=Y();rt(),c(0,"div",5,0)(3,"div",6),re(4,Die,2,1,"span"),re(5,Tie,1,1,"ng-container"),d(),c(6,"div",7),S(7,"nx-icon",8),d()(),L(8,kie,1,1,"ng-template",null,1,an)(10,Rie,9,14,"ng-template",9),I("backdropClick",function(){return O(u),T(l.closePanel())})("attach",function(){return O(u),T(l._onAttached())})("detach",function(){return O(u),T(l.closePanel())})}s&2&&(g("nxTooltip",l._tooltipText)("nxTooltipSelectable",!0),p(3),g("id",l.renderedValueId),p(),oe(l.empty&&l.placeholder?4:-1),p(),oe(l.empty?-1:5),p(5),g("cdkConnectedOverlayScrollStrategy",l._scrollStrategy)("cdkConnectedOverlayOrigin",l.overlayOrigin)("cdkConnectedOverlayOpen",l.panelOpen)("cdkConnectedOverlayPositions",l._positions)("cdkConnectedOverlayWidth",l._overlayWidth)("cdkConnectedOverlayMinWidth",l._overlayMinWidth)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayViewportMargin",l._overlayViewportMargin)("cdkConnectedOverlayPush",!1))},dependencies:[$o,Rt,wt,C0,jc,Ji,xt,nt,Tl,qA,Yn,Hs,Wc],styles:["[_nghost-%COMP%]{display:block;width:100%}[_nghost-%COMP%]:focus{outline:none}.nx-dropdown--negative[_nghost-%COMP%]:focus{font-weight:600}.nx-dropdown--negative[_nghost-%COMP%]{color:var(--negative)}[aria-expanded=true][_nghost-%COMP%]   .nx-dropdown__chevron[_ngcontent-%COMP%]{transform:rotate(180deg)}.nx-dropdown__container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;height:100%;cursor:pointer}.nx-dropdown--disabled[_nghost-%COMP%]   .nx-dropdown__container[_ngcontent-%COMP%]{cursor:not-allowed}@media screen and (forced-colors: active){.nx-dropdown--disabled[_nghost-%COMP%]   .nx-dropdown__container[_ngcontent-%COMP%]   .nx-dropdown__icon[_ngcontent-%COMP%]{color:GrayText!important}}.nx-dropdown__rendered[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nx-dropdown__panel[_ngcontent-%COMP%]{box-shadow:var(--dropdown-panel-shadow);border-radius:var(--dropdown-panel-border-radius);overflow:hidden;min-width:100%}.nx-dropdown__panel[_ngcontent-%COMP%]     .nx-checkbox__label{font-size:var(--dropdown-item-font-size);line-height:var(--dropdown-item-line-height);
24font-weight:var(--dropdown-item-font-weight);letter-spacing:var(--dropdown-item-letter-spacing);display:flex;align-items:center}.nx-dropdown__panel[_ngcontent-%COMP%]:focus{outline:none}.nx-dropdown__panel.centered-checkmark[_ngcontent-%COMP%]     nx-dropdown-item .nx-dropdown-results__option{align-items:center}.nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]   .nx-dropdown__panel-body[_ngcontent-%COMP%]{max-height:calc(6 * (var(--dropdown-item-outline-line-height) + 16px) + 16px)}.nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]     .nx-dropdown-results__group-label{font-size:var(--formfield-outline-label-font-size);line-height:var(--formfield-outline-label-line-height);font-weight:var(--formfield-outline-label-font-weight);letter-spacing:var(--formfield-outline-label-letter-spacing);font-style:normal;font-weight:var(--dropdown-group-label-font-weight)}.nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]     nx-dropdown-item .nx-dropdown-results__option, .nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]     nx-dropdown-item .nx-dropdown-results__option-label{font-size:var(--dropdown-item-outline-font-size);line-height:var(--dropdown-item-outline-line-height);font-weight:var(--dropdown-item-outline-font-weight);letter-spacing:var(--dropdown-item-outline-letter-spacing)}.nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]     nx-dropdown-item .nx-dropdown-results__option-checkicon{height:var(--dropdown-item-outline-line-height)}.nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]     .nx-dropdown__filter-input{font-size:var(--formfield-outline-control-font-size);line-height:var(--formfield-outline-control-line-height);font-weight:var(--formfield-outline-control-font-weight);letter-spacing:var(--formfield-outline-control-letter-spacing)}.nx-dropdown__panel--in-outline-field[_ngcontent-%COMP%]     .nx-dropdown__filter-input:empty{font-weight:300}.nx-dropdown__icon[_ngcontent-%COMP%]{font-size:var(--dropdown-chevron-size);line-height:0}.nx-dropdown__chevron[_ngcontent-%COMP%]{vertical-align:middle}.nx-dropdown__panel-header[_ngcontent-%COMP%]{font-size:var(--formfield-label-font-size);line-height:var(--formfield-label-line-height);font-weight:var(--formfield-label-font-weight);letter-spacing:var(--formfield-label-letter-spacing);color:var(--dropdown-panel-header-text-color);background-color:var(--dropdown-panel-header-background-color);padding:8px 32px;border-top-left-radius:4px;border-top-right-radius:4px;z-index:1}.nx-dropdown__panel-body[_ngcontent-%COMP%]{background-color:var(--dropdown-panel-background-color);max-height:calc(6 * (var(--dropdown-item-line-height) + 16px) + 16px);overflow-y:auto;outline:none;padding-top:var(--dropdown-panel-padding-top);padding-bottom:var(--dropdown-panel-padding-bottom)}.nx-dropdown__filter-wrap[_ngcontent-%COMP%]{padding-top:var(--dropdown-filter-wrap-padding-vertical);padding-bottom:var(--dropdown-filter-wrap-padding-vertical);padding-left:var(--dropdown-filter-wrap-padding-horizontal);padding-right:var(--dropdown-filter-wrap-padding-horizontal);background-color:var(--dropdown-panel-background-color)}.nx-dropdown__filter[_ngcontent-%COMP%]{padding-top:var(--dropdown-filter-input-padding-vertical);padding-right:var(--dropdown-filter-input-padding-horizon);padding-bottom:var(--dropdown-filter-input-padding-vertical);padding-left:var(--dropdown-filter-input-padding-horizon);border-radius:var(--dropdown-panel-border-radius);border:1px solid var(--dropdown-panel-filter-border-color);display:flex;align-items:center}[dir=rtl][_ngcontent-%COMP%]   .nx-dropdown__filter[_ngcontent-%COMP%]{padding:16px 32px 12px}.nx-dropdown__filter-input[_ngcontent-%COMP%]{flex-grow:1;margin-right:var(--dropdown-filter-gap);background-color:transparent;border:0;border-bottom:1px solid var(--dropdown-filter-input-border-color);font-size:var(--dropdown-item-font-size);line-height:var(--dropdown-item-line-height);font-weight:var(--dropdown-item-font-weight);letter-spacing:var(--dropdown-item-letter-spacing);color:var(--dropdown-filter-input-text-color);outline:none;width:100%}.nx-dropdown__filter-input[_ngcontent-%COMP%]::-ms-clear{display:none}.nx-dropdown__filter-input.is-filled[_ngcontent-%COMP%]:focus{color:var(--dropdown-filter-input-active-text-color)}.nx-dropdown__filter-input.is-filled[_ngcontent-%COMP%]:focus + .nx-dropdown__filter-icon[_ngcontent-%COMP%]{color:var(--dropdown-filter-input-active-text-color)}.nx-dropdown__filter-input[_ngcontent-%COMP%]:focus{border-color:var(--dropdown-filter-input-active-border-color)}[dir=rtl][_ngcontent-%COMP%]   .nx-dropdown__filter-input[_ngcontent-%COMP%]{padding:0 0 3px 24px}.nx-dropdown__filter-icon[_ngcontent-%COMP%]{height:24px}[dir=rtl][_ngcontent-%COMP%]   .nx-dropdown__filter-icon[_ngcontent-%COMP%]{left:32px;right:auto}.nx-dropdown__filter-icon[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:24px}.nx-dropdown__panel.has-filter[_ngcontent-%COMP%]     nx-dropdown-item:first-of-type .nx-dropdown-results__option{padding-top:8px}.is-readonly[_nghost-%COMP%]   .nx-dropdown__icon[_ngcontent-%COMP%]{color:var(--formfield-disabled-text-color)}@media screen and (forced-colors: active){.is-readonly[_nghost-%COMP%]   .nx-dropdown__icon[_ngcontent-%COMP%]{color:GrayText!important}}.is-readonly[_nghost-%COMP%]   .nx-dropdown__container[_ngcontent-%COMP%]{cursor:default;color:var(--formfield-readonly-text-color)}@media screen and (forced-colors: active){.nx-dropdown__panel[_ngcontent-%COMP%]{box-shadow:0 0 0 1px CanvasText;border:1px solid CanvasText}.nx-dropdown__panel-header[_ngcontent-%COMP%]{border-bottom:1px solid CanvasText}.nx-dropdown__filter-input[_ngcontent-%COMP%]{border-bottom-color:buttonText}}"],changeDetection:0});let i=r;return i})(),ore=0,LV=(()=>{let e=class e{set indeterminate(n){this._indeterminate=n}get indeterminate(){return this._indeterminate}set active(n){this._active=n,this._cdr.markForCheck()}get active(){return this._active}constructor(n,r,o){this._cdr=n,this.elementRef=r,this.liveAnnouncer=o,this._active=!1,this.id=`nx-multi-select-all-${ore++}`,this.label="",this._indeterminate=!1,this.selected=!1,this.disabled=!1,this.selectedAllChange=new X}setActiveStyles(){this.active=!0}setInactiveStyles(){this.active=!1}_onClick(n){n.preventDefault(),n.stopPropagation(),this._onSelect()}_onSelect(){this.disabled||(this.selectedAllChange.emit(this.selected),this.liveAnnouncer.announce(`${this.label} ${this.selected?"selected":"unselected"}`))}selectViaInteraction(){this._onSelect(),this._cdr.markForCheck()}getLabel(){return this.label}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Ja))},e.\u0275cmp=z({type:e,selectors:[["nx-multi-select-all"]],hostAttrs:["role","option"],hostVars:3,hostBindings:function(r,o){r&1&&I("click",function(s){return o._onClick(s)}
24),r&2&&(gi("id",o.id),ye("aria-selected",o.selected||null)("aria-disabled",o.disabled||null))},inputs:{value:"value",label:"label",indeterminate:"indeterminate",selected:"selected",disabled:"disabled"},outputs:{selectedAllChange:"selectedAllChange"},decls:2,vars:7,consts:[[3,"indeterminate","checked"]],template:function(r,o){r&1&&(c(0,"nx-checkbox",0),m(1),d()),r&2&&(Fe("is-active",o.active)("is-selected",o.selected),g("indeterminate",o.indeterminate)("checked",o.selected),p(),K(" ",o.label,`
25`))},dependencies:[$c,Yo],styles:[".nx-checkbox.is-active[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-checkbox.is-active[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}"],changeDetection:0});let i=e;return i})(),are=0,HV=(()=>{let e=class e{set active(n){this._active=n,this._cdr.markForCheck()}get active(){return this._active}constructor(n,r,o){this._cdr=n,this.elementRef=r,this.liveAnnouncer=o,this._active=!1,this.id=`nx-multi-select-option-${are++}`,this.appearance="auto",this.label="",this.selected=!1,this.disabled=!1,this.selectedChange=new X}setActiveStyles(){this.active=!0}setInactiveStyles(){this.active=!1}_onClick(){this.disabled||(this.selected=!this.selected,this.selectedChange.emit(this.selected),this.liveAnnouncer.announce(`${this.label} ${this.selected?"selected":"unselected"}`))}selectViaInteraction(){this._onClick(),this._cdr.markForCheck()}getLabel(){return this.label}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Ja))},e.\u0275cmp=z({type:e,selectors:[["nx-multi-select-option"]],hostAttrs:["role","option"],hostVars:5,hostBindings:function(r,o){r&1&&I("click",function(){return o._onClick()}),r&2&&(gi("id",o.id),ye("aria-selected",o.selected||null)("aria-disabled",o.disabled||null),Fe("is-outline",o.appearance==="outline"))},inputs:{appearance:"appearance",value:"value",label:"label",selected:"selected",disabled:"disabled"},outputs:{selectedChange:"selectedChange"},decls:5,vars:8,consts:[[1,"nx-checkbox"],[1,"nx-checkbox__control"],["name","check","aria-hidden","true"],[1,"nx-checkbox__label"]],template:function(r,o){r&1&&(c(0,"div",0)(1,"span",1),re(2,zie,1,0,"nx-icon",2),d(),c(3,"span",3),m(4),d()()),r&2&&(Fe("is-active",o.active)("is-selected",o.selected)("is-disabled",o.disabled),p(2),oe(o.selected?2:-1),p(2),K(" ",o.label," "))},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{display:flex;width:100%;padding:var(--multi-select-item-padding-vertical) var(--multi-select-item-padding-horizon)}[_nghost-%COMP%]:hover{background-color:var(--dropdown-item-hover-background-color)}[_nghost-%COMP%]:active{background-color:var(--dropdown-item-active-background-color)}.is-outline[_nghost-%COMP%]   .nx-checkbox[_ngcontent-%COMP%]{font-size:var(--checkbox-small-label-font-size);line-height:var(--checkbox-small-label-line-height);font-weight:var(--checkbox-small-label-font-weight);letter-spacing:var(--checkbox-small-label-letter-spacing)}.divider[_nghost-%COMP%]{border-bottom:1px solid var(--dropdown-group-divider);margin-bottom:16px;padding-bottom:21px}.divider.is-outline[_nghost-%COMP%]{margin-bottom:7px;padding-bottom:16px}.nx-checkbox[_ngcontent-%COMP%]{font-size:var(--checkbox-large-label-font-size);line-height:var(--checkbox-large-label-line-height);font-weight:var(--checkbox-large-label-font-weight);letter-spacing:var(--checkbox-large-label-letter-spacing);color:var(--checkbox-label-color);cursor:pointer;display:flex;align-items:flex-start}.nx-checkbox.is-active[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-checkbox.is-active[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-checkbox.is-disabled[_ngcontent-%COMP%]{cursor:not-allowed}.nx-checkbox.is-disabled[_ngcontent-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-disabled-background-color);border-color:var(--checkbox-disabled-border-color);color:var(--checkbox-disabled-icon-color)}.nx-checkbox.is-disabled[_ngcontent-%COMP%]   .nx-checkbox__label[_ngcontent-%COMP%]{color:var(--checkbox-label-disabled-color)}.nx-checkbox.is-selected[_ngcontent-%COMP%]   .nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}.nx-checkbox__control[_ngcontent-%COMP%]{background-color:var(--checkbox-background-color);border-style:solid;border-width:var(--checkbox-border-width);border-color:var(--checkbox-border-color);border-radius:var(--checkbox-border-radius);color:var(--checkbox-icon-color);font-size:var(--checkbox-icon-size);height:var(--checkbox-control-size);width:var(--checkbox-control-size);min-width:var(--checkbox-control-size);display:flex;justify-content:center;align-items:flex-start;z-index:0}.nx-checkbox__label[_ngcontent-%COMP%]{padding:0;margin-left:var(--checkbox-small-label-text-margin-left);word-break:break-word;hyphens:auto}[dir=rtl][_nghost-%COMP%]   .nx-checkbox__label[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-checkbox__label[_ngcontent-%COMP%]{margin-left:initial;margin-right:var(--checkbox-small-label-text-margin-left)}"],changeDetection:0});let i=e;return i})(),sre=0,lre=260,cre=(i,e)=>e.toLowerCase().includes(i.toLowerCase()),dre=(()=>{var e,t;let n=class n{constructor(o,a,s,l,u,h,_,y){_s(this,e);_s(this,t);this._intl=o,this._elementRef=a,this._errorStateMatcher=s,this._cdr=l,this._formFieldComponent=u,this.ngControl=h,this._parentForm=_,this._parentFormGroup=y,this._required=!1,this._disabled=!1,this._readonly=!1,this._placeholder="",this._filter=!1,Va(this,e,!1),this.openedChange=new X,this._openedStream
25=this.openedChange.pipe(ln(b=>b),ct(()=>{})),this._closedStream=this.openedChange.pipe(ln(b=>!b),ct(()=>{})),this._openedBy="mouse",this._divider=0,this.selectionChange=new X,this.focusOut=new X,this.filterChanges=new X,this.controlType="nx-multi-select",this.errorState=!1,this._positions=Q6("auto",0),this._inputFocused=!1,this._ariaDescribedby="",this._width="",this._minWidth="",this._filterValue="",this._tooltipText="",this.listItems=[],this.selectedItems=new Set,this.id=`nx-multi-select-${sre++}`,this._comboboxId=`${this.id}-combobox`,this.stateChanges=new he,this._overlayViewportMargin=16,this._option=[],this.filterPlaceholder="Type to filter",this.selectValue="",this.selectLabel="",this.panelGrow=!1,this._isOpen=!1,this._destroyed=new he,this._onChange=()=>{},this._onTouched=()=>{},this.sortSelectedToTop=(b,x)=>{let w=this.selectedItems.has(b),k=this.selectedItems.has(x);return w&&!k?-1:!w&&k?1:0},this.ngControl&&(this.ngControl.valueAccessor=this),this._isDisabled=this._isDisabled.bind(this),o.changes.pipe(ze(this._destroyed)).subscribe(()=>l.markForCheck())}get value(){return this.options.filter(o=>this.selectedItems.has(o)).map(o=>this._selectValue(o))}get _isOutline(){return this._appearance==="outline"}get _appearance(){return this._formFieldComponent?.appearance}get _overlayLabel(){return this._formFieldComponent?.label}get empty(){return this.selectedItems.size===0}get focused(){return this._isOpen||this._inputFocused}set required(o){this._required=o}get required(){return this._required}set disabled(o){this._disabled=o}get disabled(){return this._disabled}set readonly(o){this._readonly=Ue(o),this.stateChanges.next()}get readonly(){return this._readonly}set placeholder(o){this._placeholder=o,this.stateChanges.next()}get placeholder(){return this._placeholder}set filter(o){this._filter=Ue(o)}get filter(){return this._filter}set disableSelectAll(o){let a=Ue(o);Xo(this,e)!==a&&(Va(this,e,a),this._cdr.markForCheck())}get disableSelectAll(){return Xo(this,e)}set filterFn(o){Va(this,t,o)}get filterFn(){return Xo(this,t)??cre}get shouldLabelFloat(){return this.focused||!this.empty||!!(this.placeholder&&this.placeholder.length>0)}get elementRef(){return this._elementRef}get _allSelected(){return this.selectedItems.size===this.options.filter(o=>!this._isDisabled(o)).length}get _someSelected(){return this.selectedItems.size>0&&!this._allSelected}get _isActiveItemFiltered(){return typeof this._keyManager.activeItem<"u"&&!this.listItems.some(o=>this._selectValue(o)===this._keyManager.activeItem?.value)}set options(o){this._option=o,this.writeValue(this.ngControl?.value)}get options(){return this._option}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}setDisabledState(o){this.disabled=o,this._cdr.markForCheck(),this.stateChanges.next()}_selectValue(o){return this.selectValue?typeof this.selectValue=="string"?o[this.selectValue]:this.selectValue(o):o}_selectLabel(o){return this.selectLabel?typeof this.selectLabel=="string"?String(o[this.selectLabel]):this.selectLabel(o):String(this._selectValue(o))}_updatePositions(){if(this._formFieldComponent){let o=RV(this._elementRef.nativeElement,this._formFieldComponent.elementRef.nativeElement,this._panelHeader?.nativeElement);this._positions=Q6(this._appearance,o)}}_isDisabled(o){return typeof this.selectDisabled=="string"?o[this.selectDisabled]:typeof this.selectDisabled=="function"?this.selectDisabled(o):!1}_getAriaLabelledBy(){let o=this.id,a=this._formFieldComponent?.labelId;return a?`${o} ${a}`:o}setDescribedByIds(o){this._ariaDescribedby=o.join(" ")}ngAfterViewInit(){this._initKeyManager()}open(o,a){this._open(o,a)}_open(o,a){this._isOpen||this.disabled||this.readonly||(this._formFieldComponent?.elementRef.nativeElement.getBoundingClientRect().width===window.innerWidth&&(this._overlayViewportMargin=0),o.preventDefault(),this._filterValue="",this.getOverlayWidth(),this._isOpen=!0,this.listItems=this.options.slice().sort(this.sortSelectedToTop),this._divider=this.selectedItems.size-1,this._openedBy=a,this._cdr.markForCheck())}getOverlayWidth(){let o=Math.max(lre,this._trigger?.nativeElement.getBoundingClientRect().width);this.panelGrow?this._minWidth=o:this.panelGrow||(this._width=o)}_close(){this._isOpen&&(this._isOpen=!1,this.openedChange.emit(!1),this._updateTooltipText(),this._trigger?.nativeElement.focus())}_onSelect(o,a){a?this.selectedItems.add(o):this.selectedItems.delete(o),this._onChange(this.value),this.selectionChange.emit(this.value)}_onKeydown(o){if(this.disabled||this.readonly)return;let a=o.altKey,s=o.ctrlKey,l=o.metaKey,u=o.key,h=u.length===1&&!s&&!l&&!a,_=u==="ArrowDown"||u==="ArrowUp"||u==="ArrowLeft"||u==="ArrowRight";this._filterInput&&o.target===this._filterInput.nativeElement&&h||(this._isOpen?((u==="ArrowUp"||u==="ArrowDown"||u==="Home"||u==="End")&&(this._keyManager.onKeydown(o),this._scrollActiveOptionIntoView(),o.preventDefault()),(window.navigator.platform.match("Mac")?o.metaKey:o.ctrlKey)&&u==="a"&&(this._onSelectAll(),o.preventDefault()),u==="Tab"&&this._keyManager.onKeydown(o),(u==="Enter"||this._filterValue.trim()===""&&u===" ")&&(this._keyManager.activeItem?.selectViaInteraction(),o.preventDefault()),h&&this._keyManager.onKeydown(o)):((a&&_||_||u==="Home")&&(this._open(o,"ke
25yboard"),o.preventDefault()),u==="End"&&(this._open(o,"keyboard"),setTimeout(()=>{this._keyManager.setLastItemActive(),this._cdr.markForCheck()}),o.preventDefault()),h&&(this._open(o,"keyboard"),this.filter?(this._filterValue=u,this._onFilterChange(u)):this._keyManager.onKeydown(o))))}_onTriggerBlur(){!this._isOpen&&!this.disabled&&!this.readonly&&(this._onTouched(),this.focusOut.emit(!0))}_onFocusWithinOverlay(o){this._filterInput&&o.target!==this._filterInput.nativeElement&&this._filterInput.nativeElement.focus()}_getAriaActiveDescendant(){return this._keyManager.activeItem?this._keyManager.activeItem.id:null}_onFilterChange(o){this.filterChanges.next(o),o?this.listItems=[...this.options].sort(this.sortSelectedToTop).filter(a=>this.filterFn(o,this._selectLabel(a))):this.listItems=[...this.options].sort(this.sortSelectedToTop).slice(),this._divider=this.listItems.filter(a=>this.selectedItems.has(a)).length-1,this._isActiveItemFiltered&&setTimeout(()=>{this._keyManager.setActiveItem(1)}),this._optionsList?.nativeElement.scrollTo(0,0)}_getValueText(){return this.options.filter(o=>this.selectedItems.has(o)).map(o=>this._selectLabel(o)).join(", ")}_onAttach(){this._overlayDir?.positionChange.pipe(Bn(1)).subscribe(()=>{let o=this._overlayDir.overlayRef,a=o.getConfig().positionStrategy;o.updateSize({maxWidth:this.panelMaxWidth}),this._updatePositions(),a.withPositions(this._positions),o.updatePosition(),this.filter?this._filterInput?.nativeElement.focus():this._panelContent?.nativeElement.focus(),this._selectAll&&this.selectedItems.size>0?this._keyManager.setActiveItem(1):this._keyManager.setFirstItemActive(),this._scrollActiveOptionIntoView(),this.openedChange.emit(!0),this._cdr.markForCheck()})}_onDetach(){this._close()}_onSelectAll(){if(this._filterValue){let o=this.listItems.filter(s=>!this._isDisabled(s));o.every(s=>this.selectedItems.has(s))?o.forEach(s=>this.selectedItems.delete(s)):o.forEach(s=>this.selectedItems.add(s))}else this._allSelected?this.selectedItems.clear():this.listItems.filter(o=>!this._isDisabled(o)).forEach(o=>this.selectedItems.add(o));this._onChange(this.value),this.selectionChange.emit(this.value)}_clear(){this.selectedItems.clear(),this._onChange(this.value),this.selectionChange.emit(this.value)}_clearFilter(){this._filterValue="",this._onFilterChange(this._filterValue)}writeValue(o){setTimeout(()=>{if(this.selectedItems.clear(),Array.isArray(o))for(let a of o){let s=this.options.find(l=>this._selectValue(l)===a);s?this.selectedItems.add(s):console.warn("NxMultiSelect: Model contains value that does not exist in given options",a)}this._updateTooltipText(),this._cdr.markForCheck()})}registerOnChange(o){this._onChange=o}registerOnTouched(o){this._onTouched=o}ngDoCheck(){this.ngControl&&this.updateErrorState()}updateErrorState(){let o=this.errorState,a=this._parentFormGroup||this._parentForm,s=this.ngControl?this.ngControl.control:null,l=this._errorStateMatcher.isErrorState(s,a);l!==o&&(this.errorState=l,this.stateChanges.next())}_updateTooltipText(){if(!this._trigger)return;let[o,a,s]=this._trigger.nativeElement.children,{paddingLeft:l,paddingRight:u}=getComputedStyle(this._trigger.nativeElement);this._trigger.nativeElement.clientWidth-parseInt(l,10)-parseInt(u,10)-a.offsetWidth-s.offsetWidth<o.scrollWidth?this._tooltipText=this._getValueText():this._tooltipText=""}_scrollActiveOptionIntoView(){if(!this._keyManager.activeItem)return;let o=this._keyManager.activeItem.elementRef.nativeElement,a=this._optionsList?.nativeElement,s=a.scrollTop,l=a.clientHeight,u=o.offsetTop,h=o.offsetTop+o.offsetHeight;u<s?a.scrollTop=u:h>s+l&&(a.scrollTop=h-l)}_initKeyManager(){this._keyManager=new Hd(this._options).withTypeAhead(500).withHomeAndEnd().withVerticalOrientation().withHorizontalOrientation("ltr").skipPredicate(o=>o?.disabled),this._keyManager.tabOut.pipe(ze(this._destroyed)).subscribe(()=>this._close()),this._keyManager.change.pipe(ze(this._destroyed)).subscribe(()=>{this._scrollActiveOptionIntoView()})}};e=new WeakMap,t=new WeakMap,n.\u0275fac=function(a){return new(a||n)(D(ere),D(We),D(ur),D(Ye),D(St,8),D(ci,10),D(tr,8),D(st,8))},n.\u0275cmp=z({type:n,selectors:[["nx-multi-select"]],viewQuery:function(a,s){if(a&1&&(pe(Lie,5),pe(VV,5),pe(FV,5),pe(Hie,5),pe(Bie,5),pe(jie,5),pe(Tl,7),pe(qie,5)),a&2){let l;te(l=ne())&&(s._selectAll=l.first),te(l=ne())&&(s._trigger=l.first),te(l=ne())&&(s._filterInput=l.first),te(l=ne())&&(s._optionsList=l.first),te(l=ne())&&(s._panelHeader=l.first),te(l=ne())&&(s._panelContent=l.first),te(l=ne())&&(s._overlayDir=l.first),te(l=ne())&&(s._options=l)}},hostVars:5,hostBindings:function(a,s){a&2&&(ye("readonly",s.readonly||null),Fe("is-readonly",s.readonly)("is-open",s._isOpen))},inputs:{required:"required",disabled:"disabled",readonly:"readonly",placeholder:"placeholder",filter:"filter",disableSelectAll:"disableSelectAll",f
25ilterFn:"filterFn",options:"options",filterPlaceholder:"filterPlaceholder",selectValue:"selectValue",selectLabel:"selectLabel",selectDisabled:"selectDisabled",panelGrow:[2,"panelGrow","panelGrow",$t],panelMaxWidth:"panelMaxWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",focusOut:"focusOut",filterChanges:"filterInput"},features:[Mt([{provide:Yc,useExisting:n}])],decls:9,vars:18,consts:[["trigger","","origin","cdkOverlayOrigin"],["panelContent",""],["itemsList",""],["panelHeader",""],["selectAllCheckbox",""],["filterInput",""],["option",""],["cdkOverlayOrigin","","role","combobox","tabindex","0","aria-haspopup","listbox",1,"value",3,"click","keydown.enter","keydown.space","blur","focus","keydown","nxTooltip","nxTooltipSelectable","id"],[1,"value-text"],["size","s","aria-hidden","true","name","chevron-down",1,"indicator"],["cdkConnectedOverlay","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"overlayOutsideClick","attach","detach","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayFlexibleDimensions","cdkConnectedOverlayViewportMargin","cdkConnectedOverlayPush"],["aria-expanded","true","tabindex","-1",1,"panel",3,"keydown","focusin"],[1,"panel-header"],[1,"item","actions","select-all"],[1,"filter-wrapper"],["role","listbox","aria-multiselectable","true",1,"items",3,"id"],[1,"item",3,"divider","value","label","selected","disabled","appearance"],[3,"selectedAllChange","label","indeterminate","selected"],["appearance","auto",1,"filter"],["nxInput","","autocomplete","off","role","combobox",3,"ngModelChange","ngModel","placeholder"],["aria-hidden","true","nxFormfieldSuffix","","name","close",1,"clear",3,"click"],[1,"item",3,"selectedChange","value","label","selected","disabled","appearance"]],template:function(a,s){if(a&1){let l=Y();c(0,"div",7,0),I("click",function(h){return O(l),T(s._open(h,"mouse"))})("keydown.enter",function(h){return O(l),T(s._open(h,"keyboard"))})("keydown.space",function(h){return O(l),T(s._open(h,"keyboard"))})("blur",function(){return O(l),s._onTriggerBlur(),T(s._inputFocused=!1)})("focus",function(){return O(l),T(s.disabled?null:s._inputFocused=!0)})("keydown",function(h){return O(l),T(s._onKeydown(h))}),c(3,"span",8),m(4),d(),c(5,"span"),m(6),d(),S(7,"nx-icon",9),d(),L(8,Yie,9,9,"ng-template",10),I("overlayOutsideClick",function(){return O(l),T(s._close())})("attach",function(){return O(l),T(s._onAttach())})("detach",function(){return O(l),T(s._onDetach())})}if(a&2){let l=Ct(2);g("nxTooltip",s._tooltipText)("nxTooltipSelectable",!0)("id",s.id),ye("aria-controls",s._comboboxId)("aria-expanded",s._isOpen)("aria-labelledby",s._getAriaLabelledBy())("aria-describedby",s._ariaDescribedby||null)("aria-invalid",s.errorState),p(4),Pe(s.empty?s.placeholder:s._getValueText()),p(2),Pe(s.selectedItems.size?"("+s.selectedItems.size+")":""),p(2),g("cdkConnectedOverlayPositions",s._positions)("cdkConnectedOverlayWidth",s._width)("cdkConnectedOverlayMinWidth",s._minWidth)("cdkConnectedOverlayOrigin",l)("cdkConnectedOverlayOpen",s._isOpen)("cdkConnectedOverlayFlexibleDimensions",!0)("cdkConnectedOverlayViewportMargin",s._overlayViewportMargin)("cdkConnectedOverlayPush",!1)}},dependencies:[jc,Hs,Wc,xt,nt,Tl,LV,Qr,St,ui,Gd,Yt,$o,Rt,wt,C0,HV],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%}.panel[_ngcontent-%COMP%]{width:100%;box-shadow:var(--dropdown-panel-shadow);border-radius:var(--dropdown-panel-border-radius);background:var(--ui-01);display:flex;flex-direction:column}.panel[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{--formfield-label-height: 6px;--formfield-bottom-padding: 4px}.panel.is-outline[_ngcontent-%COMP%]   .filter[_ngcontent-%COMP%]{--formfield-label-height: 8px;--formfield-bottom-padding: 3px}.panel.is-outline[_ngcontent-%COMP%]   .items[_ngcontent-%COMP%]{padding-bottom:8px;max-height:200px}.panel[_ngcontent-%COMP%]:focus{outline:none}.value[_ngcontent-%COMP%]{display:grid;align-items:center;width:100%;height:100%;max-width:100%;grid-template-columns:auto min-content min-content;cursor:pointer}.value[_ngcontent-%COMP%]:focus{outline:none}.value[_ngcontent-%COMP%]::-moz-focus-inner{border:0}.nx-formfield.is-disabled[_nghost-%COMP%]   .value[_ngcontent-%COMP%], .nx-formfield.is-disabled   [_nghost-%COMP%]   .value[_ngcontent-%COMP%]{cursor:not-allowed}.is-readonly[_nghost-%COMP%]   .indicator[_ngcontent-%COMP%]{color:var(--formfield-disabled-text-color)}@media screen and (forced-colors: active){.is-readonly[_nghost-%COMP%]   .indicator[_ngcontent-%COMP%]{color:GrayText!important}}.is-readonly[_nghost-%COMP%]   .value[_ngcontent-%COMP%]{cursor:not-allowed}.is-readonly[_nghost-%COMP%]   .value-text[_ngcontent-%COMP%]{color:var(--formfield-readonly-text-color)}.value-text[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-right:8px}.panel-header[_ngcontent-%COMP%]{font-size:var(--formfield-label-font-size);line-height:var(--formfield-label-line-height);
25font-weight:var(--formfield-label-font-weight);letter-spacing:var(--formfield-label-letter-spacing);color:var(--dropdown-panel-header-text-color);background-color:var(--dropdown-panel-header-background-color);padding:8px 32px;border-top-left-radius:4px;border-top-right-radius:4px}.label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:nth-child(2){font-weight:600;margin-left:auto;padding-right:12px;flex:0 0 auto}.indicator[_ngcontent-%COMP%]{font-size:var(--dropdown-chevron-size);transform:rotate(0)}.is-open[_nghost-%COMP%]   .indicator[_ngcontent-%COMP%]{transform:rotate(180deg)}.items[_ngcontent-%COMP%]{list-style:none;max-height:272px;overflow-y:auto;position:relative;padding:var(--multi-select-panel-padding) 0}.filter-wrapper[_ngcontent-%COMP%]{padding:8px 32px 0}.filter[_ngcontent-%COMP%]{width:100%}.border[_ngcontent-%COMP%]{padding-top:8px;margin-top:8px;border-top:1px solid lightgrey}.toggle[_ngcontent-%COMP%]{width:100%;display:block}.actions[_ngcontent-%COMP%]{display:flex;justify-content:space-between;white-space:nowrap;padding:var(--multi-select-action-padding-vertical) var(--multi-select-item-padding-horizon)}.select-all[_ngcontent-%COMP%]{border-bottom:1px solid var(--dropdown-group-divider)}.hidden[_ngcontent-%COMP%]{display:none}"],changeDetection:0});let i=n;return i})(),O2=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Qr,$c,Dr,Da,xt,Dl,$o,Hs,dr,Gd,ri,Yn,dre,HV,LV]});let i=e;return i})();var ure=["*"];function pre(i,e){if(i&1&&(c(0,"nx-footer-copyright"),m(1),d()),i&2){let t=M();p(),Li("\xA9 ",t.currentYear," ",t.copyright)}}var K6=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-footer-copyright"]],hostAttrs:[1,"nx-footer__copyright"],exportAs:["NxFooterCopyright"]});let i=e;return i})(),BV=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-footer-navigation"]],hostAttrs:["role","list",1,"nx-footer__navigation"],exportAs:["NxFooterNavigation"]});let i=e;return i})(),jV=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this._focusMonitor=r}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Kt))},e.\u0275dir=Ie({type:e,selectors:[["nx-footer-link"]],hostAttrs:["role","listitem",1,"nx-footer__link"],exportAs:["NxFooterLink"]});let i=e;return i})(),qV=(()=>{let e=class e{constructor(){this.currentYear=new Date().getFullYear()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-footer"],["","nx-footer",""]],contentQueries:function(r,o,a){if(r&1&&Ft(a,K6,7),r&2){let s;te(s=ne())&&(o._copyrightDirective=s.first)}},hostAttrs:["role","contentinfo",1,"nx-footer"],inputs:{copyright:"copyright"},ngContentSelectors:ure,decls:2,vars:1,template:function(r,o){r&1&&(rt(),re(0,pre,2,2,"nx-footer-copyright"),ke(1)),r&2&&oe(o.copyright&&!o._copyrightDirective?0:-1)},dependencies:[K6],styles:[".nx-footer[_nghost-%COMP%]{font-size:var(--footer-font-size);line-height:var(--footer-line-height);font-weight:var(--footer-font-weight);letter-spacing:var(--footer-letter-spacing);color:var(--footer-color);display:flex;flex-direction:row;background:transparent;padding:var(--footer-padding-top) 32px var(--footer-padding-bottom) 32px}@media (max-width: 703px){.nx-footer[_nghost-%COMP%]{flex-direction:column-reverse;padding:var(--footer-mobile-padding-top) 16px var(--footer-mobile-padding-bottom) 16px}}  a{text-decoration:none}  .nx-footer__copyright{font-weight:var(--footer-copyright-font-weight);align-self:flex-end;font-size:inherit;line-height:inherit;color:inherit}@media (max-width: 703px){  .nx-footer__copyright{align-self:center;text-align:center}}  .nx-footer__navigation{display:flex;align-self:flex-end}@media (max-width: 703px){  .nx-footer__navigation{text-align:center;align-self:center;flex-direction:column;align-items:center}}@media (max-width: 703px){  .nx-footer__navigation .nx-footer__link{padding-left:0;padding-bottom:16px}[dir=rtl][_nghost-%COMP%]     .nx-footer__navigation .nx-footer__link, [dir=rtl]   [_nghost-%COMP%]     .nx-footer__navigation .nx-footer__link{padding-right:0}}  .nx-footer__link{font-size:inherit;color:inherit;line-height:inherit;padding-left:32px}[dir=rtl][_nghost-%COMP%]     .nx-footer__link, [dir=rtl]   [_nghost-%COMP%]     .nx-footer__link{padding-right:32px;padding-left:initial}  .nx-footer__link a{display:flex;align-items:flex-start}  .nx-footer__link.cdk-keyboard-focused a{border-radius:4px;
25box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){  .nx-footer__link.cdk-keyboard-focused a{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}"],changeDetection:0});let i=e;return i})(),qf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var mre=["nxLayout",""],TM=["*"],hre=["nxRow",""],gre=["nxCol",""];function _re(i){return i===void 0||i.length===0}function Yi(i,e){return" "+_n(i,[],e)}function j0(i,e){let t=$V(i),n="";if(t.length>=1&&t.length<=7){let r=Yi(t[0],e).replace("-{tier}",""),o="",a="",s="",l="",u="",h="";switch(t.length){case 1:o=Yi(t[0],e).replace("{tier}","small"),a=Yi(t[0],e).replace("{tier}","medium"),s=Yi(t[0],e).replace("{tier}","large"),l=Yi(t[0],e).replace("{tier}","xlarge"),u=Yi(t[0],e).replace("{tier}","2xlarge"),h=Yi(t[0],e).replace("{tier}","3xlarge");break;case 2:o=Yi(t[1],e).replace("{tier}","small"),a=Yi(t[1],e).replace("{tier}","medium"),s=Yi(t[1],e).replace("{tier}","large"),l=Yi(t[1],e).replace("{tier}","xlarge"),u=Yi(t[1],e).replace("{tier}","2xlarge"),h=Yi(t[1],e).replace("{tier}","3xlarge");break;case 3:o=Yi(t[1],e).replace("{tier}","small"),a=Yi(t[2],e).replace("{tier}","medium"),s=Yi(t[2],e).replace("{tier}","large"),l=Yi(t[2],e).replace("{tier}","xlarge"),u=Yi(t[2],e).replace("{tier}","2xlarge"),h=Yi(t[2],e).replace("{tier}","3xlarge");break;default:o=Yi(t[1],e).replace("{tier}","small"),a=Yi(t[2],e).replace("{tier}","medium"),s=Yi(t[3],e).replace("{tier}","large"),l=Yi(t[4],e).replace("{tier}","xlarge"),u=Yi(t[5],e).replace("{tier}","2xlarge"),h=Yi(t[6],e).replace("{tier}","3xlarge");break}n=[r,o,a,s,l,u,h].map(_=>_.trim()).join(" ")}return n}function $V(i,e=","){return i.split(e).map(t=>t.trim())}var Et=(()=>{let e=class e{constructor(){this.grid=!0,this.containerQuery=!1,this._classNames=""}set classNames(n){this._classNames!==n&&(this._classNames=n,this.grid=!!this._classNames?.includes("grid"),this.noGutters=!!this._classNames?.includes("nogutters"),this.maxWidth=!!this._classNames?.includes("maxwidth"),this.noPadding=!!this._classNames?.includes("nopadding"))}get classNames(){return this._classNames}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["","nxLayout",""]],hostVars:12,hostBindings:function(r,o){r&2&&Fe("nx-grid",o.grid)("nx-grid--no-gutters",o.noGutters)("nx-grid--max-width",o.maxWidth)("nx-grid--no-padding",o.noPadding)("nx-grid--container-query",o.containerQuery)("nx-grid--media-query",!o.containerQuery)},inputs:{containerQuery:[2,"containerQuery","containerQuery",$t],classNames:[0,"nxLayout","classNames"]},attrs:mre,ngContentSelectors:TM,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:[".nx-grid.nx-grid--media-query[_nghost-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}@media (min-width: 704px){.nx-grid.nx-grid--media-query[_nghost-%COMP%]{padding-right:32px;padding-left:32px}}.nx-grid.nx-grid--container-query[_nghost-%COMP%]{container-type:inline-size;position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}@container (min-width: 704px){.nx-grid.nx-grid--container-query[_nghost-%COMP%]{padding-right:32px;padding-left:32px}}.nx-grid--no-gutters[_nghost-%COMP%]    {padding-left:0;padding-right:0}.nx-grid--no-gutters[_nghost-%COMP%]     .nx-grid__row{margin-left:0;margin-right:0}.nx-grid--no-gutters[_nghost-%COMP%]     .nx-grid__row>[class*=nx-grid__column]{padding-left:0;padding-right:0}.nx-grid--no-padding.nx-grid--media-query[_nghost-%COMP%]    {padding-left:0;padding-right:0}.nx-grid--no-padding.nx-grid--media-query[_nghost-%COMP%]     .nx-grid__row{margin-left:-16px;margin-right:-16px}@media (max-width: 703px){.nx-grid--no-padding.nx-grid--media-query[_nghost-%COMP%]     .nx-grid__row{margin-left:-8px;margin-right:-8px}}.nx-grid--no-padding.nx-grid--container-query[_nghost-%COMP%]    {padding-left:0;padding-right:0}.nx-grid--no-padding.nx-grid--container-query[_nghost-%COMP%]     .nx-grid__row{margin-left:-16px;margin-right:-16px}@container (max-width: 703px){.nx-grid--no-padding.nx-grid--container-query[_nghost-%COMP%]     .nx-grid__row{margin-left:-8px;margin-right:-8px}}.nx-grid--max-width[_nghost-%COMP%]{max-width:100%;width:var(--grid-max-width)}"],changeDetection:0});let i=e;return i})(),vre={start:"nx-justify-content-{tier}-start",end:"nx-justify-content-{tier}-end",center:"nx-justify-content-{tier}-center",between:"nx-justify-content-{tier}-between",around:"nx-justify-content-{tier}-around"},xre={start:"nx-align-items-{tier}-start",end:"nx-align-items-{tier}-end",center:"nx-align-items-{tier}-center",baseline:"nx-align-items-{tier}-baseline",stretch:"nx-align-items-{tier}-stretch"},bre={start:"nx-align-content-{tier}-start",end:"nx-align-content-{tier}-end",center:"nx-align-content-{tier}-center",between:"nx-align-content-{tier}-between",around:"nx-align-content-{tier}-around",stretch:"nx-align-content-{tier}-stretch"},Cre={wrap:"nx-flex-{tier}-wrap",nowrap:"nx-flex-{tier}-nowrap",reverse:"nx-flex-{tier}-wrap-reverse"}
25,OM={row:"nx-grid__row","row-reverse":"nx-grid__row-reverse"},ut=(()=>{let e=class e{set nxRow(n){if(n){if(this._rowClass=OM[n],!this._rowClass)throw new Error("nxRow is incorrect")}else this._rowClass=OM.row}set rowJustify(n){this._justifyClasses=n?j0(n,vre):""}set rowAlignContent(n){this._alignContentClasses=n?j0(n,bre):""}set rowAlignItems(n){this._alignItemsClasses=n?j0(n,xre):""}set rowWrap(n){this._wrapClasses=n?j0(n,Cre):""}get _classNames(){return[this._rowClass,this._justifyClasses,this._alignContentClasses,this._alignItemsClasses,this._wrapClasses,this.class].filter(n=>n?.length).join(" ")}constructor(n){this.gridLayoutComponent=n,this.class="",this._rowClass=OM.row,this._justifyClasses="",this._alignContentClasses="",this._alignItemsClasses="",this._wrapClasses="",e2()&&!n&&console.warn("NxRowComponent: missing NxLayoutComponent in the parent component hierarchy. Please add a <div nxLayout> element around the rows. This might become an error in the future.")}};e.\u0275fac=function(r){return new(r||e)(D(Et,8))},e.\u0275cmp=z({type:e,selectors:[["","nxRow",""]],hostVars:6,hostBindings:function(r,o){r&2&&(Gi(o._classNames),Fe("nx-grid__row--container-query",(o.gridLayoutComponent==null?null:o.gridLayoutComponent.containerQuery)??!1)("nx-grid__row--media-query",!(o.gridLayoutComponent!=null&&o.gridLayoutComponent.containerQuery)))},inputs:{class:"class",nxRow:"nxRow",rowJustify:"rowJustify",rowAlignContent:"rowAlignContent",rowAlignItems:"rowAlignItems",rowWrap:"rowWrap"},attrs:hre,ngContentSelectors:TM,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:[".nx-grid__row--container-query[_nghost-%COMP%]{display:flex;flex-wrap:wrap;margin-right:-8px;margin-left:-8px;position:relative}@container (min-width: 320px){.nx-grid__row--container-query[_nghost-%COMP%]{margin-right:-8px;margin-left:-8px;position:relative}}@container (min-width: 704px){.nx-grid__row--container-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@container (min-width: 992px){.nx-grid__row--container-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@container (min-width: 1280px){.nx-grid__row--container-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@container (min-width: 1472px){.nx-grid__row--container-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@container (min-width: 1760px){.nx-grid__row--container-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}.nx-grid__row--container-query.nx-flex-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--container-query.nx-flex-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--container-query.nx-justify-content-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-baseline[_nghost-%COMP%]{align-items:baseline!important}
25.nx-grid__row--container-query.nx-align-items-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-stretch[_nghost-%COMP%]{align-content:stretch!important}@container (min-width: 320px){.nx-grid__row--container-query.nx-flex-small-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--container-query.nx-flex-small-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-small-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-small-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-small-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-small-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-small-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-small-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--container-query.nx-justify-content-small-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-small-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-small-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-small-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-small-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-small-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-small-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-small-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--container-query.nx-align-items-small-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-small-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-small-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-small-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-small-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-small-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-small-stretch[_nghost-%COMP%]{align-content:stretch!important}}@container (min-width: 704px){.nx-grid__row--container-query.nx-flex-medium-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--container-query.nx-flex-medium-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-medium-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-medium-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-medium-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-medium-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-medium-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-medium-start[_nghost-%COMP%]{justify-content:flex-start!important}
25.nx-grid__row--container-query.nx-justify-content-medium-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-medium-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-medium-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-medium-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-medium-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-medium-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-medium-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-medium-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--container-query.nx-align-items-medium-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-medium-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-medium-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-medium-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-medium-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-medium-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-medium-stretch[_nghost-%COMP%]{align-content:stretch!important}}@container (min-width: 992px){.nx-grid__row--container-query.nx-flex-large-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--container-query.nx-flex-large-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-large-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-large-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-large-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-large-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-large-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-large-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--container-query.nx-justify-content-large-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-large-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-large-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-large-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-large-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-large-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-large-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-large-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--container-query.nx-align-items-large-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-large-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-large-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-large-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-large-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-large-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-large-stretch[_nghost-%COMP%]{align-content:stretch!important}}@container (min-width: 1280px){.nx-grid__row--container-query.nx-flex-xlarge-row[_nghost-%COMP%]{flex-direction:row!important}
25.nx-grid__row--container-query.nx-flex-xlarge-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-xlarge-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-xlarge-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-xlarge-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-xlarge-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-xlarge-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-xlarge-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--container-query.nx-justify-content-xlarge-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-xlarge-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-xlarge-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-xlarge-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-xlarge-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-xlarge-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-xlarge-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-xlarge-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--container-query.nx-align-items-xlarge-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-xlarge-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-xlarge-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-xlarge-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-xlarge-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-xlarge-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-xlarge-stretch[_nghost-%COMP%]{align-content:stretch!important}}@container (min-width: 1472px){.nx-grid__row--container-query.nx-flex-2xlarge-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--container-query.nx-flex-2xlarge-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-2xlarge-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-2xlarge-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-2xlarge-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-2xlarge-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-2xlarge-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-2xlarge-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--container-query.nx-justify-content-2xlarge-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-2xlarge-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-2xlarge-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-2xlarge-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-2xlarge-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-2xlarge-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-2xlarge-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-2xlarge-baseline[_nghost-%COMP%]{align-items:baseline!important}
25.nx-grid__row--container-query.nx-align-items-2xlarge-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-2xlarge-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-2xlarge-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-2xlarge-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-2xlarge-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-2xlarge-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-2xlarge-stretch[_nghost-%COMP%]{align-content:stretch!important}}@container (min-width: 1760px){.nx-grid__row--container-query.nx-flex-3xlarge-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--container-query.nx-flex-3xlarge-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--container-query.nx-flex-3xlarge-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--container-query.nx-flex-3xlarge-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--container-query.nx-flex-3xlarge-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--container-query.nx-flex-3xlarge-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--container-query.nx-flex-3xlarge-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--container-query.nx-justify-content-3xlarge-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--container-query.nx-justify-content-3xlarge-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--container-query.nx-justify-content-3xlarge-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--container-query.nx-justify-content-3xlarge-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--container-query.nx-justify-content-3xlarge-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--container-query.nx-align-items-3xlarge-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--container-query.nx-align-items-3xlarge-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--container-query.nx-align-items-3xlarge-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--container-query.nx-align-items-3xlarge-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--container-query.nx-align-items-3xlarge-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--container-query.nx-align-content-3xlarge-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--container-query.nx-align-content-3xlarge-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--container-query.nx-align-content-3xlarge-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--container-query.nx-align-content-3xlarge-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--container-query.nx-align-content-3xlarge-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--container-query.nx-align-content-3xlarge-stretch[_nghost-%COMP%]{align-content:stretch!important}}.nx-grid__row--media-query[_nghost-%COMP%]{display:flex;flex-wrap:wrap;margin-right:-8px;margin-left:-8px;position:relative}@media (min-width: 320px){.nx-grid__row--media-query[_nghost-%COMP%]{margin-right:-8px;margin-left:-8px;position:relative}}@media (min-width: 704px){.nx-grid__row--media-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@media (min-width: 992px){.nx-grid__row--media-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@media (min-width: 1280px){.nx-grid__row--media-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@media (min-width: 1472px){.nx-grid__row--media-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}@media (min-width: 1760px){.nx-grid__row--media-query[_nghost-%COMP%]{margin-right:-16px;margin-left:-16px;position:relative}}.nx-grid__row--media-query.nx-flex-row[_nghost-%COMP%]{flex-direction:row!important}
25.nx-grid__row--media-query.nx-flex-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--media-query.nx-flex-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--media-query.nx-align-items-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--media-query.nx-align-content-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--media-query.nx-align-content-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-stretch[_nghost-%COMP%]{align-content:stretch!important}@media (min-width: 320px){.nx-grid__row--media-query.nx-flex-small-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--media-query.nx-flex-small-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-small-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-small-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-small-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--media-query.nx-flex-small-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-small-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-small-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-small-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-small-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-small-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-small-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--media-query.nx-align-items-small-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-small-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-small-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-small-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-small-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-small-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-small-end[_nghost-%COMP%]{align-content:flex-end!important}
25.nx-grid__row--media-query.nx-align-content-small-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-small-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--media-query.nx-align-content-small-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-small-stretch[_nghost-%COMP%]{align-content:stretch!important}}@media (min-width: 704px){.nx-grid__row--media-query.nx-flex-medium-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--media-query.nx-flex-medium-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-medium-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-medium-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-medium-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--media-query.nx-flex-medium-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-medium-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-medium-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-medium-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-medium-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-medium-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-medium-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--media-query.nx-align-items-medium-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-medium-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-medium-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-medium-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-medium-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-medium-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-medium-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--media-query.nx-align-content-medium-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-medium-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--media-query.nx-align-content-medium-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-medium-stretch[_nghost-%COMP%]{align-content:stretch!important}}@media (min-width: 992px){.nx-grid__row--media-query.nx-flex-large-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--media-query.nx-flex-large-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-large-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-large-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-large-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--media-query.nx-flex-large-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-large-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-large-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-large-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-large-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-large-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-large-around[_nghost-%COMP%]{justify-content:space-around!important}
25.nx-grid__row--media-query.nx-align-items-large-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-large-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-large-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-large-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-large-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-large-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-large-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--media-query.nx-align-content-large-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-large-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--media-query.nx-align-content-large-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-large-stretch[_nghost-%COMP%]{align-content:stretch!important}}@media (min-width: 1280px){.nx-grid__row--media-query.nx-flex-xlarge-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--media-query.nx-flex-xlarge-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-xlarge-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-xlarge-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-xlarge-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--media-query.nx-flex-xlarge-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-xlarge-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-xlarge-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-xlarge-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-xlarge-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-xlarge-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-xlarge-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--media-query.nx-align-items-xlarge-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-xlarge-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-xlarge-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-xlarge-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-xlarge-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-xlarge-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-xlarge-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--media-query.nx-align-content-xlarge-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-xlarge-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--media-query.nx-align-content-xlarge-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-xlarge-stretch[_nghost-%COMP%]{align-content:stretch!important}}@media (min-width: 1472px){.nx-grid__row--media-query.nx-flex-2xlarge-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--media-query.nx-flex-2xlarge-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-2xlarge-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-2xlarge-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-2xlarge-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}
25.nx-grid__row--media-query.nx-flex-2xlarge-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-2xlarge-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-2xlarge-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-2xlarge-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-2xlarge-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-2xlarge-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-2xlarge-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--media-query.nx-align-items-2xlarge-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-2xlarge-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-2xlarge-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-2xlarge-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-2xlarge-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-2xlarge-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-2xlarge-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--media-query.nx-align-content-2xlarge-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-2xlarge-between[_nghost-%COMP%]{align-content:space-between!important}.nx-grid__row--media-query.nx-align-content-2xlarge-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-2xlarge-stretch[_nghost-%COMP%]{align-content:stretch!important}}@media (min-width: 1760px){.nx-grid__row--media-query.nx-flex-3xlarge-row[_nghost-%COMP%]{flex-direction:row!important}.nx-grid__row--media-query.nx-flex-3xlarge-column[_nghost-%COMP%]{flex-direction:column!important}.nx-grid__row--media-query.nx-flex-3xlarge-row-reverse[_nghost-%COMP%]{flex-direction:row-reverse!important}.nx-grid__row--media-query.nx-flex-3xlarge-column-reverse[_nghost-%COMP%]{flex-direction:column-reverse!important}.nx-grid__row--media-query.nx-flex-3xlarge-wrap[_nghost-%COMP%]{flex-wrap:wrap!important}.nx-grid__row--media-query.nx-flex-3xlarge-nowrap[_nghost-%COMP%]{flex-wrap:nowrap!important}.nx-grid__row--media-query.nx-flex-3xlarge-wrap-reverse[_nghost-%COMP%]{flex-wrap:wrap-reverse!important}.nx-grid__row--media-query.nx-justify-content-3xlarge-start[_nghost-%COMP%]{justify-content:flex-start!important}.nx-grid__row--media-query.nx-justify-content-3xlarge-end[_nghost-%COMP%]{justify-content:flex-end!important}.nx-grid__row--media-query.nx-justify-content-3xlarge-center[_nghost-%COMP%]{justify-content:center!important}.nx-grid__row--media-query.nx-justify-content-3xlarge-between[_nghost-%COMP%]{justify-content:space-between!important}.nx-grid__row--media-query.nx-justify-content-3xlarge-around[_nghost-%COMP%]{justify-content:space-around!important}.nx-grid__row--media-query.nx-align-items-3xlarge-start[_nghost-%COMP%]{align-items:flex-start!important}.nx-grid__row--media-query.nx-align-items-3xlarge-end[_nghost-%COMP%]{align-items:flex-end!important}.nx-grid__row--media-query.nx-align-items-3xlarge-center[_nghost-%COMP%]{align-items:center!important}.nx-grid__row--media-query.nx-align-items-3xlarge-baseline[_nghost-%COMP%]{align-items:baseline!important}.nx-grid__row--media-query.nx-align-items-3xlarge-stretch[_nghost-%COMP%]{align-items:stretch!important}.nx-grid__row--media-query.nx-align-content-3xlarge-start[_nghost-%COMP%]{align-content:flex-start!important}.nx-grid__row--media-query.nx-align-content-3xlarge-end[_nghost-%COMP%]{align-content:flex-end!important}.nx-grid__row--media-query.nx-align-content-3xlarge-center[_nghost-%COMP%]{align-content:center!important}.nx-grid__row--media-query.nx-align-content-3xlarge-between[_nghost-%COMP%]{align-content:space-between!important}
25.nx-grid__row--media-query.nx-align-content-3xlarge-around[_nghost-%COMP%]{align-content:space-around!important}.nx-grid__row--media-query.nx-align-content-3xlarge-stretch[_nghost-%COMP%]{align-content:stretch!important}}"],changeDetection:0});let i=e;return i})(),yre={"":"nx-grid__column-",xs:"nx-grid__column-",sm:"nx-grid__column-small-",md:"nx-grid__column-medium-",lg:"nx-grid__column-large-",xlg:"nx-grid__column-xlarge-","2xlg":"nx-grid__column-2xlarge-","3xlg":"nx-grid__column-3xlarge-"},Mre={auto:"nx-align-self-{tier}-auto",start:"nx-align-self-{tier}-start",end:"nx-align-self-{tier}-end",center:"nx-align-self-{tier}-center",baseline:"nx-align-self-{tier}-baseline",stretch:"nx-align-self-{tier}-stretch"},wre={first:"nx-flex-{tier}-first",last:"nx-flex-{tier}-last",unordered:"nx-flex-{tier}-unordered"},Sre={"":"nx-grid--offset-",xs:"nx-grid--offset-",sm:"nx-grid--offset-small-",md:"nx-grid--offset-medium-",lg:"nx-grid--offset-large-",xlg:"nx-grid--offset-xlarge-","2xlg":"nx-grid--offset-2xlarge-","3xlg":"nx-gri
25d--offset-3xlarge-"},UV=0,GV=12,vt=(()=>{let e=class e{set col(n){this._columnClasses=this._mapTiers(n,[],yre,["0"])}set offset(n){this._offsetClasses=this._mapTiers(n,[],Sre)}set itemSelf(n){this._alignSelfClasses=n?j0(n,Mre):""}set order(n){this._orderClasses=n?j0(n,wre):""}get _classNames(){return[this._columnClasses,this._offsetClasses,this._alignSelfClasses,this._orderClasses,this.class].filter(n=>n?.length).join(" ")}constructor(n,r){this.el=n,this.gridLayoutComponent=r,this._columnClasses="",this._offsetClasses="",this._alignSelfClasses="",this._orderClasses="",this.row=C(ut,{optional:!0}),e2()&&gr(()=>{this.row||console.warn("NxColComponent: no nxRow found. Please make sure to use the nxCol directive within an element with the nxRow component.")})}_mapTiers(n,r,o,a){let s=$V(n),l=[];if(n&&!_re(s)&&this.checkNotAllowedValues(s,a))switch(s.length){case 1:this.validateInput(s),l=[_n("",r,o)+s[0]];break;case 2:this.validateInput(s),l=[_n("xs",r,o)+s[0],_n("sm",r,o)+s[1],_n("md",r,o)+s[1],_n("lg",r,o)+s[1],_n("xlg",r,o)+s[1],_n("2xlg",r,o)+s[1],_n("3xlg",r,o)+s[1]];break;case 3:this.validateInput(s),l=[_n("xs",r,o)+s[0],_n("sm",r,o)+s[1],_n("md",r,o)+s[2],_n("lg",r,o)+s[2],_n("xlg",r,o)+s[2],_n("2xlg",r,o)+s[2],_n("3xlg",r,o)+s[2]];break;case 4:this.validateInput(s),l=[_n("xs",r,o)+s[0],_n("sm",r,o)+s[1],_n("md",r,o)+s[2],_n("lg",r,o)+s[3],_n("xlg",r,o)+s[3],_n("2xlg",r,o)+s[3],_n("3xlg",r,o)+s[3]];break;case 5:this.validateInput(s),l=[_n("xs",r,o)+s[0],_n("sm",r,o)+s[1],_n("md",r,o)+s[2],_n("lg",r,o)+s[3],_n("xlg",r,o)+s[4],_n("2xlg",r,o)+s[4],_n("3xlg",r,o)+s[4]];break;case 6:this.validateInput(s),l=[_n("xs",r,o)+s[0],_n("sm",r,o)+s[1],_n("md",r,o)+s[2],_n("lg",r,o)+s[3],_n("xlg",r,o)+s[4],_n("2xlg",r,o)+s[5],_n("3xlg",r,o)+s[5]];break;case 7:this.validateInput(s),l=[_n("xs",r,o)+s[0],_n("sm",r,o)+s[1],_n("md",r,o)+s[2],_n("lg",r,o)+s[3],_n("xlg",r,o)+s[4],_n("2xlg",r,o)+s[5],_n("3xlg",r,o)+s[6]];break;default:l=[_n("",r,o)+"12"];break}return l.join(" ")}isValueBetween(n,r,o){try{let a=parseInt(o,10);return r>=a&&n<=a}catch{return this.generateError("Exception: NxColDirective. One argument is not number"),!1}}checkNotAllowedValues(n,r){if(!r)return!0;let o=n.find(a=>r.includes(a));return o&&this.generateError(`Exception: NxColDirective. Incorrect parameter. ${o} is not allowed here`),!o}generateError(n){throw new Error(n)}validateInput(n){n.forEach(r=>{this.isValueBetween(UV,GV,r)||this.generateError(`Exception: NxColDirective. Incorrect parameters, values must be between ${UV} and ${GV}`)})}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Et,8))},e.\u0275cmp=z({type:e,selectors:[["","nxCol",""]],hostVars:8,hostBindings:function(r,o){r&2&&(Gi(o._classNames),Fe("nx-grid__column",!0)("nx-grid__column--container-query",(o.gridLayoutComponent==null?null:o.gridLayoutComponent.containerQuery)??!1)("nx-grid__column--media-query",!(o.gridLayoutComponent!=null&&o.gridLayoutComponent.containerQuery)))},inputs:{class:"class",col:[0,"nxCol","col"],offset:[0,"colOffset","offset"],itemSelf:[0,"alignSelf","itemSelf"],order:[0,"colOrder","order"]},attrs:gre,ngContentSelectors:TM,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:[".nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{position:relative;width:100%;min-height:1px;padding-right:8px;padding-left:8px}@media (min-width: 320px){.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{padding-right:8px;padding-left:8px}}@media (min-width: 704px){.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@media (min-width: 992px){.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@media (min-width: 1280px){.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@media (min-width: 1472px){.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@media (min-width: 1760px){.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}.nx-grid__column--media-query.nx-grid__column[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}@media (min-width: 320px){.nx-grid__column--media-query.nx-grid__column-small[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-small-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-small-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-small-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-small-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-small-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-small-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-small-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-small-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-small-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-small-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-small-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-small-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-small-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-small-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--media-query.nx-grid--offset-small-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-small-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-small-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-small-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-small-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-small-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-small-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-small-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-small-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-small-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-small-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-small-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@media (min-width: 704px){.nx-grid__column--media-query.nx-grid__column-medium[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-medium-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-medium-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-medium-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-medium-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-medium-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-medium-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-medium-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-medium-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-medium-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-medium-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-medium-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-medium-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-medium-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-medium-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--media-query.nx-grid--offset-medium-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-medium-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-medium-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-medium-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-medium-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-medium-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-medium-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-medium-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-medium-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-medium-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-medium-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-medium-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@media (min-width: 992px){.nx-grid__column--media-query.nx-grid__column-large[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-large-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-large-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-large-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-large-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-large-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-large-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-large-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-large-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-large-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-large-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-large-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-large-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-large-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-large-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--media-query.nx-grid--offset-large-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-large-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-large-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-large-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-large-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-large-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-large-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-large-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-large-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-large-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-large-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-large-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@media (min-width: 1280px){.nx-grid__column--media-query.nx-grid__column-xlarge[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-xlarge-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-xlarge-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-xlarge-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-xlarge-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-xlarge-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-xlarge-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-xlarge-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-xlarge-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-xlarge-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-xlarge-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-xlarge-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-xlarge-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-xlarge-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-xlarge-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--media-query.nx-grid--offset-xlarge-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-xlarge-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-xlarge-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-xlarge-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-xlarge-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-xlarge-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-xlarge-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-xlarge-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-xlarge-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-xlarge-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-xlarge-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-xlarge-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@media (min-width: 1472px){.nx-grid__column--media-query.nx-grid__column-2xlarge[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-2xlarge-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-2xlarge-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-2xlarge-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-2xlarge-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-2xlarge-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-2xlarge-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-2xlarge-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-2xlarge-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-2xlarge-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-2xlarge-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-2xlarge-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-2xlarge-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-2xlarge-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-2xlarge-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-2xlarge-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@media (min-width: 1760px){.nx-grid__column--media-query.nx-grid__column-3xlarge[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--media-query.nx-grid__column-3xlarge-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--media-query.nx-grid__column-3xlarge-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--media-query.nx-grid__column-3xlarge-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--media-query.nx-grid__column-3xlarge-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--media-query.nx-grid__column-3xlarge-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--media-query.nx-grid__column-3xlarge-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--media-query.nx-grid__column-3xlarge-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--media-query.nx-grid__column-3xlarge-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--media-query.nx-grid__column-3xlarge-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--media-query.nx-grid__column-3xlarge-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--media-query.nx-grid__column-3xlarge-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--media-query.nx-grid__column-3xlarge-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--media-query.nx-grid__column-3xlarge-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--media-query.nx-grid--offset-3xlarge-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--media-query.nx-grid--offset-3xlarge-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}.nx-grid__column--media-query.nx-flex-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--media-query.nx-align-self-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-center[_nghost-%COMP%]{align-self:center!important}
25.nx-grid__column--media-query.nx-align-self-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-stretch[_nghost-%COMP%]{align-self:stretch!important}@media (min-width: 320px){.nx-grid__column--media-query.nx-flex-small-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-small-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-small-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-small-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-small-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--media-query.nx-align-self-small-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-small-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--media-query.nx-align-self-small-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-small-stretch[_nghost-%COMP%]{align-self:stretch!important}}@media (min-width: 704px){.nx-grid__column--media-query.nx-flex-medium-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-medium-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-medium-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-medium-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-medium-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--media-query.nx-align-self-medium-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-medium-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--media-query.nx-align-self-medium-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-medium-stretch[_nghost-%COMP%]{align-self:stretch!important}}@media (min-width: 992px){.nx-grid__column--media-query.nx-flex-large-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-large-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-large-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-large-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-large-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--media-query.nx-align-self-large-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-large-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--media-query.nx-align-self-large-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-large-stretch[_nghost-%COMP%]{align-self:stretch!important}}@media (min-width: 1280px){.nx-grid__column--media-query.nx-flex-xlarge-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-xlarge-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-xlarge-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-xlarge-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-xlarge-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--media-query.nx-align-self-xlarge-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-xlarge-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--media-query.nx-align-self-xlarge-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-xlarge-stretch[_nghost-%COMP%]{align-self:stretch!important}}@media (min-width: 1472px){.nx-grid__column--media-query.nx-flex-2xlarge-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-2xlarge-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-2xlarge-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-2xlarge-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-2xlarge-start[_nghost-%COMP%]{align-self:flex-start!important}
25.nx-grid__column--media-query.nx-align-self-2xlarge-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-2xlarge-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--media-query.nx-align-self-2xlarge-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-2xlarge-stretch[_nghost-%COMP%]{align-self:stretch!important}}@media (min-width: 1760px){.nx-grid__column--media-query.nx-flex-3xlarge-first[_nghost-%COMP%]{order:-1}.nx-grid__column--media-query.nx-flex-3xlarge-last[_nghost-%COMP%]{order:1}.nx-grid__column--media-query.nx-flex-3xlarge-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--media-query.nx-align-self-3xlarge-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--media-query.nx-align-self-3xlarge-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--media-query.nx-align-self-3xlarge-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--media-query.nx-align-self-3xlarge-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--media-query.nx-align-self-3xlarge-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--media-query.nx-align-self-3xlarge-stretch[_nghost-%COMP%]{align-self:stretch!important}}.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{position:relative;width:100%;min-height:1px;padding-right:8px;padding-left:8px}@container (min-width: 320px){.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{padding-right:8px;padding-left:8px}}@container (min-width: 704px){.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@container (min-width: 992px){.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@container (min-width: 1280px){.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@container (min-width: 1472px){.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}@container (min-width: 1760px){.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{padding-right:16px;padding-left:16px}}.nx-grid__column--container-query.nx-grid__column[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}.nx-grid__column--container-query.nx-grid__column-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}@container (min-width: 320px){.nx-grid__column--container-query.nx-grid__column-small[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-small-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-small-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-small-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-small-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-small-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-small-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-small-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--container-query.nx-grid__column-small-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-small-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-small-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-small-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-small-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-small-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-small-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--container-query.nx-grid--offset-small-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-small-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-small-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-small-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-small-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-small-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-small-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-small-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-small-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-small-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-small-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-small-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@container (min-width: 704px){.nx-grid__column--container-query.nx-grid__column-medium[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-medium-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-medium-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-medium-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-medium-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-medium-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-medium-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-medium-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--container-query.nx-grid__column-medium-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-medium-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-medium-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-medium-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-medium-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-medium-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-medium-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--container-query.nx-grid--offset-medium-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-medium-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-medium-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-medium-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-medium-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-medium-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-medium-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-medium-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-medium-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-medium-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-medium-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-medium-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@container (min-width: 992px){.nx-grid__column--container-query.nx-grid__column-large[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-large-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-large-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-large-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-large-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-large-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-large-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-large-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--container-query.nx-grid__column-large-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-large-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-large-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-large-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-large-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-large-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-large-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--container-query.nx-grid--offset-large-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-large-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-large-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-large-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-large-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-large-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-large-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-large-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-large-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-large-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-large-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-large-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@container (min-width: 1280px){.nx-grid__column--container-query.nx-grid__column-xlarge[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-xlarge-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-xlarge-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-xlarge-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-xlarge-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-xlarge-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-xlarge-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-xlarge-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--container-query.nx-grid__column-xlarge-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-xlarge-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-xlarge-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-xlarge-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-xlarge-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-xlarge-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-xlarge-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--container-query.nx-grid--offset-xlarge-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-xlarge-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-xlarge-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-xlarge-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-xlarge-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-xlarge-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-xlarge-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-xlarge-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-xlarge-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-xlarge-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-xlarge-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-xlarge-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@container (min-width: 1472px){.nx-grid__column--container-query.nx-grid__column-2xlarge[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-2xlarge-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-2xlarge-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-2xlarge-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-2xlarge-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-2xlarge-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-2xlarge-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-2xlarge-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--container-query.nx-grid__column-2xlarge-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-2xlarge-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-2xlarge-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-2xlarge-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-2xlarge-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-2xlarge-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-2xlarge-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-2xlarge-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}@container (min-width: 1760px){.nx-grid__column--container-query.nx-grid__column-3xlarge[_nghost-%COMP%]{flex-basis:0;flex-grow:1;max-width:100%}.nx-grid__column--container-query.nx-grid__column-3xlarge-fit[_nghost-%COMP%]{flex:0 0 auto;width:auto}.nx-grid__column--container-query.nx-grid__column-3xlarge-1[_nghost-%COMP%]{container-name:size-1-columns-12;flex:0 0 8.3333333333%;max-width:8.3333333333%}.nx-grid__column--container-query.nx-grid__column-3xlarge-2[_nghost-%COMP%]{container-name:size-2-columns-12;flex:0 0 16.6666666667%;max-width:16.6666666667%}.nx-grid__column--container-query.nx-grid__column-3xlarge-3[_nghost-%COMP%]{container-name:size-3-columns-12;flex:0 0 25%;max-width:25%}.nx-grid__column--container-query.nx-grid__column-3xlarge-4[_nghost-%COMP%]{container-name:size-4-columns-12;flex:0 0 33.3333333333%;max-width:33.3333333333%}.nx-grid__column--container-query.nx-grid__column-3xlarge-5[_nghost-%COMP%]{container-name:size-5-columns-12;flex:0 0 41.6666666667%;max-width:41.6666666667%}.nx-grid__column--container-query.nx-grid__column-3xlarge-6[_nghost-%COMP%]{container-name:size-6-columns-12;flex:0 0 50%;max-width:50%}
25.nx-grid__column--container-query.nx-grid__column-3xlarge-7[_nghost-%COMP%]{container-name:size-7-columns-12;flex:0 0 58.3333333333%;max-width:58.3333333333%}.nx-grid__column--container-query.nx-grid__column-3xlarge-8[_nghost-%COMP%]{container-name:size-8-columns-12;flex:0 0 66.6666666667%;max-width:66.6666666667%}.nx-grid__column--container-query.nx-grid__column-3xlarge-9[_nghost-%COMP%]{container-name:size-9-columns-12;flex:0 0 75%;max-width:75%}.nx-grid__column--container-query.nx-grid__column-3xlarge-10[_nghost-%COMP%]{container-name:size-10-columns-12;flex:0 0 83.3333333333%;max-width:83.3333333333%}.nx-grid__column--container-query.nx-grid__column-3xlarge-11[_nghost-%COMP%]{container-name:size-11-columns-12;flex:0 0 91.6666666667%;max-width:91.6666666667%}.nx-grid__column--container-query.nx-grid__column-3xlarge-12[_nghost-%COMP%]{container-name:size-12-columns-12;flex:0 0 100%;max-width:100%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-0[_nghost-%COMP%]{margin-left:0%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-0[_nghost-%COMP%]{margin-left:initial;margin-right:0%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-1[_nghost-%COMP%]{margin-left:8.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-1[_nghost-%COMP%]{margin-left:initial;margin-right:8.3333333333%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-2[_nghost-%COMP%]{margin-left:16.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-2[_nghost-%COMP%]{margin-left:initial;margin-right:16.6666666667%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-3[_nghost-%COMP%]{margin-left:25%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-3[_nghost-%COMP%]{margin-left:initial;margin-right:25%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-4[_nghost-%COMP%]{margin-left:33.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-4[_nghost-%COMP%]{margin-left:initial;margin-right:33.3333333333%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-5[_nghost-%COMP%]{margin-left:41.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-5[_nghost-%COMP%]{margin-left:initial;margin-right:41.6666666667%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-6[_nghost-%COMP%]{margin-left:50%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-6[_nghost-%COMP%]{margin-left:initial;margin-right:50%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-7[_nghost-%COMP%]{margin-left:58.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-7[_nghost-%COMP%]{margin-left:initial;margin-right:58.3333333333%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-8[_nghost-%COMP%]{margin-left:66.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-8[_nghost-%COMP%]{margin-left:initial;margin-right:66.6666666667%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-9[_nghost-%COMP%]{margin-left:75%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-9[_nghost-%COMP%]{margin-left:initial;margin-right:75%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-10[_nghost-%COMP%]{margin-left:83.3333333333%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-10[_nghost-%COMP%]{margin-left:initial;margin-right:83.3333333333%}.nx-grid__column--container-query.nx-grid--offset-3xlarge-11[_nghost-%COMP%]{margin-left:91.6666666667%}[dir=rtl]   .nx-grid__column--container-query.nx-grid--offset-3xlarge-11[_nghost-%COMP%]{margin-left:initial;margin-right:91.6666666667%}}.nx-grid__column--container-query.nx-flex-first[_nghost-%COMP%]{order:-1}.nx-grid__column--container-query.nx-flex-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-start[_nghost-%COMP%]{align-self:flex-start!important}
25.nx-grid__column--container-query.nx-align-self-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-stretch[_nghost-%COMP%]{align-self:stretch!important}@container (min-width: 320px){.nx-grid__column--container-query.nx-flex-small-first[_nghost-%COMP%]{order:-1}.nx-grid__column--container-query.nx-flex-small-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-small-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-small-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-small-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--container-query.nx-align-self-small-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-small-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-small-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-small-stretch[_nghost-%COMP%]{align-self:stretch!important}}@container (min-width: 704px){.nx-grid__column--container-query.nx-flex-medium-first[_nghost-%COMP%]{order:-1}.nx-grid__column--container-query.nx-flex-medium-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-medium-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-medium-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-medium-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--container-query.nx-align-self-medium-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-medium-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-medium-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-medium-stretch[_nghost-%COMP%]{align-self:stretch!important}}@container (min-width: 992px){.nx-grid__column--container-query.nx-flex-large-first[_nghost-%COMP%]{order:-1}.nx-grid__column--container-query.nx-flex-large-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-large-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-large-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-large-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--container-query.nx-align-self-large-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-large-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-large-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-large-stretch[_nghost-%COMP%]{align-self:stretch!important}}@container (min-width: 1280px){.nx-grid__column--container-query.nx-flex-xlarge-first[_nghost-%COMP%]{order:-1}.nx-grid__column--container-query.nx-flex-xlarge-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-xlarge-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-xlarge-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-xlarge-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--container-query.nx-align-self-xlarge-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-xlarge-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-xlarge-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-xlarge-stretch[_nghost-%COMP%]{align-self:stretch!important}}@container (min-width: 1472px){.nx-grid__column--container-query.nx-flex-2xlarge-first[_nghost-%COMP%]{order:-1}
25.nx-grid__column--container-query.nx-flex-2xlarge-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-2xlarge-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-2xlarge-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-2xlarge-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--container-query.nx-align-self-2xlarge-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-2xlarge-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-2xlarge-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-2xlarge-stretch[_nghost-%COMP%]{align-self:stretch!important}}@container (min-width: 1760px){.nx-grid__column--container-query.nx-flex-3xlarge-first[_nghost-%COMP%]{order:-1}.nx-grid__column--container-query.nx-flex-3xlarge-last[_nghost-%COMP%]{order:1}.nx-grid__column--container-query.nx-flex-3xlarge-unordered[_nghost-%COMP%]{order:0}.nx-grid__column--container-query.nx-align-self-3xlarge-auto[_nghost-%COMP%]{align-self:auto!important}.nx-grid__column--container-query.nx-align-self-3xlarge-start[_nghost-%COMP%]{align-self:flex-start!important}.nx-grid__column--container-query.nx-align-self-3xlarge-end[_nghost-%COMP%]{align-self:flex-end!important}.nx-grid__column--container-query.nx-align-self-3xlarge-center[_nghost-%COMP%]{align-self:center!important}.nx-grid__column--container-query.nx-align-self-3xlarge-baseline[_nghost-%COMP%]{align-self:baseline!important}.nx-grid__column--container-query.nx-align-self-3xlarge-stretch[_nghost-%COMP%]{align-self:stretch!important}}"],changeDetection:0});let i=e;return i})(),T2=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var Pre=[[["nx-header-row"]],"*"],Ere=["nx-header-row","*"],Dre=["*"];var Uf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-header-row"]],hostAttrs:[1,"nx-header__row"],exportAs:["NxHeaderRow"]});let i=e;return i})(),X6=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-header"],["","nx-header",""]],contentQueries:function(r,o,a){if(r&1&&Ft(a,Uf,4),r&2){let s;te(s=ne())&&(o._headerRows=s)}},hostAttrs:[1,"nx-header"],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-header--single-row",o._headerRows.length===0)},ngContentSelectors:Ere,decls:2,vars:0,template:function(r,o){r&1&&(rt(Pre),ke(0),ke(1,1))},styles:["[_nghost-%COMP%]{font-size:var(--header-font-size);line-height:var(--header-line-height);font-weight:var(--header-font-weight);letter-spacing:var(--header-letter-spacing)}.nx-header[_nghost-%COMP%]:not(.nx-header--single-row){display:flex;flex-direction:column}.nx-header.nx-header--single-row[_nghost-%COMP%],   .nx-header__row{display:flex;align-items:center;padding:1px 32px 0;border-bottom:1px solid var(--header-border-color);height:64px;justify-content:space-between;background:var(--header-background-color)}@media screen and (forced-colors: active){.nx-header.nx-header--single-row[_nghost-%COMP%],   .nx-header__row{background-color:Canvas}}@media screen and (max-width: 703px){.nx-header.nx-header--single-row[_nghost-%COMP%],   .nx-header__row{padding:1px 16px 0}}  .nx-header__link{border-bottom:4px solid transparent;padding-top:4px;text-decoration:none;display:block;margin-right:32px;white-space:nowrap}[dir=rtl][_nghost-%COMP%]     .nx-header__link, [dir=rtl]   [_nghost-%COMP%]     .nx-header__link{margin-right:initial;margin-left:32px}  .nx-header__link:after{display:block;content:attr(text-content);font-weight:var(--header-link-active-font-weight);height:1px;overflow:hidden;visibility:hidden}  .nx-header__link.is-active{color:var(--header-link-active-color);border-color:currentColor}  .nx-header__link.is-active .nx-header__link-title{font-weight:var(--header-link-active-font-weight)}  .nx-header__link:hover,   .nx-header__link:active{color:var(--header-link-active-color);border-color:var(--header-link-active-color)}@media screen and (forced-colors: active){  .nx-header__link{color:LinkText!important}}@media screen and (forced-colors: active){  .nx-header__link{border-bottom:none}  .nx-header__link.is-active{border-bottom:4px solid}}  .nx-header__link-title{line-height:0}  .nx-header__brand{margin-right:32px;display:flex;align-items:stretch}[dir=rtl][_nghost-%COMP%]     .nx-header__brand, [dir=rtl]   [_nghost-%COMP%]     .nx-header__brand{margin-right:initial;margin-left:32px}  .nx-header__actions{display:flex;align-items:center;margin-left:24px}  .nx-header__actions.nx-header__actions--show-separator{padding-left:16px;border-left-width:1px;border-left-style:solid;border-left-color:var(--header-border-color)}[dir=rtl][_nghost-%COMP%]     .nx-header__actions, [dir=rtl]   [_nghost-%COMP%]     .nx-header__actions{margin-right:24px;margin-left:initial}[dir=rtl][_nghost-%COMP%]     .nx-header__actions.nx-header__actions--show-separator, [dir=rtl]   [_nghost-%COMP%]     .nx-header__actions.nx-header__actions--show-separator{padding-right:16px;padding-left:initial;border-right-width:1px;border-right-style:solid;border-right-color:var(--header-border-color);border-left:none}  .nx-header__link.cdk-keyboard-focused{box-shadow:var(--focus-box-sha
25dow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){  .nx-header__link.cdk-keyboard-focused{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}[_nghost-%COMP%]     a:focus{outline:none}  .nx-header__app-title{display:flex;font-size:16px;font-weight:700;align-items:center;padding-left:16px;margin-left:16px;white-space:nowrap;border-left-width:1px;border-left-style:solid;border-left-color:var(--header-border-color)}[dir=rtl][_nghost-%COMP%]     .nx-header__app-title, [dir=rtl]   [_nghost-%COMP%]     .nx-header__app-title{padding-right:16px;padding-left:initial;margin-right:16px;margin-left:initial;border-right-width:1px;border-right-style:solid;border-right-color:var(--header-border-color);border-left:none}"],changeDetection:0});let i=e;return i})(),q0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-header-brand"]],hostAttrs:[1,"nx-header__brand"],exportAs:["NxHeaderBrand"]});let i=e;return i})(),Z6=(()=>{let e=class e{constructor(){this._showSeparator=!1}set showSeparator(n){this._showSeparator=Ue(n)}get showSeparator(){return this._showSeparator}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-header-actions"]],hostAttrs:[1,"nx-header__actions"],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-header__actions--show-separator",o.showSeparator)},inputs:{showSeparator:"showSeparator"},exportAs:["NxHeaderActions"]});let i=e;return i})(),J6=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-header-navigation"]],hostAttrs:["role","navigation",1,"nx-header__navigation"],exportAs:["NxHeaderNavigation"],ngContentSelectors:Dre,decls:2,vars:0,consts:[["role","list",1,"nx-header__navigation-items"]],template:function(r,o){r&1&&(rt(),at(0,"div",0),ke(1),pt())},styles:[".nx-header__navigation[_nghost-%COMP%]{flex:1 1 auto}.nx-header__navigation-items[_ngcontent-%COMP%]{display:flex}"]}
25);let i=e;return i})(),e8=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["nx-header-navigation-item"]],hostAttrs:["role","listitem",1,"nx-header__navigation-item"],exportAs:["NxHeaderNavigation"]});let i=e;return i})();var I2=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var Ore=["nxHeadline",""],Tre=["*"],WV="section",Xt=(()=>{let e=class e{constructor(){this._classNames="",this._negative=!1,this.type=WV}set classNames(n){if(this._classNames===n)return;this._classNames=n;let r=/page-bold-caps|page|section|subsection-large|subsection-medium|subsection-small|subsection-xsmall/,[o=null]=this._classNames?.match(r)||[WV];this.type=o,this._negative=!!this._classNames?.match(/negative/)}get classNames(){return this._classNames}set negative(n){this._negative=Ue(n)}get negative(){return this._negative}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["","nxHeadline",""]],hostVars:32,hostBindings:function(r,o){r&2&&Fe("nx-heading--page",o.type==="page")("nx-heading--page-bold-caps",o.type==="page-bold-caps")("nx-heading--section",o.type==="section")("nx-heading--subsection-large",o.type==="subsection-large")("nx-heading--subsection-medium",o.type==="subsection-medium")("nx-heading--subsection-small",o.type==="subsection-small")("nx-heading--subsection-xsmall",o.type==="subsection-xsmall")("nx-heading--new-api",o.size!==void 0)("nx-heading--s",o.size==="s")("nx-heading--m",o.size==="m")("nx-heading--l",o.size==="l")("nx-heading--xl",o.size==="xl")("nx-heading--2xl",o.size==="2xl")("nx-heading--3xl",o.size==="3xl")("nx-heading--4xl",o.size==="4xl")("nx-heading--negative",o.negative)},inputs:{classNames:[0,"nxHeadline","classNames"],size:"size",negative:"negative"},attrs:Ore,ngContentSelectors:Tre,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:["[_nghost-%COMP%]{margin:0;color:var(--headline-color)}[_nghost-%COMP%]     .nx-link, [_nghost-%COMP%]     nx-link a, [_nghost-%COMP%]   a[_ngcontent-%COMP%]{color:var(--link-color);font-size:inherit!important;font-weight:600;line-height:inherit!important;letter-spacing:inherit!important;text-decoration:none}.nx-heading--page[_nghost-%COMP%]{font-size:var(--heading-01-font-size);line-height:var(--heading-01-line-height);font-weight:var(--heading-01-font-weight);letter-spacing:var(--heading-01-letter-spacing)}@media (max-width: 703px){.nx-heading--page[_nghost-%COMP%]{font-size:var(--heading-01-mobile-font-size);line-height:var(--heading-01-mobile-line-height);font-weight:var(--heading-01-mobile-font-weight);letter-spacing:var(--heading-01-mobile-letter-spacing)}}.nx-heading--section[_nghost-%COMP%]{font-size:var(--heading-02-font-size);line-height:var(--heading-02-line-height);font-weight:var(--heading-02-font-weight);letter-spacing:var(--heading-02-letter-spacing)}@media (max-width: 703px){.nx-heading--section[_nghost-%COMP%]{font-size:var(--heading-02-mobile-font-size);line-height:var(--heading-02-mobile-line-height);font-weight:var(--heading-02-mobile-font-weight);letter-spacing:var(--heading-02-mobile-letter-spacing)}}.nx-heading--subsection-large[_nghost-%COMP%]{font-size:var(--heading-03-font-size);line-height:var(--heading-03-line-height);font-weight:var(--heading-03-font-weight);letter-spacing:var(--heading-03-letter-spacing)}@media (max-width: 703px){.nx-heading--subsection-large[_nghost-%COMP%]{font-size:var(--heading-03-mobile-font-size);line-height:var(--heading-03-mobile-line-height);font-weight:var(--heading-03-mobile-font-weight);letter-spacing:var(--heading-03-mobile-letter-spacing)}}.nx-heading--subsection-medium[_nghost-%COMP%]{font-size:var(--heading-04-font-size);line-height:var(--heading-04-line-height);font-weight:var(--heading-04-font-weight);letter-spacing:var(--heading-04-letter-spacing)}@media (max-width: 703px){.nx-heading--subsection-medium[_nghost-%COMP%]{font-size:var(--heading-04-mobile-font-size);line-height:var(--heading-04-mobile-line-height);
25font-weight:var(--heading-04-mobile-font-weight);letter-spacing:var(--heading-04-mobile-letter-spacing)}}.nx-heading--subsection-small[_nghost-%COMP%]{font-size:var(--heading-05-font-size);line-height:var(--heading-05-line-height);font-weight:var(--heading-05-font-weight);letter-spacing:var(--heading-05-letter-spacing)}@media (max-width: 703px){.nx-heading--subsection-small[_nghost-%COMP%]{font-size:var(--heading-05-mobile-font-size);line-height:var(--heading-05-mobile-line-height);font-weight:var(--heading-05-mobile-font-weight);letter-spacing:var(--heading-05-mobile-letter-spacing)}}.nx-heading--subsection-xsmall[_nghost-%COMP%]{font-size:var(--heading-06-font-size);line-height:var(--heading-06-line-height);font-weight:var(--heading-06-font-weight);letter-spacing:var(--heading-06-letter-spacing)}@media (max-width: 703px){.nx-heading--subsection-xsmall[_nghost-%COMP%]{font-size:var(--heading-06-mobile-font-size);line-height:var(--heading-06-mobile-line-height);font-weight:var(--heading-06-mobile-font-weight);letter-spacing:var(--heading-06-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--4xl[_nghost-%COMP%]{font-size:var(--heading-00-font-size);line-height:var(--heading-00-line-height);font-weight:var(--heading-00-font-weight);letter-spacing:var(--heading-00-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--4xl[_nghost-%COMP%]{font-size:var(--heading-00-mobile-font-size);line-height:var(--heading-00-mobile-line-height);font-weight:var(--heading-00-mobile-font-weight);letter-spacing:var(--heading-00-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--3xl[_nghost-%COMP%]{font-size:var(--heading-01-font-size);line-height:var(--heading-01-line-height);font-weight:var(--heading-01-font-weight);letter-spacing:var(--heading-01-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--3xl[_nghost-%COMP%]{font-size:var(--heading-01-mobile-font-size);line-height:var(--heading-01-mobile-line-height);font-weight:var(--heading-01-mobile-font-weight);letter-spacing:var(--heading-01-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--2xl[_nghost-%COMP%]{font-size:var(--heading-02-font-size);line-height:var(--heading-02-line-height);font-weight:var(--heading-02-font-weight);letter-spacing:var(--heading-02-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--2xl[_nghost-%COMP%]{font-size:var(--heading-02-mobile-font-size);line-height:var(--heading-02-mobile-line-height);font-weight:var(--heading-02-mobile-font-weight);letter-spacing:var(--heading-02-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--xl[_nghost-%COMP%]{font-size:var(--heading-03-font-size);line-height:var(--heading-03-line-height);font-weight:var(--heading-03-font-weight);letter-spacing:var(--heading-03-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--xl[_nghost-%COMP%]{font-size:var(--heading-03-mobile-font-size);line-height:var(--heading-03-mobile-line-height);font-weight:var(--heading-03-mobile-font-weight);letter-spacing:var(--heading-03-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--l[_nghost-%COMP%]{font-size:var(--heading-04-font-size);line-height:var(--heading-04-line-height);font-weight:var(--heading-04-font-weight);letter-spacing:var(--heading-04-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--l[_nghost-%COMP%]{font-size:var(--heading-04-mobile-font-size);line-height:var(--heading-04-mobile-line-height);font-weight:var(--heading-04-mobile-font-weight);letter-spacing:var(--heading-04-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--m[_nghost-%COMP%]{font-size:var(--heading-05-font-size);line-height:var(--heading-05-line-height);font-weight:var(--heading-05-font-weight);letter-spacing:var(--heading-05-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--m[_nghost-%COMP%]{font-size:var(--heading-05-mobile-font-size);line-height:var(--heading-05-mobile-line-height);font-weight:var(--heading-05-mobile-font-weight);letter-spacing:var(--heading-05-mobile-letter-spacing)}}.nx-heading--new-api.nx-heading--s[_nghost-%COMP%]{font-size:var(--heading-06-font-size);line-height:var(--heading-06-line-height);font-weight:var(--heading-06-font-weight);letter-spacing:var(--heading-06-letter-spacing)}@media (max-width: 703px){.nx-heading--new-api.nx-heading--s[_nghost-%COMP%]{font-size:var(--heading-06-mobile-font-size);line-height:var(--heading-06-mobile-line-height);
25font-weight:var(--heading-06-mobile-font-weight);letter-spacing:var(--heading-06-mobile-letter-spacing)}}.nx-heading--negative[_nghost-%COMP%]{color:var(--negative)}.nx-heading--negative[_nghost-%COMP%]     a{color:var(--negative)}.nx-heading--page-bold-caps[_nghost-%COMP%]{font-size:var(--heading-01-font-size);line-height:var(--heading-01-line-height);font-weight:var(--heading-01-font-weight);letter-spacing:var(--heading-01-letter-spacing);font-weight:700;text-transform:uppercase}@media (max-width: 703px){.nx-heading--page-bold-caps[_nghost-%COMP%]{font-size:var(--heading-01-mobile-font-size);line-height:var(--heading-01-mobile-line-height);font-weight:var(--heading-01-mobile-font-weight);letter-spacing:var(--heading-01-mobile-letter-spacing)}}@media (max-width: 703px){.nx-heading--page-bold-caps[_nghost-%COMP%]{font-weight:700;text-transform:uppercase}}"]});let i=e;return i})(),IM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({});let i=e;return i})();var n8=class{set classNames(e){this._classNames!==e&&(H6(this._renderer,this._elementRef,this._classNamesSanitized),this._classNamesSanitized=_n(e,this.baseClasses,this.mapping),this._classNames=e,MV(this._renderer,this._elementRef,this._classNamesSanitized))}get classNames(){return this._classNames}constructor(e,t,n,r=[]){this.mapping=e,this._elementRef=t,this._renderer=n,this.baseClasses=r,this.classNames=""}};var Ire=["*"],kre={black:"nx-link--black",negative:"nx-link--negative",text:"nx-link--text","icon-right":"nx-link--icon-right","icon-only":"nx-link--icon-only"},Nre=["nx-link"],vr=(()=>{let e=class e extends n8{set size(n){this._size!==n&&(this._size=n,this._cdr.markForCheck())}get size(){return this._size}constructor(n,r,o,a){super(kre,n,r,Nre),this._cdr=o,this._focusMonitor=a,this._size="small"}ngAfterContentInit(){let n=this.elementRef.nativeElement.querySelectorAll("nx-icon");for(let r=0;r<n.length;r++)this._renderer.addClass(n[r],"nx-link__icon")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get elementRef(){return this._elementRef}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Ai),D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-link"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,nt,5),r&2){let s;te(s=ne())&&(o.icon=s.first)}},hostVars:6,hostBindings:function(r,o){r&2&&Fe("nx-link--xsmall",o.size==="xsmall")("nx-link--small",o.size==="small")("nx-link--large",o.size==="large")},inputs:{classNames:[0,"nxStyle","classNames"],size:"size"},features:[tt],ngContentSelectors:Ire,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:["[_nghost-%COMP%]{color:var(--link-color);display:inline-block;cursor:pointer;position:relative;text-decoration:none;transition:color .2s ease,box-shadow .2s ease;hyphens:none}[_nghost-%COMP%]:hover{color:var(--link-hover-color)}[_nghost-%COMP%]  a:active{color:var(--link-active-color)}[_nghost-%COMP%]  a{display:flex;align-items:flex-start}.nx-link--xsmall[_nghost-%COMP%]{font-size:var(--link-xsmall-font-size);line-height:var(--link-xsmall-line-height);font-weight:var(--link-xsmall-font-weight);letter-spacing:var(--link-xsmall-letter-spacing)}.nx-link--small[_nghost-%COMP%]{font-size:var(--link-small-font-size);line-height:var(--link-small-line-height);font-weight:var(--link-small-font-weight);letter-spacing:var(--link-small-letter-spacing)}.nx-link--large[_nghost-%COMP%]{font-size:var(--link-large-font-size);line-height:var(--link-large-line-height);font-weight:var(--link-large-font-weight);letter-spacing:var(--link-large-letter-spacing)}.cdk-keyboard-focused[_nghost-%COMP%]     a{border-radius:4px;outline:0;box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]     a{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-link--negative[_nghost-%COMP%]{color:var(--negative)}.nx-link--negative[_nghost-%COMP%]:hover{color:var(--negative-01)}.nx-link--negative[_nghost-%COMP%]  a:active{color:var(--negative-02)}.nx-link--negative[_nghost-%COMP%]  a[disabled], .nx-link--negative[_nghost-%COMP%]  a[aria-disabled]{color:var(--negative-dimmed)}.nx-link--black[_nghost-%COMP%]{color:var(--link-black-color)}.nx-link--black[_nghost-%COMP%]:hover{color:var(--link-black-hover-color)}.nx-link--black[_nghost-%COMP%]  a:active{color:var(--link-black-active-color)}.nx-link--black[_nghost-%COMP%]  a[disabled], .nx-link--black[_nghost-%COMP%]  a[aria-disabled]{color:var(--link-black-disabled-color)}.nx-link--text[_nghost-%COMP%]{font-weight:700;text-transform:none;letter-spacing:normal;border-radius:4px;font-size:inherit;line-height:inherit;display:inline}.nx-link--text[_nghost-%COMP%]     a{display:inline}.nx-link--text[_nghost-%COMP%]     nx-icon.nx-link__icon{vertical-align:bottom}[_nghost-%COMP%]  .c-icon:before, [_nghost-%COMP%]  nx-icon.nx-link__icon:before{line-height:inherit;font-size:inherit}.nx-link--xsmall[_nghost-%COMP%]     .c-icon, .nx-link--xsmall[_nghost-%COMP%]     nx-icon.nx-link__icon{font-size:var(--link-xsmall-icon-size)}.nx-link--small[_nghost-%COMP%]     .c-icon, .nx-link--small[_nghost-%COMP%]     nx-icon.nx-link__icon{font-size:var(--link-small-icon-size)}.nx-link--large[_nghost-%COMP%]     .c-icon, .nx-link--large[_nghost-%COMP%]     nx-icon.nx-link__icon{font-size:var(--link-large-icon-size)}[_nghost-%COMP%]:not(.nx-link--text)     .c-icon, [_nghost-%COMP%]:not(.nx-link--text)     nx-icon.nx-link__icon{margin:0 8px 0 0}[dir=rtl]   [_nghost-%COMP%]:not(.nx-link--text)     .c-icon, [dir=rtl]   [_nghost-%COMP%]:not(.nx-link--text)     nx-icon.nx-link__icon{margin:0 0 0 8px}[_nghost-%COMP%]:not(.nx-link--text).nx-link--icon-right     .c-icon, [_nghost-%COMP%]:not(.nx-link--text).nx-link--icon-right     nx-icon.nx-link__icon{order:2;margin:0 0 0 8px}[dir=rtl]   [_nghost-%COMP%]:not(.nx-link--text).nx-link--icon-right     .c-icon, [dir=rtl]   [_nghost-%COMP%]:not(.nx-link--text).nx-link--icon-right     nx-icon.nx-link__icon{margin:0 8px 0 0}.nx-link--icon-only[_nghost-%COMP%]     .c-icon, .nx-link--icon-only[_nghost-%COMP%]     nx-icon.nx-link__icon{margin-right:0}[dir=rtl]   .nx-link--icon-only[_nghost-%COMP%]     .c-icon, [dir=rtl]   .nx-link--icon-only[_nghost-%COMP%]     nx-icon.nx-link__icon{margin-left:0}[_nghost-%COMP%]  a[disabled], [_nghost-%COMP%]  a[aria-disabled]{cursor:not-allowed;color:var(--link-disabled-color)}[_nghost-%COMP%]  a[disabled]:focus, [_nghost-%COMP%]  a[aria-disabled]:focus{outline:none;box-shadow:none}@media screen and (forced-colors: active){[_nghost-%COMP%]{color:LinkText!important}}@media screen and (forced-colors: active){[_nghost-%COMP%]  a[disabled], [_nghost-%COMP%]  a[aria-disabled]{color:GrayText!important}}"],changeDetection:0});let i=e;return i})(),Gf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({});let i=e;return i})();var U0=Aa(YV(),1);var Vre=["/","(",")",".",":","-"," ","+",","],Fre={convertTo:"lower",dropSpecialCharacters:!1,deactivateMask:!1},kM=class{constructor(e,t){this.element=e,this.eventHandlers=new Map,this._separators=[],this._inputValue=e.value,this.updateConfig(t,{callOnChange:!1}),this.addListener("keydown",this.onKeydown.bind(this)),this.addListener("input",this.onInput.bind(this)),this.addListener("paste",this.onPaste.bind(this)),this.init()}
25init(){this.maskConfig.deactivateMask||this.updateValue(this.getMaskedString(this.element.value),!1)}updateConfig(e,{callOnChange:t=!0,updateValue:n=!0}={}){if(this.maskConfig=ae(ae({},Fre),e),this._separators=this.maskConfig.separators??Vre,n){let r=this.maskConfig.deactivateMask?this.element.value:this.getMaskedString(this.element.value);this.updateValue(r,t)}}addListener(e,t){this.element.addEventListener(e,t),this.eventHandlers.set(e,t)}getUnmaskedValue(e){return this.maskConfig?.separators?.reduce((n,r)=>n.split(r).join(""),e)??""}onInput(e){this.maskConfig.hooks?.beforeInput?.forEach(o=>o(e));let t=this._inputValue,n=e.target,r=this.getMaskedString(n.value);if(this.maskConfig.deactivateMask){r=n.value,this.updateValue(r);return}if(this._pastedData){this.updateValue(this._pastedData),n.setSelectionRange(this._cursor.position,this._cursor.position),this._pastedData=null,this._cursor=null;return}if(t.length===this.maskConfig.mask.length&&r.length===this.maskConfig.mask.length&&t!==r&&this._cursor&&this._cursor.selectionStart!==void 0&&this._cursor.selectionStart===this._cursor.selectionEnd){this.element.value=this.getMaskedString(t),n.setSelectionRange(this._cursor.selectionStart,this._cursor.selectionEnd),this._cursor=null;return}if(this.updateValue(r),this._cursor?.position!==void 0)n.setSelectionRange(this._cursor.position,this._cursor.position),this._cursor=null;else if(this._cursor?.selectionStart!==void 0)if(t===n.value){let o=this._cursor.selectionStart;for(;this.isSeparator(this.maskConfig.mask[o]);)o++;n.setSelectionRange(o,o),this._cursor=null}else{let o=this._cursor.selectionStart+this._calculateCursorShift(this._cursor.selectionStart);n.setSelectionRange(o,o),this._cursor=null}this.maskConfig.hooks?.afterInput?.forEach(o=>o(e))}onPaste(e){let t=e.target,n=(e.clipboardData||window.clipboardData).getData("text"),r=t.selectionStart,o=t.selectionEnd,a=t.value;this.maskConfig.hooks?.beforePaste?.forEach(h=>h(e));let s=this.getMaskedString(n,r);if(t.value.length===this.maskConfig.mask.length&&s.length>0&&r===o){t.setSelectionRange(r,o),this._cursor=null,e.preventDefault();return}let l=this.maskConfig.separators.reduce((h,_)=>h.split(_).join(""),s),u=this.getMaskedString(a.substring(0,r)+l+a.substring(o,a.length));if(u.length>=this.maskConfig.mask.length){let h=r,_=1;do u=this.getMaskedString(a.substring(0,r)+l.substring(0,_)+a.substring(o,a.length)),h+=this._calculateCursorShift(h),_++;while(u.length<this.maskConfig.mask.length);this._pastedData=u,this._cursor={position:h};return}this._cursor={position:r+s.length}}onKeydown(e){let t=e.keyCode,n=e.target;t===8||t===46?this.handleDelete(e):this._cursor={selectionStart:n.selectionStart,selectionEnd:n.selectionEnd}}handleDelete(e){let t=e.keyCode,n=e.target,r=this.element.value,o=t===8?1:0,a=r.substring(n.selectionStart-o,n.selectionEnd-o+1),s=n.selectionStart===r.length-1+o;if(n.selectionStart!==n.selectionEnd){let l=n.selectionStart;for(;this.isSeparator(this.maskConfig.mask[l]);)l++;this._cursor={position:l}}else s?(this.updateValue(r.substring(0,r.length-1)),e.preventDefault()):this.isSeparator(a)?(n.setSelectionRange(n.selectionStart-o,n.selectionEnd-o),e.preventDefault()):this._cursor={position:n.selectionStart-o}}setValue(e){this.updateValue(e,!1)}updateValue(e,t=!0){let n=e==null?"":e.toString();this.maskConfig.deactivateMask||(this.maskConfig.convertTo==="upper"?n=n.toUpperCase():this.maskConfig.convertTo==="lower"&&(n=n.toLowerCase())),this.element.value!==n&&(this.element.value=n),this._inputValue=n,t&&this.maskConfig.hooks?.onChange?.forEach(r=>r(n))}isSeparator(e){return this._separators.includes(e)}_calculateCursorShift(e){let t=0,n=!1;for(this.isSeparator(this.maskConfig.mask[e+t])||(t++,n=!0);this.isSeparator(this.maskConfig.mask[e+t]);)t++;return n||t++,t}_isStringAllowed(e,t){return!!(t==="0"&&/^\d$/.test(e)||t==="A"&&/^[\dA-Z]$/i.test(e)||t==="S"&&/^[A-Z]$/i.test(e))}getMaskedString(e,t=0){let n=e.toString(),r="",o=t,a=0;for(;this.isSeparator(this.maskConfig.mask[o]);)r+=this.maskConfig.mask[o],o++;for(;a<n.length;)for(this._isStringAllowed(n[a],this.maskConfig.mask[o])?(r+=n[a],a++,o++):a++;this.isSeparator(this.maskConfig.mask[o]);)r+=this.maskConfig.mask[o],o++;return r}
25onDestroy(){this.eventHandlers.forEach((e,t)=>{this.element.removeEventListener(t,e)})}},Rre={provide:Fi,useExisting:Wt(()=>NM),multi:!0},zre={provide:Bi,useExisting:Wt(()=>NM),multi:!0},NM=(()=>{let e=class e{set deactivateMask(n){let r=Ue(n);r!==this._deactivateMask&&(this._deactivateMask=r,this.updateNxMask())}get deactivateMask(){return this._deactivateMask}set mask(n){n||(n=""),n!==this._mask&&(this._mask=n,this.updateNxMask(),this._validatorOnChange())}get mask(){return this._mask}set convertTo(n){this._convertTo=n,this.updateNxMask()}get convertTo(){return this._convertTo}set separators(n){this._separators=n,this._validatorOnChange(),this.updateNxMask()}get separators(){return this._separators}set dropSpecialCharacters(n){let r=Ue(n);r!==this._dropSpecialCharacters&&(this._dropSpecialCharacters=r,this.updateNxMask())}get dropSpecialCharacters(){return this._dropSpecialCharacters}set validateMask(n){let r=Ue(n);r!==this._validateMask&&(this._validateMask=r,this._validatorOnChange())}get validateMask(){return this._validateMask}get elementRefValue(){return this._elementRef.nativeElement.value}constructor(n,r){this._elementRef=n,this._cdr=r,this.cvaModelChange=new he,this._deactivateMask=!1,this._mask="",this._separators=["/","(",")",".",":","-"," ","+",","],this._dropSpecialCharacters=!1,this._validateMask=!0,this._onTouchedCallback=()=>{},this._validatorOnChange=()=>{},this._beforeInputHook=o=>{},this._afterInputHook=o=>{},this._beforePasteHook=o=>{}}ngOnInit(){this.nxMask=new kM(this._elementRef.nativeElement,this.maskConfig)}updateNxMask({callOnChange:n=!0,updateValue:r=!0}={}){if(this.nxMask?.updateConfig(this.maskConfig,{callOnChange:n,updateValue:r}),this._onChangeCallback&&n&&this.nxMask){let o=this.dropSpecialCharacters?this.nxMask.getUnmaskedValue(this.nxMask.element.value):this.nxMask.element.value;this._onChangeCallback(o)}}get maskConfig(){return{mask:this.mask,convertTo:this.convertTo,separators:this.separators,dropSpecialCharacters:this.dropSpecialCharacters,deactivateMask:this.deactivateMask,hooks:{onChange:[this.handleMaskChange.bind(this)],beforeInput:[this._beforeInputHook],afterInput:[this._afterInputHook],beforePaste:[this._beforePasteHook]}}}handleMaskChange(n){this.dropSpecialCharacters&&(n=this.nxMask?.getUnmaskedValue(n)),this.cvaModelChange.next(n),this._onChangeCallback?.(n),this._cdr.detectChanges()}ngOnDestroy(){this.nxMask?.onDestroy()}registerBeforeInputHook(n){this._beforeInputHook=n,this.updateNxMask()}registerAfterInputHook(n){this._afterInputHook=n,this.updateNxMask()}registerBeforePasteHook(n){this._beforePasteHook=n,this.updateNxMask()}getUnmaskedValue(){return this.separators.reduce((r,o)=>r.split(o).join(""),this._elementRef.nativeElement.value)}setMask(n,r=!0){n||(n=""),n!==this._mask&&(this._mask=n,this.updateNxMask({updateValue:r,callOnChange:!1}),this._validatorOnChange())}_isStringAllowed(n,r){return!!(r==="0"&&/^\d$/.test(n)||r==="A"&&/^[\dA-Z]$/i.test(n)||r==="S"&&/^[A-Z]$/i.test(n))}getMaskedString(n,r=0){return this.nxMask?.getMaskedString(n,r)||""}isSeparator(n){return this._separators.includes(n)}writeValue(n){let r=n??"";this.cvaModelChange.next(r),this.deactivateMask?this.nxMask?.setValue(r):this.nxMask?.setValue(this.getMaskedString(r))}registerOnChange(n){this._onChangeCallback=n}registerOnTouched(n){this._onTouchedCallback=n}registerOnValidatorChange(n){this._validatorOnChange=n}isEmptyInputValue(n){return n==null||typeof n=="string"&&n.length===0}_validateFn(){let n=this._elementRef.nativeElement.value;if(this.isEmptyInputValue(n))return null;let r=this._elementRef.nativeElement.value.length,o=this._mask.length;return r!==o&&!this.deactivateMask?{nxMaskLengthError:{length:o,actual:r}}:null}validate(){return this.validateMask?this._validateFn():null}_touch(){this._onTouchedCallback()}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Ye))},e.\u0275dir=Ie({type:e,selectors:[["input","nxMask",""]],hostBindings:function(r,o){r&1&&I("blur",function(){return o._touch()})},inputs:{deactivateMask:"deactivateMask",mask:[0,"nxMask","mask"],convertTo:[0,"nxConvertTo","convertTo"],separators:"separators",dropSpecialCharacters:"dropSpecialCharacters",validateMask:"validateMask"},exportAs:["nxMaskDirective"],features:[Mt([Rre,{provide:Bf,useExisting:e},zre])]});let i=e;return i})(),Lre={provide:Bi,useExisting:Wt(()=>Hre),multi:!0},Hre=(()=>{let e=class e{constructor(n,r){this._elementRef=n,this.maskDirective=r,this._destroyed=new he,this._setCountryCodeFromInputValue=o=>{let a=o.target;this._setCountryCode(a.value.substr(0,2))},this._beforePasteHook=o=>{let a=o.target,s=(o.clipboardData||window.clipboardData).getData("text"),l=(this.maskDirective.elementRefValue.substr(0,a.selectionStart)+this.maskDirective.getMaskedString(s,a.selectionStart)).substr(0,2);this._setCountryCode(l)},this.maskDirective.registerBeforeInputHook(this._setCountryCodeFromInputValue),this.maskDirective.registerAfterInputHook(this._setCountryCodeFromInputValue),this.maskDirective.registerBeforePasteHook(this._beforePasteHook),this.maskDirective.cvaModelChange.pipe(ze(this._destroyed)).subscribe(o=>{let a=this.maskDirective.getMaskedString(o).substr(0,2);this._setCountryCode(a)})}_setCountryCode(n){n=n.toUpperCase(),n.length===2&&this._countryCode!==n&&(U0.countries[n]?(this._countryCode=n,this.maskDirective.setMask(this._getMask(this._countryCode),!1)):(this._countryCode=null,this.maskDirective.setMask("SS")))}ngOnInit(){this.maskDirective.mask="SS",this.maskDirective.convertTo="upper"}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_getMask(n){let r=U0.countries[n],o="SS00";return r.structure.match(/.{1,3}/g).forEach(s=>{let l=s[0],u=Number(s.substring(1,3));switch(l){case"F":o+="0".repeat(u);break;case"A":o+="A".repeat(u);break;case"U":o+="S".repeat(u);break}}),o=o.match(/.{1,4}/g).join(" "),o}_validateFn(){return this._countryCodeInvalid()?{nxIbanInvalidCountryError:"no valid country code"}:U0.isValid(this.maskDirective.getUnmaskedValue())?null:{nxIbanParseError:"no valid iban"}}validate(){return this.maskDirective.validateMask&&this.maskDirective.elementRefValue?this._val
25idateFn():null}_countryCodeInvalid(){let n=this._elementRef.nativeElement.value.substr(0,2);return n.length!==2||!U0.countries[n]}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Wt(()=>NM)))},e.\u0275dir=Ie({type:e,selectors:[["input","nxIbanMask",""]],exportAs:["nxIbanMaskDirective"],features:[Mt([Lre])]});let i=e;return i})(),AM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Qr,Qr]});let i=e;return i})();var Bre=["*"];function jre(i,e){i&1&&(at(0,"div",0),ke(1),pt())}var qre=["nxMenuButton",""],Ure=[[["","nxMenuButtonIcon",""]],"*"],Gre=["[nxMenuButtonIcon]","*"];function $re(i,e){i&1&&S(0,"nx-icon",1)}var i8=(()=>{let e=class e{set open(n){let r=Ue(n);r!==this._open&&(this._open=r,this._cdr.markForCheck())}get open(){return this._open}constructor(n){this._cdr=n,this._open=!1}toggle(){this.open=!this.open}};e.\u0275fac=function(r){return new(r||e)(D(Ye))},e.\u0275cmp=z({type:e,selectors:[["nx-menu"]],hostVars:1,hostBindings:function(r,o){r&2&&ye("aria-expanded",o.open)},inputs:{open:"open"},ngContentSelectors:Bre,decls:1,vars:1,consts:[[1,"nx-menu__wrapper"]],template:function(r,o){r&1&&(rt(),re(0,jre,2,0,"div",0)),r&2&&oe(o.open?0:-1)},styles:[".nx-menu[_nghost-%COMP%]{display:block}.nx-menu__wrapper[_ngcontent-%COMP%]{position:fixed;inset:60px 0 0;z-index:1;overflow:auto;background:var(--menu-background-color)}  .nx-menu__link{display:block;padding:12px 0;font-size:18px;line-height:24px;outline:none}  .nx-menu__link+.nx-menu__link{margin-top:8px}  .nx-menu__link.cdk-keyboard-focused{box-shadow:var(--focus-box-shadow);border-radius:4px;outline:none}@media screen and (forced-colors: active),(forced-colors: active){  .nx-menu__link.cdk-keyboard-focused{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}  .nx-menu__item.nx-menu__item--small,   .nx-menu__item.nx-menu__item--large{padding:24px;border-bottom:1px solid var(--menu-item-border-color)}@media screen and (forced-colors: active){  .nx-menu__item.nx-menu__item--small,   .nx-menu__item.nx-menu__item--large{border-bottom-color:CanvasText}}  .nx-menu__item.nx-menu__item--large{padding-left:64px}[dir=rtl][_nghost-%COMP%]     .nx-menu__item.nx-menu__item--large, [dir=rtl]   [_nghost-%COMP%]     .nx-menu__item.nx-menu__item--large{padding-right:64px;padding-left:initial}@media screen and (forced-colors: active){  .nx-menu__link{text-decoration:none}}"],changeDetection:0});let i=e;return i})(),Wre=(()=>{let e=class e{set expandable(n){this._expandable=Ue(n),this._cdr.markForCheck()}get expandable(){return this._expandable}set expanded(n){this._expanded=Ue(n),this._cdr.markForCheck()}get expanded(){return this._expanded}set type(n){(n==="root"||n==="nested")&&(this._type=n,this._cdr.markForCheck())}get type(){return this._type}constructor(n,r,o){this._cdr=n,this._focusMonitor=r,this._elementRef=o,this._expandable=!1,this._expanded=!1,this._type="root"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Kt),D(We))},e.\u0275cmp=z({type:e,selectors:[["","nxMenuButton",""]],hostAttrs:[1,"nx-menu-button"],hostVars:9,hostBindings:function(r,o){r&2&&(ye("aria-expanded",o.expandable?o.expanded:null),Fe("is-expanded",o.expandable&&o.expanded)("is-expandable",o.expandable)("nx-menu-button--nested",o.type==="nested")("nx-menu-button--root",o.type==="root"))},inputs:{expandable:"expandable",expanded:"expanded",type:[0,"menuButtonType","type"]},attrs:qre,ngContentSelectors:Gre,decls:4,vars:1,consts:[[1,"nx-menu-button__label"],["name","chevron-down","aria-hidden","true",1,"nx-menu-button__expand-icon"]],template:function(r,o){r&1&&(rt(Ure),ke(0),c(1,"span",0),ke(2,1),d(),re(3,$re,1,0,"nx-icon",1)),r&2&&(p(3),oe(o.expandable?3:-1))},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:var(--menu-button-background-color);color:var(--menu-button-text-color);appearance:none;outline:none;box-shadow:none;border:none;margin:0;cursor:pointer;line-height:24px;font-weight:400;font-size:18px;width:100%;transition:all .2s ease,padding 0 none;text-decoration:none;padding:24px}[_nghost-%COMP%]:hover{background:var(--menu-button-hover-background-color)}.is-expanded[_nghost-%COMP%]{font-weight:700;background:var(--menu-button-expanded-background-color);color:var(--menu-button-expanded-text-color);border-color:var(--menu-button-expanded-border-color)}.is-expanded[_nghost-%COMP%]   .nx-menu-button__expand-icon[_ngcontent-%COMP%]{transform:rotate(180deg)}.nx-menu-button--nested[_nghost-%COMP%]{background:var(--menu-button-nested-background-color)}.nx-menu-button--nested.is-expanded[_nghost-%COMP%]{background:var(--menu-button-nested-expanded-background-color);border-color:var(--menu-button-nested-expanded-border-color);color:var(--menu-button-nested-expanded-color)}[_nghost-%COMP%]::-moz-focus-inner{border:0}.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:var(--focus-inset-box-shadow);border-radius:8px;border:none}@media screen and (forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:inset 0 0 0 4px CanvasText,inset 0 0 0 6px background;border:4px solid CanvasText}}.nx-menu-button__expand-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;transition:all .2s ease;transform:rotate(0);width:16px;height:24px;margin-right:8px;flex:0 0 auto;font-size:24px}[dir=rtl][_nghost-%COMP%]   .nx-menu-button__expand-icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-menu-button__expand-icon[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}.nx-menu-button__label[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;flex:1 1 auto;text-align:left;line-height:1;padding:4px 0}[dir=rtl][_nghost-%COMP%]   .nx-menu-button__label[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-menu-button__label[_ngcontent-%COMP%]{text-align:right}  .nx-menu-button__icon{margin-right:16px;height:24px;font-weight:400;flex:0 0 auto}[dir=rtl][_nghost-%COMP%]     .nx-menu-button__icon, [dir=rtl]   [_nghost-%COMP%]     .nx-menu-button__icon{margin-right:initial;margin-left:16px}@media screen and (forced-colors: active){[_nghost-%COMP%], .is-expanded[_nghost-%COMP%], .nx-menu-button--nested[_nghost-%COMP%], .nx-menu-button--nested.is-expanded[_nghost-%COMP%]{forced-color-adjust:none;color:buttonText;background-color:buttonFace}[_nghost-%COMP%]:hover, .nx-menu-button--nested.is-expanded[_nghost-%COMP%]:hover{background-color:highlight;color:highlightText;border-bottom-color:CanvasText}}"],changeDetection:0});let i=e;return i})();var k2=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Wre]});let i=e;return i})();var XV=["closeButton"],QV=i=>({value:i});function Qre(i,e){}function Kre(i,e){if(i&1){let t=Y();c(0,"button",3,0),I("click",function(){O(t);let r=M();return T(r._closeButtonClick())}),S(2,"nx-icon",4),d()}if(i&2){let t=M();
25ye("aria-label",t._config.closeIconButtonLabel)}}var Xre=["nxModalTitle",""],ZV=["*"];function Zre(i,e){if(i&1&&S(0,"nx-status-icon",0),i&2){let t=M();g("type",t.status)}}function Jre(i,e){i&1&&Ei(0)}function eoe(i,e){if(i&1&&L(0,Jre,1,0,"ng-container",7),i&2){let t=M();g("ngTemplateOutlet",t.body)}}function toe(i,e){i&1&&ke(0)}function noe(i,e){if(i&1){let t=Y();c(0,"button",8,0),I("click",function(){O(t);let r=M();return T(r.closeButtonClick())}),S(2,"nx-icon",9),d()}if(i&2){let t=M();ye("aria-label",t.closeButtonLabel)}}var Wf=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.fullscreen=!1,this.width="736px",this.height="",this.maxWidth="736px",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0,this.showCloseIcon=!1,this.closeIconButtonLabel="Close dialog",this.direction="ltr",this.shouldClose=()=>!0}},KV={modalContainer:go("modalContainer",[cr("void, exit",On({opacity:0,transform:"scale(1.3)"})),cr("enter",On({transform:"none"})),$i("* => enter",ji("200ms cubic-bezier(0, 0, 0.2, 1)",On({transform:"scale(1)",opacity:1}))),$i("* => void, * => exit",ji("200ms cubic-bezier(0.4, 0.0, 0.2, 1)",On({opacity:0,transform:"scale(1.3)"})))]),modalContainerFullscreen:go("slideInOut",[cr("void, exit",On({opacity:0,transform:"translateY(100%)"})),cr("enter",On({transform:"none"})),$i("* => enter",ji("300ms ease-out",On({transform:"translateY(0%)",opacity:1}))),$i("* => void, * => exit",ji("300ms ease-out",On({opacity:0,transform:"translateY(100%)"})))])};function VM(){throw Error("Attempting to attach modal content after content is already attached")}var FM=(()=>{let e=class e extends Pl{constructor(n,r,o,a,s,l,u,h){super(),this._elementRef=n,this._focusTrapFactory=r,this._cdr=o,this._document=a,this._config=s,this._focusMonitor=l,this._interactivityChecker=u,this._ngZone=h,this._elementFocusedBeforeDialogWasOpened=null,this._state="enter",this._animationStateChanged=new X,this._closeButtonClicked=new X,this._isExpert=!1,this.attachDomPortal=_=>(this._portalOutlet.hasAttached()&&VM(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachDomPortal(_)),this._ariaLabelledBy=s.ariaLabelledBy||null}ngAfterViewInit(){this._config.showCloseIcon&&this._focusMonitor.monitor(this._closeButton)}ngOnInit(){let n=this._config.appearance;this._isExpert=n==="expert"}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._closeButton)}attachComponentPortal(n){return this._portalOutlet.hasAttached()&&VM(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)}attachTemplatePortal(n){return this._portalOutlet.hasAttached()&&VM(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)}_trapFocus(){let n=this._elementRef.nativeElement;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n));let r=Oo();switch(this._config.autoFocus){case!1:case"dialog":r!==n&&!n.contains(r)&&n.focus();return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(()=>{let a=n?.querySelector(".cdk-focused");a&&this._focusMonitor.focusVia(a,"keyboard")});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}n.contains(Oo())||n.focus()}_focusByCssSelector(n,r){let o=this._elementRef.nativeElement.querySelector(n);o&&this._forceFocus(o,r)}_forceFocus(n,r){this._interactivityChecker.isFocusable(n)||(n.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{n.removeEventListener("blur",o),n.removeEventListener("mousedown",o),n.removeAttribute("tabindex")};n.addEventListener("blur",o),n.addEventListener("mousedown",o)})),n.focus(r)}_restoreFocus(){let n=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&n&&typeof n.focus=="function"){let r=Oo(),o=this._elementRef.nativeElement;(!r||r===this._document?.body||r===o||o.contains(r))&&this._focusMonitor.focusVia(n,"keyboard")}this._focusTrap&&this._focusTrap.destroy()}_savePreviouslyFocusedElement(){this._document&&(this._elementFocusedBeforeDialogWasOpened=Oo(),this._elementRef.nativeElement.focus&&this._elementFocusedBeforeDialogWasOpened?.blur())}_onAnimationDone(n){n.toState==="enter"?this._trapFocus():n.toState==="exit"&&this._restoreFocus(),this._animationStateChanged.emit(n)}_onAnimationStart(n){this._animationStateChanged.emit(n)}_startExitAnimation(){this._state="exit",this._cdr.markForCheck()}
25_closeButtonClick(){this._closeButtonClicked.emit()}};e.\u0275fac=function(r){return new(r||e)(D(We),D(C6),D(Ye),D(Gt,8),D(Wf),D(Kt),D(Vf),D(Vt))},e.\u0275cmp=z({type:e,selectors:[["nx-modal-container"]],viewQuery:function(r,o){if(r&1&&(pe(Fs,7),pe(XV,5)),r&2){let a;te(a=ne())&&(o._portalOutlet=a.first),te(a=ne())&&(o._closeButton=a.first)}},hostAttrs:["tabindex","-1","aria-modal","true",1,"nx-modal__container"],hostVars:13,hostBindings:function(r,o){r&1&&Qu("@modalContainer.start",function(s){return o._onAnimationStart(s)})("@modalContainer.done",function(s){return o._onAnimationDone(s)})("@slideInOut.start",function(s){return o._onAnimationStart(s)})("@slideInOut.done",function(s){return o._onAnimationDone(s)}),r&2&&(Cc("@modalContainer",Lt(9,QV,o._config.fullscreen?"":o._state))("@slideInOut",Lt(11,QV,o._config.fullscreen?o._state:"")),ye("id",o._id)("role",o._config.role)("aria-labelledby",o._config.ariaLabel?null:o._ariaLabelledBy)("aria-label",o._config.ariaLabel)("aria-describedby",o._config.ariaDescribedBy||null),Fe("is-expert",o._isExpert))},features:[tt],decls:2,vars:1,consts:[["closeButton",""],["cdkPortalOutlet",""],["nxPlainButton","","type","button",1,"nx-modal__close"],["nxPlainButton","","type","button",1,"nx-modal__close",3,"click"],["name","close","aria-hidden","true"]],template:function(r,o){r&1&&(L(0,Qre,0,0,"ng-template",1),re(1,Kre,3,1,"button",2)),r&2&&(p(),oe(o._config.showCloseIcon?1:-1))},dependencies:[xt,nt,Fs,dr,_o],styles:[".cdk-overlay-pane.is-fullscreen{padding-top:32px}@media (max-width: 703px){  .cdk-overlay-pane.is-fullscreen{padding-top:8px}}[_nghost-%COMP%]{background:var(--modal-background-color);color:var(--modal-text-color);margin:0 32px;padding:40px;border-radius:4px;box-shadow:var(--shadow-large);display:block;position:relative;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.is-fullscreen   [_nghost-%COMP%]{border-radius:8px 8px 0 0}@media (max-width: 703px){[_nghost-%COMP%]{margin:0 8px;padding:32px}}@media screen and (forced-colors: active){[_nghost-%COMP%]{border:2px solid CanvasText}}[_nghost-%COMP%]     .nx-modal__title{text-align:center;font-size:1.875rem;font-weight:300;line-height:2.25rem;display:flex;align-items:center;flex-direction:column;margin:0 0 24px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-modal__title{font-size:1.625rem}}[_nghost-%COMP%]     .nx-modal__status{margin-bottom:16px;font-size:4rem}.is-expert[_nghost-%COMP%]     .nx-modal__status{display:flex;margin-bottom:0;margin-right:16px;font-size:2.25rem!important}.is-expert[_nghost-%COMP%]     .nx-modal__title{font-weight:400;text-align:left;flex-direction:row;margin-bottom:16px}.is-expert[_nghost-%COMP%]     .nx-modal__actions{justify-content:flex-end}[_nghost-%COMP%]     .nx-modal__content{display:block;margin:0 -40px;padding:0 40px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.is-fullscreen   [_nghost-%COMP%]     .nx-modal__content{max-height:calc(100% - 32px)}@media (max-width: 703px){[_nghost-%COMP%]     .nx-modal__content{margin:0 -32px;padding:0 32px}.is-fullscreen   [_nghost-%COMP%]     .nx-modal__content{max-height:calc(100% - 40px)}}[_nghost-%COMP%]     .nx-modal__actions{margin-bottom:-40px;margin-left:-40px;margin-right:-40px;height:72px;border-top:1px solid var(--modal-actions-border-color);display:flex;align-items:center;justify-content:flex-end;padding:0 40px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.is-fullscreen   [_nghost-%COMP%]     .nx-modal__actions{background:var(--modal-background-color);position:absolute;bottom:40px;width:100%}@media (max-width: 703px){[_nghost-%COMP%]     .nx-modal__actions{margin-bottom:-32px;margin-left:-32px;margin-right:-32px;padding:0 32px}.is-fullscreen   [_nghost-%COMP%]     .nx-modal__actions{bottom:32px}}.nx-modal__close[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px;height:24px}.nx-modal__close[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:24px}[dir=rtl][_nghost-%COMP%]   .nx-modal__close[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-modal__close[_ngcontent-%COMP%]{right:auto;left:16px}"],data:{animation:[KV.modalContainer,KV.modalContainerFullscreen]}});let i=e;return i})(),ioe=0,r8=function(i){return i[i.OPEN=0]="OPEN",i[i.CLOSING=1]="CLOSING",i[i.CLOSED=2]="CLOSED",i}(r8||{}),Yf=class{constructor(e,t,n=`nx-modal-${ioe++}`){this._overlayRef=e,this._containerInstance=t,this.id=n,this.disableClose=this._containerInstance._config.disableClose,this.shouldClose
25=this._containerInstance._config.shouldClose,this.closeDenied=new he,this._afterOpened=new he,this._afterClosed=new he,this._beforeClosed=new he,this._state=r8.OPEN,t._id=n,t._animationStateChanged.pipe(ln(r=>r.phaseName==="done"&&r.toState==="enter"),Bn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),t._animationStateChanged.pipe(ln(r=>r.phaseName==="done"&&r.toState==="exit"),Bn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._overlayRef.dispose()}),t._closeButtonClicked.subscribe(()=>{this.close()}),e.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),e.keydownEvents().pipe(ln(r=>r.keyCode===27&&!this.disableClose&&!Pa(r))).subscribe(r=>{r.preventDefault(),this.close()})}close(e){if(this._result=e,!(this.shouldClose?.(e)??!0)){this.closeDenied.next();return}this._containerInstance._animationStateChanged.pipe(ln(n=>n.phaseName==="start"),Bn(1)).subscribe(n=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._state=r8.CLOSED,this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>{this._overlayRef.dispose()},n.totalTime+100)}),this._containerInstance._startExitAnimation(),this._state=r8.CLOSING}afterOpened(){return this._afterOpened.asObservable()}afterClosed(){return this._afterClosed.asObservable()}beforeClosed(){return this._beforeClosed.asObservable()}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(e){let t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(e="",t=""){return this._getPositionStrategy().width(e).height(t),this._overlayRef.updatePosition(),this}addPanelClass(e){return this._overlayRef.addPanelClass(e),this}removePanelClass(e){return this._overlayRef.removePanelClass(e),this}getState(){return this._state}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}},roe=new Ee("NxModalData"),ooe=new Ee("nx-modal-default-options"),JV=new Ee("nx-modal-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.block()}}),aoe=new Ee("Selector for element that should be exept from inert",{providedIn:"root",factory:()=>["#onetrust-consent-sdk"]});function soe(i){return()=>i.scrollStrategies.block()}var loe={provide:JV,useFactory:soe,deps:[di]},Qn=(()=>{let e=class e{get openModals(){return this._parentDialogService?this._parentDialogService.openModals:this._openModalsAtThisLevel}get ariaHiddenElements(){return this._parentDialogService?this._parentDialogService.ariaHiddenElements:this._ariaHiddenElements}get afterOpened(){return this._parentDialogService?this._parentDialogService.afterOpened:this._afterOpenedAtThisLevel}get _afterAllClosed(){let n=this._parentDialogService;return n?n._afterAllClosed:this._afterAllClosedAtThisLevel}constructor(n,r,o,a,s,l,u){this._overlay=n,this._injector=r,this._defaultOptions=o,this._parentDialogService=a,this._overlayContainer=s,this._defaultScrollStrategyFactory=l,this._inertSelectors=u,this._openModalsAtThisLevel=[],this._afterAllClosedAtThisLevel=new he,this._afterOpenedAtThisLevel=new he,this._ariaHiddenElements=new Map,this.afterAllClosed=T1(()=>this.openModals.length?this._afterAllClosed:this._afterAllClosed.pipe(ei(void 0))),this._destroyed=new he,this._scrollStrategyFactory=this._defaultScrollStrategyFactory}open(n,r){if(r=coe(r,this._defaultOptions||new Wf),r.id&&this.getModalById(r.id))throw Error(`Modal with i
25d "${r.id}" exists already. The modal id must be unique.`);let o=this._createOverlay(r),a=this._attachModalContainer(o,r),s=this._attachModalContent(n,a,o,r);return this.openModals.length||this._hideNonModalContentFromAssistiveTechnology(),this.openModals.push(s),s.beforeClosed().subscribe(()=>this._removeOpenModal(s)),this.afterOpened.next(s),s}closeAll(){this._closeModals(this.openModals)}getModalById(n){return this.openModals.find(r=>r.id===n)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._closeModals(this._openModalsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(n){let r=this._getOverlayConfig(n);return this._overlay.create(r)}_getOverlayConfig(n){let r=new To({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategyFactory(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation,direction:n.direction});return n.backdropClass&&(r.backdropClass=n.backdropClass),n.fullscreen&&(r.maxWidth="",r.maxHeight=""),r}_attachModalContainer(n,r){let o=r?.viewContainerRef?.injector,a=Nt.create({parent:o||this._injector,providers:[{provide:Wf,useValue:r}]}),s=new ia(FM,r.viewContainerRef,a);return n.attach(s).instance}_attachModalContent(n,r,o,a){let s=new Yf(o,r,a.id);if(a.fullscreen&&(a.width="100%",a.height="100%",o.addPanelClass("is-fullscreen")),a.hasBackdrop&&o.backdropClick().pipe(ze(this._destroyed)).subscribe(()=>{s.disableClose||s.close()}),n instanceof Rn)r.attachTemplatePortal(new ao(n,null,{$implicit:a.data,modalRef:s}));else{let l=this._createInjector(a,s,r),u=r.attachComponentPortal(new ia(n,a.viewContainerRef,l));s.componentInstance=u.instance}return s.updateSize(a.width,a.height).updatePosition(a.position),s}_createInjector(n,r,o){let a=n?.viewContainerRef?.injector,s=[{provide:FM,useValue:o},{provide:roe,useValue:n.data},{provide:Yf,useValue:r}];return Nt.create({parent:a||this._injector,providers:s})}_removeOpenModal(n){let r=this.openModals.indexOf(n);r!==-1&&(this.openModals.splice(r,1),!this.openModals.length&&(this.ariaHiddenElements.forEach((o,a)=>{o?(a.setAttribute("aria-hidden",o),a.setAttribute("inert",o)):(a.removeAttribute("aria-hidden"),a.removeAttribute("inert"))}),this.ariaHiddenElements.clear(),this._afterAllClosed.next()))}_hideNonModalContentFromAssistiveTechnology(){let n=this._overlayContainer.getContainerElement();n.parentElement&&Array.from(n.parentElement.children).forEach(r=>{let o=this._inertSelectors.some(a=>r.matches(a));if(r!==n&&r.nodeName!=="SCRIPT"&&r.nodeName!=="STYLE"&&!r.hasAttribute("aria-live")&&!o){let a=r.getAttribute("aria-hidden"),s=r.getAttribute("inert");this.ariaHiddenElements.set(r,a),this.ariaHiddenElements.set(r,s),r.setAttribute("aria-hidden","true"),r.setAttribute("inert","true")}})}_closeModals(n){let r=n.length;for(;r--;)n[r].close()}};e.\u0275fac=function(r){return new(r||e)(Le(di),Le(Nt),Le(ooe,8),Le(e,12),Le(Lf),Le(JV),Le(aoe))},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();function coe(i,e){return ae(ae({},e),i)}var eF=(()=>{let e=class e{constructor(n,r,o){this.modalRef=n,this._elementRef=r,this._dialogService=o,this.type="button"}ngOnInit(){this.modalRef||(this.modalRef=doe(this._elementRef,this._dialogService.openModals))}ngOnChanges(n){let r=n.modalResult;r&&(this.modalResult=r.currentValue)}};e.\u0275fac=function(r){return new(r||e)(D(Yf,8),D(We),D(Qn))},e.\u0275dir=Ie({type:e,selectors:[["","nxModalClose",""]],hostVars:2,hostBindings:function(r,o){r&1&&I("click",function(){return o.modalRef.close(o.modalResult)}),r&2&&ye("aria-label",o.ariaLabel||null)("type",o.type)},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],type:"type",modalResult:[0,"nxModalClose","modalResult"]},features:[on]});let i=e;return i})();function doe(i,e){let t=i.nativeElement.parentElement;for(;t&&!t.classList.contains("nx-modal__container");)t=t.parentElement;return t?e.find(n=>n.id===t.id):null}var uoe=w0([On({opacity:0}
25),ji("300ms",On({opacity:1}))]),poe=w0(ji("300ms",On({opacity:0}))),foe=w0([On({transform:"scale(1)",opacity:1}),ji("250ms",On({transform:"scale(1.3)",opacity:0}))]),moe=w0([On({transform:"scale(1.3)",opacity:0}),ji("250ms",On({transform:"scale(1)",opacity:1}))]),tF=(()=>{let e=class e{constructor(){this.subject=new he,this.close$=this.subject.asObservable()}close(){this.subject.next()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac});let i=e;return i})(),oa=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxModalActions",""]],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-modal__actions",!0)}});let i=e;return i})(),ns=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["","nxModalContent",""]],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-modal__content",!0)}});let i=e;return i})(),hoe=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["","nxModalTitle",""]],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-modal__title",!0)},inputs:{status:"status"},attrs:Xre,ngContentSelectors:ZV,decls:2,vars:1,consts:[[1,"nx-modal__status",3,"type"]],template:function(r,o){r&1&&(rt(),re(0,Zre,1,1,"nx-status-icon",0),ke(1)),r&2&&oe(o.status?0:-1)},dependencies:[xt,AN],encapsulation:2});let i=e;return i})(),goe=(()=>{let e=class e{set closeButtonLabel(n){n!==this._closeButtonLabel&&(this._closeButtonLabel=n,this._cdr.markForCheck())}get closeButtonLabel(){return this._closeButtonLabel}constructor(n,r,o,a){this.modalService=n,this.eventManager=r,this._cdr=o,this._focusMonitor=a,this._closeButtonLabel="Close dialog",this.hideOnEsc=!0,this.hideOnClickOutside=!0,this.showCloseIcon=!0,this.size="auto",this.closeEvent=new X,this._destroyed=new he}ngOnInit(){this.modalService.close$.pipe(ze(this._destroyed)).subscribe(()=>this.closeEvent.emit()),this.removeEventListener=this.eventManager.addEventListener(document.body,"keyup.esc",()=>{this.hideOnEsc&&this.modalService.close()})}ngAfterViewInit(){this.showCloseIcon&&this._focusMonitor.monitor(this._closeButton)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.removeEventListener(),this._focusMonitor.stopMonitoring(this._closeButton)}clickOutsideModal(){this.hideOnClickOutside&&this.modalService.close()}closeButtonClick(){this.modalService.close()}cancelClick(n){n.stopPropagation()}};e.\u0275fac=function(r){return new(r||e)(D(tF),D(kd),D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-modal"]],viewQuery:function(r,o){if(r&1&&pe(XV,5),r&2){let a;te(a=ne())&&(o._closeButton=a.first)}},hostVars:3,hostBindings:function(r,o){r&2&&(Cc("@fadeInOut",void 0),Fe("nx-modal--fixed-width",o.size==="fixed"))},inputs:{closeButtonLabel:"closeButtonLabel",body:[0,"modalBody","body"],hideOnEsc:"hideOnEsc",hideOnClickOutside:"hideOnClickOutside",showCloseIcon:"showCloseIcon",size:[0,"windowSize","size"]},outputs:{closeEvent:"onModalClose"},ngContentSelectors:ZV,decls:8,vars:3,consts:[["closeButton",""],["role","dialog","cdkTrapFocus","","cdkTrapFocusAutoCapture","","cdkFocusInitial","",1,"nx-modal"],[1,"nx-modal__backdrop",3,"click"],[1,"nx-modal__position"],[1,"nx-modal__container",3,"click"],["cdkScrollable","",1,"nx-modal__content-wrapper"],["nxPlainButton","","type","button",1,"nx-modal__close"],[4,"ngTemplateOutlet"],["nxPlainButton","","type","button",1,"nx-modal__close",3,"click"],["name","close","aria-hidden","true"]],template:function(r,o){r&1&&(rt(),c(0,"div",1)(1,"div",2),I("click",function(){return o.clickOutsideModal()}),c(2,"div",3)(3,"div",4),I("click",function(s){return o.cancelClick(s)}),c(4,"div",5),re(5,eoe,1,1,"ng-container")(6,toe,1,0),d(),re(7,noe,3,1,"button",6),d()()()()),r&2&&(p(3),g("@scaleUpDown",void 0),p(2),oe(o.body?5:6),p(2),oe(o.showCloseIcon?7:-1))},dependencies:[Ff,xt,nt,Rf,Ji,dr,_o],styles:["[_nghost-%COMP%]{position:relative;z-index:1000}.nx-modal[_ngcontent-%COMP%]{display:flex;position:fixed;width:100vw;height:100vh;inset:0;z-index:1000;align-items:center;justify-content:center;transition:opacity .3s ease}.nx-modal__backdrop[_ngcontent-%COMP%]{background-color:#00000059;height:100%;left:0;position:absolute;top:0;width:100%;z-index:-1}.nx-modal__position[_ngcontent-%COMP%]{position:absolute;display:inline-block;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20}.nx-modal__container[_ngcontent-%COMP%]{border-radius:4px;box-shadow:var(--shadow-large);background:var(--modal-background-color);color:var(--modal-text-color)}.nx-modal__content-wrapper[_ngcontent-%COMP%]{padding:40px 40px 48px;max-height:calc(100vh - 48px);overflow-y:auto}@media (max-width: 703px){.nx-modal__content-wrapper[_ngcontent-%COMP%]{max-height:70vh;padding:40px 32px 48px}}.nx-modal__close[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px;height:24px}.nx-modal__close[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:24px}[dir=rtl][_nghost-%COMP%]   .nx-modal__close[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-modal__close[_ngcontent-%COMP%]{right:auto;left:16px}@media (max-width: 703px){.nx-modal__position[_ngcontent-%COMP%]{width:100%}.nx-modal__container[_ngcontent-%COMP%]{position:relative;max-width:calc(100vw - 16px);max-height:70vh;margin:0 auto}}.nx-modal--fixed-width[_nghost-%COMP%]   .nx-modal__container[_ngcontent-%COMP%]{width:736px;max-width:calc(100vw - 16px)}[_nghost-%COMP%]     .nx-modal__actions{height:72px;border-top:1px solid var(--modal-actions-border-color);display:flex;align-items:center;justify-content:flex-end;padding:0 40px;position:absolute;bottom:0;left:0;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px;background:var(--modal-actions-background-color)}[_nghost-%COMP%]     .nx-modal__content{overflow-y:auto;max-height:calc(100vh - 120px);padding:0 40px;margin:0 -40px}@media (max-width: 703px){[_nghost-%COMP%]     .nx-modal__content{max-height:calc(70vh - 120px);margin:0 -32px}}@media screen and (forced-colors: active){.nx-modal__content-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%]     .nx-modal__actions{border:2px solid CanvasText}}"],data:{animation:[go("fadeInOut",[$i(":enter",[S0(uoe),P0("@scaleUpDown",[_6()])]),$i(":leave",[P0("@scaleUpDown",[_6()]),S0(poe)])]),go("scaleUpDown",[$i(":enter",S0(moe)),$i(":leave",S0(foe))])]},changeDetection:0});let i=e;return i})();var RM=(()=>{let e=class e{static forRoot(){return{ngModule:e,providers:[tF]}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[Qn,loe],imports:[Da,Dr,Xa,_e,xt,goe,FM,hoe]});let i=e;return i})();var _oe=["*"];function voe(i,e){if(i&1&&S(0,"div",2),i&2){let t=M(2);g("ngStyle",t.arrowStyle)}}function xoe(i,e){if(i&1){let t=Y();c(0,"button",6),I("click",function(){O(t);let r=M(2);return T(r.emitCloseButtonClick())})("keyup",function(r){O(t);let o=M(2);return T(o._onCloseKeyup(r))})("keydown",function(r){O(t);let o=M(2);return T(o._onCloseKeydown(r))}),S(1,"nx-icon",7),d()}if(i&2){let t=M(2);ye("aria-label",t._intl.closeIconLabel)}}function boe(i,e){if(i&1){let t=Y();c(0,"div",0),I("click",function(r){O(t);let o=M();return T(o._onClick(r))}),c(1,"div",1),re(2,voe,1,1,"div",2),c(3,"div",3),ke(4),Ei(5,4),d(),re(6,xoe,2,1,"button",5),d()()}if(i&2){let t=M();g("ngClass",t.classList),p(),ye("tabindex",t.tabIndex),p(),oe(t.hidePopoverArrow?-1:2),p(),g("id",t.id),p(2),g("ngTemplateOutlet",(t._lazyContent==null?null:t._lazyContent._template)??null),p(),oe(t.showCloseButton?6:-1)}}var Coe=(()=>{let e=class e{constructor(n){this._template=n}};e.\u0275fac=function(r){return new(r||e)(D(Rn))},e.\u0275dir=Ie({type:e,selectors:[["ng-template","nxPopoverContent",""]]});let i=e;return i})(),yoe=(()=>{let e=class e{constructor(){this.changes=new he,this.closeIconLabel="close"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})();var Qf=(()=>{let e=class e{set tabIndex(n){this._tabIndex=n}get tabIndex(){return this.triggerType==="manual"?this._tabIndex:this.triggerType==="hover"?null:0}constructor(n,r){this._intl=n,this._cdr=r,this.closed=new X,this.closeButtonClick=new he,this.hidePopoverArrow=!1,this.showCloseButton=!1,this.triggerType="click",this._tabIndex=0,this.arrowStyle={},this._destroyed=new he}ngOnInit(){this._intl.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.closed.complete()}emitCloseButtonClick(){this.closeButtonClick.next()}_onCloseKeyup(n){n&&(n.keyCode===13||n.keyCode===32)&&this.emitCloseButtonClick(),n.preventDefault()}_onCloseKeydown(n){n.keyCode===32&&n.preventDefault()}
25emitClosedEvent(){this.closed.emit()}get classList(){return this.direction?`nx-popover--${this.direction}`:""}_onClick(n){n.stopPropagation()}};e.\u0275fac=function(r){return new(r||e)(D(yoe),D(Ye))},e.\u0275cmp=z({type:e,selectors:[["nx-popover"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,Coe,5),r&2){let s;te(s=ne())&&(o._lazyContent=s.first)}},viewQuery:function(r,o){if(r&1&&pe(Rn,5),r&2){let a;te(a=ne())&&(o.templateRef=a.first)}},outputs:{closed:"closed"},exportAs:["nxPopover"],ngContentSelectors:_oe,decls:1,vars:0,consts:[["role","dialog","aria-hidden","false",1,"nx-popover",3,"click","ngClass"],[1,"nx-popover__content"],[1,"nx-popover__arrow",3,"ngStyle"],[3,"id"],[3,"ngTemplateOutlet"],["nxPlainButton","","tabindex","0",1,"nx-popover__close-icon"],["nxPlainButton","","tabindex","0",1,"nx-popover__close-icon",3,"click","keyup","keydown"],["aria-hidden","true","name","close"]],template:function(r,o){r&1&&(rt(),L(0,boe,7,6,"ng-template"))},dependencies:[Un,fo,xt,nt,Ji,dr,_o],styles:[".nx-popover[_ngcontent-%COMP%]{position:relative}.nx-popover__content[_ngcontent-%COMP%]{font-size:var(--popover-content-font-size);line-height:var(--popover-content-line-height);font-weight:var(--popover-content-font-weight);letter-spacing:var(--popover-content-letter-spacing);background-color:var(--popover-background-color);color:var(--popover-text-color);border:1px solid var(--popover-border-color);border-radius:4px;box-shadow:var(--shadow-small);padding:24px 32px;display:block}.nx-popover__content[_ngcontent-%COMP%]:has(.nx-popover__close-icon){padding:24px 48px 24px 32px}.nx-popover__content[_ngcontent-%COMP%]:has(.nx-popover__main-content){padding:24px 32px}.nx-popover__content[_ngcontent-%COMP%]:has(.nx-popover__main-content)     .nx-popover__title{margin-right:16px}.nx-popover__content[_ngcontent-%COMP%]:focus{outline:none}.nx-popover__content[_ngcontent-%COMP%]::-moz-focus-inner{border:0}  .nx--popover__actions{display:flex;gap:var(--popover-action-gap)}.nx-popover__close-icon[_ngcontent-%COMP%]{position:absolute;top:16px;right:16px;font-size:var(--popover-close-icon-size)}[dir=rtl][_ngcontent-%COMP%]   .nx-popover__close-icon[_ngcontent-%COMP%]{right:auto;left:4px}.nx-popover__arrow[_ngcontent-%COMP%]{width:12px;height:12px;background-color:inherit;position:absolute;transform:translate(-50%);border-top:1px solid var(--popover-border-color);border-left:1px solid var(--popover-border-color)}.nx-popover--top[_ngcontent-%COMP%]   .nx-popover__arrow[_ngcontent-%COMP%]{transform:translate(-50%) rotate(225deg);bottom:-5px;box-shadow:2px 2px 1px 1px var(--popover-background-color),-2px -2px -4px var(--shadow-small-color)}.nx-popover--right[_ngcontent-%COMP%]   .nx-popover__arrow[_ngcontent-%COMP%]{transform:translateY(-50%) rotate(-45deg);left:-5px}.nx-popover--bottom[_ngcontent-%COMP%]   .nx-popover__arrow[_ngcontent-%COMP%]{transform:translate(-50%) rotate(45deg);top:-5px}.nx-popover--left[_ngcontent-%COMP%]   .nx-popover__arrow[_ngcontent-%COMP%]{transform:translateY(-50%) rotate(135deg);right:-5px}"],changeDetection:0});let i=e;return i})(),Moe=0,o8=16,woe=new Ee("nx-popover-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.close()}});var Soe=new Ee("popover-default-options",{providedIn:"root",factory:Poe});function Poe(){return{popoverWidth:void 0,popoverMaxWidth:void 0}}function zM(i){return Error(`Popover direction "${i}" is invalid.`)}var nF=(()=>{var e;let t=class t{constructor(r,o,a,s,l,u,h,_,y,b,x,w,k){_s(this,e);this.overlay=r,this.elementRef=o,this.viewContainerRef=a,this.eventManager=s,this._focusTrapFactory=l,this._focusMonitor=u,this._ngZone=h,this._platform=_,this._dir=y,this._defaultOptions=b,this._defaultScrollStrategyFactory=x,this._cdr=w,this._triggerButton=k,this._overlayDestroyed=new he,this._elementFocusedBeforePopoverWasOpened=null,this._manualListeners=new Map,this._possiblePopoverDirections=["bottom","top","left","right"],this.closeOnLeftViewport=typeof globalThis.IntersectionObserver<"u"?new IntersectionObserver(V=>{V.forEach(N=>{N.isIntersecting||this._ngZone.run(()=>this.overlayRef?.detach()),this.closeOnLeftViewport.disconnect()})},{threshold:.2}
25):void 0,this.id="nx-popover-"+Moe++,this.changeShow=new X,this._show=!1,this._closeable=null,this._closeOnClickOutside=!0,this._hidearrow=null,this.direction="right",this.popoverInitialVisible=!1,this.visibleChange=new X,this._modal=!1,this.trigger="click",this._destroyed=new he,this._scrollStrategyFactory=this._defaultScrollStrategyFactory,!this._platform.IOS&&!this._platform.ANDROID?this._manualListeners.set("mouseenter",()=>{this.trigger==="hover"&&(this.show=!0)}).set("mouseleave",()=>{this.trigger==="hover"&&(this.show=!1)}).set("keydown",V=>{switch(V.keyCode){case 32:V?.target?.tagName!=="BUTTON"&&V?.preventDefault(),this.handleClick();break;case 13:V?.preventDefault(),this.handleClick();break;case 9:this.trigger==="hover"&&(this.show=!this.isOpen);break;default:}}):this._manualListeners.set("touchstart",()=>{this.trigger==="hover"&&(this.show=!0)}),this._manualListeners.forEach((V,N)=>this.elementRef.nativeElement.addEventListener(N,V)),this._dir?.change.pipe(ze(this._destroyed)).subscribe(this._dirChangeHandler.bind(this))}set show(r){r=Ue(r),this._show!==r&&(this._show=r,this._show?this.popover.templateRef?this.openPopover():setTimeout(()=>{this.openPopover()}):this.closePopover())}get show(){return this._show}set closeable(r){this._closeable=Ue(r),this.popover&&(this.popover.showCloseButton=this.isCloseable())}get closeable(){return this._closeable}set closeOnClickOutside(r){this._closeOnClickOutside=Ue(r)}get closeOnClickOutside(){return this._closeOnClickOutside}set hidePopoverArrow(r){this._hidearrow=Ue(r),this.popover&&(this.popover.hidePopoverArrow=this._hidearrow)}get hidePopoverArrow(){return this._hidearrow}set popoverWidth(r){this._popoverWidth=r}get popoverWidth(){return this._popoverWidth||this._defaultOptions?.popoverWidth}set popoverMaxWidthh(r){this._popoverMaxWidth=r}get popoverMaxWidth(){return this._popoverMaxWidth||this._defaultOptions?.popoverMaxWidth}set modal(r){this._modal=Ue(r)}get modal(){return this._modal}set scrollStrategy(r){Xo(this,e)!==r&&(Va(this,e,r),this._scrollStrategyFactory=r?this.getScrollStrategyFactory(r):this._defaultScrollStrategyFactory,this._cdr.markForCheck())}get scrollStrategy(){return Xo(this,e)}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef.nativeElement,!0).pipe(ze(this._destroyed)).subscribe(r=>{r==="keyboard"&&this.trigger==="hover"&&this._ngZone.run(()=>this.show=!0)}),this.popover.id=this.id,this.popover.closeButtonClick.pipe(ze(this._destroyed)).subscribe(()=>{this.show=!1}),(this.popoverInitialVisible||this._show)&&(this.show=!0)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.show=!1,this._focusMonitor.stopMonitoring(this.elementRef.nativeElement),this._manualListeners.forEach((r,o)=>{this.elementRef.nativeElement.removeEventListener(o,r)}),this.overlayRef&&this.overlayRef.dispose(),this._manualListeners.clear(),this._overlayDestroyed.next(),this._overlayDestroyed.complete()}get isOpen(){return this.overlayRef&&this.createOverlay().hasAttached()}isCloseable(){return this.trigger==="click"&&this._closeable===null||!!this._closeable&&this.trigger!=="hover"}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}handleClick(){this.trigger==="click"?this.show=!this.isOpen:this.trigger==="hover"&&(this.show=!0)}open(){this.show=!0}close(){this.show=!1}toggle(){this.show=!this.show}openPopover(){if(!this.createOverlay().hasAttached()&&(this.setPopoverProperties(),this._embeddedViewRef=this.createOverlay().attach(this.portal),this.trigger!=="hover")){if(this._triggerButton){let a=this._triggerButton;a.setTriggerActive(),this._embeddedViewRef.onDestroy(()=>a.setTriggerInactive())}let r=this.getPopoverContainer();this._focusTrap=this._focusTrapFactory.create(r),this._elementFocusedBeforePopoverWasOpened=this.elementRef.nativeElement,this._focusMonitor.monitor(r.querySelector(".nx-popover__content"));let o=r.querySelector(".nx-popover__close-icon");o&&this._focusMonitor.monitor(o),setTimeout(()=>{this._autoFocusFirstTabbableElement(r)}),this.closeOnClickOutside&&this.waitForClose()}}setPopoverProperties(){this.popover.triggerType=this.trigger,this.popover.showCloseButton=this.isCloseable()}_autoFocusFirstTabbableElement(r){this._focusTrap.focusInitialElementWhenReady().then(o=>{o||r.focus()})}
25closePopover(){if(this.overlayRef.hasAttached()){if(this.trigger!=="hover"){let r=this.getPopoverContainer();this._focusMonitor.stopMonitoring(r.querySelector(".nx-popover__content")),this._focusMonitor.stopMonitoring(r.querySelector(".nx-popover__close-icon")),setTimeout(()=>{this._returnFocusAfterPopover()})}this.overlayRef.detach(),this._embeddedViewRef=null,this._focusTrap&&this._focusTrap.destroy()}}getScrollStrategyFactory(r){switch(r){case"reposition":return this.overlay.scrollStrategies.reposition;default:return this.overlay.scrollStrategies.close}}createOverlay(){if(!this.overlayRef){this.portal=new ao(this.popover.templateRef,this.viewContainerRef);let r=new To;r.width=this.popoverWidth,r.maxWidth=this.popoverMaxWidth,r.positionStrategy=this.getPosition(),this._positionStrategy=r.positionStrategy,r.scrollStrategy=this._scrollStrategyFactory(),r.scrollStrategy.enable(),r.direction=this._dir?.value||"ltr",this._modal&&(r.hasBackdrop=!0),this.overlayRef=this.overlay.create(r),this.subscribeToPositions(r.positionStrategy),this._subscribeToAttach(),this._subscribeToDetach(),this._subscribeToKeypress(),this._modal&&this._closeOnClickOutside&&this._subscribeToBackdropClick()}return this.overlayRef}subscribeToPositions(r){r.positionChanges.pipe(ze(this._overlayDestroyed)).subscribe(o=>{let a=o.connectionPair;this.positionOverlay(a),this.positionArrow(a),this.closeOnLeftViewport?.observe(this.elementRef.nativeElement),this._embeddedViewRef&&!this._embeddedViewRef.destroyed&&this._embeddedViewRef.detectChanges()})}_subscribeToBackdropClick(){this.overlayRef.backdropClick().pipe(ze(this._overlayDestroyed)).subscribe(r=>{this.show=!1})}_subscribeToDetach(){this.overlayRef.detachments().pipe(ze(this._overlayDestroyed)).subscribe(r=>{this.show&&(this.show=!1),this.changeShow.emit(this._show),this.popover.emitClosedEvent()})}_subscribeToAttach(){this.overlayRef.attachments().pipe(ze(this._overlayDestroyed)).subscribe(r=>{this.changeShow.emit(this._show)})}_subscribeToKeypress(){this.overlayRef.keydownEvents().pipe(ln(r=>r.keyCode===27),ze(this._overlayDestroyed)).subscribe(r=>{this.isOpen&&(this.show=!1)})}waitForClose(){return this.overlayRef.outsidePointerEvents().pipe(ct(r=>r.target),ln(r=>!this.elementRef.nativeElement.contains(r)),ze(this.popover.closed)).subscribe(()=>{this.show=!1})}positionOverlay(r){r.originX==="end"&&r.overlayX==="start"?this.popover.direction=this.isRtl?"left":"right":r.originY==="bottom"&&r.overlayY==="top"?this.popover.direction="bottom":r.originX==="start"&&r.overlayX==="end"?this.popover.direction=this.isRtl?"right":"left":r.originY==="top"&&r.overlayY==="bottom"&&(this.popover.direction="top")}positionArrow(r){let o=this.elementRef.nativeElement.getBoundingClientRect().left,a=this.elementRef.nativeElement.getBoundingClientRect().width/2,s=this.overlayRef.overlayElement.parentElement.offsetLeft,l=this.overlayRef.overlayElement.offsetLeft,u=o+a-(s+l);if(r.originX===r.overlayX){let h="left",_={left:"0"};_[h]=u+"px",this.popover.arrowStyle=_}(r.originY==="bottom"||r.originY==="top")&&r.overlayX==="center"&&(this.popover.arrowStyle={left:u+"px"}),(r.originX==="end"||r.originX==="start")&&r.overlayY==="center"&&(this.popover.arrowStyle={top:"50%"})}getPosition(){let r=this._getOrigin(this.direction),o=this._getOverlayPosition(this.direction),a=this._getOffset(this.direction),s=this._getFallbackPositions(this.direction);return this.overlay.position().flexibleConnectedTo(this.elementRef).withPositions([ae(ae(ae({},r),o),a),...s]).withFlexibleDimensions(!1)}_returnFocusAfterPopover(){let r=this._elementFocusedBeforePopoverWasOpened;r&&typeof r.focus=="function"&&r.focus()}getPopoverContainer(){return this.overlayRef.overlayElement.querySelector(".nx-popover")}_getOrigin(r){switch(r){case"top":case"bottom":return{originX:"center",originY:r};case"left":return{originX:this.isRtl?"end":"start",originY:"center"};case"right":return{originX:this.isRtl?"start":"end",originY:"center"};default:throw zM(r)}}_getOverlayPosition(r){switch(r){case"top":case"bottom":return{overlayX:"center",overlayY:this._getInversePosition(r)};case"left":return{overlayX:this.isRtl?"start":"end",overlayY:"center"};case"right":return{overlayX:this.isRtl?"end":"start",overlayY:"center"};default:throw zM(r)}}_getOffset(r){switch(r){case"top":return{offsetY:o8*-1};case"bottom":return{offsetY:o8};case"left":return{offsetX:o8*-1};case"right":return{offsetX:o8};default:throw zM(r)}}_getInversePopoverDirection(r){return{top:"bottom",right:"left",bottom:"top",left:"r
25ight"}[r]}_getInversePosition(r){return{top:"bottom",bottom:"top",start:"end",end:"start",center:"center"}[r]}_getFallbackPositions(r,o=this._possiblePopoverDirections){if(!r)return[];let a=o.filter(h=>h!==r),s=[];switch(r){case"top":case"bottom":{s=this._getVerticalFallbackPositionPairs(r);break}case"left":case"right":{s=this._getHorizontalFallbackPositionPairs(r);break}}let l=this._getInversePopoverDirection(r),u=a.includes(l)?l:o[0];return[...s,...this._getFallbackPositions(u,a)]}_getVerticalFallbackPositionPairs(r){let o=r===this.direction,a=[],s=ae(ae(ae({},this._getOrigin(r)),this._getOverlayPosition(r)),this._getOffset(r));return o||a.push(s),a.push(mt(ae({},s),{originX:"start",overlayX:"start"}),mt(ae({},s),{originX:"end",overlayX:"end"})),a}_getHorizontalFallbackPositionPairs(r){let o=this._getOffset(r);return[ae(ae(ae({},this._getOrigin(r)),this._getOverlayPosition(r)),o)]}_dirChangeHandler(){this.overlayRef&&(this.closePopover(),this.overlayRef.dispose(),this.overlayRef=null,this._overlayDestroyed.next())}get isRtl(){return this._dir?.value==="rtl"}};e=new WeakMap,t.\u0275fac=function(o){return new(o||t)(D(di),D(We),D(ai),D(kd),D(S6),D(Kt),D(Vt),D(ti),D(jn,8),D(Soe,8),D(woe),D(Ye),D(Uc,10))},t.\u0275dir=Ie({type:t,selectors:[["","nxPopoverTriggerFor",""]],hostAttrs:["aria-haspopup","dialog"],hostVars:2,hostBindings:function(o,a){o&1&&I("click",function(){return a.handleClick()}),o&2&&ye("aria-expanded",a.isOpen)("aria-describedby",a.isOpen?a.id:null)},inputs:{show:[0,"nxPopoverShow","show"],closeable:[0,"nxPopoverCloseable","closeable"],closeOnClickOutside:"closeOnClickOutside",hidePopoverArrow:"hidePopoverArrow",popoverWidth:[0,"nxPopoverWidth","popoverWidth"],popoverMaxWidthh:[0,"nxPopoverMaxWidth","popoverMaxWidthh"],popover:[
250,"nxPopoverTriggerFor","popover"],direction:[0,"nxPopoverDirection","direction"],popoverInitialVisible:[0,"nxPopoverInitialVisible","popoverInitialVisible"],visibleChange:[0,"nxPopoverVisibleChange","visibleChange"],modal:[0,"nxPopoverModal","modal"],trigger:[0,"nxPopoverTrigger","trigger"],scrollStrategy:[0,"nxPopoverScrollStrategy","scrollStrategy"]},outputs:{changeShow:"nxPopoverShowChange"},exportAs:["nxPopoverTrigger"]});let i=t;return i})(),LM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Dr,xt,Qf]});let i=e;return i})();var Eoe=["*"];function Doe(i,e){i&1&&ke(0)}var HM=(()=>{class i{_elementRef=C(We);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return i})(),Ooe=(()=>{class i{template=C(Rn);constructor(){}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkStepLabel",""]]})}return i})();var A2={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},Toe=new Ee("STEPPER_GLOBAL_OPTIONS"),BM=(()=>{class i{_stepperOptions;_stepper=C(V2);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(t){this._interacted.set(t)}_interacted=nn(!1);interactedStream=new X;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(t){this._state.set(t)}_state=nn(void 0);get editable(){return this._editable()}set editable(t){this._editable.set(t)}_editable=nn(!0);optional=!1;get completed(){let t=this._completedOverride(),n=this._interacted();return t??(n&&(!this.stepControl||this.stepControl.valid))}set completed(t){this._completedOverride.set(t)}_completedOverride=nn(null);index=nn(-1);isSelected=lr(()=>this._stepper.selectedIndex===this.index());indicatorType=lr(()=>{let t=this.isSelected(),n=this.completed,r=this._state()??A2.NUMBER,o=this._editable();return this._showError()&&this.hasError&&!t?A2.ERROR:this._displayDefaultIndicatorType?!n||t?A2.NUMBER:o?A2.EDIT:A2.DONE:n&&!t?A2.DONE:n&&t?r:o&&t?A2.EDIT:r});isNavigable=lr(()=>{let t=this.isSelected();return this.completed||t||!this._stepper.linear});get hasError(){let t=this._customError();return t??this._getDefaultError()}set hasError(t){this._customError.set(t)}_customError=nn(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){let t=C(Toe,{optional:!0});this._stepperOptions=t||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),this._completedOverride()!=null&&this._completedOverride.set(!1),this._customError()!=null&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(t=>t.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError()!=null}static \u0275fac=function(n){return new(n||i)};static \u0275cmp=z({type:i,selectors:[["cdk-step"]],contentQueries:function(n,r,o){if(n&1&&(Ft(o,Ooe,5),Ft(o,ho,5)),n&2){let a;te(a=ne())&&(r.stepLabel=a.first),te(a=ne())&&(r._childForms=a)}},viewQuery:function(n,r){if(n&1&&pe(Rn,7),n&2){let o;te(o=ne())&&(r.content=o.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",$t],optional:[2,"optional","optional",$t],completed:[2,"completed","completed",$t],hasError:[2,"hasError","hasError",$t]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[on],ngContentSelectors:Eoe,decls:1,vars:0,template:function(n,r){n&1&&(rt(),bc(0,Doe,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return i})(),V2=(()=>{class i{_dir=C(jn,{optional:!0});_changeDetectorRef=C(Ye);_elementRef=C(We);_destroyed=new he;_keyManager;_steps;steps=new Ho;_stepHeader;_sortedHeaders=new Ho;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(t){this._steps?(this._isValidIndex(t),this.selectedIndex!==t&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(t)&&(t>=this.selectedIndex||this.steps.toArray()[t].editable)&&this._updateSelectedItemIndex(t))):this._selectedIndex.set(t)}_selectedIndex=nn(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}selectionChange=new X;selectedIndexChange=new X;_groupId=C(m2).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation(t==="vertical")}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe(ei(this._steps),ze(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(n=>n._stepper===this)),this.steps.forEach((n,r)=>n.index.set(r)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe(ei(this._stepHeader),ze(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((n,r)=>n._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Rc(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:Dt()).pipe(ei(this._layoutDirection()),ze(this._destroyed)).subscribe(t=>this._keyManager?.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){let t=this.steps.toArray().slice(0,this._selectedIndex());for(let n of t)n._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`${this._groupId}-label-${t}`}_getStepContentId(t){return`${this._groupId}-content-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){let n=t-this._selectedIndex();return n<0?this._layoutDirection()==="rtl"?"next":"previous":n>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(t){let n=this.steps.toArray(),r=this._selectedIndex();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:r,selectedStep:n[t],previouslySelectedStep:n[r]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t)),this._selectedIndex.set(t),this.selectedIndexChange.emit(t),this._stateChanged()}_onKeydown(t){let n=Pa(t),r=t.keyCode,o=this._keyManager;o?.activeItemIndex!=null&&!n&&(r===32||r===13)?(this.selectedIndex=o.activeItemIndex,t.preventDefault()):o?.setFocusOrigin("keyboard").onKeydown(t)}_anyControlsInvalidOrPending(t){return this.linear&&t>=0?this.steps.toArray().slice(0,t).some(n=>{let r=n.stepControl;return(r?r.invalid||r.pending||!n.interacted:!n.completed)&&!n.optional&&!n._completedOverride()}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let t=this._elementRef.nativeElement,n=Oo();return t===n||t.contains(n)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}static \u0275fac=function(n){return new(n||i)};static \u0275dir=Ie({type:i,selectors:[["","cdkStepper",""]],contentQueries:function(n,r,o){if(n&1&&(Ft(o,BM,5),Ft(o,HM,5)),n&2){let a;te(a=ne())&&(r._steps=a),te(a=ne())&&(r._stepHeader=a)}},inputs:{linear:[2,"linear","linear",$t],selectedIndex:[2,"selectedIndex","selectedIndex",Mc],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return i})();var rF=(()=>
25{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=je({type:i});static \u0275inj=Be({imports:[x2]})}return i})();var jM=(()=>{let e=class e{constructor(){this.ariaLabel="Progress",this.value=0,this.min=0,this.max=1}_primaryTransform(){return{transform:`scaleX(${(this.value-this.min)/(this.max-this.min)})`}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-progressbar"]],hostVars:6,hostBindings:function(r,o){r&2&&ye("aria-valuenow",o.value)("role","progressbar")("aria-valuemax",o.max)("aria-valuemin",o.min)("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledBy)},inputs:{ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",value:[2,"value","value",Mc],min:[2,"min","min",Mc],max:[2,"max","max",Mc]},decls:2,vars:1,consts:[[1,"nx-progress__track"],[1,"nx-progress__indicator",3,"ngStyle"]],template:function(r,o){r&1&&(c(0,"div",0),S(1,"div",1),d()),r&2&&(p(),g("ngStyle",o._primaryTransform()))},dependencies:[fo],styles:['[_nghost-%COMP%]{display:block;height:4px;overflow:hidden;position:relative;width:100%}.nx-progress__track[_ngcontent-%COMP%]{background-color:var(--progressbar-background-color);height:100%}.nx-progress__indicator[_ngcontent-%COMP%]{transform-origin:top left;height:100%;position:absolute;width:100%}[dir=rtl][_nghost-%COMP%]   .nx-progress__indicator[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-progress__indicator[_ngcontent-%COMP%]{transform-origin:top right}.nx-progress__indicator[_ngcontent-%COMP%]:after{height:100%;position:absolute;width:100%;animation:none;content:"";display:inline-block;left:0;background-color:var(--progressbar-indicator-color)}[dir=rtl][_nghost-%COMP%]   .nx-progress__indicator[_ngcontent-%COMP%]:after, [dir=rtl]   [_nghost-%COMP%]   .nx-progress__indicator[_ngcontent-%COMP%]:after{right:0;left:auto}@media screen and (forced-colors: active){[_nghost-%COMP%]{height:8px}.nx-progress__track[_ngcontent-%COMP%]{border:1px solid windowFrame;border-radius:2px}.nx-progress__indicator[_ngcontent-%COMP%]{border-right:1px solid windowFrame}[dir=rtl][_ngcontent-%COMP%]   .nx-progress__indicator[_ngcontent-%COMP%]{border-right:none;border-left:1px solid windowFrame}.nx-progress__indicator[_ngcontent-%COMP%]:after{background:highlight}}'],changeDetection:0});let i=e;return i})(),a8=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var oF=["*"];function koe(i,e){i&1&&ke(0)}function Noe(i,e){i&1&&ke(0)}function Aoe(i,e){i&1&&S(0,"div",2)}function Voe(i,e){i&1&&S(0,"nx-icon",3)}function Foe(i,e){if(i&1&&(c(0,"div",4),m(1),d()),i&2){let t=M();ye("label",t.label),p(),Pe(t.label)}}function Roe(i,e){i&1&&S(0,"div",5)}var UM=[[["nx-label"]]],GM=["nx-label"],zoe=(i,e)=>({"is-disabled":i,"is-selected":e});function Loe(i,e){i&1&&(c(0,"span",0),ke(1),d())}function Hoe(i,e){if(i&1){let t=Y();c(0,"nx-multi-step-item",6),I("click",function(){let r=O(t),o=r.$implicit,a=r.$index,s=M(2);return T(!s._stepDisabled(a)&&o.select())})("keydown",function(r){O(t);let o=M(2);return T(o._onKeydown(r))}),d()}if(i&2){let t=e.$implicit,n=e.$index,r=e.$count,o=M(2);g("last",n===r-1)("tabindex",o._getFocusIndex()===n?0:-1)("label",t.stepLabel||t.label)("completed",t.completed||t.wasCompleted)("selected",o.selectedIndex===n)("active",o.selectedIndex>n)("disabled",o._stepDisabled(n))("direction",o.direction)("ariaControls",o._getStepContentId(n))("wasCompleted",t.wasCompleted)}}function Boe(i,e){if(i&1&&Ot(0,Hoe,1,10,"nx-multi-step-item",5,$n),i&2){let t=M();Tt(t.steps)}}function joe(i,e){if(i&1){let t=Y();c(0,"nx-multi-step-item",11),I("click",function(){let r=O(t).$implicit,o=M(3);return T(!o._stepDisabled(o._getIndex(r))&&r.select())})("keydown",function(r){O(t);let o=M(3);return T(o._onKeydown(r))}),d()}if(i&2){let t=e.$implicit,n=e.$index,r=e.$count,o=M().$index,a=M(2);g("tabindex",a._getFocusIndex()===a._getIndex(t)?0:-1)("last",n===r-1)("label",t.stepLabel||t.label)("completed",t.completed||t.wasCompleted)("selected",a.selectedIndex===a._getIndex(t))("active",a.selectedIndex>a._getIndex(t))("disabled",a._stepDisabled(a._getIndex(t)))("direction",a.direction)("wasCompleted",t.wasCompleted)("ariaControl
25s",a._getStepContentId(o))}}function qoe(i,e){if(i&1&&(c(0,"div",7)(1,"div",8),m(2),d(),c(3,"div",9),Ot(4,joe,1,10,"nx-multi-step-item",10,$n),d()()),i&2){let t=e.$implicit,n=e.$index,r=M(2);p(),Fe("is-active",r._isGroupActive(n))("is-disabled",r._isGroupDisabled(n)),p(),K(" ",t.label," "),p(2),Tt(t.steps)}}function Uoe(i,e){if(i&1&&Ot(0,qoe,6,5,"div",7,$n),i&2){let t=M();Tt(t.groups)}}function Goe(i,e){if(i&1){let t=Y();c(0,"div",13),I("click",function(){let r=O(t),o=r.$implicit,a=r.$index,s=M(2);return T(!s._stepDisabled(a)&&o.select())}),c(1,"span"),m(2),d()()}if(i&2){let t=e.$implicit,n=e.$index,r=M(2);g("ngClass",qr(3,zoe,r._stepDisabled(n),r.selectedIndex===n)),ye("aria-controls",r._getStepContentId(n)),p(2),Pe(t.label)}}function $oe(i,e){if(i&1&&(c(0,"div",2),Ot(1,Goe,3,6,"div",12,$n),d()),i&2){let t=M();p(),Tt(t.steps)}}function Woe(i,e){if(i&1&&(c(0,"div",4),Ei(1,14),d()),i&2){let t=e.$implicit,n=e.$index,r=M();g("id",r._getStepContentId(n)),ye("aria-label",r.currentLabel)("aria-expanded",r.selectedIndex===n),p(),g("ngTemplateOutlet",t.content)}}function Yoe(i,e){if(i&1&&(c(0,"div",9),S(1,"nx-progressbar",10),d()),i&2){let t=M(2);p(),g("value",t.progress)("ariaLabel",t.progressbarAriaLabel)("ariaLabelledBy",t.progressbarAriaLabeledBy)}}function Qoe(i,e){if(i&1&&(c(0,"div",5)(1,"div",6)(2,"div",7),m(3),d()(),c(4,"div",8),m(5),d(),re(6,Yoe,2,3,"div",9),d()),i&2){let t=e.$implicit,n=e.$index,r=M();Fe("nx-subprogress__item--inactive",r.selectedIndex!==n&&!t.completed)("nx-subprogress__item--selected",r.selectedIndex===n),ye("aria-disabled",r.selectedIndex!==n&&!t.completed),p(3),K(" ",n+1," "),p(2),Pe(t.stepLabel||t.label),p(),oe(r.selectedIndex===n?6:-1)}}function Koe(i,e){if(i&1&&(c(0,"div",4),Ei(1,11),d()),i&2){let t=e.$implicit,n=e.$index,r=M();g("id",r._getStepContentId(n)),ye("aria-label",r.currentLabel)("aria-expanded",r.selectedIndex===n),p(),g("ngTemplateOutlet",t.content)}}var aF="[_nghost-%COMP%]{display:block}.nx-progress-stepper__content[aria-expanded=false][_ngcontent-%COMP%]{height:0;overflow:hidden;visibility:hidden}.nx-progress-stepper__mobile-label[_ngcontent-%COMP%]{display:none;color:var(--progress-indicator-mobile-color);font-size:var(--progress-indicator-mobile-font-size);line-height:var(--progress-indicator-mobile-line-height);font-weight:var(--progress-indicator-mobile-font-weight);letter-spacing:var(--progress-indicator-mobile-letter-spacing)}@media (max-width: 703px){.nx-progress-stepper__mobile-label[_ngcontent-%COMP%]{display:block;text-align:center}}.nx-progress-stepper__title[_ngcontent-%COMP%]{display:block}.nx-progress-stepper__title[_ngcontent-%COMP%]     nx-label{margin-bottom:24px}";function Xoe(i,e){if(i&1&&(c(0,"div",7),Ei(1,8),d()),i&2){let t=e.$implicit,n=e.$index,r=M();g("id",r._getStepContentId(n)),ye("aria-label",r.currentLabel)("aria-expanded",r.selectedIndex===n),p(),g("ngTemplateOutlet",t.content)}}var aa=(()=>{let e=class e extends BM{constructor(n,r){super(n),this.stepper=n,this._errorStateMatcher=r,this._destroyed=new he,this.wasCompleted=!1,this.interacted=!1}isErrorState(n,r){let o=this._errorStateMatcher.isErrorState(n,r),a=!!(n?.invalid&&this.interacted);return o||a}ngOnChanges(){super.ngOnChanges(),this.stepControl!==this._stepControl&&(this._stepControl=this.stepControl,this._stepControl&&this._stepControl.statusChanges.pipe(Jp(()=>this._stepControl===this.stepControl),ze(this._destroyed)).subscribe(n=>{this.wasCompleted&&n==="DISABLED"?this.stepper._stateChanged():(this.wasCompleted=n==="VALID",this.stepper._stateChanged())})),this.interacted!==this.isInteracted&&(this.isInteracted=this.interacted,this.stepper&&this.stepper._stateChanged())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}};e.\u0275fac=function(r){return new(r||e)(D(Wt(()=>Al)),D(ur,4))},e.\u0275cmp=z({type:e,selectors:[["nx-step"]],exportAs:["nxStep"],features:[Mt([{provide:ur,useExisting:e}]),tt,on],ngContentSelectors:oF,decls:1,vars:0,template:function(r,o){r&1&&(rt(),bc(0,koe,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let i=e;return i})(),Al=(()=>{let e=class e extends V2{constructor(n,r,o){super(r,n,o),this._cdr=n,this.steps=new Ho,this._stepHeader=new Ho}ngAfterContentInit(){super.ngAfterContentInit(),this.steps.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._stateChanged()}),this.steps.filter(n=>!!n.stepControl).forEach(n=>
25{n.stepControl.statusChanges.pipe(ze(n._destroyed)).subscribe(()=>{this._stateChanged()})}),Promise.resolve().then(()=>{this._cdr.detectChanges()})}get hasPrevious(){return this.selectedIndex-1>=0}get hasNext(){return this.selectedIndex+1<this.count}get count(){return this.steps?this.steps.length:0}get currentStep(){return this.count===0||this.selectedIndex===-1||!this.steps?null:this.steps.toArray()[this.selectedIndex]}get nextStep(){return this.selectedIndex+1>=this.steps.length?null:this.steps.toArray()[this.selectedIndex+1]}get currentLabel(){let n=this.currentStep;if(!n)return"";let r=n.stepLabel||n.label;return this.currentStepLabel&&r?`${this.currentStepLabel} ${this.selectedIndex+1}/${this.count}: ${r}`:""}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(We))},e.\u0275dir=Ie({type:e,selectors:[["","nxProgressStepper",""]],contentQueries:function(r,o,a){if(r&1&&Ft(a,aa,5),r&2){let s;te(s=ne())&&(o._steps=s)}},inputs:{currentStepLabel:"currentStepLabel"},exportAs:["nxProgressStepper"],features:[Mt([{provide:V2,useExisting:e}]),tt]});let i=e;return i})();var Zoe=(()=>{let e=class e{set label(n){this._label=n,this._cdr.markForCheck()}get label(){return this._label}constructor(n){this._cdr=n}};e.\u0275fac=function(r){return new(r||e)(D(Ye))},e.\u0275cmp=z({type:e,selectors:[["nx-step-group"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,aa,5),r&2){let s;te(s=ne())&&(o.steps=s)}},inputs:{label:"label"},ngContentSelectors:oF,decls:1,vars:0,template:function(r,o){r&1&&(rt(),bc(0,Noe,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let i=e;return i})(),qM=(()=>{let e=class e extends HM{set direction(n){this._direction=n,this._cdr.markForCheck()}get direction(){return this._direction}set selected(n){this._selected=Ue(n),this._cdr.markForCheck()}get selected(){return this._selected}set active(n){this._active=Ue(n),this._cdr.markForCheck()}get active(){return this._active}set disabled(n){this._disabled=Ue(n),this._cdr.markForCheck()}get disabled(){return this._disabled}set last(n){this._last=Ue(n),this._cdr.markForCheck()}get last(){return this._last}set completed(n){this._completed=Ue(n),this._cdr.markForCheck()}get completed(){return this._completed}set wasCompleted(n){this._wasCompleted=Ue(n)}get wasCompleted(){return this._wasCompleted}set ariaControls(n){this._ariaControls=n}get ariaControls(){return this._ariaControls}constructor(n,r,o){super(r),this._cdr=n,this._elementRef=r,this._focusMonitor=o,this._direction="horizontal"}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-multi-step-item"]],hostAttrs:["role","tab"],hostVars:16,hostBindings:function(r,o){r&2&&(ye("aria-disabled",o.disabled?"true":null)("aria-controls",o.ariaControls)("aria-selected",o.selected)("aria-label",o.label),Fe("nx-multi-step-item--vertical",o.direction==="vertical")("is-selected",o.selected)("is-completed",o.completed)("is-active",o.active)("is-disabled",o.disabled)("is-last",o.last))},inputs:{direction:"direction",label:"label",selected:"selected",active:"active",disabled:"disabled",last:"last",completed:"completed",wasCompleted:"wasCompleted",ariaControls:"ariaControls"},features:[tt],decls:6,vars:4,consts:[[1,"label-box"],[1,"dot"],[1,"small-dot"],["name","check"],[1,"label"],[1,"line"]],template:function(r,o){r&1&&(c(0,"div",0)(1,"div",1),re(2,Aoe,1,0,"div",2),re(3,Voe,1,0,"nx-icon",3),d(),re(4,Foe,2,2,"div",4),d(),re(5,Roe,1,0,"div",5)),r&2&&(p(2),oe(o.selected?2:-1),p(),oe(o.wasCompleted&&!o.selected||o.completed&&!o.disabled&&!o.selected?3:-1),p(),oe(o.direction==="vertical"?4:-1),p(),oe(o.last?-1:5))},dependencies:[xt,nt],styles:['[_nghost-%COMP%]{flex:1 1 100%;display:flex;align-items:center;justify-content:center;position:relative;padding-bottom:8px;
25cursor:pointer;max-width:100%}[_nghost-%COMP%]:focus{outline:none}.cdk-keyboard-focused[_nghost-%COMP%]   .dot[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]   .dot[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){[_nghost-%COMP%]   .dot[_ngcontent-%COMP%]{border-color:buttonText}[_nghost-%COMP%]   .small-dot[_ngcontent-%COMP%]{background-color:buttonText}}.is-disabled[_nghost-%COMP%]{cursor:not-allowed}.is-disabled[_nghost-%COMP%]   .dot[_ngcontent-%COMP%]{border-color:var(--multi-stepper-dot-disabled-color)}@media screen and (forced-colors: active){.is-disabled[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{color:GrayText}.is-disabled[_nghost-%COMP%]   .dot[_ngcontent-%COMP%]{border-color:GrayText}}.is-completed[_nghost-%COMP%]:not(.is-disabled):not(.is-selected)   .dot[_ngcontent-%COMP%]{background-color:var(--multi-stepper-dot-touched-color)}.nx-multi-step-item--vertical[_nghost-%COMP%]{flex:0 0 auto;flex-direction:column;align-items:flex-start;padding:0}.nx-multi-step-item--vertical[_nghost-%COMP%]   .label-box[_ngcontent-%COMP%]{display:flex;align-items:center}.nx-multi-step-item--vertical[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{position:static;transform:none;margin-left:16px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left;min-width:0;font-size:var(--multi-stepper-step-font-size);line-height:var(--multi-stepper-step-line-height);font-weight:var(--multi-stepper-step-font-weight);letter-spacing:var(--multi-stepper-step-letter-spacing)}[dir=rtl]   .nx-multi-step-item--vertical[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{margin-right:16px;margin-left:initial}.nx-multi-step-item--vertical[_nghost-%COMP%]   .label[_ngcontent-%COMP%]:before{content:attr(label);height:0;overflow:hidden;display:block}@media screen and (forced-colors: active){.nx-multi-step-item--vertical[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{forced-colors-adjust:none;background-color:buttonFace;border-radius:4px;box-shadow:0 0 0 2px buttonFace;color:buttonText}}.nx-multi-step-item--vertical.is-disabled[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{color:var(--multi-stepper-step-disabled-color)}@media screen and (forced-colors: active){.nx-multi-step-item--vertical.is-disabled[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{color:GrayText}}.nx-multi-step-item--vertical.is-selected[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{font-weight:700}@media screen and (forced-colors: active){.nx-multi-step-item--vertical.is-selected[_nghost-%COMP%]   .label[_ngcontent-%COMP%]{background-color:highlight;border-radius:4px;box-shadow:0 0 0 2px highlight;color:highlightText;forced-color-adjust:none}}.nx-multi-step-item--vertical[_nghost-%COMP%]   .line[_ngcontent-%COMP%]{border-top:0;border-left-width:4px;border-left-style:dotted;border-left-color:var(--multi-stepper-line-color);height:16px;flex:0 0 auto;margin-left:6px}[dir=rtl]   .nx-multi-step-item--vertical[_nghost-%COMP%]   .line[_ngcontent-%COMP%]{border-right-width:4px;border-right-style:dotted;border-right-color:var(--multi-stepper-line-color);margin-right:6px;margin-left:initial;border-left:none}.nx-multi-step-item--vertical.is-active[_nghost-%COMP%]   .line[_ngcontent-%COMP%]{border-left-style:solid;border-left-color:var(--multi-stepper-line-filled-color);margin-top:-5px;margin-bottom:-5px;height:26px}[dir=rtl]   .nx-multi-step-item--vertical.is-active[_nghost-%COMP%]   .line[_ngcontent-%COMP%]{border-right-style:solid;border-right-color:var(--multi-stepper-line-filled-color);border-left:none}@media screen and (forced-colors: active){.nx-multi-step-item--vertical.is-active[_nghost-%COMP%]   .line[_ngcontent-%COMP%]{border-color:CanvasText}}.nx-multi-step-item--vertical.is-last[_nghost-%COMP%]{flex:0 0 auto}[_nghost-%COMP%]:not(.nx-multi-step-item--vertical)   .line[_ngcontent-%COMP%]{border-top-width:4px;border-top-style:dotted;border-top-color:var(--multi-stepper-line-color);margin:0 4px;position:absolute;
25left:20px;width:calc(100% - 24px);transform:translate(50%);top:6px}[dir=rtl]   [_nghost-%COMP%]:not(.nx-multi-step-item--vertical)   .line[_ngcontent-%COMP%]{right:20px;left:auto;transform:translate(-50%)}[_nghost-%COMP%]:not(.nx-multi-step-item--vertical).is-active   .line[_ngcontent-%COMP%]{border-top-color:var(--multi-stepper-line-filled-color);border-top-style:solid;margin:0;left:15px;width:calc(100% - 14px)}[dir=rtl]   [_nghost-%COMP%]:not(.nx-multi-step-item--vertical).is-active   .line[_ngcontent-%COMP%]{right:15px;left:auto}[_nghost-%COMP%]:not(:first-child):before{content:""}.nx-multi-step-item--active[_nghost-%COMP%]:after{border-top-color:var(--multi-stepper-line-filled-color);border-top-style:solid;border-image-source:none;transition:border-style .1s ease-in;margin:0;left:8px;width:calc(100% - 4px)}[dir=rtl]   .nx-multi-step-item--active[_nghost-%COMP%]:after{right:8px;left:auto}.label-box[_ngcontent-%COMP%]{outline:none;appearance:none;border:none;padding:0;margin:0;background:transparent;max-width:100%}.label[_ngcontent-%COMP%]{position:absolute;top:24px;text-align:center;color:var(--multi-stepper-step-color);left:0;width:100%}[dir=rtl][_nghost-%COMP%]   .label[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .label[_ngcontent-%COMP%]{right:0;left:auto}.dot[_ngcontent-%COMP%]{width:16px;height:16px;border-width:2px;border-style:solid;border-color:var(--multi-stepper-dot-touched-color);color:var(--multi-stepper-dot-checkmark-color);background:var(--multi-stepper-dot-background-color);border-radius:50%;flex:0 0 auto;position:relative}.dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:16px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[dir=rtl][_nghost-%COMP%]   .dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{right:50%;left:auto;transform:translate(50%,-50%)}.small-dot[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:8px;height:8px;border-radius:50%;background-color:var(--multi-stepper-dot-touched-color)}[dir=rtl][_nghost-%COMP%]   .small-dot[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .small-dot[_ngcontent-%COMP%]{right:50%;left:auto;transform:translate(50%,-50%)}@media screen and (forced-colors: active){.small-dot[_ngcontent-%COMP%]{background-color:CanvasText}}'],changeDetection:0});let i=e;return i})(),Oa=(()=>{let e=class e extends Al{set direction(n){this._direction=n}get direction(){return this._direction}constructor(n,r,o){super(n,r,o),this._direction="horizontal"}ngAfterViewChecked(){this._keyManager.withVerticalOrientation(this._direction==="vertical")}ngAfterContentInit(){super.ngAfterContentInit(),this.groups.length&&(this.steps.reset(this._stepsInGroups),this.steps.notifyOnChanges()),this.groups.changes.pipe(ze(this._destroyed)).subscribe(()=>{this.steps.reset(this._stepsInGroups),this.steps.notifyOnChanges()})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_stepDisabled(n){let r=this.steps.toArray();return this.linear&&n>=0?r.slice(0,n).some(o=>{let a=o.stepControl;return(a?a.invalid||a.pending||!o.interacted:!o.completed)&&!o.optional}):!1}get _stepsInGroups(){return this.groups.length?this.groups.reduce((n,r)=>n.concat(r.steps.toArray()),[]):[]}_getIndex(n){return this.steps.toArray().indexOf(n)}_isGroupActive(n){return this.selectedIndex>=this.getGroupItemIndex(n)}_isGroupDisabled(n){return this._stepDisabled(this.getGroupItemIndex(n))}getGroupItemIndex(n){let r=0,o=this.groups.toArray();for(let a=0;a<n;a++)r+=o[a].steps.length;return r}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-multi-stepper"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,Zoe,5),r&2){let s;te(s=ne())&&(o.groups=s)}},viewQuery:function(r,o){if(r&1&&pe(qM,5),r&2){let a;te(a=ne())&&(o._stepHeader=a)}},hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-multi-stepper--vertical",o.direction==="vertical")},inputs:{direction:"direction"},features:[Mt([{provide:Al,useExisting:e},{provide:V2,useExisting:Al}]),tt],ngContentSelectors:GM,decls:9,vars:4,consts:[[1,"nx-progress-stepper__title"],["role","tablist",1,"nx-multi-stepper__items"],[1,"labels-container"],[1,"nx-progress-stepper__mobile-label"],["role","tabpanel",1,"nx-progress-stepper__content",3,"id"],[3,"last","tabindex","label","completed","selected","active","disabled","direction","ariaControl
25s","wasCompleted"],[3,"click","keydown","last","tabindex","label","completed","selected","active","disabled","direction","ariaControls","wasCompleted"],[1,"nx-multi-stepper__group"],[1,"nx-multi-stepper__group-label"],[1,"nx-multi-stepper__group-items"],[3,"tabindex","last","label","completed","selected","active","disabled","direction","wasCompleted","ariaControls"],[3,"click","keydown","tabindex","last","label","completed","selected","active","disabled","direction","wasCompleted","ariaControls"],["tabindex","-1",1,"label",3,"ngClass"],["tabindex","-1",1,"label",3,"click","ngClass"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&(rt(UM),re(0,Loe,2,0,"span",0),c(1,"div",1),re(2,Boe,2,0)(3,Uoe,2,0),d(),re(4,$oe,3,0,"div",2),c(5,"div",3),m(6),d(),Ot(7,Woe,2,4,"div",4,$n)),r&2&&(oe(o.direction==="horizontal"?0:-1),p(2),oe(o.groups.length===0||o.direction==="horizontal"?2:3),p(2),oe(o.direction==="horizontal"?4:-1),p(2),K(" ",o.currentLabel,`
26`),p(),Tt(o.steps))},dependencies:[qM,Un,Ji],styles:["[_nghost-%COMP%]{display:block}.nx-progress-stepper__content[aria-expanded=false][_ngcontent-%COMP%]{height:0;overflow:hidden;visibility:hidden}.nx-progress-stepper__mobile-label[_ngcontent-%COMP%]{display:none;color:var(--progress-indicator-mobile-color);font-size:var(--progress-indicator-mobile-font-size);line-height:var(--progress-indicator-mobile-line-height);font-weight:var(--progress-indicator-mobile-font-weight);letter-spacing:var(--progress-indicator-mobile-letter-spacing)}@media (max-width: 703px){.nx-progress-stepper__mobile-label[_ngcontent-%COMP%]{display:block;text-align:center}}.nx-progress-stepper__title[_ngcontent-%COMP%]{display:block}.nx-progress-stepper__title[_ngcontent-%COMP%]     nx-label{margin-bottom:24px}","[_nghost-%COMP%]{width:100%}@media (min-width: 704px){.nx-multi-stepper--vertical[_nghost-%COMP%]{display:flex}}.nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-progress-stepper__content[aria-expanded=false][_ngcontent-%COMP%]{width:0}.nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__items[_ngcontent-%COMP%]{align-items:flex-start;flex-direction:column;margin:0 56px 0 0;max-width:100%}[dir=rtl]   .nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__items[_ngcontent-%COMP%]{margin:0 0 0 56px}.nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group-items[_ngcontent-%COMP%]{flex-direction:column;max-width:100%}.nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group-label[_ngcontent-%COMP%]{transform:none;border-left:4px solid transparent;padding-bottom:16px;margin-left:6px;padding-left:22px}[dir=rtl]   .nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group-label[_ngcontent-%COMP%]{margin-left:initial;padding-left:initial;margin-right:6px;padding-right:22px}.nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group[_ngcontent-%COMP%]:nth-child(n+2)   .nx-multi-stepper__group-label[_ngcontent-%COMP%]{padding-top:32px;border-left-style:dotted;border-left-color:var(--multi-stepper-line-color)}.nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group[_ngcontent-%COMP%]:nth-child(n+2)   .nx-multi-stepper__group-label.is-active[_ngcontent-%COMP%]{padding-top:36px;padding-bottom:20px;margin-top:-4px;margin-bottom:-4px;border-left-style:solid;border-left-color:var(--multi-stepper-line-filled-color)}[dir=rtl]   .nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group[_ngcontent-%COMP%]:nth-child(n+2)   .nx-multi-stepper__group-label[_ngcontent-%COMP%]{border-left-style:none;border-right-style:dotted;border-right-color:var(--multi-stepper-line-color)}[dir=rtl]   .nx-multi-stepper--vertical[_nghost-%COMP%]   .nx-multi-stepper__group[_ngcontent-%COMP%]:nth-child(n+2)   .nx-multi-stepper__group-label.is-active[_ngcontent-%COMP%]{border-left-style:none;border-right-style:solid;border-right-color:var(--multi-stepper-line-filled-color)}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]{width:100%;flex:1 1 100%;display:flex;margin:0 auto;vertical-align:top;align-self:flex-start;align-items:flex-start}@media (max-width: 703px){[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{flex:1 1 100%;display:flex;align-items:center;justify-content:center;position:relative;font-size:var(--multi-stepper-step-font-size);line-height:var(--multi-stepper-step-line-height);font-weight:var(--multi-stepper-step-font-weight);letter-spacing:var(--multi-stepper-step-letter-spacing);color:var(--multi-stepper-step-color);cursor:pointer;text-align:center}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label.is-disabled[_ngcontent-%COMP%]{color:var(--multi-stepper-step-disabled-color);cursor:not-allowed}@media screen and (forced-colors: active){[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]{color:buttonText}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label.is-disabled[_ngcontent-%COMP%]{color:GrayText}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]:not(.is-disabled){color:buttonText}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{forced-color-adjust:none;background-color:buttonFace;border-radius:4px;box-shadow:0 0 0 2px buttonFace}[_nghost-%COMP%]   .labels-container[_ngcontent-%COMP%]   .label.is-selected[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background-color:highlight;border-radius:4px;box-shadow:0 0 0 2px highlight;color:highlightText}}.nx-multi-stepper__items[_ngcontent-%COMP%]{display:flex;margin:0 auto;align-items:center}@media (max-width: 703px){.nx-multi-stepper__items[_ngcontent-%COMP%]{display:none}}.nx-multi-stepper__group-items[_ngcontent-%COMP%]{display:flex}
26.nx-multi-stepper__group[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;max-width:100%}.nx-multi-stepper__group-label[_ngcontent-%COMP%]{font-size:var(--multi-stepper-group-font-size);line-height:var(--multi-stepper-group-line-height);font-weight:var(--multi-stepper-group-font-weight);letter-spacing:var(--multi-stepper-group-letter-spacing);color:var(--multi-stepper-group-color)}.nx-multi-stepper__group-label.is-disabled[_ngcontent-%COMP%]{color:var(--multi-stepper-group-disabled-color)}"],changeDetection:0});let i=e;return i})(),Joe=(()=>{let e=class e extends Al{set progress(n){this._progress=wV(n||0)}get progress(){return this._progress}constructor(n,r,o){super(n,r,o),this.progressbarAriaLabel="Progress",this._progress=0}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-progress-stepper"]],inputs:{progressbarAriaLabel:"progressbarAriaLabel",progressbarAriaLabeledBy:"progressbarAriaLabeledBy",progress:"progress"},features:[Mt([{provide:Al,useExisting:e},{provide:V2,useExisting:Al}]),tt],ngContentSelectors:GM,decls:9,vars:1,consts:[[1,"nx-progress-stepper__title"],[1,"nx-subprogress__items"],[1,"nx-subprogress__item",3,"nx-subprogress__item--inactive","nx-subprogress__item--selected"],[1,"nx-progress-stepper__mobile-label"],["role","tabpanel",1,"nx-progress-stepper__content",3,"id"],[1,"nx-subprogress__item"],[1,"nx-subprogress__counter"],[1,"nx-subprogress__number"],[1,"nx-subprogress__label"],[1,"nx-subprogress__progress"],[3,"value","ariaLabel","ariaLabelledBy"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&(rt(UM),c(0,"span",0),ke(1),d(),c(2,"div",1),Ot(3,Qoe,7,8,"div",2,$n),d(),c(5,"div",3),m(6),d(),Ot(7,Koe,2,4,"div",4,$n)),r&2&&(p(3),Tt(o.steps),p(3),K(" ",o.currentLabel,`
27`),p(),Tt(o.steps))},dependencies:[a8,jM,Ji],styles:[aF,".nx-subprogress__items[_ngcontent-%COMP%]{display:flex;margin:0 auto}@media (max-width: 703px){.nx-subprogress__items[_ngcontent-%COMP%]{display:none}}.nx-subprogress__item[_ngcontent-%COMP%]{display:flex;flex:1 0 auto}.nx-subprogress__item[_ngcontent-%COMP%]:not(:first-child){margin-left:16px}[dir=rtl][_nghost-%COMP%]   .nx-subprogress__item[_ngcontent-%COMP%]:not(:first-child), [dir=rtl]   [_nghost-%COMP%]   .nx-subprogress__item[_ngcontent-%COMP%]:not(:first-child){margin-right:16px;margin-left:initial}.nx-subprogress__item--selected[_ngcontent-%COMP%]{display:flex;flex:1 1 100%;align-items:center}.nx-subprogress__progress[_ngcontent-%COMP%]{flex:1 1 100%;margin-left:8px}[dir=rtl][_nghost-%COMP%]   .nx-subprogress__progress[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-subprogress__progress[_ngcontent-%COMP%]{margin-right:8px;margin-left:initial}.nx-subprogress__item--inactive[_ngcontent-%COMP%]   .nx-subprogress__counter[_ngcontent-%COMP%]{max-width:24px;background-color:transparent;border-width:2px;border-style:solid;border-color:var(--progress-stepper-dot-disabled-background-color);color:var(--progress-stepper-dot-disabled-background-color)}.nx-subprogress__item--inactive[_ngcontent-%COMP%]   .nx-subprogress__label[_ngcontent-%COMP%]{color:var(--progress-stepper-step-disabled-color)}.nx-subprogress__label[_ngcontent-%COMP%]{flex:1 1 auto;white-space:nowrap;text-overflow:ellipsis;color:var(--progress-stepper-step-color);font-size:var(--progress-stepper-step-font-size);line-height:var(--progress-stepper-step-line-height);font-weight:var(--progress-stepper-step-font-weight);letter-spacing:var(--progress-stepper-step-letter-spacing)}.nx-subprogress__counter[_ngcontent-%COMP%]{flex:0 0 24px;display:flex;align-items:center;justify-content:center;background-color:var(--progress-stepper-dot-background-color);color:var(--progress-stepper-dot-color);width:24px;height:24px;text-align:center;border-radius:50%;margin-right:8px}[dir=rtl][_nghost-%COMP%]   .nx-subprogress__counter[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-subprogress__counter[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}@media screen and (forced-colors: active){.nx-subprogress__counter[_ngcontent-%COMP%]{forced-colors-adjust:none;background-color:transparent;color:CanvasText;border:1px solid CanvasText;border-radius:50%}.nx-subprogress__item--inactive[_ngcontent-%COMP%]{color:GrayText}.nx-subprogress__item--inactive[_ngcontent-%COMP%]   .nx-subprogress__counter[_ngcontent-%COMP%]{color:GrayText;border:1px solid GrayText}}.nx-subprogress__number[_ngcontent-%COMP%]{font-size:var(--progress-stepper-dotnumber-font-size);line-height:var(--progress-stepper-dotnumber-line-height);
27font-weight:var(--progress-stepper-dotnumber-font-weight);letter-spacing:var(--progress-stepper-dotnumber-letter-spacing)}"],changeDetection:0});let i=e;return i})(),eae=(()=>{let e=class e extends Al{set rightLabel(n){this._rightLabel=n}get rightLabel(){return this._rightLabel}get progress(){return(this.selectedIndex+1)/this.count}get currentLabel(){let n=this.currentStep,r=n.stepLabel||n.label;return`
28    ${this.currentStepLabel} ${this.selectedIndex+1}/${this.count}: ${r}
29    `}get nextLabel(){let n=this.nextStep;if(n){let r=n.stepLabel||n.label;return`
30        ${this.rightLabel} ${r}
31      `}return null}constructor(n,r,o){super(n,r,o),this._rightLabel="Next step:",this.progressbarAriaLabel="Progress"}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-single-stepper"]],inputs:{rightLabel:[0,"nextLabel","rightLabel"],progressbarAriaLabel:"progressbarAriaLabel",progressbarAriaLabeledBy:"progressbarAriaLabeledBy"},features:[Mt([{provide:Al,useExisting:e},{provide:V2,useExisting:Al}]),tt],ngContentSelectors:GM,decls:13,vars:6,consts:[[1,"nx-single-step-container"],[1,"nx-progress-stepper__title"],[3,"value","ariaLabel","ariaLabelledBy"],[1,"nx-single-step__infos"],[1,"nx-single-step__current"],[1,"nx-single-step__next"],[1,"nx-progress-stepper__mobile-label"],["role","tabpanel",1,"nx-progress-stepper__content",3,"id"],[3,"ngTemplateOutlet"]],template:function(r,o){r&1&&(rt(UM),c(0,"div",0)(1,"span",1),ke(2),d(),S(3,"nx-progressbar",2),c(4,"div",3)(5,"div",4),m(6),d(),c(7,"div",5),m(8),d()(),c(9,"div",6),m(10),d()(),Ot(11,Xoe,2,4,"div",7,$n)),r&2&&(p(3),g("value",o.progress)("ariaLabel",o.progressbarAriaLabel)("ariaLabelledBy",o.progressbarAriaLabeledBy),p(3),K(" ",o.currentLabel," "),p(2),K(" ",o.nextLabel," "),p(2),K(" ",o.currentLabel," "),p(),Tt(o.steps))},dependencies:[a8,jM,Ji],styles:[aF,"[_nghost-%COMP%]{display:block}.nx-single-step__infos[_ngcontent-%COMP%]{display:flex;font-size:var(--single-stepper-step-font-size);line-height:var(--single-stepper-step-line-height);font-weight:var(--single-stepper-step-font-weight);letter-spacing:var(--single-stepper-step-letter-spacing);color:var(--single-stepper-step-color);margin-top:8px}nx-progressbar[_ngcontent-%COMP%]{margin-bottom:8px;display:block}@media (max-width: 703px){nx-progressbar[_ngcontent-%COMP%], .nx-single-step__infos[_ngcontent-%COMP%]{display:none}}.nx-single-step__next[_ngcontent-%COMP%]{margin-left:auto}[dir=rtl][_nghost-%COMP%]   .nx-single-step__next[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-single-step__next[_ngcontent-%COMP%]{margin-right:auto;margin-left:initial}@media (max-width: 703px){.nx-single-step__next[_ngcontent-%COMP%]{display:none}}"],changeDetection:0});let i=e;return i})(),$M=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,rF,xt,a8,Ud,Oa,Joe,eae,qM]});let i=e;return i})();var tae=[[["nx-label"]],"*",[["nx-error"]]],nae=["nx-label","*","nx-error"];function iae(i,e){i&1&&ke(0,2)}var rae=["radioLabelWrapper"],oae=["input"],aae=["*"];function sae(i,e){i&1&&S(0,"div",6)}var s8=class{constructor(e,t){this.source=e,this.value=t}},WM=0,F2=(()=>{let e=class e{set readonly(n){this._readonly=n,this._stateChanges.next()}get readonly(){return this._readonly}set id(n){this._id!==n&&(this._id=n,this._cdr.markForCheck())}get id(){return this._id}set disabled(n){this._disabled=Ue(n),this._stateChanges.next()}get disabled(){return this._disabled}set negative(n){this._negative=Ue(n),this._cdr.markForCheck()}get negative(){return this._negative}set required(n){this._required=Ue(n),this._stateChanges.next()}get required(){return this._required}set name(n){this._name=n,this._stateChanges.next()}get name(){return this._name}set value(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}get value(){return this._value}constructor(n,r,o,a,s){this._cdr=n,this.ngControl=r,this._parentForm=o,this._parentFormGroup=a,this._errorStateMatcher=s,this.errorState=!1,this._readonly=!1,this._stateChanges=new he,this._id=`nx-radio-group-${WM++}`,this._disabled=!1,this._negative=!1,this._required=!1,this.groupValueChange=new X,this._selected=null,this._name=`nx-radio-group-${WM++}`,this._value=null,this._onChange=()=>{},this._onTouched=()=>{},this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.ngControl&&this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton();let n=this.errorChildren.map(r=>r.id).join(" ");this._radios.forEach(r=>r.ariaDescribedBy=n)}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnDestroy(){this._stateChanges.complete()}writeValue(n){this.value=n}registerOnChange(n){this._onChange=n}registerOnTouched(n){this._onTouched=n}change(n){this.value=n,this._onChange(n),this.groupValueChange.emit(new s8(this._selected,this._value))}touch(){this._onTouched&&this._onTouched()}setDisabledState(n){this.disabled=n}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}_updateSelectedRadioFromValue(){let n=this._selected!=null&&this._selected.value===this._value;this._radios!=null&&!n&&(this._selected=null,this._radios.forEach(r=>{r.checked=this.value===r.value,r.checked&&(this._selected=r)}))}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}updateErrorState(){let n=this.errorState,r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(
31o,r);a!==n&&(this.errorState=a,this._cdr.markForCheck())}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ci,10),D(tr,8),D(st,8),D(ur))},e.\u0275cmp=z({type:e,selectors:[["nx-radio-group"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,L6,5),Ft(a,jt,4),Ft(a,R2,5)),r&2){let s;te(s=ne())&&(o._label=s.first),te(s=ne())&&(o.errorChildren=s),te(s=ne())&&(o._radios=s)}},hostAttrs:["role","radiogroup"],hostVars:7,hostBindings:function(r,o){r&2&&(ye("id",o.id)("required",o.required)("aria-labelledby",(o._label==null?null:o._label.id)||null)("aria-nx-radio-group",o.ariaDescribedBy)("data-nx-disabled",o.disabled||null),Fe("nx-radio-group--negative",o.negative))},inputs:{readonly:[2,"readonly","readonly",$t],id:"id",disabled:"disabled",negative:"negative",required:"required",name:"name",value:"value"},outputs:{groupValueChange:"groupValueChange"},features:[Mt([{provide:Wr,useExisting:Wt(()=>e)}])],ngContentSelectors:nae,decls:3,vars:1,template:function(r,o){r&1&&(rt(tae),ke(0),ke(1,1),re(2,iae,1,0)),r&2&&(p(2),oe(o.errorState?2:-1))},styles:["[_nghost-%COMP%]     nx-error{margin-bottom:8px}[_nghost-%COMP%]     nx-label{margin-bottom:16px;display:block}"],changeDetection:0});let i=e;return i})(),R2=(()=>{let e=class e{set readonly(n){this._readonly=n}get readonly(){return this.radioGroup?.readonly||this._readonly}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}set id(n){this._id!==n&&(this._id=n,this._cdr.markForCheck())}get id(){return this._id}get inputId(){return`${this.id}-input`}get labelId(){return`${this.id}-label`}set name(n){this._name!==n&&(this._name=n,this._cdr.markForCheck())}get name(){return this.radioGroup?.name||this._name}set labelSize(n){this._labelSize!==n&&(this._labelSize=n,this._cdr.markForCheck())}get labelSize(){return this._labelSize}set negative(n){let r=Ue(n);this._negative!==r&&(this._negative=r,this._cdr.markForCheck())}get negative(){return this.radioGroup?this.radioGroup.negative:this._negative}get labelHasContent(){return!!this._radioLabelWrapper.nativeElement.innerHTML.trim()}set value(n){n!==this._value&&(this._value=n,this.onChangeCallback(n))}get value(){return this._value}set checked(n){this._checked!==n&&(this._checked=n,this._cdr.markForCheck())}get checked(){return this._checked}set disabled(n){this._disabled=Ue(n),this._cdr.markForCheck()}get disabled(){return this._disabled||!!this.radioGroup?.disabled}set required(n){this._required=n,this._cdr.markForCheck()}get required(){return this._required||!!this.radioGroup?.required}constructor(n,r,o,a){this.radioGroup=n,this._cdr=r,this._focusMonitor=o,this._checkedDispatcher=a,this.ariaLabel=null,this.ariaLabelledBy=null,this.ariaDescribedBy=null,this._readonly=!1,this._id=`nx-radio-${WM++}-${A0()}`,this._name=null,this._labelSize="big",this._negative=!1,this.valueChange=new X,this._value=null,this._checked=!1,this._disabled=!1,this._required=!1,this._destroyed=new he,this._removeUniqueSelectionListener=()=>{},this.onChangeCallback=()=>{},this.onTouchedCallback=()=>{}}ngOnInit(){this.attachListenerForName(),this.radioGroup&&(this.name=this.radioGroup.name,this.radioGroup._stateChanges.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()}),this.radioGroup.value===this._value&&(this._checked=!0))}ngAfterViewInit(){this._focusMonitor.monitor(this._nativeInput)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._nativeInput),this._removeUniqueSelectionListener()}attachListenerForName(){this._removeUniqueSelectionListener=this._checkedDispatcher.listen((n,r)=>{this.id!==r&&n===this.name&&(this.checked=!1)})}labelContentChanged(){this._cdr.detectChanges()}writeValue(n){n===this._value&&(this._checked=!0,this._cdr.markForCheck())}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}focus(n){this._focusMonitor.focusVia(this._nativeInput,n)}_forwardFocusToInput(){this._nativeInput.nativeElement.focus()}touch(n){n.relatedTarget?.parentElement?.parentElement?.id!==this.radioGroup?.id&&this.radioGroup&&this.radioGroup.touch()}_onInputChange(n){n.stopPropagation(),this._checked=!0,this.valueChange.emit(new s8(this,this._value)),this.onChangeCallback(this.value),this._checkedDispatcher.notify(this.name,this.id),this.radioGroup&&this.value!==this.radioGroup.value&&this.radioGroup.change(this.value)}_onInputClick(n){this.readonly&&n.preventDefault(),n.stopPropagation()}_controlInvalid(){let n=this.radioGroup&&(this.radioGroup._parentFormGroup||this.radioGroup._parentForm),r=this.radioGroup?.ngControl?this.radioGroup.ngControl.control:null;return this.radioGroup?._errorStateMatcher?this.radioGroup._errorStateMatcher.isErrorState(r,n):!!(r?.invali
31d&&(r.touched||n?.submitted))}};e.\u0275fac=function(r){return new(r||e)(D(F2,8),D(Ye),D(Kt),D(Ic))},e.\u0275cmp=z({type:e,selectors:[["nx-radio"]],viewQuery:function(r,o){if(r&1&&(pe(rae,7),pe(oae,5)),r&2){let a;te(a=ne())&&(o._radioLabelWrapper=a.first),te(a=ne())&&(o._nativeInput=a.first)}},hostVars:12,hostBindings:function(r,o){r&1&&I("focus",function(){return o._forwardFocusToInput()}),r&2&&(ye("required",o.required)("aria-invalid",o._controlInvalid()||null),Fe("nx-radio-button--small-label",o.labelSize==="small")("nx-radio-button--big-label",o.labelSize==="big")("nx-radio--negative",o.negative)("has-error",o._controlInvalid()||null)("is-readonly",o.readonly||null))},inputs:{ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",readonly:[2,"readonly","readonly",$t],id:"id",name:"name",labelSize:"labelSize",negative:"negative",value:"value",checked:"checked",disabled:"disabled",required:"required"},outputs:{valueChange:"valueChange"},features:[Mt([{provide:Fi,useExisting:Wt(()=>e),multi:!0},{provide:Wr,useExisting:Wt(()=>e)}])],ngContentSelectors:aae,decls:9,vars:14,consts:[["input",""],["radioLabelWrapper",""],["type","radio",1,"nx-radio__input",3,"blur","change","click","id","disabled","checked"],["tabindex","-1",1,"nx-radio__label",3,"id"],[1,"nx-radio__circle-wrapper"],[1,"nx-radio__circle"],[1,"nx-radio__dot"],[1,"nx-radio__label--text",3,"cdkObserveContent"]],template:function(r,o){if(r&1){let a=Y();rt(),c(0,"input",2,0),I("blur",function(l){return O(a),T(o.touch(l))})("change",function(l){return O(a),T(o._onInputChange(l))})("click",function(l){return O(a),T(o._onInputClick(l))}),d(),c(2,"label",3)(3,"div",4)(4,"div",5),re(5,sae,1,0,"div",6),d()(),c(6,"span",7,1),I("cdkObserveContent",function(){return O(a),T(o.labelContentChanged())}),ke(8),d()()}r&2&&(g("id",o.inputId)("disabled",o.disabled)("checked",o.checked),ye("name",o.name)("aria-describedby",o.ariaDescribedBy)("aria-labelledby",o.ariaLabelledBy)("aria-label",o.ariaLabel)("aria-invalid",o._controlInvalid()||null)("aria-disabled",o.disabled||o.readonly||null),p(2),Fe("has-label",o.labelHasContent),g("id",o.labelId),ye("for",o.inputId),p(3),oe(o.checked?5:-1))},dependencies:[Rd],styles:["[_nghost-%COMP%]{display:block;position:relative}.nx-radio__input[_ngcontent-%COMP%]{opacity:0;position:absolute}.nx-radio-button--small-label[_nghost-%COMP%]   .nx-radio__label[_ngcontent-%COMP%]{font-size:var(--radio-button-small-label-font-size);line-height:var(--radio-button-small-label-line-height);font-weight:var(--radio-button-small-label-font-weight);letter-spacing:var(--radio-button-small-label-letter-spacing)}.nx-radio-button--small-label[_nghost-%COMP%]   .nx-radio__label--text[_ngcontent-%COMP%]:not(:empty){margin-left:var(--radio-button-small-label-margin-left)}[dir=rtl]   .nx-radio-button--small-label[_nghost-%COMP%]   .nx-radio__label--text[_ngcontent-%COMP%]:not(:empty){margin-right:var(--radio-button-small-label-margin-left);margin-left:initial}.nx-radio-button--big-label[_nghost-%COMP%]   .nx-radio__label[_ngcontent-%COMP%]{font-size:var(--radio-button-large-label-font-size);line-height:var(--radio-button-large-label-line-height);font-weight:var(--radio-button-large-label-font-weight);letter-spacing:var(--radio-button-large-label-letter-spacing)}.nx-radio-button--big-label[_nghost-%COMP%]   .nx-radio__label.has-label[_ngcontent-%COMP%]   .nx-radio__circle-wrapper[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:var(--radio-button-large-label-line-height)}.nx-radio-button--big-label[_nghost-%COMP%]   .nx-radio__label--text[_ngcontent-%COMP%]:not(:empty){margin-left:var(--radio-button-large-label-margin-left)}[dir=rtl]   .nx-radio-button--big-label[_nghost-%COMP%]   .nx-radio__label--text[_ngcontent-%COMP%]:not(:empty){margin-right:var(--radio-button-large-label-margin-left);margin-left:initial}.nx-radio--negative[_nghost-%COMP%]   .nx-radio__label--text[_ngcontent-%COMP%]{color:var(--negative)}.nx-radio--negative[_nghost-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--negative)}.nx-radio--negative[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ng
31content-%COMP%]{border-color:var(--negative);background-color:transparent}.nx-radio--negative[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{background:var(--negative)}.nx-radio--negative[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:disabled + .nx-radio__label[_ngcontent-%COMP%]{opacity:.4}.nx-radio__label[_ngcontent-%COMP%]{color:var(--radio-button-label-color);cursor:pointer;display:inline-flex;position:relative;vertical-align:middle}.nx-radio__circle[_ngcontent-%COMP%]{border-width:var(--radio-button-border-width);border-style:solid;border-color:var(--radio-button-circle-color);background-color:var(--radio-button-background-color);border-radius:var(--radio-button-border-radius);width:var(--radio-button-circle-size);min-width:var(--radio-button-circle-size);height:var(--radio-button-circle-size);position:relative;display:flex;justify-content:center;align-items:center;transition:all .2s ease}.nx-radio__dot[_ngcontent-%COMP%]{width:var(--radio-button-dot-size);height:var(--radio-button-dot-size);background-color:var(--radio-button-dot-background-color);border-radius:var(--radio-button-border-radius);transition:background-color .2s ease}.nx-radio__input[_ngcontent-%COMP%]:not(:checked) + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{display:none}.nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-selected-circle-color);background-color:var(--radio-button-selected-background-color)}.nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{background-color:var(--radio-button-selected-dot-color)}.nx-radio__input[_ngcontent-%COMP%]:disabled + .nx-radio__label[_ngcontent-%COMP%]{cursor:not-allowed;color:var(--radio-button-disabled-text-color)}.nx-radio__input[_ngcontent-%COMP%]:disabled + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-disabled-border-color);background-color:var(--radio-button-disabled-background-color)}.nx-radio__input[_ngcontent-%COMP%]:checked:disabled + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-disabled-selected-background-color);background-color:var(--radio-button-disabled-selected-background-color)}.nx-radio__input[_ngcontent-%COMP%]:checked:disabled + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{background-color:var(--radio-button-disabled-selected-dot-color)}.is-readonly[_nghost-%COMP%]   .nx-radio__label[_ngcontent-%COMP%]:hover{cursor:not-allowed}.is-readonly[_nghost-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{background-color:var(--radio-button-readonly-background-color);border-color:var(--radio-button-readonly-border-color)}.is-readonly[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{background-color:var(--radio-button-readonly-selected-background-color);border-color:var(--radio-button-readonly-selected-background-color)}.is-readonly[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{background-color:var(--radio-button-readonly-selected-dot-color)}.nx-radio__input.cdk-keyboard-focused[_ngcontent-%COMP%] + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-radio__input.cdk-keyboard-focused[_ngcontent-%COMP%] + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}[_nghost-%COMP%]:not(.nx-radio--negative):not(.has-error):not(.is-readonly)   .nx-radio__input[_ngcontent-%COMP%]:not(:disabled) + .nx-radio__label[_ngcontent-%COMP%]:hover   .nx-radio__circle[_ng
31content-%COMP%]{border-color:var(--radio-button-hover-circle-color);background-color:var(--radio-button-hover-unselected-background-color)}[_nghost-%COMP%]:not(.nx-radio--negative):not(.has-error):not(.is-readonly)   .nx-radio__input[_ngcontent-%COMP%]:not(:disabled):checked + .nx-radio__label[_ngcontent-%COMP%]:hover   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-hover-selected-circle-color);background-color:var(--radio-button-hover-selected-circle-color)}[_nghost-%COMP%]:not(.nx-radio--negative):not(.has-error):not(.is-readonly)   .nx-radio__input[_ngcontent-%COMP%]:not(:disabled):checked + .nx-radio__label[_ngcontent-%COMP%]:hover   .nx-radio__dot[_ngcontent-%COMP%]{background-color:var(--radio-button-hover-dot-color)}[_nghost-%COMP%]:not(.nx-radio--negative):not(.has-error):not(.is-readonly)   .nx-radio__input[_ngcontent-%COMP%]:not(:disabled) + .nx-radio__label[_ngcontent-%COMP%]:active   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-active-circle-color);background-color:var(--radio-button-active-unselected-background-color)}[_nghost-%COMP%]:not(.nx-radio--negative):not(.has-error):not(.is-readonly)   .nx-radio__input[_ngcontent-%COMP%]:not(:disabled):checked + .nx-radio__label[_ngcontent-%COMP%]:active   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-active-selected-circle-color);background-color:var(--radio-button-active-selected-circle-color)}[_nghost-%COMP%]:not(.nx-radio--negative):not(.has-error):not(.is-readonly)   .nx-radio__input[_ngcontent-%COMP%]:not(:disabled):checked + .nx-radio__label[_ngcontent-%COMP%]:active   .nx-radio__dot[_ngcontent-%COMP%]{background-color:var(--radio-button-hover-dot-color)}.has-error[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%] + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--danger)}.has-error[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{background-color:var(--danger)}.has-error[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%] + .nx-radio__label[_ngcontent-%COMP%]:hover   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-error-hover-circle-color);background-color:var(--radio-button-hover-unselected-background-color)}.has-error[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%] + .nx-radio__label[_ngcontent-%COMP%]:active   .nx-radio__circle[_ngcontent-%COMP%]{border-color:var(--radio-button-error-active-circle-color);background-color:var(--radio-button-active-unselected-background-color)}.has-error[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]:hover   .nx-radio__circle[_ngcontent-%COMP%]{background-color:var(--radio-button-error-hover-circle-color);border-color:var(--radio-button-error-hover-circle-color)}.has-error[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]:active   .nx-radio__circle[_ngcontent-%COMP%]{background-color:var(--radio-button-error-active-circle-color);border-color:var(--radio-button-error-active-circle-color)}@media screen and (forced-colors: active){[_nghost-%COMP%]   .nx-radio__label[_ngcontent-%COMP%]{color:buttonText!important}[_nghost-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{forced-color-adjust:none;border-color:buttonText!important;background-color:buttonFace!important}[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:highlight!important}[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{background-color:highlight!important}[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:disabled + .nx-radio__label[_ngcontent-%COMP%]{color:GrayText!important;opacity:1}[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:disabled + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__circle[_ngcontent-%COMP%]{border-color:GrayText!important}[_nghost-%COMP%]   .nx-radio__input[_ngcontent-%COMP%]:checked:disabled + .nx-radio__label[_ngcontent-%COMP%]   .nx-radio__dot[_ngcontent-%COMP%]{background-color:GrayText!important}}"],changeDetection:0});let i=e;return i})(),$0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Dl,Gc,Ud]});let i=e;return i})();var lae=["toggleButtonLabelContainer"],cae=["toggleInput"],dae=["*",[["nx-error"]]],uae=["*","
31nx-error"],l8=i=>({"disable-mobile":i});function pae(i,e){i&1&&(c(0,"div",1),ke(1,1),d())}var fae=["*"],mae=0,QM=(()=>{let e=class e{constructor(n){this.renderer=n,this.toggleButtonId="nx-radio-toggle-button-"+mae++}triggerInputClick(n){n.stopPropagation(),this.toggleInput.nativeElement.click()}setFirstButton(){this.renderer.addClass(this.labelContainer.nativeElement,"nx-radio-toggle__label-container--first")}setLastButton(){this.renderer.addClass(this.labelContainer.nativeElement,"nx-radio-toggle__label-container--last")}resetClasses(){H6(this.renderer,this.labelContainer,"nx-radio-toggle__label-container--first nx-radio-toggle__label-container--last")}};e.\u0275fac=function(r){return new(r||e)(D(Ai))},e.\u0275dir=Ie({type:e,viewQuery:function(r,o){if(r&1&&(pe(lae,7),pe(cae,7)),r&2){let a;te(a=ne())&&(o.labelContainer=a.first),te(a=ne())&&(o.toggleInput=a.first)}},inputs:{value:"value"}});let i=e;return i})(),hae=0,gae={negative:"nx-radio-toggle--negative",small:"nx-radio-toggle--small"},_ae=[null,void 0,""],Ta=(()=>{let e=class e{set disabled(n){let r=Ue(n);this._disabled!==r&&(this._disabled=r,this._disableChange.next())}get disabled(){return this._disabled}set readonly(n){let r=Ue(n);this._readonly!==r&&(this._readonly=r,this._disableChange.next())}get readonly(){return this._readonly}set name(n){this._ariaLabel!==n&&(this._ariaLabel=n,this._cdr.markForCheck())}get name(){return this._ariaLabel||""}set ariaLabel(n){this._ariaLabel=n,this._cdr.markForCheck()}get ariaLabel(){return this._ariaLabel}set ariaLabelledBy(n){this._ariaLabelledBy=n,this._cdr.markForCheck()}get ariaLabelledBy(){return this._ariaLabelledBy}get id(){return`nx-radio-toggle-${this._toggleId}`}set style(n){this.additionalClasses=_n(n,[],gae)}get selection(){return this._selection}constructor(n,r,o,a,s){this._cdr=n,this.ngControl=r,this._errorStateMatcher=o,this._parentForm=a,this._parentFormGroup=s,this._toggleId=(hae++).toString(),this.disableMobile=!1,this.errorState=nn(!1),this._disableChange=new he,this.additionalClasses="",this._disabled=!1,this._readonly=!1,this._ariaLabel=null,this._ariaLabelledBy=null,this.errorMessageId=lr(()=>this.errorState()&&this.errorChild?this.errorChild.id:null),this.toggleButtons=new Ho,this._destroyed=new he,this.onTouchedCallback=()=>{},this.onChangeCallback=l=>{},this.ngControl&&(this.ngControl.valueAccessor=this)}ngAfterContentInit(){this.toggleButtons.changes.pipe(ei(this.toggleButtons),fr(n=>pr(...this.toggleButtons.map(r=>r.onChecked))),ze(this._destroyed)).subscribe(n=>{this._selection=n.value,this.change(this._selection)}),this.toggleButtons.changes.pipe(ei(this.toggleButtons),ze(this._destroyed)).subscribe(n=>{n.forEach(r=>{r.resetClasses(),r.value===this.selection&&setTimeout(()=>r.select())}),n.length>0&&(n.first.setFirstButton(),n.last.setLastButton())})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._disableChange.complete()}ngDoCheck(){this.ngControl&&this.updateErrorState()}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}writeValue(n){this._selection=n;let r=this.toggleButtons.find(o=>o.value===this._selection);if(r){r.select();return}_ae.includes(n)&&this.toggleButtons.map(o=>o.deselect())}setDisabledState(n){this.disabled=n}change(n){this.onChangeCallback(n),this.onTouchedCallback&&this.onTouchedCallback()}updateErrorState(){let n=this._parentFormGroup||this._parentForm,r=this.ngControl?this.ngControl.control:null,o=this._errorStateMatcher.isErrorState(r,n);this.errorState.set(o)}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ci,10),D(ur),D(tr,8),D(st,8))},e.\u0275cmp=z({type:e,selectors:[["nx-radio-toggle"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,jt,5),Ft(a,QM,4)),r&2){let s;te(s=ne())&&(o.errorChild=s.first),te(s=ne())&&(o.toggleButtons=s)}},inputs:{disableMobile:[2,"disableMobile","disableMobile",$t],disabled:"disabled",readonly:[2,"readonly","readonly",$t],name:"name",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",style:[0,"variant","style"],writeValue:[0,"selection","writeValue"]},features:[Mt([{provide:Wr,useExisting:Wt(()=>e)}])],ngContentSelectors:uae,decls:3,vars:10,consts:[["role","radiogroup",3,"ngClass"],[1,"error-container"]],template:function(r,o){r&1&&(rt(dae),c(0,"div",0),ke(1),d(),re(2,pae,2,0,"div",1)),r&2&&(Gi(z3("nx-radio-toggle ",o.additionalClasses)),g("ngClass",Lt(8,l8,o.disableMobile)),ye("aria-label",o.ariaLabel)("aria-labelledby",o.ariaLabelledBy)("aria-readonly",o.readonly),p(2),oe(o.errorState()?2:-1))},dependencies:[Un],styles:["[_nghost-%COMP%]{display:block}.nx-radio-toggle[_ngcontent-%COMP%]{display:flex;height:100%;gap:var(--toggle-gap);border:var(--toggle-button-border);width:var(--toggle-button-width);padding:var(--toggle-button-padding);border-radius:var(--toggle-button-border-radius)}.nx-radio-toggle.nx-radio-toggle--small[_ngcontent-%COMP%]{gap:var(--toggle-button-small-gap)}.nx-radio-toggle[_ngcontent-%COMP%]:has(.has-error){border-color:var(--danger)}@media (max-width: 703px){.nx-radio-toggle[_ngcontent-%COMP%]:not(.disable-mobile){flex-direction:column;text-align:center;width:100%;justify-content:center;align-items:center}}[disabled][_nghost-%COMP%]   .nx-radio-toggle[_ngcontent-%COMP%]:not(.nx-radio-toggle--negative){background-color:var(--toggle-button-disabled-background-color);border:var(--toggle-button-disabled-border)}[readonly][_nghost-%COMP%]   .nx-radio-toggle[_ngcontent-%COMP%]:not(.nx-radio-toggle--negative){background-color:var(--toggle-button-disabled-background-color);border:var(--toggle-button-readonly-border)}.error-container[_ngcontent-%COMP%]{margin-top:var(--radio-toggle-stack)}"],changeDetection:0});let i=e;return i})(),KM=class{constructor(e,t){this.source=e,this.value=t}},Ia=(()=>{let e=class e extends QM{set disabled(n){this._disabled=Ue(n),this._cdr.markForCheck()}get disabled(){return this._disabled||this.radioToggle?.disabled}set readonly(n){this._readonly=Ue(n),this._cdr.markForCheck()}get readonly(){return this._readonly||this.radioToggle?.readonly}set ariaLabel(n){this._ariaLabel=n}get ariaLabel(){return this._ariaLabel}set selected(n){this._selected!==n&&(this._selected=n,this._selected&&(this._notifySiblings(),this._emitCheckedEvent()),this._cdr.markForCheck())}get selected(){return this._selected}constructor(n,r,o,a,s){super(r),this.radioToggle=n,this._cdr=o,this._toggleDispatcher=a,this._focusMonitor=s,this.onChecked=new he,this.disableMobile=!1,this._disabled=!1,this._readonly=!1,this._ariaLabel=null,this.controlInvalid=lr(()=>this.radioToggle?.errorState()||null),this._selected=!1,this._destroyed=new he,this._removeUniqueSelectionListener=()=>{},this.errorMessageId=lr(()=>this.radioToggle?.errorMessageId()||null),this._removeUniqueSelectionListener=this._toggleDispatcher.listen((l,u)=>{this.radioToggle&&this.radioToggle.id===u&&this.id!==l&&(this._selected=!1,this._cdr.markForCheck())}),this.radioToggle._disableChange.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()})}ngAfterViewInit(){this._focusMonitor.monitor(this.toggleInput)}ngOnDestroy(){this._removeUniqueSelectionListener(),this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this.toggleInput)}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}get toggleId(){return this.radioToggle.id}get id(){return this.toggleButtonId}_notifySiblings(){let n=this.radioToggle?this.radioToggle.id:this.id;this._toggleDispatcher.notify(this.id,n)}_emitCheckedEvent(){this.onChecked.next(new KM(this,this.value))}select(){this._selected||(this._selected=!0,this._notifySiblings()),this._cdr.markForCheck()}deselect(){this._selected&&(this._selected=!1),this._cdr.markForCheck()}onKeyupSpace(){this._selected=!1,this._notifySiblings()}_forwardFocusToInput(){this.toggleInput.nativeElement.focus()}_onInputClick(n){if(this.readonly){n.preventDefault();return}this.selected=!0}};e.\u0275fac=function(r){return new(r||e)(D(Wt(()=>Ta)),D(Ai),D(Ye),D(Ic),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-radio-toggle-button"]],hostVars:4,hostBindings:function(r,o){r&1&&I("focus",function(){return o._forwardFocusToInput()})("keyup.space",function(){return o.onKeyupSpace()}),r&2&&Fe("has-error",o.controlInvalid())("is-readonly",o.readonly)},inputs:{disableMobile:[2,"disableMobile","disableMobile",$t],disabled:"disabled",readonly:[2,"readonly","readonly",$t],ariaLabel:"ariaLabel",selected:"selected"},features:[Mt([{provide:QM,useExisting:Wt(()=>e)},{provide:Wr,useExisting:Wt(()=>e)}]),tt],ngContentSelectors:fae,decls:7,vars:20,consts:[["toggleInput",""],["toggleButtonLabelContainer",""],["type","radio",1,"nx-radio-toggle__input",3,"click","checked","disabled","ngClass"],[1,"nx-radio-toggle__label-container",3,"click","ngClass"],[1,"nx-radio-toggle__label",3,"ngClass"],["name","check","aria-hidden","true",1,"nx-toggle-button__mobile-check"]],template:function(r,o){if(r&1){let a=Y();rt(),c(0,"input",2,0),I("click",function(l){return O(a),T(o._onInputClick(l))}),d(),c(2,"div",3,1),I("click",function(l){return O(a),T(o.triggerInputClick(l))}),c(4,"label",4),S(5,"nx-icon",5),ke(6),d()()}r&2&&(Fe("is-readonly",o.readonly),g("checked",o.selected)("disabled",o.disabled)("ngClass",Lt(14,l8,o.disableMobile)),ye("id",o.toggleButtonId)("name",o.toggleId)("aria-label",o.ariaLabel)("aria-disabled",o.readonly||null)("aria-describedby",o.errorMessageId())("aria-invalid",o.controlInvalid()),p(2),g("ngClass",Lt(16,l8,o.disableMobile)),p(2),g("ngClass",Lt(18,l8,o.disableMobile)),ye("for",o.toggleButtonId))},dependencies:[xt,nt,Un],styles:["[_nghost-%COMP%]{display:flex;position:relative;flex-direction:row}@media (max-width: 703px){[_nghost-%COMP%]{width:100%}}.has-error[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{border-color:var(--danger);background-color:var(--danger)}.has-error[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover{border-color:var(--toggle-button-error-selected-hover);background-color:var(--toggle-button-error-selected-hover)}.has-error[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]:active{border-color:var(--toggle-button-error-selected-active);background-color:var(--toggle-button-error-selected-active)}
31.has-error[_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]{border-color:var(--danger);color:var(--danger)}.nx-radio-toggle__input[_ngcontent-%COMP%]{opacity:0;position:absolute}.nx-radio-toggle__input[_ngcontent-%COMP%]:active + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--toggle-button-active-background-color);border-color:var(--toggle-button-active-border-color);color:var(--toggle-button-active-text-color)}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked:disabled + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--toggle-button-disabled-selected-background-color);border-color:var(--toggle-button-disabled-selected-border-color);color:var(--toggle-button-disabled-selected-text-color)}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked:not(:disabled) + .nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover{background-color:var(--toggle-button-hover-checked-background-color);border-color:var(--toggle-button-hover-checked-border-color);color:var(--toggle-button-hover-checked-text-color)}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked:not(:disabled) + .nx-radio-toggle__label-container[_ngcontent-%COMP%]:active{background-color:var(--toggle-button-active-checked-background-color);border-color:var(--toggle-button-active-checked-border-color);color:var(--toggle-button-active-checked-text-color)}.nx-radio-toggle__input[_ngcontent-%COMP%]:disabled + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--toggle-button-disabled-background-color);border-color:var(--toggle-button-disabled-border-color);color:var(--toggle-button-disabled-text-color);cursor:not-allowed}.nx-radio-toggle__input[_ngcontent-%COMP%]:disabled + .nx-radio-toggle__label-container[_ngcontent-%COMP%]   .nx-radio-toggle__label[_ngcontent-%COMP%]{cursor:not-allowed}.nx-radio-toggle__input.is-readonly[_ngcontent-%COMP%] + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--toggle-button-readonly-unselected-background-color);border-color:var(--toggle-button-readonly-unselected-border-color);color:var(--toggle-button-readonly-unselected-text-color)}.nx-radio-toggle__input.is-readonly[_ngcontent-%COMP%] + .nx-radio-toggle__label-container[_ngcontent-%COMP%]   .nx-radio-toggle__label[_ngcontent-%COMP%]:hover{cursor:not-allowed}.nx-radio-toggle__input.is-readonly[_ngcontent-%COMP%] + .nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover{cursor:not-allowed}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked.is-readonly + .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle__input[_ngcontent-%COMP%]:checked.is-readonly + .nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover{background-color:var(--toggle-button-readonly-selected-background-color);border-color:var(--toggle-button-readonly-selected-border-color);color:var(--toggle-button-readonly-selected-text-color)}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--toggle-button-selected-background-color);border-color:var(--toggle-button-selected-border-color);color:var(--toggle-button-selected-text-color);cursor:default}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]   .nx-radio-toggle__label[_ngcontent-%COMP%]{cursor:default}.nx-toggle-button__mobile-check[_ngcontent-%COMP%]{display:none;font-size:24px;margin-right:8px;height:24px}[dir=rtl][_nghost-%COMP%]   .nx-toggle-button__mobile-check[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-toggle-button__mobile-check[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}.nx-radio-toggle--small[_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--small   [_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]{font-size:var(--toggle-button-small-font-size);line-height:var(--toggle-button-small-line-height);font-weight:var(--toggle-button-small-font-weight);letter-spacing:var(--toggle-button-small-letter-spacing);min-height:var(--toggle-button-small-min-height);padding:var(--toggle-button-small-padding);text-transform:none;border-radius:var(--toggle-button-small-border-radius)}.nx-radio-toggle--small[_nghost-%COMP%]   .nx-radio-toggle__label-container--first[_ngcontent-%COMP%], .nx-radio-toggle--small   [_nghost-%COMP%]   .nx-radio-toggle__label-container--first[_ngcontent-%COMP%]{border-radius:var(--toggle-button-small-rounded-border-on-the-left-radius)}.nx-radio-toggle--small[_nghost-%COMP%]   .nx-radio-toggle__label-container--last[_ngcontent-%COMP%], .nx-radio-toggle--small   [_nghost-%COMP%]   .nx-radio-toggle__label-container--last[_ngcontent-%COMP%]{border-radius:var(--toggle-button-small-rounded-border-on-the-right-radius)}.nx-radio-toggle--small[_nghost-%COMP%]   .nx-radio-toggle__label-container--last.nx-radio-toggle__label-container--first[_ngcontent-%COMP%], .nx-radio-toggle--small   [_nghost-%COMP%]   .nx-radio-toggle__label-container--last.nx-radio-toggle__label-container--first[_ngcontent-%COMP%]{border-radius:var(--toggle-radio-radius)}.nx-radio-toggle[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:pointer}@media (max-width: 703px){  .nx-radio-toggle:not(.disable-mobile) .nx-radio-toggle__label-container{border-width:1px 2px;padding:11px 31px}  .nx-radio-toggle:not(.disable-mobile) .nx-radio-toggle__label-container.nx-radio-toggle__label-container{border-radius:var(--toggle-button-rounded-mobile)}  .nx-radio-toggle:not(.disable-mobile) .nx-radio-toggle__label-container.nx-radio-toggle__label-container--first{border-width:2px;border-bottom-width:1px;border-radius:var(--toggle-button-rounded-on-the-top)}  .nx-radio-toggle:not(.disable-mobile) .nx-radio-toggle__label-container.nx-radio-toggle__label-container--last{border-width:2px;border-top-width:1px;border-radius:var(--toggle-button-rounded-on-the-bottom)}  .nx-radio-toggle:not(.disable-mobile) .nx-radio-toggle__label-container.nx-radio-toggle__label-container--last.nx-radio-toggle__label-container--first{border-radius:4px;border-width:2px}}@media (max-width: 703px){  .nx-radio-toggle:not(.disable-mobile) .nx-radio-toggle__input:checked+.nx-radio-toggle__label-container .nx-toggle-button__mobile-check{display:inline-block}}.nx-radio-toggle__label-container.nx-radio-toggle__label-container--first[_ngcontent-%COMP%]{border-radius:var(--toggle-radio-button-rounded-on-the-left);border-width:var(--toggle-border-without-right)}[dir=rtl][_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--first[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--first[_ngcontent-%COMP%]{border-radius:var(--toggle-radio-button-rounded-on-the-right);border-width:var(--toggle-border-without-left)}@media (max-width: 703px){[dir=rtl][_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--first[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--first[_ngcontent-%COMP%]{border-width:var(--toggle-border-width);border-bottom-width:1px;border-radius:4px 4px 0 0}}.nx-radio-toggle__label-container.nx-radio-toggle__label-container--last[_ngcontent-%COMP%]{border-radius:var(--toggle-radio-button-rounded-on-the-right);border-width:var(--toggle-border-width)}[dir=rtl][_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--last[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--last[_ngcontent-%COMP%]{border-radius:var(--toggle-radio-button-rounded-on-the-left);border-width:var(--toggle-border-width)}@media (max-width: 703px){[dir=rtl][_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--last[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-radio-toggle__label-container.nx-radio-toggle__label-container--last[_ngcontent-%COMP%]{border-width:var(--toggle-border-width);border-top-width:1px;border-radius:0 0 4px 4px}}.nx-radio-toggle__label-container[_ngcontent-%COMP%]{font-size:var(--toggle-button-large-font-size);line-height:var(--toggle-button-large-line-height);
31font-weight:var(--toggle-button-large-font-weight);letter-spacing:var(--toggle-button-large-letter-spacing);padding:var(--toggle-button-vertical-padding) var(--toggle-button-horizontal-padding);color:var(--toggle-button-unselected-text-color);background-color:var(--toggle-button-unselected-background-color);border-color:var(--toggle-button-unselected-border-color);border-style:var(--toggle-button-style);border-radius:var(--toggle-radio-button-radius);border-width:var(--toggle-border-without-right);cursor:pointer;flex-grow:1;text-align:center;text-transform:var(--button-text-transform);transition:background-color .2s ease,border-color .2s ease,color .2s ease;display:flex;align-items:center;height:100%;min-height:24px}@media (max-width: 703px){.nx-radio-toggle__label-container[_ngcontent-%COMP%]{justify-content:center}}[dir=rtl][_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]{border-width:2px 2px 2px 0}@media (max-width: 703px){[dir=rtl][_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]{border-width:1px 2px}}.nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover{background-color:var(--toggle-button-hover-background-color);border-color:var(--toggle-button-hover-border-color);color:var(--toggle-button-hover-text-color)}.nx-radio-toggle__label-container[_ngcontent-%COMP%]:active{background-color:var(--toggle-button-active-background-color);border-color:var(--toggle-button-active-border-color);color:var(--toggle-button-active-text-color)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:focus + .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:focus + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--negative-01);border-color:var(--negative-01);color:var(--negative-accent)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:active + .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:active + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--negative-02);border-color:var(--negative-02);color:var(--negative-accent)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:disabled:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:disabled:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--negative-dimmed);border-color:transparent;color:var(--negative-background-dimmed)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:disabled + .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:disabled + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:transparent;border-color:var(--negative-dimmed);color:var(--negative-dimmed)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:var(--negative);border-color:var(--negative);color:var(--negative-accent)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%], .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:transparent;border-color:var(--negative);color:var(--negative)}.nx-radio-toggle--negative[_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover, .nx-radio-toggle--negative   [_nghost-%COMP%]   .nx-radio-toggle__label-container[_ngcontent-%COMP%]:hover{background-color:var(--negative-01);border-color:var(--negative-01);color:var(--negative-accent)}
31.nx-radio-toggle__label[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer}.nx-radio-toggle__input.cdk-keyboard-focused[_ngcontent-%COMP%] + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow);z-index:1}@media screen and (forced-colors: active),(forced-colors: active){.nx-radio-toggle__input.cdk-keyboard-focused[_ngcontent-%COMP%] + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){[_nghost-%COMP%]{forced-color-adjust:none}.nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:buttonFace!important;border-color:buttonText!important;color:buttonText!important}.nx-radio-toggle__label-container[_ngcontent-%COMP%]   .nx-radio-toggle__label[_ngcontent-%COMP%]{forced-colors-adjust:none}.nx-radio-toggle__input[_ngcontent-%COMP%]:disabled + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:buttonFace!important;border-color:GrayText!important;color:GrayText!important}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]{background-color:highlight!important;border-color:buttonText!important}.nx-radio-toggle__input[_ngcontent-%COMP%]:checked + .nx-radio-toggle__label-container[_ngcontent-%COMP%]   .nx-radio-toggle__label[_ngcontent-%COMP%]{color:highlightText!important}}"],changeDetection:0});let i=e;return i})(),W0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,$o,xt,Ia]});let i=e;return i})();var vae="small",xae="assertive",bae=1e3,sF=(()=>{let e=class e{set size(n){n!==this._size&&(this._size=n,this._cdr.markForCheck())}get size(){return this._size}set negative(n){n!==this._negative&&(this._negative=Ue(n),this._cdr.markForCheck())}get negative(){return this._negative}set activationAnnouncement(n){this._activationAnnouncement=n}get activationAnnouncement(){return this._activationAnnouncement}set completionAnnouncement(n){this._completionAnnouncement=n}get completionAnnouncement(){return this._completionAnnouncement}constructor(n,r){this._cdr=n,this.liveAnnouncer=r,this._size=vae,this._negative=!1,this._activationAnnouncement="",this._completionAnnouncement="",this.ariaPoliteness=xae}ngOnInit(){this.announce(this.activationAnnouncement)}ngOnDestroy(){this.announce(this.completionAnnouncement)}async announce(n){n.length>0&&await this.liveAnnouncer.announce(n,this.ariaPoliteness,bae)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Ja))},e.\u0275cmp=z({type:e,selectors:[["nx-spinner"]],hostVars:11,hostBindings:function(r,o){r&2&&(ye("role","status")("aria-live",o.ariaPoliteness)("aria-hidden","true"),Fe("nx-spinner--small",o.size==="small")("nx-spinner--medium",o.size==="medium")("nx-spinner--large",o.size==="large")("nx-spinner--negative",o.negative))},inputs:{size:"size",negative:"negative",activationAnnouncement:"activationAnnouncement",completionAnnouncement:"completionAnnouncement",ariaPoliteness:"ariaPoliteness"},decls:3,vars:0,consts:[[1,"nx-spinner__spin-block"],[1,"nx-spinner__edge-left"],[1,"nx-spinner__edge-right"]],template:function(r,o){r&1&&(at(0,"div",0),wn(1,"div",1)(2,"div",2),pt())},styles:["@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(45deg)}to{transform:rotate(405deg)}}[_nghost-%COMP%]{position:relative;display:block}.nx-spinner--small[_nghost-%COMP%]{width:16px;height:16px}.nx-spinner--medium[_nghost-%COMP%]{width:24px;height:24px}.nx-spinner--large[_nghost-%COMP%]{width:40px;height:40px}.nx-spinner__spin-block[_ngcontent-%COMP%]{width:100%;height:100%;transform:rotate(45deg);border-style:solid;border-radius:50%;border-color:var(--spinner-indicator-color) var(--spinner-background-color) var(--spinner-background-color) var(--spinner-background-color);animation-name:_ngcontent-%COMP%_spin;animation-duration:.8s;animation-iteration-count:infinite;animation-timing-function:linear}.nx-spinner--small[_nghost-%COMP%]   .nx-spinner__spin-block[_ngcontent-%COMP%]{border-width:1.6px}.nx-spinner--medium[_nghost-%COMP%]   .nx-spinner__spin-block[_ngcontent-%COMP%]{border-width:2.4px}.nx-spinner--large[_nghost-%COMP%]   .nx-spinner__spin-block[_ngcontent-%COMP%]{border-width:4px}.nx-spinner__edge-left[_ngcontent-%COMP%], .nx-spinner__edge-right[_ngcontent-%COMP%]{width:12%;height:12%;border-radius:50%;background-color:var(--spinner-indicator-color);position:absolute;top:4%}.nx-spinner--small[_nghost-%COMP%]   .nx-spinner__edge-left[_ngcontent-%COMP%], .nx-spinner--small[_nghost-%COMP%]   .nx-spinner__edge-right[_ngcontent-%COMP%]{width:10%;height:10%}.nx-spinner__edge-left[_ngcontent-%COMP%]{left:4%}.nx-spinner__edge-right[_ngcontent-%COMP%]{right:4%}.nx-spinner--negative[_nghost-%COMP%]   .nx-spinner__spin-block[_ngcontent-%COMP%]{border-color:var(--spinner-negative-indicator-color) var(--spinner-negative-background-color) var(--spinner-negative-background-color) var(--spinner-negative-background-color)}.nx-spinner--negative[_nghost-%COMP%]   .nx-spinner__edge-left[_ngcontent-%COMP%], .nx-spinner--negative[_nghost-%COMP%]   .nx-spinner__edge-right[_ngcontent-%COMP%]{background-color:var(--spinner-negative-indicator-color)}@media screen and (forced-colors: active){[_nghost-%COMP%]   .nx-spinner__spin-block[_ngcontent-%COMP%], .nx-spinner--negative[_nghost-%COMP%]   .nx-spinner__spin-block[_ngcontent-%COMP%]{border-color:Canvas highlight highlight highlight}}"],changeDetection:0});let i=e;return i})(),XM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e]});let i=e;return i})();var yae=["switcherLabelWrapper"],Mae=["input"],wae=["*",[["nx-error"]]],Sae=["*","
31nx-error"];function Pae(i,e){i&1&&(c(0,"div",8),ke(1,1),d())}var Eae=0,Dae=(()=>{let e=class e{set ariaDescribedBy(n){this._ariaDescribedBy=n,this._syncDescribedByIds(),this._cdr.markForCheck()}get ariaDescribedBy(){return this._ariaDescribedBy}set id(n){this._id=n,this._cdr.markForCheck()}get id(){return this._id}set labelPosition(n){this._labelPosition=n,this._cdr.markForCheck()}get labelPosition(){return this._labelPosition}set name(n){this._name=n,this._cdr.markForCheck()}get name(){return this._name}set checked(n){this._checked=n,this._cdr.markForCheck()}get checked(){return this._checked}set big(n){let r=Ue(n);this._big=r,this._cdr.markForCheck()}get big(){return this._big}set labelSize(n){this._labelSize=n,this._cdr.markForCheck()}get labelSize(){return this._labelSize}set negative(n){let r=Ue(n);this._negative=r,this._cdr.markForCheck()}get negative(){return this._negative}set disabled(n){let r=Ue(n);this._disabled=r,this._cdr.markForCheck()}get disabled(){return this._disabled}set required(n){this._required=n}get required(){return this._required??this.ngControl?.control?.hasValidator(ee.requiredTrue)??!1}constructor(n,r,o,a,s){this._cdr=n,this._errorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this._focusMonitor=s,this.errorState=!1,this.ariaLabel=null,this.ariaLabelledBy=null,this._ariaDescribedBy=null,this._id=`nx-switcher-${Eae++}-${A0()}`,this._labelPosition="right",this._name=null,this._checked=!1,this._big=!1,this._labelSize="large",this._negative=!1,this._disabled=!1,this.checkedChange=new X,this.onChangeCallback=l=>{},this.onTouchedCallback=()=>{},this._destroyed=new he,this.ngControl=null,this.injector=C(Nt),this.readonly=!1}validate(n){return this.required&&n.value!==!0?{required:!0}:null}ngOnInit(){this.ngControl=this.injector.get(ci,null)}ngAfterViewInit(){this._focusMonitor.monitor(this._nativeInput),this._errorChildren.changes.pipe(ei(null),rl(bs),ze(this._destroyed)).subscribe(()=>{this._syncDescribedByIds(),this._cdr.markForCheck()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._nativeInput),this._destroyed.next(),this._destroyed.complete()}toggle(n){if(n.stopPropagation(),this.disabled||this.readonly){n.preventDefault();return}this.checked=!this.checked,this.onChangeCallback(this.checked),this.checkedChange.emit(this.checked),this.onTouchedCallback&&this.onTouchedCallback()}writeValue(n){n===null&&(n=!1),n!==this.checked&&(this.checked=n)}registerOnChange(n){this.onChangeCallback=n}registerOnTouched(n){this.onTouchedCallback=n}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this._cdr.markForCheck())}setDisabledState(n){this.disabled=n}touch(){this.onTouchedCallback()}updateErrorState(){let n=this.errorState,r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(o,r);a!==n&&(this.errorState=a)}get labelHasContent(){return!!this._switcherLabelWrapper.nativeElement.innerHTML.trim()}labelContentChanged(){this._cdr.detectChanges()}_forwardFocusToInput(){this._nativeInput.nativeElement.focus()}_syncDescribedByIds(){let n=this._errorChildren||[];this._ariaDescribedBy=[...n.map(r=>r.id),this.ariaDescribedBy].join(" ")}setReadonly(n){this.readonly=n,this._cdr.markForCheck()}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ur),D(tr,8),D(st,8),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-switcher"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,jt,4),r&2){let s;te(s=ne())&&(o._errorChildren=s)}},viewQuery:function(r,o){if(r&1&&(pe(yae,7),pe(Mae,5)),r&2){let a;te(a=ne())&&(o._switcherLabelWrapper=a.first),te(a=ne())&&(o._nativeInput=a.first)}},hostVars:21,hostBindings:function(r,o){r&1&&I("focus",function(){return o._forwardFocusToInput()}),r&2&&(ye("id",null),Fe("is-negative",o.negative)("is-checked",o.checked)("is-big",o.big)("check-icon-small",!o.big)("nx-switcher--small-label",o.labelSize==="small")("nx-switcher--large-label",o.labelSize==="large")("is-disabled",o.disabled)("is-swapped",o.labelPosition==="left")("has-error",o.errorState)("is-readonly",o.readonly))},inputs:{ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",id:"id",labelPosition:"labelPosition",name:"name",checked:"checked",big:"big",labelSize:"labelSize",negative:"negative",disabled:"disabled",required:[2,"required","required",$t],readonly:[2,"readonly","readonly",$t]},outputs:{checkedChange:"checkedChange"},features:[Mt([{provide:Fi,useExisting:Wt(()=>e),multi:!0},{provide:Bi,useExisting:Wt(()=>e),multi:!0},{provide:Wr,useExisting:Wt(()=>e)}])],ngContentSelectors:Sae,decls:10,vars:16,consts:[["input",""],["switcherLabelWrapper",""],["type","checkbox","role","switch",1,"nx-switcher__input",3,"click","blur","id","disabled","checked"],[1,"nx-switcher__control"],[1,"nx-switcher__toggle"],[1,"nx-switcher__dot"],["name","check","aria-hidden","true"],[1,"nx-switcher__label-text",3,"cdkObserveContent"],[1,"nx-switcher-error"]],template:function(r,o){if(r&1){let a=Y();rt(wae),c(0,"input",2,0),I("click",function(l){return O(a),T(o.toggle(l))})("blur",function(){return O(a),T(o.touch())}),d(),c(2,"label",3)(3,"div",4)(4,"div",5),S(5,"nx-icon",6),d()(),c(6,"div",7,1),I("cdkObserveContent",function(){return O(a),T(o.labelContentChanged())}),ke(8),d()(),re(9,Pae,2,0,"div",8)}
31r&2&&(g("id",o.id)("disabled",o.disabled)("checked",o.checked),ye("name",o.name)("aria-checked",o.checked)("aria-labelledby",o.ariaLabelledBy)("aria-describedby",o.ariaDescribedBy)("aria-label",o.ariaLabel)("aria-invalid",o.errorState)("aria-required",o.required)("aria-disabled",o.readonly||null)("required",o.required||null),p(2),Fe("has-label",o.labelHasContent),ye("for",o.id),p(7),oe(o.errorState?9:-1))},dependencies:[xt,nt,Rd],styles:["[_nghost-%COMP%]{position:relative}.is-swapped[_nghost-%COMP%]   .nx-switcher__label[_ngcontent-%COMP%]{flex-direction:row-reverse;justify-content:flex-end}.is-swapped[_nghost-%COMP%]   .nx-switcher__label.has-label[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{margin-left:var(--switcher-label-gap)}[dir=rtl]   .is-swapped[_nghost-%COMP%]   .nx-switcher__label.has-label[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{margin-right:var(--switcher-label-gap);margin-left:initial}.nx-switcher--small-label[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-switcher__label-text[_ngcontent-%COMP%]{font-size:var(--switcher-small-font-size);line-height:var(--switcher-small-line-height);font-weight:var(--switcher-small-font-weight);letter-spacing:var(--switcher-small-letter-spacing);margin-top:auto;margin-bottom:auto}.nx-switcher--small-label[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.nx-switcher__input[_ngcontent-%COMP%]{opacity:0;position:absolute}.nx-switcher__control[_ngcontent-%COMP%]{cursor:pointer;display:flex;position:relative}.is-swapped[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]{flex-direction:row-reverse;justify-content:flex-end}.is-swapped[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]   .nx-switcher__label-text[_ngcontent-%COMP%]{margin-right:12px}.nx-switcher__label-text[_ngcontent-%COMP%]{font-size:var(--switcher-large-font-size);line-height:var(--switcher-large-line-height);font-weight:var(--switcher-large-font-weight);letter-spacing:var(--switcher-large-letter-spacing)}.nx-switcher__toggle[_ngcontent-%COMP%]{position:relative;display:inline-block;flex-shrink:0;width:var(--switcher-width);height:var(--switcher-height);margin-top:auto;margin-bottom:auto;background-color:var(--switcher-unchecked-background-color);border-radius:var(--switcher-border-radius);transition:background-color .2s ease;border:var(--switcher-border-default) solid var(--switcher-default-border-color)}.nx-switcher__toggle[_ngcontent-%COMP%]:hover:not(.is-disabled){background-color:var(--switcher-default-hover-color)}.nx-switcher__toggle[_ngcontent-%COMP%]:active:not(.is-disabled){background-color:var(--switcher-default-active-color)}[_nghost-%COMP%]:not(.is-swapped)   .has-label[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{margin-right:var(--switcher-label-gap)}[dir=rtl]   [_nghost-%COMP%]:not(.is-swapped)   .has-label[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{margin-right:initial;margin-left:var(--switcher-label-gap)}.nx-switcher__dot[_ngcontent-%COMP%]{position:absolute;height:var(--switcher-dot-size);width:var(--switcher-dot-size);left:var(--switcher-dot-padding);bottom:var(--switcher-dot-padding);background-color:var(--switcher-dot-background-color);border-radius:var(--switcher-border-radius);transform:translate(0);transition:transform .2s ease,background-color .2s ease}[dir=rtl][_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{right:var(--switcher-dot-padding);left:auto}.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{transform:translate(var(--switcher-translate));background-color:var(--switcher-dot-default-color)}[dir=rtl]   .is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{transform:translate(-v(switcher-translate))}.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{border:var(--switcher-border-default) solid var(--switcher-checked-background-color);background-color:var(--switcher-checked-background-color)}.is-checked[_nghost-%COMP%]:not(.is-readonly):not(.is-disabled):not(.has-error)   .nx-switcher__toggle[_ngcontent-%COMP%]:hover{border:var(--switcher-border-default) solid var(--switcher-checked-hover-color);background-color:var(--switcher-checked-hover-color)}.is-checked[_nghost-%COMP%]:not(.is-readonly):not(.is-disabled):not(.has-error)   .nx-switcher__toggle[_ngcontent-%COMP%]:active{border:var(--switcher-border-default) solid var(--switcher-checked-active-color);background-color:var(--switcher-checked-active-color)}.is-checked[_nghost-%COMP%]   nx-icon[_ngcontent-%COMP%]{opacity:var(--switcher-icon-opacity);transition:opacity .2s ease}.is-checked.is-negative[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--negative-dimmed)}.check-icon-small[_nghost-%COMP%]{font-size:16px}nx-icon[_ngcontent-%COMP%]{position:absolute;top:2px;left:2px;opacity:0;color:var(--switcher-checked-icon-color)}.is-big[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{width:var(--switcher-large-width);height:var(--switcher-large-height);border-radius:var(--switcher-large-height)}.is-big[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{height:var(--switcher-dot-size-large);width:var(--switcher-dot-size-large)}.is-big[_nghost-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:24px}[dir=rtl]   .is-big[_nghost-%COMP%]   nx-icon[_ngcontent-%COMP%]{right:var(--switcher-dot-padding-large);left:auto}.is-big.nx-switcher--large-label[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-switcher__label-text[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.is-big.nx-switcher--large-label[_nghost-%COMP%]   .has-label[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{margin-top:auto;margin-bottom:auto}.is-negative[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]{color:var(--negative)}.is-negative[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{background-color:var(--negative)}.is-negative[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--negative-dimmed);border:var(--switcher-border-default) solid var(--negative-background)}.is-negative[_nghost-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:var(--negative-background)}[_nghost-%COMP%]   .nx-switcher__input.cdk-keyboard-focused[_ngcontent-%COMP%] + .nx-switcher__control[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
31dow)}@media screen and (forced-colors: active),(forced-colors: active){[_nghost-%COMP%]   .nx-switcher__input.cdk-keyboard-focused[_ngcontent-%COMP%] + .nx-switcher__control[_ngcontent-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--switcher-checked-disabled-background-color);border:var(--switcher-border-default) solid var(--switcher-checked-disabled-background-color)}.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{background-color:var(--switcher-dot-checked-disabled-color)}.is-disabled[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--switcher-disabled-background-color);border:var(--switcher-border-default) solid var(--switcher-disabled-border-color)}.is-disabled[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{background-color:var(--switcher-disabled-dot-background-color)}.is-disabled[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]{cursor:not-allowed;color:var(--switcher-disabled-text-color)}.is-disabled[_nghost-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:var(--switcher-disabled-icon-color)}.is-readonly[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--switcher-readonly-background-color);border:1px solid var(--switcher-readonly-border-color)}.is-readonly.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--switcher-readonly-checked-background-color);border:1px solid var(--switcher-readonly-border-color)}.is-readonly[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{background-color:var(--switcher-readonly-dot-background-color);left:var(--switcher-dot-readonly-padding);bottom:var(--switcher-dot-readonly-padding)}.is-readonly[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:var(--switcher-readonly-icon-color)}.is-readonly[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]{cursor:not-allowed;color:var(--switcher-readonly-text-color)}.has-error.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:var(--danger)}.has-error.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]:hover{background-color:var(--danger-hover);border:var(--switcher-border-default) solid var(--danger-hover)}.has-error.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]:active{background-color:var(--danger-active);border:var(--switcher-border-default) solid var(--danger-active)}.has-error[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{border:var(--switcher-border-default) solid var(--danger)}.has-error[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]:hover{background-color:var(--switcher-default-hover-color);border:var(--switcher-border-default) solid var(--danger-hover)}.has-error[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]:active{background-color:var(--switcher-default-active-color);border:var(--switcher-border-default) solid var(--danger-active)}.has-error[_nghost-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:var(--danger)}@media screen and (forced-colors: active){[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]{color:buttonText}[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{forced-color-adjust:none;color:highlightText;background-color:highlight}[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__toggle[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:buttonFace;border:2px solid buttonText;color:buttonText}[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__dot[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__dot[_ngcontent-%COMP%]{left:0;bottom:0;box-shadow:0 0 0 2px buttonText;background-color:buttonText}.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%], .is-negative.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:highlight}.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%], .is-negative.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{background-color:highlightText;color:buttonText}.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%], .is-negative.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:highlight}.is-disabled[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%], .is-negative.is-disabled[_nghost-%COMP%]   .nx-switcher__control[_ngcontent-%COMP%]{color:GrayText}.is-disabled[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%], .is-negative.is-disabled[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{color:GrayText}.is-disabled[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%], .is-negative.is-disabled[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{opacity:1;background-color:GrayText}.is-disabled[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__toggle[_ngcontent-%COMP%], .is-negative.is-disabled[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__toggle[_ngcontent-%COMP%]{border:2px solid GrayText}.is-disabled[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__dot[_ngcontent-%COMP%], .is-negative.is-disabled[_nghost-%COMP%]:not(.is-checked)   .nx-switcher__dot[_ngcontent-%COMP%]{box-shadow:0 0 0 2px GrayText}.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%], .is-negative.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__toggle[_ngcontent-%COMP%]{background-color:GrayText}.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%], .is-negative.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]{background-color:Canvas}.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%], .is-negative.is-disabled.is-checked[_nghost-%COMP%]   .nx-switcher__dot[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{color:GrayText}}.nx-switcher-error[_ngcontent-%COMP%]{margin-top:var(--switcher-stack)}"],changeDetection:0});let i=e;return i})(),ZM=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Dl,Dae]});let i=e;return i})();var Oae=["nxCopytext",""],Tae=["*"],lF="normal",cF=(()=>{let e=class e{constructor(){this._classNames="",this.type=lF,this.negative=!1}set classNames(n){if(this._classNames===n)return;this._classNames=n;let[r=null]=this._classNames?.match(/small|medium|normal|large/)??[lF];this.type=r,this.negative=!!this._classNames?.match(/negative/)}get classNames(){return this._classNames}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["","nxCopytext",""]],hostVars:12,hostBindings:function(r,o){r&2&&Fe("nx-copy",!0)("nx-copy--small",o.type==="small")("nx-copy--medium",o.type==="medium")("nx-copy--normal",o.type==="normal")("nx-copy--large",o.type==="large")("nx-copy--negative",o.negative)},inputs:{classNames:[0,"nxCopytext","classNames"]},attrs:Oae,ngContentSelectors:Tae,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:["[_nghost-%COMP%]{margin:0;font-size:var(--paragraph-03-font-size);line-height:var(--paragraph-03-line-height);
31font-weight:var(--paragraph-03-font-weight);letter-spacing:var(--paragraph-03-letter-spacing)}.nx-copy.nx-copy[_nghost-%COMP%]{font-weight:400}.nx-copy--negative[_nghost-%COMP%]{color:var(--negative)}.nx-copy--small[_nghost-%COMP%]{font-size:var(--paragraph-05-font-size);line-height:var(--paragraph-05-line-height);font-weight:var(--paragraph-05-font-weight);letter-spacing:var(--paragraph-05-letter-spacing)}.nx-copy--medium[_nghost-%COMP%]{font-size:var(--paragraph-04-font-size);line-height:var(--paragraph-04-line-height);font-weight:var(--paragraph-04-font-weight);letter-spacing:var(--paragraph-04-letter-spacing)}.nx-copy--large[_nghost-%COMP%]{font-size:var(--paragraph-02-font-size);line-height:var(--paragraph-02-line-height);font-weight:var(--paragraph-02-font-weight);letter-spacing:var(--paragraph-02-letter-spacing)}"],changeDetection:0});let i=e;return i})(),Kf=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({});let i=e;return i})();var kae=["element"],Nae=["scrollable"],Aae=["indicator"],Vae=["*"];function Fae(i,e){if(i&1&&(c(0,"div",4),m(1),d()),i&2){let t=M();p(),Pe(t.label)}}var z2=(()=>{let e=class e{constructor(n){this.zone=n,this._barLength=0,this._position=0,this._startX=0,this._mousedown=!1,this._showBar=!1,this.label="",this._onMousedown=this._onMousedown.bind(this),this._onMousemove=this._onMousemove.bind(this),this._onMouseup=this._onMouseup.bind(this),this._onScroll=this._onScroll.bind(this),console.warn("The SwipeBar component is deprecated. Please use native scroll bars instead.")}ngAfterViewInit(){this._onResize(),this.zone.runOutsideAngular(()=>{this._scrollable.nativeElement.addEventListener("scroll",this._onScroll),this._indicator.nativeElement.addEventListener("mousedown",this._onMousedown)})}_onResize(){if(!this._scrollable)return;let{scrollWidth:n,offsetWidth:r}=this._scrollable.nativeElement;this._showBar=n>r,this._barLength=Math.max(80,r/n*r),this._updateIndicator()}_onScroll(n){if(this._mousedown)return;let r=n.target,{scrollWidth:o,clientWidth:a}=this._scrollable.nativeElement;this._position=Math.floor(r.scrollLeft/(o-a)*(r.offsetWidth-this._barLength)),this._updateIndicator()}_onMousedown(n){this._startX=n.clientX,this._mousedown=!0,document.addEventListener("mousemove",this._onMousemove),document.addEventListener("mouseup",this._onMouseup)}_onMousemove(n){let{offsetWidth:r}=this._scrollable.nativeElement;this._position=Math.max(0,Math.min(r-this._barLength,this._position+n.clientX-this._startX)),this._startX=n.clientX,this._updateScrollablePosition(),this._updateIndicator()}_onMouseup(){document.removeEventListener("mousemove",this._onMousemove),document.removeEventListener("mouseup",this._onMouseup),this._mousedown=!1}_updateScrollablePosition(){requestAnimationFrame(()=>{let{scrollWidth:n,clientWidth:r,offsetWidth:o}=this._scrollable.nativeElement;this._scrollable.nativeElement.scrollLeft=this._position/(o-this._barLength)*(n-r)})}_updateIndicator(){requestAnimationFrame(()=>{this._element.nativeElement.style.display=this._showBar?"block":"none",this._indicator.nativeElement.style.transform=`translateX(${this._position}px)`,this._indicator.nativeElement.style.width=`${this._barLength}px`})}};e.\u0275fac=function(r){return new(r||e)(D(Vt))},e.\u0275cmp=z({type:e,selectors:[["nx-swipebar"]],viewQuery:function(r,o){if(r&1&&(pe(kae,5),pe(Nae,5),pe(Aae,5)),r&2){let a;te(a=ne())&&(o._element=a.first),te(a=ne())&&(o._scrollable=a.first),te(a=ne())&&(o._indicator=a.first)}},hostBindings:function(r,o){r&1&&I("resize",function(){return o._onResize()},xc)},inputs:{label:"label"},ngContentSelectors:Vae,decls:9,vars:1,consts:[["element",""],["indicator",""],["scrollable",""],["aria-hidden","true"],["nxCopytext","",1,"label"],[1,"bar"],[1,"indicator"],[1,"scrollable"]],template:function(r,o){r&1&&(rt(),c(0,"div",3,0),re(2,Fae,2,1,"div",4),c(3,"div",5),S(4,"div",6,1),d()(),c(6,"div",7,2),ke(8),d()),r&2&&(p(2),oe(o.label?2:-1))},dependencies:[Kf,cF],styles:['[_nghost-%COMP%]{display:block}.label[_ngcontent-%COMP%]{margin-bottom:12px}.scrollable[_ngcontent-%COMP%]{overflow:auto;padding:var(--swipebar-padding);scrollbar-width:none}.scrollable[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.bar[_ngcontent-%COMP%]{background:var(--swipebar-background-color)}.indicator[_ngcontent-%COMP%]{position:relative;height:8px;background:var(--swipebar-color);cursor:grab;transform:translate(0)}.indicator[_ngcontent-%COMP%]:active{cursor:grabbing}.indicator[_ngcontent-%COMP%]:before{content:"";position:absolute;display:block;inset:-8px 0}'],changeDetection:0});let i=e;return i})(),Q0=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Kf,z2]});let i=e;return i})();var Rae=["nxExpandableTableRow",""],Xf=["*"];
31var zae=["button"],Lae=["focusContainer"],Hae=["nxSortHeaderCell",""];function Bae(i,e){i&1&&S(0,"nx-icon",3)}function jae(i,e){i&1&&S(0,"nx-icon",4)}function qae(i,e){i&1&&S(0,"nx-icon",5)}function Uae(i,e){i&1&&S(0,"nx-icon",6)}var Gae=["nxTable",""],$ae=["nxTableCell",""],Wae=["nxTableRow",""],Yae=(()=>{let e=class e{set isExpanded(n){this._isExpanded=Ue(n),this.expanded.next(this._isExpanded),this._cdr.markForCheck()}get isExpanded(){return this._isExpanded}constructor(n){this._cdr=n,this.expanded=new mi(!1)}toggle(){this.expanded.value?this.close():this.expand()}expand(){this.expanded.value||(this.expanded.next(!0),this._cdr.markForCheck())}close(){this.expanded.value&&(this.expanded.next(!1),this._cdr.markForCheck())}};e.\u0275fac=function(r){return new(r||e)(D(Ye))},e.\u0275cmp=z({type:e,selectors:[["tr","nxExpandableTableRow",""]],hostAttrs:[1,"nx-expandable-table-row"],inputs:{isExpanded:"isExpanded"},attrs:Rae,ngContentSelectors:Xf,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},encapsulation:2,changeDetection:0});let i=e;return i})(),Gs=(()=>{let e=class e{constructor(){this.expanded=new mi(!1),this._destroyed=new he}ngAfterViewInit(){this.rows.changes.pipe(ei(this.rows),bi(n=>sc(n.map(r=>r.expanded))),ct(n=>n.reduce((r,o)=>r&&o,!0)),I1(),ze(this._destroyed)).subscribe(n=>{this.expanded.next(n)})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}toggle(){this.expanded.value?this.close():this.expand()}expand(){this.rows.forEach(n=>n.expanded.next(!0))}close(){this.rows.forEach(n=>n.expanded.next(!1))}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["table","nxExpandableTable",""],["ng-container","nxExpandableContainer",""]],contentQueries:function(r,o,a){if(r&1&&Ft(a,Yae,5),r&2){let s;te(s=ne())&&(o.rows=s)}},exportAs:["nxExpandableTable"]});let i=e;return i})();var Qae=(()=>{let e=class e{set target(n){this._target=n,this._subscription?.unsubscribe(),this._target&&(this._subscription=this._target.expanded.subscribe(r=>{this._expanded=r,setTimeout(()=>{this._cdr.markForCheck()})}))}set ariaLabel(n){this._ariaLabel=n,this._cdr.markForCheck()}constructor(n,r){this._cdr=n,this._focusMonitor=r,this._expanded=!1,this._ariaLabel="",this._subscription=En.EMPTY}ngAfterViewInit(){this._focusMonitor.monitor(this._buttonElement)}_onClick(){this._target&&this._target.toggle()}ngOnDestroy(){this._subscription?.unsubscribe(),this._focusMonitor.stopMonitoring(this._buttonElement)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-toggle-button"]],viewQuery:function(r,o){if(r&1&&pe(zae,5),r&2){let a;te(a=ne())&&(o._buttonElement=a.first)}},inputs:{target:"target",ariaLabel:"ariaLabel"},decls:3,vars:4,consts:[["button",""],[1,"nx-toggle-button",3,"click"],["name","chevron-down","aria-hidden","true","size","s",1,"nx-toggle-button__icon"]],template:function(r,o){if(r&1){let a=Y();c(0,"button",1,0),I("click",function(){return O(a),T(o._onClick())}),S(2,"nx-icon",2),d()}r&2&&(Fe("is-expanded",o._expanded),ye("aria-label",o._ariaLabel)("aria-expanded",o._expanded))},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{display:block}.nx-toggle-button[_ngcontent-%COMP%]{display:block;cursor:pointer;appearance:none;border:none;outline:none;background:none;padding:0;line-height:24px;height:24px}.nx-toggle-button[_ngcontent-%COMP%]   .nx-toggle-button__icon[_ngcontent-%COMP%]{transform:rotate(0);transition:transform .2s ease;color:var(--expandable-table-arrow-icon-color)}.nx-toggle-button.is-expanded[_ngcontent-%COMP%]   .nx-toggle-button__icon[_ngcontent-%COMP%]{transform:rotate(-180deg)}.nx-toggle-button[_ngcontent-%COMP%]::-moz-focus-inner{border:0}.nx-toggle-button.cdk-keyboard-focused[_ngcontent-%COMP%]{border-radius:4px;box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-toggle-button.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}"],changeDetection:0});let i=e;return i})(),Kn=(()=>{let e=class e{constructor(n){this.elementRef=n}};e.\u0275fac=function(r){return new(r||e)(D(We))},e.\u0275dir=Ie({type:e,selectors:[["","nxHeaderCell",""]],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-header-cell",!0)}});let i=e;return i})();var ew=class{constructor(e,t){this.active=e,this.direction=t}},Kae=(()=>{let e=class e{constructor(){this._stateChanges=new he,this._direction="asc",this.activeChange=new X,this.directionChange=new X,this.sortChange=new X}set active(n){this._active!==n&&(this._active=n,this._stateChanges.next())}get active(){return this._active}set direction(n){this._direction!==n&&(this._direction=n,this._stateChanges.next())}get direction(){return this._direction}ngOnDestroy(){this._stateChanges.complete()}sort(n){this._active!==n?(this._active=n,this.activeChange.emit(this.active),this._direction="asc",this.directionChange.emit(this.direction)):this._direction==="asc"?(this._direction="desc",this.directionChange.emit(this.direction)):(this._direction="asc",this.directionChange.emit(this.direction)),this.sortChange.emit(new ew(this.active,this.direction)),this._stateChanges.next()}};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e,selectors:[["table","nxSort",""]],inputs:{active:"active",direction:"direction"},outputs:{activeChange:"activeChange",directionChange:"directionChange",sortChange:"sortChange"},exportAs:["NxSortDirective"]});let i=e;return i})(),c8=(()=>{let e=class e{constructor(){this.changes=new he,this.sortAscendingAriaLabel="click to sort ascending",this.sortDe
31scendingAriaLabel="click to sort descending",this.sortedAscendingAriaLabel="sorted ascending",this.sortedDescendingAriaLabel="sorted descending"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Xae=(()=>{let e=class e{set key(n){this._key!==n&&(this._key=n)}get key(){return this._key}constructor(n,r,o,a){if(this._intl=r,this._cdr=o,this._focusMonitor=a,this._destroyed=new he,!n)throw new Error("NxTable: Using the 'nxSortHeaderCell' component requires the 'nxSort' directive on containing table.");this._sort=n,this._intl.changes.pipe(ze(this._destroyed)).subscribe(()=>this._cdr.markForCheck())}ngOnInit(){this._sort._stateChanges.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.markForCheck()})}ngAfterViewInit(){this._focusMonitor.monitor(this._focusContainer)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._focusContainer)}_handleClick(){this._sort.sort(this._key)}_onKeydown(n){n&&(n.keyCode===13||n.keyCode===32)&&(this._sort.sort(this._key),n.keyCode===32&&n.preventDefault())}_isSortedAscending(){return this._sort.active===this._key&&this._sort.direction==="asc"}_isSortedDescending(){return this._sort.active===this._key&&this._sort.direction==="desc"}_isSorted(){return this._sort.active===this._key}_getAriaLabel(){return this._sort.active===this._key?this._sort.direction==="asc"?`${this._intl.sortedAscendingAriaLabel}`:`${this._intl.sortedDescendingAriaLabel}`:null}_getTitle(){return this._sort.active===this._key&&this._sort.direction==="asc"?`${this._intl.sortDescendingAriaLabel}`:`${this._intl.sortAscendingAriaLabel}`}};e.\u0275fac=function(r){return new(r||e)(D(Kae,8),D(c8),D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["th","nxSortHeaderCell",""]],viewQuery:function(r,o){if(r&1&&pe(Lae,5),r&2){let a;te(a=ne())&&(o._focusContainer=a.first)}},hostBindings:function(r,o){r&1&&I("click",function(){return o._handleClick()})("keydown",function(s){return o._onKeydown(s)})},inputs:{key:[0,"nxSortHeaderCell","key"]},exportAs:["nxSortHeaderComponent"],attrs:Hae,ngContentSelectors:Xf,decls:8,vars:6,consts:[["focusContainer",""],["role","button","tabindex","0","aria-live","polite",1,"nx-sort-header__focus-container",3,"title"],[1,"nx-sort-header__icons-container"],["name","chevron-up-small","aria-hidden","true",1,"nx-sort-header__unsorted"],["name","chevron-down-small","aria-hidden","true",1,"nx-sort-header__unsorted"],["name","arrow-left","aria-hidden","true",1,"nx-sort-header__ascend"],["name","arrow-right","aria-hidden","true",1,"nx-sort-header__descend"]],template:function(r,o){r&1&&(rt(),c(0,"div",1,0),ke(2),c(3,"div",2),re(4,Bae,1,0,"nx-icon",3),re(5,jae,1,0,"nx-icon",4),re(6,qae,1,0,"nx-icon",5),re(7,Uae,1,0,"nx-icon",6),d()()),r&2&&(g("title",o._getTitle()),p(3),ye("aria-label",o._getAriaLabel()),p(),oe(o._isSorted()?-1:4),p(),oe(o._isSorted()?-1:5),p(),oe(o._isSortedAscending()?6:-1),p(),oe(o._isSortedDescending()?7:-1))},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{cursor:pointer}.nx-sort-header__icons-container[_ngcontent-%COMP%]{display:flex;margin-left:16px;vertical-align:bottom;width:9px;position:relative;flex-direction:column;justify-content:center}[dir=rtl][_nghost-%COMP%]   .nx-sort-header__icons-container[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-sort-header__icons-container[_ngcontent-%COMP%]{margin-right:initial;margin-left:16px}.nx-sort-header__icons-container[_ngcontent-%COMP%]   .nx-sort-header__unsorted[_ngcontent-%COMP%]{font-size:18px;position:relative;font-weight:600;width:9px;height:9px}.nx-sort-header__icons-container[_ngcontent-%COMP%]   .nx-sort-header__ascend[_ngcontent-%COMP%], .nx-sort-header__icons-container[_ngcontent-%COMP%]   .nx-sort-header__descend[_ngcontent-%COMP%]{font-weight:400;font-size:var(--table-sort-icon-size);width:9px;top:-1px;position:relative;transform:rotate(90deg)}.nx-sort-header__focus-container[_ngcontent-%COMP%]{display:flex}.nx-sort-header__focus-container[_ngcontent-%COMP%]:focus{outline:0}.nx-sort-header__focus-container[_ngcontent-%COMP%]:focus.cdk-keyboard-focused{box-shadow:var(--focus-box-sha
31dow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-sort-header__focus-container[_ngcontent-%COMP%]:focus.cdk-keyboard-focused{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){.nx-sort-header__focus-container[_ngcontent-%COMP%]{color:buttonText}}"],changeDetection:0});let i=e;return i})(),ni=(()=>{let e=class e{set condensed(n){let r=Ue(n);n!==this._condensed&&(this._condensed=r,this._cdr.markForCheck())}get condensed(){return this._condensed}set zebra(n){let r=Ue(n);n!==this._zebra&&(this._zebra=r,this._cdr.markForCheck())}get zebra(){return this._expandableTableDirective?!1:this._zebra}set sticky(n){this._sticky=n,this._cdr.markForCheck()}get sticky(){return this._sticky}constructor(n,r){this._cdr=n,this._expandableTableDirective=r}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(Gs,8))},e.\u0275cmp=z({type:e,selectors:[["table","nxTable",""]],hostAttrs:[1,"nx-table"],hostVars:8,hostBindings:function(r,o){r&2&&Fe("nx-table--condensed",o.condensed)("nx-table--zebra",o.zebra)("nx-table--sticky-first",o.sticky==="first"||o.sticky==="both")("nx-table--sticky-last",o.sticky==="last"||o.sticky==="both")},inputs:{sticky:"sticky",condensed:"condensed",zebra:"zebra"},attrs:Gae,ngContentSelectors:Xf,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},styles:['[_nghost-%COMP%]{border-spacing:0;border-bottom:2px solid var(--table-border-bottom-color);width:100%}@media screen and (forced-colors: active){[_nghost-%COMP%]{border-bottom-color:CanvasText}}[_nghost-%COMP%]     .nx-header-cell{font-size:var(--table-header-cell-font-size);line-height:var(--table-header-cell-line-height);font-weight:var(--table-header-cell-font-weight);letter-spacing:var(--table-header-cell-letter-spacing);color:var(--table-header-cell-color);background:var(--table-header-cell-background-color);border-bottom:2px solid var(--table-header-border-bottom-color);border-top:1.6px solid var(--table-header-border-top-color);padding:15px 16px 14px;text-align:left;white-space:nowrap;vertical-align:top;position:relative}[_nghost-%COMP%]     .nx-header-cell:first-child{padding-left:8px}[_nghost-%COMP%]     .nx-header-cell:last-child{padding-right:8px}[dir=rtl]   [_nghost-%COMP%]     .nx-header-cell{text-align:right}[dir=rtl]   [_nghost-%COMP%]     .nx-header-cell:first-child{padding-right:8px;padding-left:16px}[dir=rtl]   [_nghost-%COMP%]     .nx-header-cell:last-child{padding-right:16px;padding-left:8px}[_nghost-%COMP%]     .nx-table-cell{font-size:var(--table-cell-font-size);line-height:var(--table-cell-line-height);font-weight:var(--table-cell-font-weight);letter-spacing:var(--table-cell-letter-spacing);color:var(--table-cell-color);padding:16px 16px 15px;border-top:1px solid var(--table-cell-border-top-color)}[_nghost-%COMP%]     .nx-table-cell:first-child{padding-left:8px}[_nghost-%COMP%]     .nx-table-cell:last-child{padding-right:8px}[dir=rtl]   [_nghost-%COMP%]     .nx-table-cell:first-child{padding-right:8px;padding-left:16px}[dir=rtl]   [_nghost-%COMP%]     .nx-table-cell:last-child{padding-right:16px;padding-left:8px}.nx-table--condensed[_nghost-%COMP%]     .nx-header-cell{padding-top:8px;padding-bottom:8px}.nx-table--condensed[_nghost-%COMP%]     .nx-table-cell{padding-bottom:7px;padding-top:8px}.nx-table--condensed[_nghost-%COMP%]     .nx-expandable-table-cell{padding-bottom:0;padding-top:0}.nx-table--condensed[_nghost-%COMP%]     .nx-expandable-table-cell .nx-expandable-table-cell__wrapper{padding-bottom:7px;padding-top:8px}[_nghost-%COMP%]     .nx-expandable-table-cell{font-size:var(--table-cell-font-size);line-height:var(--table-cell-line-height);font-weight:var(--table-cell-font-weight);letter-spacing:var(--table-cell-letter-spacing);color:var(--table-cell-color)}[_nghost-%COMP%]     .nx-expandable-table-cell__content{overflow:hidden}[_nghost-%COMP%]     .nx-expandable-table-cell__wrapper{padding:16px}[_nghost-%COMP%]     .nx-expandable-table-cell:first-child .nx-cell__wrapper{padding-left:8px}[dir=rtl]   [_nghost-%COMP%]     .nx-expandable-table-cell:first-child .nx-cell__wrapper{padding-right:8px;padding-left:initial}[_nghost-%COMP%]     .nx-expandable-table-cell:last-child .nx-cell__wrapper{padding-right:8px}[dir=rtl]   [_nghost-%COMP%]     .nx-expandable-table-cell:last-child .nx-cell__wrapper{padding-right:initial;padding-left:8px}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-expandable-table-row:nth-child(4n){background:var(--zebra-table-even-row-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-expandable-table-row:nth-child(4n)+.nx-table-row:not(.is-selected){background:var(--zebra-table-odd-row-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-expandable-table-row:nth-child(4n+2){background:var(--zebra-table-odd-row-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-expandable-table-row:nth-child(4n+2)+.nx-table-row:not(.is-selected){background:var(--zebra-table-even-row-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-table-row:nth-child(2n):not(.is-selected){background:var(--zebra-table-even-row-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-table-row.nx-table-row--selectable:not(.is-selected):hover{background:var(--zebra-table-row-hover-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-table-row.nx-table-row--selectable:not(.is-selected):active{background:var(--zebra-table-row-active-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-table-row.nx-table-row--selectable.is-selected:hover{background:var(--selectable-table-row-selected-hover-background-color)}.nx-table--zebra[_nghost-%COMP%]     tbody .nx-table-cell{border-top:1px solid var(--zebra-table-cell-border-top-color)}.nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--sticky .nx-header-cell, .
31nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--sticky .nx-header-cell{position:sticky;top:0;z-index:2;background:var(--ui-01)}.nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--sticky .nx-header-cell:first-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--sticky .nx-header-cell:last-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--sticky .nx-header-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--sticky .nx-header-cell:last-child{z-index:3}[_nghost-%COMP%]     .nx-table-row{background:var(--table-row-background-color)}[_nghost-%COMP%]     .nx-table-row:first-child .nx-table-cell{border-top:0}[_nghost-%COMP%]     .nx-table-row.nx-table-row--selectable{cursor:pointer}[_nghost-%COMP%]     .nx-table-row.nx-table-row--selectable::-moz-focus-inner{border:0}[_nghost-%COMP%]     .nx-table-row.nx-table-row--selectable:focus{outline:none}[_nghost-%COMP%]     .nx-table-row.nx-table-row--selectable:not(.is-selected):hover{background:var(--selectable-table-row-hover-background-color)}[_nghost-%COMP%]     .nx-table-row.nx-table-row--selectable:not(.is-selected):active{background:var(--selectable-table-row-active-background-color)}[_nghost-%COMP%]     .nx-table-row.nx-table-row--selectable.is-selected:hover{background:var(--selectable-table-row-selected-hover-background-color)}[_nghost-%COMP%]     .nx-table-row.is-selected{background:var(--zebra-table-row-selected-background-color)}[_nghost-%COMP%]     .nx-table-row.is-selected+.nx-expandable-table-row{background:var(--zebra-table-row-selected-background-color)}[_nghost-%COMP%]     .nx-table-row.is-selected>.nx-table-cell, [_nghost-%COMP%]     .nx-table-row.is-selected+.nx-table-row>.nx-table-cell, [_nghost-%COMP%]     .nx-table-row.is-selected+.nx-expandable-table-row+.nx-table-row>.nx-table-cell{border-color:var(--selectable-table-row-selected-border-color)}[_nghost-%COMP%]     .nx-table-row.nx-table-row--sticky .nx-header-cell{position:sticky;top:0;z-index:2;background:var(--ui-01)}.nx-table--sticky-first[_nghost-%COMP%]   -shadowcsshost     .nx-table-row.nx-table-row--sticky .nx-header-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]   -shadowcsshost     .nx-table-row.nx-table-row--sticky .nx-header-cell:last-child{z-index:3}[_nghost-%COMP%]     .nx-header-cell nx-checkbox, [_nghost-%COMP%]     .nx-table-cell nx-checkbox, [_nghost-%COMP%]     .nx-exandable-table-cell nx-checkbox{margin:0}[_nghost-%COMP%]     .nx-header-cell nx-checkbox .nx-checkbox__label, [_nghost-%COMP%]     .nx-table-cell nx-checkbox .nx-checkbox__label, [_nghost-%COMP%]     .nx-exandable-table-cell nx-checkbox .nx-checkbox__label{padding:0}[_nghost-%COMP%]     .nx-header-cell nx-taglist, [_nghost-%COMP%]     .nx-table-cell nx-taglist, [_nghost-%COMP%]     .nx-exandable-table-cell nx-taglist{margin:0}[_nghost-%COMP%]     .nx-header-cell nx-taglist .nx-taglist__list-item, [_nghost-%COMP%]     .nx-table-cell nx-taglist .nx-taglist__list-item, [_nghost-%COMP%]     .nx-exandable-table-cell nx-taglist .nx-taglist__list-item{margin-bottom:0}[_nghost-%COMP%]     .nx-header-cell .nx-button, [_nghost-%COMP%]     .nx-table-cell .nx-button, [_nghost-%COMP%]     .nx-exandable-table-cell .nx-button{margin:0}[_nghost-%COMP%]     .nx-header-cell nx-formfield .nx-formfield__wrapper, [_nghost-%COMP%]     .nx-table-cell nx-formfield .nx-formfield__wrapper, [_nghost-%COMP%]     .nx-exandable-table-cell nx-formfield .nx-formfield__wrapper{padding:0}[_nghost-%COMP%]     .nx-header-cell nx-formfield.has-outline .nx-formfield__wrapper, [_nghost-%COMP%]     .nx-table-cell nx-formfield.has-outline .nx-formfield__wrapper, [_nghost-%COMP%]     .nx-exandable-table-cell nx-formfield.has-outline .nx-formfield__wrapper{padding-top:0}[_nghost-%COMP%]     .nx-header-cell .nx-list, [_nghost-%COMP%]     .nx-table-cell .nx-list, [_nghost-%COMP%]     .nx-exandable-table-cell .nx-list{margin:0}[_nghost-%COMP%]     .nx-header-cell .nx-list li:last-child, [_nghost-%COMP%]     .nx-table-cell .nx-list li:last-child, [_nghost-%COMP%]     .nx-exandable-table-cell .nx-list li:last-child{margin-bottom:0}[_nghost-%COMP%]     .nx-header-cell nx-link a, [_nghost-%COMP%]     .nx-table-cell nx-link a, [_nghost-%COMP%]     .nx-exandable-table-cell nx-link a{display:inline-flex}@media (min-width: 704px){.nx-table--sticky-first[_nghost-%COMP%]     .nx-header-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-header-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-expandable-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-expandable-table-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-cell:last-child{position:sticky;left:0;z-index:1;background-color:var(--table-sticky-column-background-color)}.nx-table--sticky-first[_nghost-%COMP%]     .nx-header-cell:first-child:before, .nx-table--sticky-last[_nghost-%COMP%]     .nx-header-cell:last-child:before, .nx-table--sticky-first[_nghost-%COMP%]     .nx-expandable-table-cell:first-child:before, .nx-table--sticky-last[_nghost-%COMP%]     .nx-expandable-table-cell:last-child:before, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-cell:first-child:before, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-cell:last-child:before{box-shadow:4px 0 4px -4px var(--shadow-small-color) inset;right:-4px;width:4px;top:-1px;bottom:-1px;position:absolute;content:" "}.nx-table--sticky-last[_nghost-%COMP%]     .nx-header-cell:last-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-expandable-table-cell:last-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-cell:last-child{right:0}.nx-table--sticky-last[_nghost-%COMP%]     .nx-header-cell:last-child:before, .nx-table--sticky-last[_nghost-%COMP%]     .nx-expandable-table-cell:last-child:before, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-cell:last-child:before{left:-4px;box-shadow:-4px 0 4px -4px var(--shadow-small-color) inset}.nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row:nth-child(2n):not(.is-selected)   .nx-header-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row:nth-child(2n):not(.is-selected)   .nx-header-cell:last-child, .nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row:nth-child(2n):not(.is-selected)   .nx-expandable-table-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row:nth-child(2n):not(.is-selected)   .nx-expandable-table-cell:last-child, .nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row:nth-child(2n):not(.is-selected)   .nx-table-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row:nth-child(2n):not(.is-selected)   .nx-table-cell:last-child{background:var(--zebra-table-even-row-background-color)}.nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable.is-selected   .nx-header-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable.is-selected   .nx-header-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable.is-selected   .nx-expandable-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable.is-selected   .nx-expandable-table-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable.is-selected   .nx-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable.is-selected   .nx-table-cell:last-child{background:var(--zebra-table-row-selected-background-color)}.nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-header-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-header-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-expandable-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-expandable-table-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-table-cell:last-child{background:var(--selectable-table-row-hover-background-color)}.nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-header-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-header-cell:last-child, .nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-expandable-table-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-expandable-table-cell:last-child, .nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-table-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):hover   .nx-table-cell:last-child{background:var(--zebra-table-row-hover-background-color)}.nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable.is-selected:hover   .nx-header-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable.is-selected:hover   .nx-header-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable.is-selected:hover   .nx-expandable-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable.is-selected:hover   .nx-expandable-table-cell:last-child, .nx-table--sticky-first[_nghost-%COMP%]     .nx-table-row--selectable.is-selected:hover   .nx-table-cell:first-child, .nx-table--sticky-last[_nghost-%COMP%]     .nx-table-row--selectable.is-selected:hover   .nx-table-cell:last-child{background:var(--selectable-table-row-selected-hover-background-color)}.nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):active   .nx-header-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):active   .nx-header-cell:last-child, .nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):active   .nx-expandable-table-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):active   .nx-expandable-table-cell:last-child, .nx-table--sticky-first.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):active   .nx-table-cell:first-child, .nx-table--sticky-last.nx-table--zebra[_nghost-%COMP%]     .nx-table-row--selectable:not(.is-selected):active   .nx-table-cell:last-child{background:var(--zebra-table-row-active-background-color)}}[_nghost-%COMP%]     .nx-table__resize-handle{position:absolute;right:0;border-right:2px solid var(--table-resize-handle-color);cursor:col-resize;height:24px;top:50%;width:12px;transform:translateY(-50%)}[nxTableCellClip][_nghost-%COMP%]     td, [nxTableCellClip][_nghost-%COMP%]     th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}'],changeDetection:0});let i=e;return i})(),si=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["td","nxTableCell",""],["td","nxCell",""]],hostVars:2,hostBindings:function(r,o){r&2&&Fe("nx-table-cell",!0)},attrs:$ae,ngContentSelectors:Xf,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},encapsulation:2,changeDetection:0});let i=e;return i})(),ii=(()=>{let e=class e{set selectable(n){this._selectable=Ue(n),this._cdr.markForCheck()}get selectable(){return this._selectable}set selected(n){this._selected=Ue(n),this._cdr.markForCheck()}get selected(){return this._selected}set mayStick(n){this._mayStick=Ue(n),this._cdr.markForCheck()}get mayStick(){return this._mayStick}constructor(n,r){this._cdr=n,this._elementRef=r,this._selectable=!1,this._selected=!1,this.select=new X,this._mayStick=!1}_onSelect(n){!this._selectable||this.isSelectionPrevented(n)||(n.keyCode===32&&n.preventDefault(),this.select.emit())}isSelectionPrevented(n){if(n.defaultPrevented)return!0;let r=n.target;for(;r&&r!==this._elementRef.nativeElement;){if(["A","INPUT","BUTTON","TEXTAREA"].includes(r.tagName))return!0;
31if(r.tagName==="LABEL"&&r.getAttribute("for"))return!0;r=r.parentElement}return!1}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(We))},e.\u0275cmp=z({type:e,selectors:[["tr","nxTableRow",""]],hostAttrs:[1,"nx-table-row"],hostVars:7,hostBindings:function(r,o){r&1&&I("click",function(s){return o._onSelect(s)})("keydown.space",function(s){return o._onSelect(s)}),r&2&&(ye("aria-selected",o.selected),Fe("is-selected",o.selected)("nx-table-row--selectable",o.selectable)("nx-table-row--sticky",o.mayStick))},inputs:{selectable:"selectable",selected:"selected",mayStick:"mayStick"},outputs:{select:"select"},attrs:Wae,ngContentSelectors:Xf,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},encapsulation:2,changeDetection:0});let i=e;return i})();function Zae(i){return i||new c8}var AWe={provide:c8,deps:[[new ja,new Q1,c8]],useFactory:Zae},tw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,Kf,Q0,Qae,Xae,Q0]});let i=e;return i})();var Jae={relation:'<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M8,6.1 C8.45882118,6.1 8.83745178,6.44333667 8.89298772,6.88710591 L8.9,7 L8.9,14.1 L15.687,14.1 L13.293,11.707 C12.9320769,11.3460769 12.9043136,10.7798047 13.2097101,10.3872895 L13.293,10.293 C13.684,9.902 14.316,9.902 14.707,10.293 L18.707,14.293 C19.098,14.684 19.098,15.316 18.707,15.707 L14.707,19.707 C14.512,19.902 14.256,20 14,20 C13.744,20 13.488,19.902 13.293,19.707 C12.902,19.316 12.902,18.684 13.293,18.293 L15.685,15.9 L8,15.9 C7.54117882,15.9 7.16254822,15.5566633 7.10701228,15.1128941 L7.1,15 L7.1,7 C7.1,6.50294373 7.50294373,6.1 8,6.1 Z" id="path-1"></path></defs><g id="Expert-new-motor-(Current-UI)" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="NM-Expert-04.1-TP-Damage-Overview-Added" transform="translate(-264.000000, -447.000000)"><g id="Damage-add" transform="translate(256.000000, 288.000000)"><g id="form-/-2.incident-/-Other-parties-involved" transform="translate(0.000000, 52.000000)"><g id="Relation_icon" transform="translate(8.000000, 107.000000)"><rect id="Boundingbox" x="0" y="0" width="24" height="24"></rect><mask id="mask-2" fill="currentColor"><use xlink:href="#path-1"></use></mask><use id="Combined-Shape" fill="currentColor" xlink:href="#path-1"></use></g></g></g></g></g></svg>',"exclamation-circle-warning":'<svg height="22" viewBox="0 0 22 22" width="22" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd" transform="translate(-1 -1)"><path d="m23 12c0-6.075-4.924-11-11-11-6.075 0-11 4.925-11 11 0 .38.02.755.057 1.125.376 3.697 2.583 6.854 5.7 8.548.312.169.632.323.962.463.986.417 2.047.695 3.156.807.371.037.746.057 1.125.057.38 0 .755-.02 1.125-.057 1.11-.112 2.17-.39 3.157-.807.33-.14.65-.294.962-.463 3.117-1.694 5.324-4.851 5.7-8.548.037-.37.056-.745.056-1.125z" fill="#efbe25"/><path d="m12.1 15.8c.551 0 1 .45 1 1v.2c0 .55-.449 1-1 1h-.199c-.551 0-1-.45-1-1v-.2c0-.55.449-1 1-1zm.2-9.8c.386 0 .7.315.7.7v6.6c0 .386-.314.7-.7.7h-.599c-.386 0-.701-.314-.701-.7v-6.6c0-.385.315-.7.701-.7z" fill="#414141"/></g></svg>'},nw=(()=>{let e=class e{constructor(n,r){n.registerFont("allianz-icons","allianz-icon","nx-icon--"),n.setDefaultFont("allianz-icons"),Object.keys(bf).forEach(o=>n.addFontIcon(o,"","allianz-icons")),Object.entries(Jae).forEach(([o,a])=>n.addSvgIconLiteral(o,r.bypassSecurityTrustHtml(a)))}};e.\u0275fac=function(r){return new(r||e)(Le(yf),Le(As))},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[xt]});let i=e;return i})();function dF(i,e){var t=Object.keys(i);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(i);e&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(i,r).enumerable})),t.push.apply(t,n)}return t}function Bt(i){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?dF(Object(t),!0).forEach(function(n){Xr(i,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(t)):dF(Object(t)).forEac
31h(function(n){Object.defineProperty(i,n,Object.getOwnPropertyDescriptor(t,n))})}return i}function C8(i){"@babel/helpers - typeof";return C8=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},C8(i)}function ese(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function uF(i,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(i,n.key,n)}}function tse(i,e,t){return e&&uF(i.prototype,e),t&&uF(i,t),Object.defineProperty(i,"prototype",{writable:!1}),i}function Xr(i,e,t){return e in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}function vw(i,e){return ise(i)||ose(i,e)||FF(i,e)||sse()}function am(i){return nse(i)||rse(i)||FF(i)||ase()}function nse(i){if(Array.isArray(i))return sw(i)}function ise(i){if(Array.isArray(i))return i}function rse(i){if(typeof Symbol<"u"&&i[Symbol.iterator]!=null||i["@@iterator"]!=null)return Array.from(i)}function ose(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var n=[],r=!0,o=!1,a,s;try{for(t=t.call(i);!(r=(a=t.next()).done)&&(n.push(a.value),!(e&&n.length===e));r=!0);}catch(l){o=!0,s=l}finally{try{!r&&t.return!=null&&t.return()}finally{if(o)throw s}}return n}}function FF(i,e){if(i){if(typeof i=="string")return sw(i,e);var t=Object.prototype.toString.call(i).slice(8,-1);if(t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set")return Array.from(i);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return sw(i,e)}}function sw(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=i[t];return n}function ase(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
32In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sse(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
33In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var pF=function(){},xw={},RF={},zF=null,LF={mark:pF,measure:pF};try{typeof window<"u"&&(xw=window),typeof document<"u"&&(RF=document),typeof MutationObserver<"u"&&(zF=MutationObserver),typeof performance<"u"&&(LF=performance)}catch{}var lse=xw.navigator||{},fF=lse.userAgent,mF=fF===void 0?"":fF,Wd=xw,Ki=RF,hF=zF,d8=LF,RWe=!!Wd.document,Zc=!!Ki.documentElement&&!!Ki.head&&typeof Ki.addEventListener=="function"&&typeof Ki.createElement=="function",HF=~mF.indexOf("MSIE")||~mF.indexOf("Trident/"),u8,p8,f8,m8,h8,Qc="___FONT_AWESOME___",lw=16,BF="fa",jF="svg-inline--fa",B2="data-fa-i2svg",cw="data-fa-pseudo-element",cse="data-fa-pseudo-element-pending",bw="data-prefix",Cw="data-icon",gF="fontawesome-i2svg",dse="async",use=["HTML","HEAD","STYLE","SCRIPT"],qF=function(){try{return!0}catch{return!1}}(),Qi="classic",xr="sharp",yw=[Qi,xr];function sm(i){return new Proxy(i,{get:function(t,n){return n in t?t[n]:t[Qi]}})}var tm=sm((u8={},Xr(u8,Qi,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),Xr(u8,xr,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),u8)),nm=sm((p8={},Xr(p8,Qi,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),Xr(p8,xr,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),p8)),im=sm((f8={},Xr(f8,Qi,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),Xr(f8,xr,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),f8)),pse=sm((m8={},Xr(m8,Qi,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),Xr(m8,xr,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),m8)),fse=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,UF="fa-layers-text",mse=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,hse=sm((h8={}
33,Xr(h8,Qi,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),Xr(h8,xr,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),h8)),GF=[1,2,3,4,5,6,7,8,9,10],gse=GF.concat([11,12,13,14,15,16,17,18,19,20]),_se=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],L2={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},rm=new Set;Object.keys(nm[Qi]).map(rm.add.bind(rm));Object.keys(nm[xr]).map(rm.add.bind(rm));var vse=[].concat(yw,am(rm),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",L2.GROUP,L2.SWAP_OPACITY,L2.PRIMARY,L2.SECONDARY]).concat(GF.map(function(i){return"".concat(i,"x")})).concat(gse.map(function(i){return"w-".concat(i)})),Jf=Wd.FontAwesomeConfig||{};function xse(i){var e=Ki.querySelector("script["+i+"]");if(e)return e.getAttribute(i)}function bse(i){return i===""?!0:i==="false"?!1:i==="true"?!0:i}Ki&&typeof Ki.querySelector=="function"&&(_F=[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]],_F.forEach(function(i){var e=vw(i,2),t=e[0],n=e[1],r=bse(xse(t));r!=null&&(Jf[n]=r)}));var _F,$F={styleDefault:"solid",familyDefault:"classic",cssPrefix:BF,replacementClass:jF,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Jf.familyPrefix&&(Jf.cssPrefix=Jf.familyPrefix);var J0=Bt(Bt({},$F),Jf);J0.autoReplaceSvg||(J0.observeMutations=!1);var Zt={};
33Object.keys($F).forEach(function(i){Object.defineProperty(Zt,i,{enumerable:!0,set:function(t){J0[i]=t,em.forEach(function(n){return n(Zt)})},get:function(){return J0[i]}})});Object.defineProperty(Zt,"familyPrefix",{enumerable:!0,set:function(e){J0.cssPrefix=e,em.forEach(function(t){return t(Zt)})},get:function(){return J0.cssPrefix}});Wd.FontAwesomeConfig=Zt;var em=[];function Cse(i){return em.push(i),function(){em.splice(em.indexOf(i),1)}}var $d=lw,Vl={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function yse(i){if(!(!i||!Zc)){var e=Ki.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=i;for(var t=Ki.head.childNodes,n=null,r=t.length-1;r>-1;r--){var o=t[r],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(n=o)}return Ki.head.insertBefore(e,n),i}}var Mse="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function om(){for(var i=12,e="";i-- >0;)e+=Mse[Math.random()*62|0];return e}function ep(i){for(var e=[],t=(i||[]).length>>>0;t--;)e[t]=i[t];return e}function Mw(i){return i.classList?ep(i.classList):(i.getAttribute("class")||"").split(" ").filter(function(e){return e})}function WF(i){return"".concat(i).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function wse(i){return Object.keys(i||{}).reduce(function(e,t){return e+"".concat(t,'="').concat(WF(i[t]),'" ')},"").trim()}function w8(i){return Object.keys(i||{}).reduce(function(e,t){return e+"".concat(t,": ").concat(i[t].trim(),";")},"")}function ww(i){return i.size!==Vl.size||i.x!==Vl.x||i.y!==Vl.y||i.rotate!==Vl.rotate||i.flipX||i.flipY}function Sse(i){var e=i.transform,t=i.containerWidth,n=i.iconWidth,r={transform:"translate(".concat(t/2," 256)")},o="translate(".concat(e.x*32,", ").concat(e.y*32,") "),a="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),s="rotate(".concat(e.rotate," 0 0)"),l={transform:"".concat(o," ").concat(a," ").concat(s)},u={transform:"translate(".concat(n/2*-1," -256)")};return{outer:r,inner:l,path:u}}function Pse(i){var e=i.transform,t=i.width,n=t===void 0?lw:t,r=i.height,o=r===void 0?lw:r,a=i.startCentered,s=a===void 0?!1:a,l="";return s&&HF?l+="translate(".concat(e.x/$d-n/2,"em, ").concat(e.y/$d-o/2,"em) "):s?l+="translate(calc(-50% + ".concat(e.x/$d,"em), calc(-50% + ").concat(e.y/$d,"em)) "):l+="translate(".concat(e.x/$d,"em, ").concat(e.y/$d,"em) "),l+="scale(".concat(e.size/$d*(e.flipX?-1:1),", ").concat(e.size/$d*(e.flipY?-1:1),") "),l+="rotate(".concat(e.rotate,"deg) "),l}var Ese=`:root, :host {
34  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";
35  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";
36  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";
37  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";
38  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
39  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
40  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
41  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
42  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
43  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
44}
45
46svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
47  overflow: visible;
48  box-sizing: content-box;
49}
50
51.svg-inline--fa {
52  display: var(--fa-display, inline-block);
53  height: 1em;
54  overflow: visible;
55  vertical-align: -0.125em;
56}
57.svg-inline--fa.fa-2xs {
58  vertical-align: 0.1em;
59}
60.svg-inline--fa.fa-xs {
61  vertical-align: 0em;
62}
63.svg-inline--fa.fa-sm {
64  vertical-align: -0.0714285705em;
65}
66.svg-inline--fa.fa-lg {
67  vertical-align: -0.2em;
68}
69.svg-inline--fa.fa-xl {
70  vertical-align: -0.25em;
71}
72.svg-inline--fa.fa-2xl {
73  vertical-align: -0.3125em;
74}
75.svg-inline--fa.fa-pull-left {
76  margin-right: var(--fa-pull-margin, 0.3em);
77  width: auto;
78}
79.svg-inline--fa.fa-pull-right {
80  margin-left: var(--fa-pull-margin, 0.3em);
81  width: auto;
82}
83.svg-inline--fa.fa-li {
84  width: var(--fa-li-width, 2em);
85  top: 0.25em;
86}
87.svg-inline--fa.fa-fw {
88  width: var(--fa-fw-width, 1.25em);
89}
90
91.fa-layers svg.svg-inline--fa {
92  bottom: 0;
93  left: 0;
94  margin: auto;
95  position: absolute;
96  right: 0;
97  top: 0;
98}
99
100.fa-layers-counter, .fa-layers-text {
101  display: inline-block;
102  position: absolute;
103  text-align: center;
104}
105
106.fa-layers {
107  display: inline-block;
108  height: 1em;
109  position: relative;
110  text-align: center;
111  vertical-align: -0.125em;
112  width: 1em;
113}
114.fa-layers svg.svg-inline--fa {
115  -webkit-transform-origin: center center;
116          transform-origin: center center;
117}
118
119.fa-layers-text {
120  left: 50%;
121  top: 50%;
122  -webkit-transform: translate(-50%, -50%);
123          transform: translate(-50%, -50%);
124  -webkit-transform-origin: center center;
125          transform-origin: center center;
126}
127
128.fa-layers-counter {
129  background-color: var(--fa-counter-background-color, #ff253a);
130  border-radius: var(--fa-counter-border-radius, 1em);
131  box-sizing: border-box;
132  color: var(--fa-inverse, #fff);
133  line-height: var(--fa-counter-line-height, 1);
134  max-width: var(--fa-counter-max-width, 5em);
135  min-width: var(--fa-counter-min-width, 1.5em);
136  overflow: hidden;
137  padding: var(--fa-counter-padding, 0.25em 0.5em);
138  right: var(--fa-right, 0);
139  text-overflow: ellipsis;
140  top: var(--fa-top, 0);
141  -webkit-transform: scale(var(--fa-counter-scale, 0.25));
142          transform: scale(var(--fa-counter-scale, 0.25));
143  -webkit-transform-origin: top right;
144          transform-origin: top right;
145}
146
147.fa-layers-bottom-right {
148  bottom: var(--fa-bottom, 0);
149  right: var(--fa-right, 0);
150  top: auto;
151  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
152          transform: scale(var(--fa-layers-scale, 0.25));
153  -webkit-transform-origin: bottom right;
154          transform-origin: bottom right;
155}
156
157.fa-layers-bottom-left {
158  bottom: var(--fa-bottom, 0);
159  left: var(--fa-left, 0);
160  right: auto;
161  top: auto;
162  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
163          transform: scale(var(--fa-layers-scale, 0.25));
164  -webkit-transform-origin: bottom left;
165          transform-origin: bottom left;
166}
167
168.fa-layers-top-right {
169  top: var(--fa-top, 0);
170  right: var(--fa-right, 0);
171  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
172          transform: scale(var(--fa-layers-scale, 0.25));
173  -webkit-transform-origin: top right;
174          transform-origin: top right;
175}
176
177.fa-layers-top-left {
178  left: var(--fa-left, 0);
179  right: auto;
180  top: var(--fa-top, 0);
181  -webkit-transform: scale(var(--fa-layers-scale, 0.25));
182          transform: scale(var(--fa-layers-scale, 0.25));
183  -webkit-transform-origin: top left;
184          transform-origin: top left;
185}
186
187.fa-1x {
188  font-size: 1em;
189}
190
191.fa-2x {
192  font-size: 2em;
193}
194
195.fa-3x {
196  font-size: 3em;
197}
198
199.fa-4x {
200  font-size: 4em;
201}
202
203.fa-5x {
204  font-size: 5em;
205}
206
207.fa-6x {
208  font-size: 6em;
209}
210
211.fa-7x {
212  font-size: 7em;
213}
214
215.fa-8x {
216  font-size: 8em;
217}
218
219.fa-9x {
220  font-size: 9em;
221}
222
223.fa-10x {
224  font-size: 10em;
225}
226
227.fa-2xs {
228  font-size: 0.625em;
229  line-height: 0.1em;
230  vertical-align: 0.225em;
231}
232
233.fa-xs {
234  font-size: 0.75em;
235  line-height: 0.0833333337em;
236  vertical-align: 0.125em;
237}
238
239.fa-sm {
240  font-size: 0.875em;
241  line-height: 0.0714285718em;
242  vertical-align: 0.0535714295em;
243}
244
245.fa-lg {
246  font-size: 1.25em;
247  line-height: 0.05em;
248  vertical-align: -0.075em;
249}
250
251.fa-xl {
252  font-size: 1.5em;
253  line-height: 0.0416666682em;
254  vertical-align: -0.125em;
255}
256
257.fa-2xl {
258  font-size: 2em;
259  line-height: 0.03125em;
260  vertical-align: -0.1875em;
261}
262
263.fa-fw {
264  text-align: center;
265  width: 1.25em;
266}
267
268.fa-ul {
269  list-style-type: none;
270  margin-left: var(--fa-li-margin, 2.5em);
271  padding-left: 0;
272}
273.fa-ul > li {
274  position: relative;
275}
276
277.fa-li {
278  left: calc(var(--fa-li-width, 2em) * -1);
279  position: absolute;
280  text-align: center;
281  width: var(--fa-li-width, 2em);
282  line-height: inherit;
283}
284
285.fa-border {
286  border-color: var(--fa-border-color, #eee);
287  border-radius: var(--fa-border-radius, 0.1em);
288  border-style: var(--fa-border-style, solid);
289  border-width: var(--fa-border-width, 0.08em);
290  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
291}
292
293.fa-pull-left {
294  float: left;
295  margin-right: var(--fa-pull-margin, 0.3em);
296}
297
298.fa-pull-right {
299  float: right;
300  margin-left: var(--fa-pull-margin, 0.3em);
301}
302
303.fa-beat {
304  -webkit-animation-name: fa-beat;
305          animation-name: fa-beat;
306  -webkit-animation-delay: var(--fa-animation-delay, 0s);
307          animation-delay: var(--fa-animation-delay, 0s);
308  -webkit-animation-direction: var(--fa-animation-direction, normal);
309          animation-direction: var(--fa-animation-direction, normal);
310  -webkit-animation-duration: var(--fa-animation-duration, 1s);
311          animation-duration: var(--fa-animation-duration, 1s);
312  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
313          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
314  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
315          animation-timing-function: var(--fa-animation-timing, ease-in-out);
316}
317
318.fa-bounce {
319  -webkit-animation-name: fa-bounce;
320          animation-name: fa-bounce;
321  -webkit-animation-delay: var(--fa-animation-delay, 0s);
322          animation-delay: var(--fa-animation-delay, 0s);
323  -webkit-animation-direction: var(--fa-animation-direction, normal);
324          animation-direction: var(--fa-animation-direction, normal);
325  -webkit-animation-duration: var(--fa-animation-duration, 1s);
326          animation-duration: var(--fa-animation-duration, 1s);
327  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
328          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
329  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
330          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
331}
332
333.fa-fade {
334  -webkit-animation-name: fa-fade;
335          animation-name: fa-fade;
336  -webkit-animation-delay: var(--fa-animation-delay, 0s);
337          animation-delay: var(--fa-animation-delay, 0s);
338  -webkit-animation-direction: var(--fa-animation-direction, normal);
339          animation-direction: var(--fa-animation-direction, normal);
340  -webkit-animation-duration: var(--fa-animation-duration, 1s);
341          animation-duration: var(--fa-animation-duration, 1s);
342  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
343          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
344  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
345          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
346}
347
348.fa-beat-fade {
349  -webkit-animation-name: fa-beat-fade;
350          animation-name: fa-beat-fade;
351  -webkit-animation-delay: var(--fa-animation-delay, 0s);
352          animation-delay: var(--fa-animation-delay, 0s);
353  -webkit-animation-direction: var(--fa-animation-direction, normal);
354          animation-direction: var(--fa-animation-direction, normal);
355  -webkit-animation-duration: var(--fa-animation-duration, 1s);
356          animation-duration: var(--fa-animation-duration, 1s);
357  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
358          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
359  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
360          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
361}
362
363.fa-flip {
364  -webkit-animation-name: fa-flip;
365          animation-name: fa-flip;
366  -webkit-animation-delay: var(--fa-animation-delay, 0s);
367          animation-delay: var(--fa-animation-delay, 0s);
368  -webkit-animation-direction: var(--fa-animation-direction, normal);
369          animation-direction: var(--fa-animation-direction, normal);
370  -webkit-animation-duration: var(--fa-animation-duration, 1s);
371          animation-duration: var(--fa-animation-duration, 1s);
372  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
373          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
374  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);
375          animation-timing-function: var(--fa-animation-timing, ease-in-out);
376}
377
378.fa-shake {
379  -webkit-animation-name: fa-shake;
380          animation-name: fa-shake;
381  -webkit-animation-delay: var(--fa-animation-delay, 0s);
382          animation-delay: var(--fa-animation-delay, 0s);
383  -webkit-animation-direction: var(--fa-animation-direction, normal);
384          animation-direction: var(--fa-animation-direction, normal);
385  -webkit-animation-duration: var(--fa-animation-duration, 1s);
386          animation-duration: var(--fa-animation-duration, 1s);
387  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
388          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
389  -webkit-animation-timing-function: var(--fa-animation-timing, linear);
390          animation-timing-function: var(--fa-animation-timing, linear);
391}
392
393.fa-spin {
394  -webkit-animation-name: fa-spin;
395          animation-name: fa-spin;
396  -webkit-animation-delay: var(--fa-animation-delay, 0s);
397          animation-delay: var(--fa-animation-delay, 0s);
398  -webkit-animation-direction: var(--fa-animation-direction, normal);
399          animation-direction: var(--fa-animation-direction, normal);
400  -webkit-animation-duration: var(--fa-animation-duration, 2s);
401          animation-duration: var(--fa-animation-duration, 2s);
402  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
403          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
404  -webkit-animation-timing-function: var(--fa-animation-timing, linear);
405          animation-timing-function: var(--fa-animation-timing, linear);
406}
407
408.fa-spin-reverse {
409  --fa-animation-direction: reverse;
410}
411
412.fa-pulse,
413.fa-spin-pulse {
414  -webkit-animation-name: fa-spin;
415          animation-name: fa-spin;
416  -webkit-animation-direction: var(--fa-animation-direction, normal);
417          animation-direction: var(--fa-animation-direction, normal);
418  -webkit-animation-duration: var(--fa-animation-duration, 1s);
419          animation-duration: var(--fa-animation-duration, 1s);
420  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);
421          animation-iteration-count: var(--fa-animation-iteration-count, infinite);
422  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));
423          animation-timing-function: var(--fa-animation-timing, steps(8));
424}
425
426@media (prefers-reduced-motion: reduce) {
427  .fa-beat,
428.fa-bounce,
429.fa-fade,
430.fa-beat-fade,
431.fa-flip,
432.fa-pulse,
433.fa-shake,
434.fa-spin,
435.fa-spin-pulse {
436    -webkit-animation-delay: -1ms;
437            animation-delay: -1ms;
438    -webkit-animation-duration: 1ms;
439            animation-duration: 1ms;
440    -webkit-animation-iteration-count: 1;
441            animation-iteration-count: 1;
442    -webkit-transition-delay: 0s;
443            transition-delay: 0s;
444    -webkit-transition-duration: 0s;
445            transition-duration: 0s;
446  }
447}
448@-webkit-keyframes fa-beat {
449  0%, 90% {
450    -webkit-transform: scale(1);
451            transform: scale(1);
452  }
453  45% {
454    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
455            transform: scale(var(--fa-beat-scale, 1.25));
456  }
457}
458@keyframes fa-beat {
459  0%, 90% {
460    -webkit-transform: scale(1);
461            transform: scale(1);
462  }
463  45% {
464    -webkit-transform: scale(var(--fa-beat-scale, 1.25));
465            transform: scale(var(--fa-beat-scale, 1.25));
466  }
467}
468@-webkit-keyframes fa-bounce {
469  0% {
470    -webkit-transform: scale(1, 1) translateY(0);
471            transform: scale(1, 1) translateY(0);
472  }
473  10% {
474    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
475            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
476  }
477  30% {
478    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
479            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
480  }
481  50% {
482    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
483            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
484  }
485  57% {
486    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
487            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
488  }
489  64% {
490    -webkit-transform: scale(1, 1) translateY(0);
491            transform: scale(1, 1) translateY(0);
492  }
493  100% {
494    -webkit-transform: scale(1, 1) translateY(0);
495            transform: scale(1, 1) translateY(0);
496  }
497}
498@keyframes fa-bounce {
499  0% {
500    -webkit-transform: scale(1, 1) translateY(0);
501            transform: scale(1, 1) translateY(0);
502  }
503  10% {
504    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
505            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
506  }
507  30% {
508    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
509            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
510  }
511  50% {
512    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
513            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
514  }
515  57% {
516    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
517            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
518  }
519  64% {
520    -webkit-transform: scale(1, 1) translateY(0);
521            transform: scale(1, 1) translateY(0);
522  }
523  100% {
524    -webkit-transform: scale(1, 1) translateY(0);
525            transform: scale(1, 1) translateY(0);
526  }
527}
528@-webkit-keyframes fa-fade {
529  50% {
530    opacity: var(--fa-fade-opacity, 0.4);
531  }
532}
533@keyframes fa-fade {
534  50% {
535    opacity: var(--fa-fade-opacity, 0.4);
536  }
537}
538@-webkit-keyframes fa-beat-fade {
539  0%, 100% {
540    opacity: var(--fa-beat-fade-opacity, 0.4);
541    -webkit-transform: scale(1);
542            transform: scale(1);
543  }
544  50% {
545    opacity: 1;
546    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
547            transform: scale(var(--fa-beat-fade-scale, 1.125));
548  }
549}
550@keyframes fa-beat-fade {
551  0%, 100% {
552    opacity: var(--fa-beat-fade-opacity, 0.4);
553    -webkit-transform: scale(1);
554            transform: scale(1);
555  }
556  50% {
557    opacity: 1;
558    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));
559            transform: scale(var(--fa-beat-fade-scale, 1.125));
560  }
561}
562@-webkit-keyframes fa-flip {
563  50% {
564    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
565            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
566  }
567}
568@keyframes fa-flip {
569  50% {
570    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
571            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
572  }
573}
574@-webkit-keyframes fa-shake {
575  0% {
576    -webkit-transform: rotate(-15deg);
577            transform: rotate(-15deg);
578  }
579  4% {
580    -webkit-transform: rotate(15deg);
581            transform: rotate(15deg);
582  }
583  8%, 24% {
584    -webkit-transform: rotate(-18deg);
585            transform: rotate(-18deg);
586  }
587  12%, 28% {
588    -webkit-transform: rotate(18deg);
589            transform: rotate(18deg);
590  }
591  16% {
592    -webkit-transform: rotate(-22deg);
593            transform: rotate(-22deg);
594  }
595  20% {
596    -webkit-transform: rotate(22deg);
597            transform: rotate(22deg);
598  }
599  32% {
600    -webkit-transform: rotate(-12deg);
601            transform: rotate(-12deg);
602  }
603  36% {
604    -webkit-transform: rotate(12deg);
605            transform: rotate(12deg);
606  }
607  40%, 100% {
608    -webkit-transform: rotate(0deg);
609            transform: rotate(0deg);
610  }
611}
612@keyframes fa-shake {
613  0% {
614    -webkit-transform: rotate(-15deg);
615            transform: rotate(-15deg);
616  }
617  4% {
618    -webkit-transform: rotate(15deg);
619            transform: rotate(15deg);
620  }
621  8%, 24% {
622    -webkit-transform: rotate(-18deg);
623            transform: rotate(-18deg);
624  }
625  12%, 28% {
626    -webkit-transform: rotate(18deg);
627            transform: rotate(18deg);
628  }
629  16% {
630    -webkit-transform: rotate(-22deg);
631            transform: rotate(-22deg);
632  }
633  20% {
634    -webkit-transform: rotate(22deg);
635            transform: rotate(22deg);
636  }
637  32% {
638    -webkit-transform: rotate(-12deg);
639            transform: rotate(-12deg);
640  }
641  36% {
642    -webkit-transform: rotate(12deg);
643            transform: rotate(12deg);
644  }
645  40%, 100% {
646    -webkit-transform: rotate(0deg);
647            transform: rotate(0deg);
648  }
649}
650@-webkit-keyframes fa-spin {
651  0% {
652    -webkit-transform: rotate(0deg);
653            transform: rotate(0deg);
654  }
655  100% {
656    -webkit-transform: rotate(360deg);
657            transform: rotate(360deg);
658  }
659}
660@keyframes fa-spin {
661  0% {
662    -webkit-transform: rotate(0deg);
663            transform: rotate(0deg);
664  }
665  100% {
666    -webkit-transform: rotate(360deg);
667            transform: rotate(360deg);
668  }
669}
670.fa-rotate-90 {
671  -webkit-transform: rotate(90deg);
672          transform: rotate(90deg);
673}
674
675.fa-rotate-180 {
676  -webkit-transform: rotate(180deg);
677          transform: rotate(180deg);
678}
679
680.fa-rotate-270 {
681  -webkit-transform: rotate(270deg);
682          transform: rotate(270deg);
683}
684
685.fa-flip-horizontal {
686  -webkit-transform: scale(-1, 1);
687          transform: scale(-1, 1);
688}
689
690.fa-flip-vertical {
691  -webkit-transform: scale(1, -1);
692          transform: scale(1, -1);
693}
694
695.fa-flip-both,
696.fa-flip-horizontal.fa-flip-vertical {
697  -webkit-transform: scale(-1, -1);
698          transform: scale(-1, -1);
699}
700
701.fa-rotate-by {
702  -webkit-transform: rotate(var(--fa-rotate-angle, none));
703          transform: rotate(var(--fa-rotate-angle, none));
704}
705
706.fa-stack {
707  display: inline-block;
708  vertical-align: middle;
709  height: 2em;
710  position: relative;
711  width: 2.5em;
712}
713
714.fa-stack-1x,
715.fa-stack-2x {
716  bottom: 0;
717  left: 0;
718  margin: auto;
719  position: absolute;
720  right: 0;
721  top: 0;
722  z-index: var(--fa-stack-z-index, auto);
723}
724
725.svg-inline--fa.fa-stack-1x {
726  height: 1em;
727  width: 1.25em;
728}
729.svg-inline--fa.fa-stack-2x {
730  height: 2em;
731  width: 2.5em;
732}
733
734.fa-inverse {
735  color: var(--fa-inverse, #fff);
736}
737
738.sr-only,
739.fa-sr-only {
740  position: absolute;
741  width: 1px;
742  height: 1px;
743  padding: 0;
744  margin: -1px;
745  overflow: hidden;
746  clip: rect(0, 0, 0, 0);
747  white-space: nowrap;
748  border-width: 0;
749}
750
751.sr-only-focusable:not(:focus),
752.fa-sr-only-focusable:not(:focus) {
753  position: absolute;
754  width: 1px;
755  height: 1px;
756  padding: 0;
757  margin: -1px;
758  overflow: hidden;
759  clip: rect(0, 0, 0, 0);
760  white-space: nowrap;
761  border-width: 0;
762}
763
764.svg-inline--fa .fa-primary {
765  fill: var(--fa-primary-color, currentColor);
766  opacity: var(--fa-primary-opacity, 1);
767}
768
769.svg-inline--fa .fa-secondary {
770  fill: var(--fa-secondary-color, currentColor);
771  opacity: var(--fa-secondary-opacity, 0.4);
772}
773
774.svg-inline--fa.fa-swap-opacity .fa-primary {
775  opacity: var(--fa-secondary-opacity, 0.4);
776}
777
778.svg-inline--fa.fa-swap-opacity .fa-secondary {
779  opacity: var(--fa-primary-opacity, 1);
780}
781
782.svg-inline--fa mask .fa-primary,
783.svg-inline--fa mask .fa-secondary {
784  fill: black;
785}
786
787.fad.fa-inverse,
788.fa-duotone.fa-inverse {
789  color: var(--fa-inverse, #fff);
790}`;function YF(){var i=BF,e=jF,t=Zt.cssPrefix,n=Zt.replacementClass,r=Ese;if(t!==i||n!==e){var o=new RegExp("\\.".concat(i,"\\-"),"g"),a=new RegExp("\\--".concat(i,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");r=r.replace(o,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(s,".".concat(n))}return r}var vF=!1;function iw(){Zt.autoAddCss&&!vF&&(yse(YF()),vF=!0)}var Dse={mixout:function(){return{dom:{css:YF,insertCss:iw}}},hooks:function(){return{beforeDOMElementCreation:function(){iw()},beforeI2svg:function(){iw()}}}},Kc=Wd||{};Kc[Qc]||(Kc[Qc]={});Kc[Qc].styles||(Kc[Qc].styles={});Kc[Qc].hooks||(Kc[Qc].hooks={});Kc[Qc].shims||(Kc[Qc].shims=[]);var $s=Kc[Qc],QF=[],Ose=function i(){Ki.removeEventListener("DOMContentLoaded",i),y8=1,QF.map(function(e){return e()})},y8=!1;Zc&&(y8=(Ki.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ki.readyState),y8||Ki.addEventListener("DOMContentLoaded",Ose));function Tse(i){Zc&&(y8?setTimeout(i,0):QF.push(i))}function lm(i){var e=i.tag,t=i.attributes,n=t===void 0?{}:t,r=i.children,o=r===void 0?[]:r;return typeof i=="string"?WF(i):"<".concat(e," ").concat(wse(n),">").concat(o.map(lm).join(""),"</").concat(e,">")}function xF(i,e,t){if(i&&i[e]&&i[e][t])return{prefix:e,iconName:t,icon:i[e][t]}}var Ise=function(e,t){return function(n,r,o,a){return e.call(t,n,r,o,a)}},rw=function(e,t,n,r){var o=Object.keys(e),a=o.length,s=r!==void 0?Ise(t,r):t,l,u,h;for(n===void 0?(l=1,h=e[o[0]]):(l=0,h=n);l<a;l++)u=o[l],h=s(h,e[u],u,e);return h};function kse(i){for(var e=[],t=0,n=i.length;t<n;){var r=i.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){var o=i.charCodeAt(t++);(o&64512)==56320?e.push(((r&1023)<<10)+(o&1023)+65536):(e.push(r),t--)}else e.push(r)}return e}function dw(i){var e=kse(i);return e.length===1?e[0].toString(16):null}function Nse(i,e){var t=i.length,n=i.charCodeAt(e),r;return n>=55296&&n<=56319&&t>e+1&&(r=i.charCodeAt(e+1),r>=56320&&r<=57343)?(n-55296)*1024+r-56320+65536:n}function bF(i){return Object.keys(i).reduce(function(e,t){var n=i[t],r=!!n.icon;return r?e[n.iconName]=n.icon:e[t]=n,e},{})}function uw(i,e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=t.skipHooks,r=n===void 0?!1:n,o=bF(e);typeof $s.hooks.addPack=="function"&&!r?$s.hooks.addPack(i,bF(e)):$s.styles[i]=Bt(Bt({},$s.styles[i]||{}),o),i==="fas"&&uw("fa",e)}var g8,_8,v8,K0=$s.styles,Ase=$s.shims,Vse=(g8={},Xr(g8,Qi,Object.values(im[Qi])),Xr(g8,xr,Object.values(im[xr])),g8),Sw=null,KF={},XF={},ZF={},JF={},eR={},Fse=(_8={},Xr(_8,Qi,Object.keys(tm[Qi])),Xr(_8,xr,Object.keys(tm[xr])),_8);function Rse(i){return~vse.indexOf(i)}function zse(i,e){var t=e.split("-"),n=t[0],r=t.slice(1).join("-");return n===i&&r!==""&&!Rse(r)?r:null}var tR=function(){var e=function(o){return rw(K0,function(a,s,l){return a[l]=rw(s,o,{}),a},{})};KF=e(function(r,o,a){if(o[3]&&(r[o[3]]=a),o[2]){var s=o[2].filter(function(l){return typeof l=="number"});
790s.forEach(function(l){r[l.toString(16)]=a})}return r}),XF=e(function(r,o,a){if(r[a]=a,o[2]){var s=o[2].filter(function(l){return typeof l=="string"});s.forEach(function(l){r[l]=a})}return r}),eR=e(function(r,o,a){var s=o[2];return r[a]=a,s.forEach(function(l){r[l]=a}),r});var t="far"in K0||Zt.autoFetchSvg,n=rw(Ase,function(r,o){var a=o[0],s=o[1],l=o[2];return s==="far"&&!t&&(s="fas"),typeof a=="string"&&(r.names[a]={prefix:s,iconName:l}),typeof a=="number"&&(r.unicodes[a.toString(16)]={prefix:s,iconName:l}),r},{names:{},unicodes:{}});ZF=n.names,JF=n.unicodes,Sw=S8(Zt.styleDefault,{family:Zt.familyDefault})};Cse(function(i){Sw=S8(i.styleDefault,{family:Zt.familyDefault})});tR();function Pw(i,e){return(KF[i]||{})[e]}function Lse(i,e){return(XF[i]||{})[e]}function H2(i,e){return(eR[i]||{})[e]}function nR(i){return ZF[i]||{prefix:null,iconName:null}}function Hse(i){var e=JF[i],t=Pw("fas",i);return e||(t?{prefix:"fas",iconName:t}:null)||{prefix:null,iconName:null}}function Yd(){return Sw}var Ew=function(){return{prefix:null,iconName:null,rest:[]}};function S8(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.family,n=t===void 0?Qi:t,r=tm[n][i],o=nm[n][i]||nm[n][r],a=i in $s.styles?i:null;return o||a||null}var CF=(v8={},Xr(v8,Qi,Object.keys(im[Qi])),Xr(v8,xr,Object.keys(im[xr])),v8);function P8(i){var e,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.skipLookups,r=n===void 0?!1:n,o=(e={},Xr(e,Qi,"".concat(Zt.cssPrefix,"-").concat(Qi)),Xr(e,xr,"".concat(Zt.cssPrefix,"-").concat(xr)),e),a=null,s=Qi;(i.includes(o[Qi])||i.some(function(u){return CF[Qi].includes(u)}))&&(s=Qi),(i.includes(o[xr])||i.some(function(u){return CF[xr].includes(u)}))&&(s=xr);var l=i.reduce(function(u,h){var _=zse(Zt.cssPrefix,h);if(K0[h]?(h=Vse[s].includes(h)?pse[s][h]:h,a=h,u.prefix=h):Fse[s].indexOf(h)>-1?(a=h,u.prefix=S8(h,{family:s})):_?u.iconName=_:h!==Zt.replacementClass&&h!==o[Qi]&&h!==o[xr]&&u.rest.push(h),!r&&u.prefix&&u.iconName){var y=a==="fa"?nR(u.iconName):{},b=H2(u.prefix,u.iconName);y.prefix&&(a=null),u.iconName=y.iconName||b||u.iconName,u.prefix=y.prefix||u.prefix,u.prefix==="far"&&!K0.far&&K0.fas&&!Zt.autoFetchSvg&&(u.prefix="fas")}return u},Ew());return(i.includes("fa-brands")||i.includes("fab"))&&(l.prefix="fab"),(i.includes("fa-duotone")||i.includes("fad"))&&(l.prefix="fad"),!l.prefix&&s===xr&&(K0.fass||Zt.autoFetchSvg)&&(l.prefix="fass",l.iconName=H2(l.prefix,l.iconName)||l.iconName),(l.prefix==="fa"||a==="fa")&&(l.prefix=Yd()||"fas"),l}var Bse=function(){function i(){ese(this,i),this.definitions={}}return tse(i,[{key:"add",value:function(){for(var t=this,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(function(s){t.definitions[s]=Bt(Bt({},t.definitions[s]||{}),a[s]),uw(s,a[s]);var l=im[Qi][s];l&&uw(l,a[s]),tR()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(t,n){var r=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(r).map(function(o){var a=r[o],s=a.prefix,l=a.iconName,u=a.icon,h=u[2];t[s]||(t[s]={}),h.length>0&&h.forEach(function(_){typeof _=="string"&&(t[s][_]=u)}),t[s][l]=u}),t}}]),i}(),yF=[],X0={},Z0={},jse=Object.keys(Z0);function qse(i,e){var t=e.mixoutsTo;return yF=i,X0={},Object.keys(Z0).forEach(function(n){jse.indexOf(n)===-1&&delete Z0[n]}),yF.forEach(function(n){var r=n.mixout?n.mixout():{};if(Object.keys(r).forEach(function(a){typeof r[a]=="function"&&(t[a]=r[a]),C8(r[a])==="object"&&Object.keys(r[a]).forEach(function(s){t[a]||(t[a]={}),t[a][s]=r[a][s]})}),n.hooks){var o=n.hooks();Object.keys(o).forEach(function(a){X0[a]||(X0[a]=[]),X0[a].push(o[a])})}n.provides&&n.provides(Z0)}),t}function pw(i,e){for(var t=arguments.length,n=new Array(t>2?t-2:0),r=2;r<t;r++)n[r-2]=arguments[r];var o=X0[i]||[];return o.forEach(function(a){e=a.apply(null,[e].concat(n))}),e}function j2(i){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];var r=X0[i]||[];r.forEach(function(o){o.apply(null,t)})}function Xc(){var i=arguments[0],e=Array.prototype.slice.call(arguments,1
790);return Z0[i]?Z0[i].apply(null,e):void 0}function fw(i){i.prefix==="fa"&&(i.prefix="fas");var e=i.iconName,t=i.prefix||Yd();if(e)return e=H2(t,e)||e,xF(iR.definitions,t,e)||xF($s.styles,t,e)}var iR=new Bse,Use=function(){Zt.autoReplaceSvg=!1,Zt.observeMutations=!1,j2("noAuto")},Gse={i2svg:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Zc?(j2("beforeI2svg",e),Xc("pseudoElements2svg",e),Xc("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.autoReplaceSvgRoot;Zt.autoReplaceSvg===!1&&(Zt.autoReplaceSvg=!0),Zt.observeMutations=!0,Tse(function(){Wse({autoReplaceSvgRoot:t}),j2("watch",e)})}},$se={icon:function(e){if(e===null)return null;if(C8(e)==="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:H2(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){var t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=S8(e[0]);return{prefix:n,iconName:H2(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Zt.cssPrefix,"-"))>-1||e.match(fse))){var r=P8(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Yd(),iconName:H2(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){var o=Yd();return{prefix:o,iconName:H2(o,e)||e}}}},ka={noAuto:Use,config:Zt,dom:Gse,parse:$se,library:iR,findIconDefinition:fw,toHtml:lm},Wse=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.autoReplaceSvgRoot,n=t===void 0?Ki:t;(Object.keys($s.styles).length>0||Zt.autoFetchSvg)&&Zc&&Zt.autoReplaceSvg&&ka.dom.i2svg({node:n})};function E8(i,e){return Object.defineProperty(i,"abstract",{get:e}),Object.defineProperty(i,"html",{get:function(){return i.abstract.map(function(n){return lm(n)})}}),Object.defineProperty(i,"node",{get:function(){if(Zc){var n=Ki.createElement("div");return n.innerHTML=i.html,n.children}}}),i}function Yse(i){var e=i.children,t=i.main,n=i.mask,r=i.attributes,o=i.styles,a=i.transform;if(ww(a)&&t.found&&!n.found){var s=t.width,l=t.height,u={x:s/l/2,y:.5};r.style=w8(Bt(Bt({},o),{},{"transform-origin":"".concat(u.x+a.x/16,"em ").concat(u.y+a.y/16,"em")}))}return[{tag:"svg",attributes:r,children:e}]}function Qse(i){var e=i.prefix,t=i.iconName,n=i.children,r=i.attributes,o=i.symbol,a=o===!0?"".concat(e,"-").concat(Zt.cssPrefix,"-").concat(t):o;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Bt(Bt({},r),{},{id:a}),children:n}]}]}function Dw(i){var e=i.icons,t=e.main,n=e.mask,r=i.prefix,o=i.iconName,a=i.transform,s=i.symbol,l=i.title,u=i.maskId,h=i.titleId,_=i.extra,y=i.watchable,b=y===void 0?!1:y,x=n.found?n:t,w=x.width,k=x.height,V=r==="fak",N=[Zt.replacementClass,o?"".concat(Zt.cssPrefix,"-").concat(o):""].filter(function(Q){return _.classes.indexOf(Q)===-1}).filter(function(Q){return Q!==""||!!Q}).concat(_.classes).join(" "),A={children:[],attributes:Bt(Bt({},_.attributes),{},{"data-prefix":r,"data-icon":o,class:N,role:_.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(w," ").concat(k)})},$=V&&!~_.classes.indexOf("fa-fw")?{width:"".concat(w/k*16*.0625,"em")}:{};b&&(A.attributes[B2]=""),l&&(A.children.push({tag:"title",attributes:{id:A.attributes["aria-labelledby"]||"title-".concat(h||om())},children:[l]}),delete A.attributes.title);var ie=Bt(Bt({},A),{},{prefix:r,iconName:o,main:t,mask:n,maskId:u,transform:a,symbol:s,styles:Bt(Bt({},$),_.styles)}),H=n.found&&t.found?Xc("generateAbstractMask",ie)||{children:[],attributes:{}}:Xc("generateAbstractIcon",ie)||{children:[],attributes:{}},j=H.children,U=H.attributes;return ie.children=j,ie.attributes=U,s?Qse(ie):Yse(ie)}function MF(i){var e=i.content,t=i.width,n=i.height,r=i.transform,o=i.title,a=i.extra,s=i.watchable,l=s===void 0?!1:s,u=Bt(Bt(Bt({},a.attributes),o?{title:o}:{}),{},{class:a.classes.join(" ")});l&&(u[B2]="");var h=Bt({},a.styles);ww(r)&&(h.transform=Pse({transform:r,startCentered:!0,width:t,height:n}),h["-webkit-transform"]=h.transform);var _=w8(h);_.length>0&&(u.style=_);var y=[];return y.push({tag:"span",attributes:u,children:[e]}),o&&y.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),y}function Kse(i){var e=i.content,t=i.title,n=i.extra,r=Bt(Bt(Bt({},n.attributes),t?{title:t}:{}),{},{class:n.classes.join(" ")}),o=w8(n.styles);o.length>0&&(r.style=o);var a=[];return a.push({tag:"span",attributes:r,children:[e]}),t&&a.push({tag:"span",attributes:{class:"sr-only"},children:[t]}),a}var ow=$s.styles;function mw(i){var e=i[0],t=i[1],n=i.slice(4),r=vw(n,1),o=r[0],a=null;return Array.isArray(o)?a={tag:"g",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(L2.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(L2.SECONDARY),fill:"currentColor",d:o[0]}},{tag:"path",attributes:{class:"".concat(Zt.cssPrefix,"-").concat(L2.PRIMARY),fill:"currentColor",d:o[1]}}]}
790:a={tag:"path",attributes:{fill:"currentColor",d:o}},{found:!0,width:e,height:t,icon:a}}var Xse={found:!1,width:512,height:512};function Zse(i,e){!qF&&!Zt.showMissingIcons&&i&&console.error('Icon with name "'.concat(i,'" and prefix "').concat(e,'" is missing.'))}function hw(i,e){var t=e;return e==="fa"&&Zt.styleDefault!==null&&(e=Yd()),new Promise(function(n,r){var o={found:!1,width:512,height:512,icon:Xc("missingIconAbstract")||{}};if(t==="fa"){var a=nR(i)||{};i=a.iconName||i,e=a.prefix||e}if(i&&e&&ow[e]&&ow[e][i]){var s=ow[e][i];return n(mw(s))}Zse(i,e),n(Bt(Bt({},Xse),{},{icon:Zt.showMissingIcons&&i?Xc("missingIconAbstract")||{}:{}}))})}var wF=function(){},gw=Zt.measurePerformance&&d8&&d8.mark&&d8.measure?d8:{mark:wF,measure:wF},Zf='FA "6.5.1"',Jse=function(e){return gw.mark("".concat(Zf," ").concat(e," begins")),function(){return rR(e)}},rR=function(e){gw.mark("".concat(Zf," ").concat(e," ends")),gw.measure("".concat(Zf," ").concat(e),"".concat(Zf," ").concat(e," begins"),"".concat(Zf," ").concat(e," ends"))},Ow={begin:Jse,end:rR},x8=function(){};function SF(i){var e=i.getAttribute?i.getAttribute(B2):null;return typeof e=="string"}function ele(i){var e=i.getAttribute?i.getAttribute(bw):null,t=i.getAttribute?i.getAttribute(Cw):null;return e&&t}function tle(i){return i&&i.classList&&i.classList.contains&&i.classList.contains(Zt.replacementClass)}function nle(){if(Zt.autoReplaceSvg===!0)return b8.replace;var i=b8[Zt.autoReplaceSvg];return i||b8.replace}function ile(i){return Ki.createElementNS("http://www.w3.org/2000/svg",i)}function rle(i){return Ki.createElement(i)}function oR(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.ceFn,n=t===void 0?i.tag==="svg"?ile:rle:t;if(typeof i=="string")return Ki.createTextNode(i);var r=n(i.tag);Object.keys(i.attributes||[]).forEach(function(a){r.setAttribute(a,i.attributes[a])});var o=i.children||[];return o.forEach(function(a){r.appendChild(oR(a,{ceFn:n}))}),r}function ole(i){var e=" ".concat(i.outerHTML," ");return e="".concat(e,"Font Awesome fontawesome.com "),e}var b8={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach(function(r){t.parentNode.insertBefore(oR(r),t)}),t.getAttribute(B2)===null&&Zt.keepOriginalSource){var n=Ki.createComment(ole(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~Mw(t).indexOf(Zt.replacementClass))return b8.replace(e);var r=new RegExp("".concat(Zt.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce(function(s,l){return l===Zt.replacementClass||l.match(r)?s.toSvg.push(l):s.toNode.push(l),s},{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),o.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var a=n.map(function(s){return lm(s)}).join(`
791`);t.setAttribute(B2,""),t.innerHTML=a}};function PF(i){i()}function aR(i,e){var t=typeof e=="function"?e:x8;if(i.length===0)t();else{var n=PF;Zt.mutateApproach===dse&&(n=Wd.requestAnimationFrame||PF),n(function(){var r=nle(),o=Ow.begin("mutate");i.map(r),o(),t()})}}var Tw=!1;function sR(){Tw=!0}function _w(){Tw=!1}var M8=null;function EF(i){if(hF&&Zt.observeMutations){var e=i.treeCallback,t=e===void 0?x8:e,n=i.nodeCallback,r=n===void 0?x8:n,o=i.pseudoElementsCallback,a=o===void 0?x8:o,s=i.observeMutationsRoot,l=s===void 0?Ki:s;M8=new hF(function(u){if(!Tw){var h=Yd();ep(u).forEach(function(_){if(_.type==="childList"&&_.addedNodes.length>0&&!SF(_.addedNodes[0])&&(Zt.searchPseudoElements&&a(_.target),t(_.target)),_.type==="attributes"&&_.target.parentNode&&Zt.searchPseudoElements&&a(_.target.parentNode),_.type==="attributes"&&SF(_.target)&&~_se.indexOf(_.attributeName))if(_.attributeName==="class"&&ele(_.target)){var y=P8(Mw(_.target)),b=y.prefix,x=y.iconName;_.target.setAttribute(bw,b||h),x&&_.target.setAttribute(Cw,x)}else tle(_.target)&&r(_.target)})}}),Zc&&M8.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ale(){M8&&M8.disconnect()}function sle(i){var e=i.getAttribute("style"),t=[];return e&&(t=e.split(";").reduce(function(n,r){var o=r.split(":"),a=o[0],s=o.slice(1);return a&&s.length>0&&(n[a]=s.join(":").trim()),n},{})),t}function lle(i){var e=i.getAttribute("data-prefix"),t=i.getAttribute("data-icon"),n=i.innerText!==void 0?i.innerText.trim():"",r=P8(Mw(i));return r.prefix||(r.prefix=Yd()),e&&t&&(r.prefix=e,r.iconName=t),r.iconName&&r.prefix||(r.prefix&&n.length>0&&(r.iconName=Lse(r.prefix,i.innerText)||Pw(r.prefix,dw(i.innerText))),!r.iconName&&Zt.autoFetchSvg&&i.firstChild&&i.firstChild.nodeType===Node.TEXT_NODE&&(r.iconName=i.firstChild.data)),r}function cle(i){var e=ep(i.attributes).reduce(function(r,o){return r.name!=="class"&&r.name!=="style"&&(r[o.name]=o.value),r},{}),t=i.getAttribute("title"),n=i.getAttribute("data-fa-title-id");return Zt.autoA11y&&(t?e["aria-labelledby"]="".concat(Zt.replacementClass,"-title-").concat(n||om()):(e["aria-hidden"]="true",e.focusable="false")),e}function dle(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Vl,symbol
791:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function DF(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0},t=lle(i),n=t.iconName,r=t.prefix,o=t.rest,a=cle(i),s=pw("parseNodeAttributes",{},i),l=e.styleParser?sle(i):[];return Bt({iconName:n,title:i.getAttribute("title"),titleId:i.getAttribute("data-fa-title-id"),prefix:r,transform:Vl,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:l,attributes:a}},s)}var ule=$s.styles;function lR(i){var e=Zt.autoReplaceSvg==="nest"?DF(i,{styleParser:!1}):DF(i);return~e.extra.classes.indexOf(UF)?Xc("generateLayersText",i,e):Xc("generateSvgReplacementMutation",i,e)}var Qd=new Set;yw.map(function(i){Qd.add("fa-".concat(i))});Object.keys(tm[Qi]).map(Qd.add.bind(Qd));Object.keys(tm[xr]).map(Qd.add.bind(Qd));Qd=am(Qd);function OF(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Zc)return Promise.resolve();var t=Ki.documentElement.classList,n=function(_){return t.add("".concat(gF,"-").concat(_))},r=function(_){return t.remove("".concat(gF,"-").concat(_))},o=Zt.autoFetchSvg?Qd:yw.map(function(h){return"fa-".concat(h)}).concat(Object.keys(ule));o.includes("fa")||o.push("fa");var a=[".".concat(UF,":not([").concat(B2,"])")].concat(o.map(function(h){return".".concat(h,":not([").concat(B2,"])")})).join(", ");if(a.length===0)return Promise.resolve();var s=[];try{s=ep(i.querySelectorAll(a))}catch{}if(s.length>0)n("pending"),r("complete");else return Promise.resolve();var l=Ow.begin("onTree"),u=s.reduce(function(h,_){try{var y=lR(_);y&&h.push(y)}catch(b){qF||b.name==="MissingIcon"&&console.error(b)}return h},[]);return new Promise(function(h,_){Promise.all(u).then(function(y){aR(y,function(){n("active"),n("complete"),r("pending"),typeof e=="function"&&e(),l(),h()})}).catch(function(y){l(),_(y)})})}function ple(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;lR(i).then(function(t){t&&aR([t],e)})}function fle(i){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=(e||{}).icon?e:fw(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:fw(r||{})),i(n,Bt(Bt({},t),{},{mask:r}))}}var mle=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.transform,r=n===void 0?Vl:n,o=t.symbol,a=o===void 0?!1:o,s=t.mask,l=s===void 0?null:s,u=t.maskId,h=u===void 0?null:u,_=t.title,y=_===void 0?null:_,b=t.titleId,x=b===void 0?null:b,w=t.classes,k=w===void 0?[]:w,V=t.attributes,N=V===void 0?{}:V,A=t.styles,$=A===void 0?{}:A;if(e){var ie=e.prefix,H=e.iconName,j=e.icon;return E8(Bt({type:"icon"},e),function(){return j2("beforeDOMElementCreation",{iconDefinition:e,params:t}),Zt.autoA11y&&(y?N["aria-labelledby"]="".concat(Zt.replacementClass,"-title-").concat(x||om()):(N["aria-hidden"]="true",N.focusable="false")),Dw({icons:{main:mw(j),mask:l?mw(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:ie,iconName:H,transform:Bt(Bt({},Vl),r),symbol:a,title:y,maskId:h,titleId:x,extra:{attributes:N,styles:$,classes:k}})})}},hle={mixout:function(){return{icon:fle(mle)}},hooks:function(){return{mutationObserverCallbacks:function(t){return t.treeCallback=OF,t.nodeCallback=ple,t}}},provides:function(e){e.i2svg=function(t){var n=t.node,r=n===void 0?Ki:n,o=t.callback,a=o===void 0?function(){}:o;return OF(r,a)},e.generateSvgReplacementMutation=function(t,n){var r=n.iconName,o=n.title,a=n.titleId,s=n.prefix,l=n.transform,u=n.symbol,h=n.mask,_=n.maskId,y=n.extra;return new Promise(function(b,x){Promise.all([hw(r,s),h.iconName?hw(h.iconName,h.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(w){var k=vw(w,2),V=k[0],N=k[1];b([t,Dw({icons:{main:V,mask:N},prefix:s,iconName:r,transform:l,symbol:u,maskId:_,title:o,titleId:a,extra:y,watchable:!0})])}).catch(x)})},e.generateAbstractIcon=function(t){var n=t.children,r=t.attributes,o=t.main,a=t.transform,s=t.styles,l=w8(s);l.length>0&&(r.style=l);var u;return ww(a)&&(u=Xc("generateAbstractTransformGrouping",{main:o,transform:a,containerWidth:o.width,iconWidth:o.width})),n.push(u||o.icon),{children:n,attributes:r}}}},gle={mixout:function(){return{layer:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.classes,o=r===void 0?[]:r;return E8({type:"layer"},function(){j2("beforeDOMElementCreation",{assembler:t,params:n});var a=[];return t(function(s){Array.isArray(s)?s.map(function(l){a=a.concat(l.abstract)}):a=a.concat(s.abstract)}),[{tag:"span",attributes:{class:["".concat(Zt.cssPrefix,"-layers")].concat(am(o)).join(" ")},children:a}]})}}}},_le={mixout:function(){return{counter:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.title,o=r===void 0?null:r,a=n.classes,s=a===void 0?[]:a,l=n.attributes,u=l===void 0?{}:l,h=n.styles,_=h===void 0?{}:h;return E8({type:"counter",content:t},function(){return j2("beforeDOMElementCreation",{content:t,params:n}),Kse({content:t.toString(),title:o,extra:{attributes:u,styles:_,classes:["".concat(Zt.cssPrefix,"-layers-counter")].concat(am(s))}})})}}}},vle={mixout:function(){return{text:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.transform,o=r===void 0?Vl:r,a=n.title,s=a===void 0?null:a,l=n.classes,u=l===void 0?[]:l,h=n.attributes,_=h===void 0?{}:h,y=n.styles,b=y===void 0?{}:y;return E8({type:"text",content:t},function(){return j2("beforeDOMElementCreation",{content:t,params:n}),MF({content:t,transform:Bt(Bt({},Vl),o),title:s,extra:{attributes:_,styles:b,classes:["".concat(Zt.cssPrefix,"-layers-text")].concat(am(u))}})})}}},provides:function(e){e.generateLayersText=function(t,n){var r=n.title,o=n.transform,a=n.extra,s=null,l=null;if(HF){var u=parseInt(getComputedStyle(t).fontSize,10),h=t.getBoundingClientRect();s=h.width/u,l=h.height/u}return Zt.autoA11y&&!r&&(a.attributes["aria-hidden"]="true"),Promise.resolve([t,MF({content:t.innerHTML,width:s,height:l,transform:o,title:r,extra:a,watchable:!0})])}}},xle=new RegExp('"',"ug"),TF=[1105920,1112319];function ble(i){var e=i.replace(xle,""),t=Nse(e,0),n=t>=TF[0]&&t<=TF[1],r=e.length===2?e[0]===e[1]:!1;return{value:dw(r?e[0]:e),isSecondary:n||r}}function IF(i,e){var t="".concat(cse).concat(e.replace(":","-"));return new Promise(function(n,r){if(i.getAttribute(t)!==null)return n();var o=ep(i.children),a=o.filter(function(j){return j.getAttribute(cw)===e})[0],s=Wd.getComputedStyle(i,e),l=s.getPropertyValue("font-family").match(mse),u=s.getPropertyValue("font-weight"),h=s.getPropertyValue("content");
791if(a&&!l)return i.removeChild(a),n();if(l&&h!=="none"&&h!==""){var _=s.getPropertyValue("content"),y=~["Sharp"].indexOf(l[2])?xr:Qi,b=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(l[2])?nm[y][l[2].toLowerCase()]:hse[y][u],x=ble(_),w=x.value,k=x.isSecondary,V=l[0].startsWith("FontAwesome"),N=Pw(b,w),A=N;if(V){var $=Hse(w);$.iconName&&$.prefix&&(N=$.iconName,b=$.prefix)}if(N&&!k&&(!a||a.getAttribute(bw)!==b||a.getAttribute(Cw)!==A)){i.setAttribute(t,A),a&&i.removeChild(a);var ie=dle(),H=ie.extra;H.attributes[cw]=e,hw(N,b).then(function(j){var U=Dw(Bt(Bt({},ie),{},{icons:{main:j,mask:Ew()},prefix:b,iconName:A,extra:H,watchable:!0})),Q=Ki.createElementNS("http://www.w3.org/2000/svg","svg");e==="::before"?i.insertBefore(Q,i.firstChild):i.appendChild(Q),Q.outerHTML=U.map(function(J){return lm(J)}).join(`
792`),i.removeAttribute(t),n()}).catch(r)}else n()}else n()})}function Cle(i){return Promise.all([IF(i,"::before"),IF(i,"::after")])}function yle(i){return i.parentNode!==document.head&&!~use.indexOf(i.tagName.toUpperCase())&&!i.getAttribute(cw)&&(!i.parentNode||i.parentNode.tagName!=="svg")}function kF(i){if(Zc)return new Promise(function(e,t){var n=ep(i.querySelectorAll("*")).filter(yle).map(Cle),r=Ow.begin("searchPseudoElements");sR(),Promise.all(n).then(function(){r(),_w(),e()}).catch(function(){r(),_w(),t()})})}var Mle={hooks:function(){return{mutationObserverCallbacks:function(t){return t.pseudoElementsCallback=kF,t}}},provides:function(e){e.pseudoElements2svg=function(t){var n=t.node,r=n===void 0?Ki:n;Zt.searchPseudoElements&&kF(r)}}},NF=!1,wle={mixout:function(){return{dom:{unwatch:function(){sR(),NF=!0}}}},hooks:function(){return{bootstrap:function(){EF(pw("mutationObserverCallbacks",{}))},noAuto:function(){ale()},watch:function(t){var n=t.observeMutationsRoot;NF?_w():EF(pw("mutationObserverCallbacks",{observeMutationsRoot:n}))}}}},AF=function(e){var t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce(function(n,r){var o=r.toLowerCase().split("-"),a=o[0],s=o.slice(1).join("-");if(a&&s==="h")return n.flipX=!0,n;if(a&&s==="v")return n.flipY=!0,n;if(s=parseFloat(s),isNaN(s))return n;switch(a){case"grow":n.size=n.size+s;break;case"shrink":n.size=n.size-s;break;case"left":n.x=n.x-s;break;case"right":n.x=n.x+s;break;case"up":n.y=n.y-s;break;case"down":n.y=n.y+s;break;case"rotate":n.rotate=n.rotate+s;break}return n},t)},Sle={mixout:function(){return{parse:{transform:function(t){return AF(t)}}}},hooks:function(){return{parseNodeAttributes:function(t,n){var r=n.getAttribute("data-fa-transform");return r&&(t.transform=AF(r)),t}}},provides:function(e){e.generateAbstractTransformGrouping=function(t){var n=t.main,r=t.transform,o=t.containerWidth,a=t.iconWidth,s={transform:"translate(".concat(o/2," 256)")},l="translate(".concat(r.x*32,", ").concat(r.y*32,") "),u="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),h="rotate(".concat(r.rotate," 0 0)"),_={transform:"".concat(l," ").concat(u," ").concat(h)},y={transform:"translate(".concat(a/2*-1," -256)")},b={outer:s,inner:_,path:y};return{tag:"g",attributes:Bt({},b.outer),children:[{tag:"g",attributes:Bt({},b.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:Bt(Bt({},n.icon.attributes),b.path)}]}]}}}},aw={x:0,y:0,width:"100%",height:"100%"};function VF(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return i.attributes&&(i.attributes.fill||e)&&(i.attributes.fill="black"),i}function Ple(i){return i.tag==="g"?i.children:[i]}var Ele={hooks:function(){return{parseNodeAttributes:function(t,n){var r=n.getAttribute("data-fa-mask"),o=r?P8(r.split(" ").map(function(a){return a.trim()})):Ew();return o.prefix||(o.prefix=Yd()),t.mask=o,t.maskId=n.getAttribute("data-fa-mask-id"),t}}},provides:function(e){e.generateAbstractMask=function(t){var n=t.children,r=t.attributes,o=t.main,a=t.mask,s=t.maskId,l=t.transform,u=o.width,h=o.icon,_=a.width,y=a.icon,b=Sse({transform:l,containerWidth:_,iconWidth:u}),x={tag:"rect",attributes:Bt(Bt({},aw),{},{fill:"white"})},w=h.children?{children:h.children.map(VF)}:{},k={tag:"g",attributes:Bt({},b.inner),children:[VF(Bt({tag:h.tag,attributes:Bt(Bt({},h.attributes),b.path)},w))]},V={tag:"g",attributes:Bt({},b.outer),children:[k]},N="mask-".concat(s||om()),A="clip-".concat(s||om()),$={tag:"mask",attributes:Bt(Bt({},aw),{},{id:N,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[x,V]},ie={tag:"defs",children:[{tag:"clipPath",attributes:{id:A}
792,children:Ple(y)},$]};return n.push(ie,{tag:"rect",attributes:Bt({fill:"currentColor","clip-path":"url(#".concat(A,")"),mask:"url(#".concat(N,")")},aw)}),{children:n,attributes:r}}}},Dle={provides:function(e){var t=!1;Wd.matchMedia&&(t=Wd.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var n=[],r={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:Bt(Bt({},r),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var a=Bt(Bt({},o),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Bt(Bt({},r),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:Bt(Bt({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Bt(Bt({},a),{},{values:"1;0;1;1;0;1;"})}),n.push(s),n.push({tag:"path",attributes:Bt(Bt({},r),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:Bt(Bt({},a),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:Bt(Bt({},r),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:Bt(Bt({},a),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},Ole={hooks:function(){return{parseNodeAttributes:function(t,n){var r=n.getAttribute("data-fa-symbol"),o=r===null?!1:r===""?!0:r;return t.symbol=o,t}}}},Tle=[Dse,hle,gle,_le,vle,Mle,wle,Sle,Ele,Dle,Ole];qse(Tle,{mixoutsTo:ka});var zWe=ka.noAuto,LWe=ka.config,HWe=ka.library,BWe=ka.dom,cR=ka.parse,jWe=ka.findIconDefinition,qWe=ka.toHtml,dR=ka.icon,UWe=ka.layer,Ile=ka.text,kle=ka.counter;var Nle=["*"],Ale=i=>{throw new Error(`Could not find icon with iconName=${i.iconName} and prefix=${i.prefix} in the icon library.`)},Vle=()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")},Fle=i=>{let e={"fa-spin":i.spin,"fa-pulse":i.pulse,"fa-fw":i.fixedWidth,"fa-border":i.border,"fa-inverse":i.inverse,"fa-layers-counter":i.counter,"fa-flip-horizontal":i.flip==="horizontal"||i.flip==="both","fa-flip-vertical":i.flip==="vertical"||i.flip==="both",[`fa-${i.size}`]:i.size!==null,[`fa-rotate-${i.rotate}`]:i.rotate!==null,[`fa-pull-${i.pull}`]:i.pull!==null,[`fa-stack-${i.stackItemSize}`]:i.stackItemSize!=null};return Object.keys(e).map(t=>e[t]?t:null).filter(t=>t)},Rle=i=>i.prefix!==void 0&&i.iconName!==void 0,zle=(i,e)=>{if(Rle(i))return i;if(Array.isArray(i)&&i.length===2)return{prefix:i[0],iconName:i[1]};if(typeof i=="string")return{prefix:e,iconName:i}},Lle=(()=>{class i{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Hle=(()=>{class i{constructor(){this.definitions={}}addIcons(...t){for(let n of t){n.prefix in this.definitions||(this.definitions[n.prefix]={}),this.definitions[n.prefix][n.iconName]=n;for(let r of n.icon[2])typeof r=="string"&&(this.definitions[n.prefix][r]=n)}}addIconPacks(...t){for(let n of t){let r=Object.keys(n).map(o=>n[o]);this.addIcons(...r)}}getIconDefinition(t,n){return t in this.definitions&&n in this.definitions[t]?this.definitions[t][n]:null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"}),i})(),Ble=(()=>{class i{constructor(){this.stackItemSize="1x"}ngOnChanges(t){if("size"in t)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=Ie({type:i,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!1,features:[on]}),i})(),jle=(()=>{class i{constructor(t,n){this.renderer=t,this.elementRef=n}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(t){"size"in t&&(t.size.currentValue!=null&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${t.size.currentValue}`),t.size.previousValue!=null&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${t.size.previousValue}`))}}return i.\u0275fac=function(t){return new(t||i)(D(Ai),D(We))},i.\u0275cmp=z({type:i,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!1,features:[on],ngContentSelectors:Nle,decls:1,vars:0,template:function(t,n){t&1&&(rt(),ke(0))},encapsulation:2}),i})(),D8=(()=>{class i{constructor(t,n,r,o,a){this.sanitizer=t,this.config=n,this.iconLibrary=r,this.stackItem=o,this.classes=[],a!=null&&o==null&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: <fa-icon stackItemSize="2x"></fa-icon>.')}ngOnChanges(t){if(this.icon==null&&this.config.fallbackIcon==null)return Vle();let n=null;if(this.icon==null?n=this.config.fallbackIcon:n=this.icon,t){let r=this.findIconDefinition(n);if(r!=null){let o=this.buildParams();this.renderIcon(r,o)}}}render(){this.ngOnChanges({})}findIconDefinition(t){let n=zle(t,this.config.defaultPrefix);if("icon"in n)return n;let r=this.iconLibrary.getIconDefinition(n.prefix,n.iconName);return r??(Ale(n),null)}buildParams(){let t={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:typeof this.fixedWidth=="boolean"?this.fixedWidth:this.config.fixedWidth,stackItemSize:this.stackItem!=null?this.stackItem.stackItemSize:null},n=typeof this.transform=="string"?cR.transform(this.transform):this.transform;return{title:this.title,transform:n,classes:[...Fle(t),...this.classes],mask:this.mask!=null?this.findIconDefinition(this.mask):null,styles:this.styles!=null?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(t,n){let r=dR(t,n);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(r.html.join(`
793`))}}return i.\u0275fac=function(t){return new(t||i)(D(As),D(Lle),D(Hle),D(Ble,8),D(jle,8))},i.\u0275cmp=z({type:i,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(t,n){t&2&&(gi("innerHTML",n.renderedIconHTML,Jo),ye("title",n.title))},inputs:{icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol
793:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!1,features:[on],decls:0,vars:0,template:function(t,n){},encapsulation:2}),i})();var cm=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=je({type:i}),i.\u0275inj=Be({}),i})();var qle=["nxContextMenuItem",""],Iw=["*"];function Ule(i,e){i&1&&S(0,"nx-icon",1)}function Gle(i,e){if(i&1){let t=Y();c(0,"div",0),I("keydown",function(r){O(t);let o=M();return T(o._handleKeydown(r))})("click",function(){O(t);let r=M();return T(r.closed.emit("click"))})("@transformContextMenu.start",function(r){O(t);let o=M();return T(o._onAnimationStart(r))})("@transformContextMenu.done",function(r){O(t);let o=M();return T(o._onAnimationDone(r))}),c(1,"div",1),ke(2),d()()}if(i&2){let t=M();g("ngClass",t._classList)("@transformContextMenu",t._panelAnimationState)}}var $le={transformContextMenu:go("transformContextMenu",[cr("void",On({opacity:0,transform:"scale(0.8)"})),$i("void => enter",Dy([P0(".nx-context-menu__content",ji("100ms linear",On({opacity:1}))),ji("120ms cubic-bezier(0, 0, 0.2, 1)",On({transform:"scale(1)"}))])),$i("* => void",ji("100ms linear",On({opacity:0})))])},Wle=(()=>{let e=class e{constructor(n,r,o,a,s){this._template=n,this._appRef=r,this._injector=o,this._viewContainerRef=a,this._document=s,this._attached=new he}attach(n={}){this._portal||(this._portal=new ao(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new M0(this._document.createElement("div"),this._appRef,this._injector));let r=this._template.elementRef.nativeElement;r.parentNode&&r.parentNode.insertBefore(this._outlet.outletElement,r),this._portal.attach(this._outlet,n),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}};e.\u0275fac=function(r){return new(r||e)(D(Rn),D(wr),D(Nt),D(ai),D(Gt))},e.\u0275dir=Ie({type:e,selectors:[["ng-template","nxContextMenuContent",""]]});let i=e;return i})(),is=(()=>{let e=class e{set selectable(n){this._selectable=n}get selectable(){return this._selectable}set disabled(n){this._disabled=Ue(n),this._cdr.markForCheck()}get disabled(){return this._disabled}set disableCloseOnSelect(n){this._disableCloseOnSelect=Ue(n),this._cdr.markForCheck()}get disableCloseOnSelect(){return this._disableCloseOnSelect}constructor(n,r,o,a){this._elementRef=n,this._document=r,this._cdr=o,this._focusMonitor=a,this._hovered=new he,this._selectable=!1,this._disabled=!1,this._disableCloseOnSelect=!1,this._highlighted=!1,this._triggersSubmenu=!1,this._elementRef.nativeElement.addEventListener("click",s=>{this._handleClick(s)},!0)}focus(n){n?this._focusMonitor.focusVia(this._getHostElement(),n):this._getHostElement().focus()}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._hovered.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}_getHostElement(){return this._elementRef.nativeElement}_handleClick(n){this.disabled&&n.stopImmediatePropagation()}_checkDisabled(n){this.disableCloseOnSelect&&n.stopPropagation(),this.disabled&&(n.preventDefault(),n.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){let n=this._elementRef.nativeElement.childNodes[0],r=this._document?this._document.TEXT_NODE:3,o="";if(n.childNodes){let a=n.childNodes.length;for(let s=0;s<a;s++)n.childNodes[s].nodeType===r&&(o+=n.childNodes[s].textContent)}return o.trim()}};e.\u0275fac=function(r){return new(r||e)(D(We),D(Gt,8),D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["","nxContextMenuItem",""]],hostAttrs:["role","menuitem","tabindex","0",1,"nx-context-menu-item"],hostVars:8,hostBindings:function(r,o){r&1&&I("mouseenter",function(){return o._handleMouseEnter()})("click",function(s){return o._checkDisabled(s)}),r&2&&(ye("disabled",null)("aria-disabled",o.disabled.toString()),Fe("is-highlighted",o._highlighted)("is-selectable",o._selectable)("is-disabled",o.disabled))},inputs:{selectable:[2,"selectable","selectable",$t],disabled:"disabled",disableCloseOnSelect:"disableCloseOnSelect"},exportAs:["nxContextMenuItem"],attrs:qle,ngContentSelectors:Iw,decls:3,vars:3,consts:[[1,"nx-context-menu-item__content-wrapper"],["name","chevron-right-small",1,"nx-context-menu-item__expand"]],template:function(r,o){r&1&&(rt(),c(0,"div",0),ke(1),re(2,Ule,1,0,"nx-icon",1),d()),r&2&&(Fe("has-submenu",o._triggersSubmenu),p(2),oe(o._triggersSubmenu?2:-1))},dependencies:[xt,nt],styles:["[_nghost-%COMP%]{font-size:var(--context-menu-font-size);line-height:var(--context-menu-line-height);
793font-weight:var(--context-menu-font-weight);letter-spacing:var(--context-menu-letter-spacing);display:flex;align-items:center;cursor:pointer;text-align:left;width:100%;appearance:none;border:none;outline:none;background:transparent;position:relative;padding:8px 32px;color:var(--context-menu-item-text-color)}[dir=rtl]   [_nghost-%COMP%]{padding:8px 32px}@media screen and (forced-colors: active){[_nghost-%COMP%]{forced-color-adjust:none;background-color:buttonFace;color:buttonText}}[_nghost-%COMP%]:not(.is-disabled):hover, [_nghost-%COMP%]:not(.is-disabled):active, [_nghost-%COMP%]:not(.is-disabled).is-highlighted{color:var(--context-menu-item-active-color)}@media screen and (forced-colors: active){[_nghost-%COMP%]:not(.is-disabled):hover, [_nghost-%COMP%]:not(.is-disabled):active, [_nghost-%COMP%]:not(.is-disabled).is-highlighted{forced-color-adjust:none;background-color:highlight;color:highlightText}}.is-disabled[_nghost-%COMP%]{cursor:not-allowed;pointer-events:none;color:var(--context-menu-item-disabled-color)}@media screen and (forced-colors: active){.is-disabled[_nghost-%COMP%]{color:GrayText}}[_nghost-%COMP%]::-moz-focus-inner{border:0}[_nghost-%COMP%]   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}[_nghost-%COMP%]   .nx-context-menu-item__content-wrapper.has-submenu[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]    >nx-icon:not(.nx-context-menu-item__expand){margin-right:8px;font-size:var(--context-menu-item-icon-size)}[dir=rtl]   [_nghost-%COMP%]   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]    >nx-icon:not(.nx-context-menu-item__expand){margin-right:initial;margin-left:8px}.is-selectable[_nghost-%COMP%]   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]    >nx-icon:not(.nx-context-menu-item__expand){position:absolute;left:8px}[dir=rtl]   .is-selectable[_nghost-%COMP%]   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]    >nx-icon:not(.nx-context-menu-item__expand){left:initial;right:8px}[_nghost-%COMP%]   .nx-context-menu-item__expand[_ngcontent-%COMP%]{font-size:var(--context-menu-item-expand-icon-size);padding-left:8px;margin-left:auto;margin-right:0;width:1em}[dir=rtl]   [_nghost-%COMP%]   .nx-context-menu-item__expand[_ngcontent-%COMP%]{margin-right:auto;margin-left:0;transform:rotate(180deg)}.cdk-keyboard-focused[_nghost-%COMP%]:focus   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]{border-radius:4px;outline:0;box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]:focus   .nx-context-menu-item__content-wrapper[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}"],changeDetection:0});let i=e;return i})();var Yle=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-context-menu-item-wrap"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,is,4),r&2){let s;te(s=ne())&&(o._items=s)}},ngContentSelectors:Iw,decls:1,vars:0,template:function(r,o){r&1&&(rt(),ke(0))},encapsulation:2,changeDetection:0});let i=e;return i})(),Kd=(()=>{let e=class e{_onClick(n){n.preventDefault()}constructor(){this._init=new hu(1),this._injector=C(Nt),this._classList={},this._panelAnimationState="void",this._animationDone=new he,this._isAnimating=!1,this.direction="ltr",this.closed=new X,this._destroyed=new he}ngAfterContentInit(){this._items=this._wrap?this._wrap?._items:this._items,this._keyManager=new Rc(this._items).withWrap().withTypeAhead().setFocusOrigin("keyboard").skipPredicate(()=>!1),this._keyManager.tabOut.pipe(ze(this._destroyed)).subscribe(()=>this.closed.emit("tab")),this._init.next()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.closed.complete(),this._init.complete(),this._firstItemFocusRef?.destroy()}_hovered(){return this._init.pipe(fr(()=>this._items.changes.pipe(ei(this._items))),fr(n=>pr(...n.map(r=>r._hovered))))}_handleKeydown(n){let r=n.keyCode,o=this._keyManager;switch(r){case 27:Pa(n)||(n.preventDefault(),n.stopPropagation(),this.closed.emit
793("keydown"));break;case 37:this.parentMenu&&this.direction==="ltr"&&this.closed.emit("keydown");break;case 39:this.parentMenu&&this.direction==="rtl"&&this.closed.emit("keydown");break;case 36:case 35:Pa(n)||(r===36?o.setFirstItemActive():o.setLastItemActive(),n.preventDefault());break;default:o.onKeydown(n)}}focusFirstItem(n){this._firstItemFocusRef?.destroy(),this._firstItemFocusRef=gr({read:()=>{this._keyManager.setActiveItem(0),this._keyManager.activeItem?.focus(n)}},{injector:this._injector})}resetActiveItem(){this._keyManager.setActiveItem(-1)}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(n){this._animationDone.next(n),this._isAnimating=!1}_onAnimationStart(n){this._isAnimating=!0,n.toState==="enter"&&this._keyManager.activeItemIndex===0&&(n.element.scrollTop=0)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-context-menu"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,Yle,5),Ft(a,Wle,5),Ft(a,is,4)),r&2){let s;te(s=ne())&&(o._wrap=s.first),te(s=ne())&&(o.lazyContent=s.first),te(s=ne())&&(o._items=s)}},viewQuery:function(r,o){if(r&1&&pe(Rn,5),r&2){let a;te(a=ne())&&(o.templateRef=a.first)}},hostBindings:function(r,o){r&1&&I("click",function(){return o._onClick()})},outputs:{closed:"closed"},exportAs:["nxContextMenu"],ngContentSelectors:Iw,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"nx-context-menu",3,"keydown","click","ngClass"],[1,"nx-context-menu__content"]],template:function(r,o){r&1&&(rt(),L(0,Gle,3,2,"ng-template"))},dependencies:[Un],styles:[".nx-context-menu[_ngcontent-%COMP%]{border-radius:4px;background:var(--context-menu-background-color);min-height:56px;box-shadow:var(--shadow-small);outline:none;overflow-y:auto}@media screen and (forced-colors: active){.nx-context-menu[_ngcontent-%COMP%]{border:1px solid CanvasText}}.nx-context-menu.ng-animating[_ngcontent-%COMP%]{pointer-events:none}.nx-context-menu__content[_ngcontent-%COMP%]:not(:empty){padding-top:8px;padding-bottom:8px;display:flex;flex-direction:column}@media screen and (forced-colors: active){.nx-context-menu__content[_ngcontent-%COMP%]:not(:empty){background-color:buttonFace}}"],data:{animation:[$le.transformContextMenu]},changeDetection:0});let i=e;return i})();function Qle(){throw Error(`nxContextMenuTriggerFor: must pass in an nx-context-menu instance.
794    Example:
795      <nx-context-menu #contextMenu="nxContextMenu"></nx-context-menu>
796      <button [nxContextMenuTriggerFor]="contextMenu"></button>`)}var Kle=8,Xle=8,pR=8,Zle=new Ee("nx-context-menu-scroll-strategy",{providedIn:"root",factory:()=>{let i=C(di);return()=>i.scrollStrategies.reposition()}});var tp=(()=>{var e;let t=class t{constructor(r,o,a,s,l,u,h,_,y){_s(this,e);this._overlay=r,this._element=o,this._viewContainerRef=a,this._parentMenu=s,this._contextMenuItemInstance=l,this._dir=u,this._triggerButton=h,this._defaultScrollStrategyFactory=_,this._cdr=y,this._overlayRef=null,this._contextMenuOpen=!1,this._closingActionsSubscription=En.EMPTY,this._contextMenuCloseSubscription=En.EMPTY,this._scrollStrategyFactory=this._defaultScrollStrategyFactory,this.mode="button",this.contextMenuOpened=new X,this.contextMenuClosed=new X,this._destroyed=new he,this._rightClicked=!1,l&&(l._triggersSubmenu=this.triggersSubmenu()),this._documentClickObservable=al(document,"click"),this._dir?.change.pipe(ze(this._destroyed)).subscribe(()=>{this.contextMenuOpen&&this.closeContextMenu()})}set contextMenu(r){r!==this._contextMenu&&(this._contextMenu=r,this._contextMenuCloseSubscription.unsubscribe(),r&&(this._contextMenuCloseSubscription=r.closed.asObservable().subscribe(o=>{this._destroyMenu(),(o==="click"||o==="tab")&&this._parentMenu&&this._parentMenu.closed.emit(o)})))}get contextMenu(){return this._contextMenu}set scrollStrategy(r){Xo(this,e)!==r&&(Va(this,e,r),this._scrollStrategyFactory=r?this.getScrollStrtegyFactory(r):this._defaultScrollStrategyFactory,this._cdr.markForCheck())}get scrollStrategy(){return Xo(this,e)}get contextMenuOpen(){return this._contextMenuOpen}get dir(){return this._dir?.value==="rtl"?"rtl":"ltr"}ngAfterContentInit(){this._checkContextMenu(),this._handleHover()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._contextMenuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe()}
796triggersSubmenu(){return!!(this._contextMenuItemInstance&&this._parentMenu)}toggleContextMenu(r){return this.contextMenuOpen?this.closeContextMenu():this.openContextMenu(r)}openContextMenu(r,o){if(this.contextMenuOpen)return;this._checkContextMenu();let a=this._createOverlay(),s=a.getConfig();o?this._setPositionToCursor(s.positionStrategy,o):this._setPosition(s.positionStrategy),a.attach(this._getPortal()),this.contextMenu.lazyContent&&this.contextMenu.lazyContent.attach(this.contextMenuData),this._closingActionsSubscription=this._contextMenuClosingActions().subscribe(()=>this.closeContextMenu()),this._initContextMenu(r),this.contextMenu instanceof Kd&&this.contextMenu._startAnimation(),this._triggerButton&&(this._triggerButton.setTriggerActive(),this.contextMenu.closed.pipe(Bn(1)).subscribe(()=>this._triggerButton?.setTriggerInactive())),this._waitForClose()}closeContextMenu(){this._rightClicked=!1,this.contextMenu.closed.emit()}getScrollStrtegyFactory(r){switch(r){case"close":return this._overlay.scrollStrategies.close;default:return this._overlay.scrollStrategies.reposition}}_destroyMenu(){if(!this._overlayRef||!this.contextMenuOpen)return;let r=this.contextMenu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),r._resetAnimation(),r.lazyContent?r._animationDone.pipe(ln(o=>o.toState==="void"),Bn(1),ze(r.lazyContent._attached)).subscribe({next:()=>r.lazyContent?.detach(),complete:()=>this._resetContextMenu()}):this._resetContextMenu()}_initContextMenu(r){this.contextMenu.parentMenu=this.triggersSubmenu()?this._parentMenu??void 0:void 0,this.contextMenu.direction=this.dir,this._setIsContextMenuOpen(!0),this.contextMenu.focusFirstItem(r)}focus(){this._element.nativeElement.focus()}_resetContextMenu(){this._setIsContextMenuOpen(!1),this.focus()}_setIsContextMenuOpen(r){this._contextMenuOpen=r,this._contextMenuOpen?this.contextMenuOpened.emit():this.contextMenuClosed.emit(),this.triggersSubmenu()&&(this._contextMenuItemInstance._highlighted=r)}_checkContextMenu(){this.contextMenu||Qle()}_createOverlay(){if(!this._overlayRef){let r=this._getOverlayConfig();this._overlayRef=this._overlay.create(r),this._overlayRef.keydownEvents().pipe(ze(this._destroyed)).subscribe()}return this._overlayRef}_getOverlayConfig(){return new To({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withFlexibleDimensions(!1).withTransformOriginOn(".nx-context-menu"),scrollStrategy:this._scrollStrategyFactory(),direction:this._dir??void 0})}_setPositionToCursor(r,o){r.setOrigin(o),r.withPositions([{overlayX:"start",overlayY:"top",originX:"center",originY:"center"},{overlayX:"start",overlayY:"bottom",originX:"center",originY:"center"},{overlayX:"end",overlayY:"top",originX:"center",originY:"center"},{overlayX:"end",overlayY:"bottom",originX:"center",originY:"center"}])}_setPosition(r){let o="start",a="end",s="top",l="bottom",u=s,h=l,_=o,y=a,b=0,x=0;this.triggersSubmenu()?(y=o="end",a=_="start",b=this.dir==="rtl"?-pR:pR,x=-Kle):(x=Xle,u="bottom",h="top"),r.withPositions([{originX:o,originY:u,overlayX:_,overlayY:s,offsetX:b,offsetY:x},{originX:a,originY:u,overlayX:y,overlayY:s,offsetX:-b,offsetY:x},{originX:o,originY:h,overlayX:_,overlayY:l,offsetX:b,offsetY:-x},{originX:a,originY:h,overlayX:y,overlayY:l,offsetX:-b,offsetY:-x}])}_contextMenuClosingActions(){let r,o;this._overlayRef&&(r=this._overlayRef.backdropClick(),o=this._overlayRef.detachments());let a=this._parentMenu?this._parentMenu.closed:Dt(),s=this._parentMenu?this._parentMenu._hovered().pipe(ln(l=>l!==this._contextMenuItemInstance),ln(()=>this._contextMenuOpen)):Dt();return pr(r,a,s,o)}_handleMousedown(r){this.triggersSubmenu()&&r.preventDefault()}_handleRightClick(r){if(this.mode!=="cursor")return;this._rightClicked=!0,r.preventDefault(),this._contextMenuOpen&&this.closeContextMenu();let o={x:r.clientX,y:r.clientY};this.openContextMenu("mouse",o)}_handleKeydown(r){if(this.mode!=="button")return;let o=r.keyCode;this.triggersSubmenu()&&(o===39&&this.dir==="ltr"||o===37&&this.dir==="rtl")&&this.openContextMenu("keyboard")}_handleClick(r){if(this.mode!=="button")return;r.preventDefault();let o=r.detail?"program":"keyboard";this.triggersSubmenu()?(r.stopPropagation(),this.openContextMenu(o)):this.toggleContextMenu(o)}_waitForClose(){return this._rightClicked?this._documentClickObservable.pipe(ln(r=>!r.defaultPrevented),ze(this.contextMenu.closed)).subscribe(()=>{this.closeContextMenu()}):this._documentClickObservable.pipe(ct(r=>Ea(r)),ln(r=>!this._element.nativeElement.contains(r)),ze(this.contextMenu.closed)).subscribe(()=>{this.closeContextMenu()})}_handleHover(){this.triggersSubmenu()&&this._parentMenu._hovered().pipe(ln(r=>r===this._contextMenuItemInstance&&!r.disabled),Dh(0,bs),ze(this._destroyed)).subscribe(()=>{this.contextMenu._isAnimating?this.contextMenu._animationDone.pipe(Bn(1),Dh(0,bs),ze(this._parentMenu._hovered())).subscribe(()=>this.openContextMenu("mouse")):this.openContextMenu("mouse")})}_getPortal(){return(!this._portal||this._portal.templateRef!==this.contextMenu.templateRef)&&(this._portal=new ao(this.contextMenu.templateRef,this._viewContainerRef)),this._portal}};e=new WeakMap,t.\u0275fac=function(o){return new(o||t)(D(di),D(We),D(ai),D(Kd,8),D(is,10),D(jn,8),D(Uc,10),D(Zle),D(Ye))},t.\u0275dir=Ie({type:t,selectors:[["","nxContextMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true"],hostVars:1,hostBindings:function(o,a){o&1&&I("mousedown",function(l){return a._handleMousedown(l)})("keydown",function(l){return a._handleKeydown(l)})("click",function(l){return a._handleClick(l)})("contextmenu",function(l){return a._handleRightClick(l)}),o&2&&ye("aria-expanded",a.contextMenuOpen||null)},inputs:{contextMenu:[0,"nxContextMenuTriggerFor","contextMenu"],scrollStrategy:"scrollStrategy",contextMenuData:[0,"nxContextMenuTriggerData","contextMenuData"],mode:[0,"nxContextMenuTriggerMode","mode"]},outputs:{contextMenuOpened:"contextMenuOpened",contextMenuClosed:"contextMenuClosed"},exportAs:["nxContextMenuTrigger"]});let i=t;return i})();var kw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Dr,xt,is]});let i=e;return i})();var Jle=["link"],Nw=(i,e)=>e.value;function ece(i,e){if(i&1){let t=Y();c(0,"button",16,0),I("click",function(){O(t);let r=M().$implicit,o=M(2);return T(o.onPage(r.value))}),m(2),d()}if(i&2){let t=M().$implicit,n=M(2);g("ngClass",n.getPaginationNumberClasses(t)),ye("aria-current",t.value===n.page?"page":""),p(2),K(" ",t.label," ")}}function tce(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M().$implicit;p(),K(" ",t.label," ")}}function nce(i,e){if(i&1&&(c(0,"li",10),re(1,ece,3,3,"button",15),re(2,tce,2,1,"span"),d()),i&2){let t=e.$implicit,n=M(2);g("ngClass",n.getPaginationItemClasses(t)),p(),oe(t.label!=="..."?1:-1),p(),oe(t.label==="..."?2:-1)}}function ice(i,e){if(i&1){let t=Y();c(0,"li",11)(1,"button",16,0),I("click",function(){let r=O(t).$implicit,o=M(2);return T(o.onPage(r.value))}),m(3),d()()}if(i&2){let t=e.$implicit,n=M(2);g("ngClass",n.getPaginationItemClasses(t)),p(),g("ngClass",n.getPaginationNumberClasses(t)),ye("aria-current",t.value===n.page?"page":""),p(2),K(" ",t.label," ")}}function rce(i,e){if(i&1){let t=Y();c(0,"nav",1)(1,"ul",4)(2,"li",5)(3,"button",6,0),I("click",function(){O(t);let r=M();return T(r.onFirst())}),S(5,"nx-icon",7),d()(),c(6,"li",8)(7,"button",9,0),I("click",function(){O(t);let r=M();return T(r.onPrev())}),S(9,"nx-icon",7),d()(),Ot(10,nce,3,3,"li",10,Nw),Ot(12,ice,4,4,"li",11,Nw),c(14,"li",12)(15,"button",13,0),I("click",function(){O(t);let r=M();return T(r.onNext())}),S(17,"nx-icon",7),d()(),c(18,"li",5)(19,"button",14,0),I("click",function(){O(t);let r=M();return T(r.onLast())}),S(21,"nx-icon",7),d()()()()}if(i&2){let t=M();
796ye("aria-label",t.ariaLabel),p(3),Fe("is-disabled",t._isPaginationPreviousDisabled()),g("disabled",t._isPaginationPreviousDisabled()),ye("aria-label",t.paginationTexts.first),p(2),g("name",t._isRTL?"arrow-last":"arrow-first"),p(2),Fe("is-disabled",t._isPaginationPreviousDisabled()),g("disabled",t._isPaginationPreviousDisabled()),ye("aria-label",t.paginationTexts.previous),p(2),g("name",t._isRTL?"arrow-right":"arrow-left"),p(),Tt(t.getPages()),p(2),Tt(t.getMobilePages()),p(3),Fe("is-disabled",t._isPaginationNextDisabled()),g("disabled",t._isPaginationNextDisabled()),ye("aria-label",t.paginationTexts.next),p(2),g("name",t._isRTL?"arrow-left":"arrow-right"),p(2),Fe("is-disabled",t._isPaginationNextDisabled()),g("disabled",t._isPaginationNextDisabled()),ye("aria-label",t.paginationTexts.last),p(2),g("name",t._isRTL?"arrow-first":"arrow-last")}}function oce(i,e){if(i&1){let t=Y();c(0,"nav",2)(1,"button",17,0),I("click",function(){O(t);let r=M();return T(r.onPrev())}),S(3,"nx-icon",7),c(4,"span",18),m(5),d()(),c(6,"div",19)(7,"span",20),m(8),d(),c(9,"span",21),m(10),d(),c(11,"span",22),m(12),d()(),c(13,"button",23,0),I("click",function(){O(t);let r=M();return T(r.onNext())}),c(15,"span",18),m(16),d(),S(17,"nx-icon",7),d()()}if(i&2){let t=M();ye("aria-label",t.ariaLabel),p(),Fe("is-disabled",t._isPaginationPreviousDisabled()),g("disabled",t._isPaginationPreviousDisabled()),ye("aria-label",t.paginationTexts.previous),p(2),g("name",t._isRTL?"arrow-right":"arrow-left"),p(2),K(" ",t.paginationTexts.previous," "),p(3),Pe(t.page),p(2),K(" ",t.paginationTexts.ofLabel," "),p(2),Pe(t.totalNumberPages),p(),Fe("is-disabled",t._isPaginationNextDisabled()),g("disabled",t._isPaginationNextDisabled()),ye("aria-label",t.paginationTexts.next),p(3),K(" ",t.paginationTexts.next," "),p(),g("name",t._isRTL?"arrow-left":"arrow-right")}}function ace(i,e){if(i&1){let t=Y();c(0,"li",5)(1,"button",24,0),I("click",function(){let r=O(t).$implicit,o=M(2);return T(o.onPage(r.value))}),d()()}if(i&2){let t=e.$implicit,n=M(2);p(),Fe("is-active",t.value===n.page),ye("aria-label",t.value)("aria-current",t.value===n.page?"page":"")}}function sce(i,e){if(i&1){let t=Y();c(0,"nav",3)(1,"ul",4)(2,"li",8)(3,"button",9,0),I("click",function(){O(t);let r=M();return T(r.onPrev())}),S(5,"nx-icon",7),d()(),Ot(6,ace,3,4,"li",5,Nw),c(8,"li",12)(9,"button",13,0),I("click",function(){O(t);let r=M();return T(r.onNext())}),S(11,"nx-icon",7),d()()()()}if(i&2){let t=M();ye("aria-label",t.ariaLabel),p(3),Fe("is-disabled",t._isPaginationSliderPreviousDisabled()),g("disabled",t._isPaginationSliderPreviousDisabled()),ye("aria-label",t.paginationTexts.previous),p(2),g("name",t._isRTL?"arrow-right":"arrow-left"),p(),Tt(t.getSlides()),p(3),Fe("is-disabled",t._isPaginationSliderNextDisabled()),g("disabled",t._isPaginationSliderNextDisabled()),ye("aria-label",t.paginationTexts.next),p(2),g("name",t._isRTL?"arrow-left":"arrow-right")}}var lce={previous:"Previous",next:"Next",first:"First",last:"Last",ofLabel:"of",ariaLabel:"Please select your page"},Aw=new Ee("nx-pagination-texts"),cce=(()=>{let e=class e{constructor(){this._pagesMobile=3,this._elipsisText="...",this._classExpanded="expanded-view"}getSlides(n){return Array.from(Array(n).keys()).map(r=>this.createPaginationItem(r+1,r+1))}getPages(n,r){let o=[],a=[],s=[],l=[];return a=this.getStartArray(n,r),s=this.getMiddleArray(n,r),l=this.getEndArray(n,r),o=[...a,...s,...l],o}getMiddleArray(n,r){let o=n<6?4:n-1,a=[];for(;a.length<3&&o>=2&&o<=r-3&&o<=n+1&&o>=n-1;)a.push(this.createPaginationItem(o,o)),o++;return a}getEndArray(n,r){let o=[],a=r<=3?r+1:r<=6?r-(r-4):r-2,s=n<r-4;for(;a<=r;){let l=o.length===0&&s?this.createPaginationItem(this._elipsisText,a,!0):this.createPaginationItem(a,a,!0);o.push(l),a++}return o}getStartArray(n,r){let o=0,a=[],s=3;for(;o<s&&o<r;){let l=o===2&&n>5?this.createPaginationItem(this._elipsisText,o+1,!0):this.createPaginationItem(o+1,o+1,!0);a.push(l),o++}return a}getMobilePages(n,r){if(r<this._pagesMobile)return Array.from(Array(r).keys()).map(o=>this.createPaginationItem(o+1,o+1));switch(n){case 1:return[1,2,3].map(o=>this.createPaginationItem(o,o));case r:return[r-2,r-1,r].map(o=>this.createPaginationItem(o,o));default:return[n-1,n,n+1].map(o=>this.createPaginationItem(o,o))}}createPaginationItem(n,r,o){return{label:n,value:r,class:o?this._classExpanded:""}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),q2=(()=>{let e=class e{set ariaLabel(n){this._ariaLabel=n}get ariaLabel(){return this._ariaLabel||this.paginationTexts.ariaLabel}set page(n){this._page=n,this._cdr.markForCheck()}get page(){return this._page}set count(n){this._count=n,this.totalNumberPages=this.calculateTotalPages(),this._cdr.markForCheck()}get count(){return this._count}set perPage(n){this._perPage=n,this.totalNumberPages=this.calculateTotalPages(),this._cdr.markForCheck()}get perPage(){return this._perPage}set type(n){this._type=n,this._cdr.markForCheck()}get type(){return this._type}constructor(n,r,o,a,s){this._dir=r,this.paginationUtilsService=o,this._cdr=a,this._focusMonitor=s,this.totalNumberPages=0,this._ariaLabel="",this._type="simple",this.goPrev=new X,this.goNext=new X,this.goPage=new X,this._destroyed=new he,this.paginationTexts=n||lce,this._dir?.change.pipe(ze(this._destroyed)).subscribe(()=>{this._cdr.detectChanges()})}ngOnInit(){this.totalNumberPages=this.calculateTotalPages()}ngAfterContentInit(){this.type==="advanced"&&(!this.paginationTexts.last||!this.paginationTexts.first)&&console.warn("Please define aria labels for the last and first arrows.")}
796ngAfterViewInit(){this._linkElements.forEach(n=>this._focusMonitor.monitor(n)),this._linkElementsPrevious=this._linkElements,this._linkElements.changes.subscribe(n=>{this._linkElementsPrevious=this._linkElements,this._linkElements.forEach(r=>this._focusMonitor.monitor(r))})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._linkElements?.forEach(n=>this._focusMonitor.stopMonitoring(n))}getMin(){return this.totalNumberPages>0?1:0}getMax(){let n=this._perPage*this._page;return n>this._count&&(n=this._count),n}calculateTotalPages(){return Math.ceil(this._count/this._perPage)||0}onPage(n){this.goPage.emit(n)}onPrev(){this._isPaginationPreviousDisabled()||this.goPrev.emit()}onNext(){this._isPaginationNextDisabled()||this.goNext.emit()}onFirst(){this._isPaginationPreviousDisabled()||this.onPage(1)}onLast(){this._isPaginationNextDisabled()||this.onPage(this.totalNumberPages)}lastPage(){return this._perPage*this._page>=this._count}getSlides(){return this.paginationUtilsService.getSlides(this._count)}getPages(){return this.paginationUtilsService.getPages(this._page,this.totalNumberPages)}getMobilePages(){return this.paginationUtilsService.getMobilePages(this._page,this.totalNumberPages)}getPaginationItemClasses(n){return{"is-ellipsis":n.label==="...","nx-pagination__item--expanded-view":n.class==="expanded-view"}}getPaginationNumberClasses(n){return{"is-active":n.value===this.page,"nx-pagination__ellipsis":n.label==="...","nx-pagination__link":n.label!=="..."}}isPaginationVisible(){return this.count>0}isPaginationCompactVisible(){return this.type.includes("simple")&&this.count>0}isPaginationSliderVisible(){return this.type.includes("slider")&&this.count>0}isPaginationContainerVisible(){return this.type.includes("advanced")}_isPaginationPreviousDisabled(){return this.page===this.getMin()}_isPaginationNextDisabled(){return this.page===this.totalNumberPages}_isPaginationSliderPreviousDisabled(){return this.page===1}_isPaginationSliderNextDisabled(){return this.page===this.count}get _isRTL(){return this._dir?.value==="rtl"}};e.\u0275fac=function(r){return new(r||e)(D(Aw,8),D(jn,8),D(cce),D(Ye),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-pagination"]],viewQuery:function(r,o){if(r&1&&pe(Jle,5),r&2){let a;te(a=ne())&&(o._linkElements=a)}},inputs:{ariaLabel:"ariaLabel",page:"page",count:"count",perPage:"perPage",type:"type"},outputs:{goPrev:"goPrev",goNext:"goNext",goPage:"goPage"},decls:3,vars:3,consts:[["link",""],[1,"nx-pagination"],[1,"nx-pagination-compact"],[1,"nx-pagination-slider"],[1,"nx-pagination__container"],[1,"nx-pagination__item"],["type","button",1,"nx-pagination__link","nx-pagination__link--first",3,"click","disabled"],["aria-hidden","true",1,"nx-pagination__arrow",3,"name"],[1,"nx-pagination__item","nx-pagination__item-previous"],["type","button",1,"nx-pagination__link","nx-pagination__link--previous",3,"click","disabled"],[1,"nx-pagination__item","nx-pagination__item--desktop",3,"ngClass"],[1,"nx-pagination__item","nx-pagination__item--mobile",3,"ngClass"],[1,"nx-pagination__item","nx-pagination__item-next"],["type","button",1,"nx-pagination__link","nx-pagination__link--next",3,"click","disabled"],["type","button",1,"nx-pagination__link","nx-pagination__link--last",3,"click","disabled"],["type","button",1,"nx-pagination--number",3,"ngClass"],["type","button",1,"nx-pagination--number",3,"click","ngClass"],["type","button",1,"nx-pagination-compact__previous",3,"click","disabled"],[1,"nx-pagination-compact__direction-label"],[1,"nx-pagination-compact__display"],[1,"nx-pagination-compact__current-page"],[1,"nx-pagination-compact__page-separator"],[1,"nx-pagination-compact__total-pages"],["type","button",1,"nx-pagination-compact__next",3,"click","disabled"],["type","button",1,"nx-pagination--icon",3,"click"]],template:function(r,o){r&1&&(re(0,rce,22,21,"nav",1),re(1,oce,18,16,"nav",2),re(2,sce,12,11,"nav",3)),r&2&&(oe(o.isPaginationVisible()&&o.isPaginationContainerVisible()?0:-1),p(),oe(o.isPaginationCompactVisible()?1:-1),p(),oe(o.isPaginationSliderVisible()?2:-1))},dependencies:[xt,nt,Un],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   button[_ngcontent-%COMP%]:focus{outline:none}[_nghost-%COMP%]   button[_ngcontent-%COMP%]::-moz-focus-inner{border:0}.nx-pagination__container[_ngcontent-%COMP%]{display:flex;font-size:var(--pagination-font-size);line-height:var(--pagination-line-height);font-weight:var(--pagination-font-weight);letter-spacing:var(--pagination-letter-spacing);padding:0}.nx-pagination__item[_ngcontent-%COMP%]{margin:0 16px;list-style:none;
796font-weight:var(--pagination-item-font-weight)}.nx-pagination__item[_ngcontent-%COMP%]:first-child{margin:0}.nx-pagination__item[_ngcontent-%COMP%]:last-child{margin:0}.nx-pagination__item.is-ellipsis[_ngcontent-%COMP%]{color:var(--pagination-text-color)}.nx-pagination__item--expanded-view[_ngcontent-%COMP%]{display:block}.nx-pagination__link[_ngcontent-%COMP%]{color:var(--pagination-link-color);padding:0;text-decoration:none;background-color:transparent;border:0;cursor:pointer;font:inherit}.nx-pagination__link.is-active[_ngcontent-%COMP%]{color:var(--pagination-text-color);font-weight:700}@media screen and (forced-colors: active){.nx-pagination__link.is-active[_ngcontent-%COMP%]{border-bottom:4px solid CanvasText}}nx-icon.nx-pagination__arrow[_ngcontent-%COMP%]{font-size:var(--pagination-icon-size)}.nx-pagination-compact[_ngcontent-%COMP%]{display:flex;font-size:var(--pagination-font-size);line-height:var(--pagination-line-height);font-weight:var(--pagination-font-weight);letter-spacing:var(--pagination-letter-spacing);padding:0}.nx-pagination-compact__display[_ngcontent-%COMP%]{color:var(--pagination-text-color);display:flex}.nx-pagination-compact__current-page[_ngcontent-%COMP%]{font-weight:700;margin-right:8px}[dir=rtl][_nghost-%COMP%]   .nx-pagination-compact__current-page[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-pagination-compact__current-page[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}.nx-pagination-compact__total-pages[_ngcontent-%COMP%]{margin-left:8px}[dir=rtl][_nghost-%COMP%]   .nx-pagination-compact__total-pages[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-pagination-compact__total-pages[_ngcontent-%COMP%]{margin-right:8px;margin-left:initial}.nx-pagination-compact__next[_ngcontent-%COMP%], .nx-pagination-compact__previous[_ngcontent-%COMP%], .nx-pagination__arrow-last[_ngcontent-%COMP%], .nx-pagination__arrow-first[_ngcontent-%COMP%]{color:var(--pagination-link-color);font-weight:var(--pagination-icon-font-weight);text-decoration:none;text-transform:uppercase;display:flex;align-items:center;padding:0;background-color:transparent;cursor:pointer;border:0}.nx-pagination-compact__previous[_ngcontent-%COMP%]{margin-right:32px}[dir=rtl][_nghost-%COMP%]   .nx-pagination-compact__previous[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-pagination-compact__previous[_ngcontent-%COMP%]{margin-right:initial;margin-left:32px}.nx-pagination-compact__next[_ngcontent-%COMP%]{margin-left:32px}[dir=rtl][_nghost-%COMP%]   .nx-pagination-compact__next[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-pagination-compact__next[_ngcontent-%COMP%]{margin-right:32px;margin-left:initial}.nx-pagination-compact__direction-label[_ngcontent-%COMP%]{display:block;font-size:var(--pagination-compact-direction-font-size);line-height:var(--pagination-compact-direction-line-height);font-weight:var(--pagination-compact-direction-font-weight);letter-spacing:var(--pagination-compact-direction-letter-spacing)}.nx-pagination-compact__direction-label[_ngcontent-%COMP%]:first-child{margin-right:8px}[dir=rtl][_nghost-%COMP%]   .nx-pagination-compact__direction-label[_ngcontent-%COMP%]:first-child, [dir=rtl]   [_nghost-%COMP%]   .nx-pagination-compact__direction-label[_ngcontent-%COMP%]:first-child{margin-right:initial;margin-left:8px}.nx-pagination-compact__direction-label[_ngcontent-%COMP%]:last-child{margin-left:8px}[dir=rtl][_nghost-%COMP%]   .nx-pagination-compact__direction-label[_ngcontent-%COMP%]:last-child, [dir=rtl]   [_nghost-%COMP%]   .nx-pagination-compact__direction-label[_ngcontent-%COMP%]:last-child{margin-right:8px;margin-left:initial}.nx-pagination-compact__previous.is-disabled[_ngcontent-%COMP%], .nx-pagination-compact__next.is-disabled[_ngcontent-%COMP%], .nx-pagination__link.is-disabled[_ngcontent-%COMP%]{color:var(--pagination-link-disabled-color);cursor:not-allowed}@media screen and (forced-colors: active){.nx-pagination-compact__previous.is-disabled[_ngcontent-%COMP%], .nx-pagination-compact__next.is-disabled[_ngcontent-%COMP%], .nx-pagination__link.is-disabled[_ngcontent-%COMP%]{color:GrayText}}.nx-pagination-compact__previous.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination-compact__next.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination__link.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination--icon.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination--number.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:var(--focus-box-sha
796dow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-pagination-compact__previous.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination-compact__next.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination__link.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination--icon.cdk-keyboard-focused[_ngcontent-%COMP%], .nx-pagination--number.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.nx-pagination__link--next[_ngcontent-%COMP%], .nx-pagination__link--previous[_ngcontent-%COMP%], .nx-pagination__link--first[_ngcontent-%COMP%], .nx-pagination__link--last[_ngcontent-%COMP%]{display:flex;align-items:center}.nx-pagination__item-next[_ngcontent-%COMP%]{margin-right:8px}[dir=rtl][_nghost-%COMP%]   .nx-pagination__item-next[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-pagination__item-next[_ngcontent-%COMP%]{margin-right:initial;margin-left:8px}.nx-pagination__item-previous[_ngcontent-%COMP%]{margin-left:8px}[dir=rtl][_nghost-%COMP%]   .nx-pagination__item-previous[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .nx-pagination__item-previous[_ngcontent-%COMP%]{margin-right:8px;margin-left:initial}.nx-pagination-compact__direction-label[_ngcontent-%COMP%], .nx-pagination__link--first[_ngcontent-%COMP%], .nx-pagination__link--last[_ngcontent-%COMP%], .nx-pagination__item--desktop[_ngcontent-%COMP%]{display:flex}@container (max-width: 703px){.nx-pagination-compact__direction-label[_ngcontent-%COMP%], .nx-pagination__link--first[_ngcontent-%COMP%], .nx-pagination__link--last[_ngcontent-%COMP%], .nx-pagination__item--desktop[_ngcontent-%COMP%]{display:none}}@media (max-width: 703px){.nx-pagination-compact__direction-label[_ngcontent-%COMP%], .nx-pagination__link--first[_ngcontent-%COMP%], .nx-pagination__link--last[_ngcontent-%COMP%], .nx-pagination__item--desktop[_ngcontent-%COMP%]{display:none}}.nx-pagination__item--mobile[_ngcontent-%COMP%]{display:none}@container (max-width: 703px){.nx-pagination__item--mobile[_ngcontent-%COMP%]{display:block}}@media (max-width: 703px){.nx-pagination__item--mobile[_ngcontent-%COMP%]{display:block}}.nx-pagination-slider[_ngcontent-%COMP%]   .nx-pagination__item[_ngcontent-%COMP%]{display:flex;align-items:center;margin:0 16px}.nx-pagination-slider[_ngcontent-%COMP%]   .nx-pagination--icon[_ngcontent-%COMP%]{width:var(--pagination-slider-icon-width);height:var(--pagination-slider-icon-height);border:1px solid var(--pagination-slider-icon-border-color);border-radius:50%;padding:0;background:none;cursor:pointer}.nx-pagination-slider[_ngcontent-%COMP%]   .nx-pagination--icon.is-active[_ngcontent-%COMP%]{background-color:var(--pagination-slider-icon-active-color);cursor:auto}"],changeDetection:0});let i=e;return i})(),Vw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,xt,q2]});let i=e;return i})();var zw=["*"];function dce(i,e){i&1&&ke(0)}var hR=["outlet"],gR=["tabButton"],_R=["tabsList"];function uce(i,e){if(i&1){let t=Y();c(0,"nx-tab-scroll-indicator",4),I("buttonClicked",function(){O(t);let r=M();return T(r.scrollToStart())}),d()}if(i&2){let t=M();g("isScrolledToStart",t._isScrolledToStart)}}function pce(i,e){if(i&1){let t=Y();c(0,"nx-tab-scroll-indicator",5),I("buttonClicked",function(){O(t);let r=M();return T(r.scrollToEnd())}),d()}if(i&2){let t=M();g("isScrolledToEnd",t._isScrolledToEnd)}}var fce=["tabHeader"],mce=["accordion"];function hce(i,e){if(i&1&&S(0,"nx-tab-header-outlet",10),i&2){let t=M().$implicit;g("content",t.headerViewRef)}}function gce(i,e){if(i&1&&m(0),i&2){let t=M().$implicit;K(" ",t.label," ")}}function _ce(i,e){if(i&1){let t=Y();c(0,"button",8,1),I("click",function(){let r=O(t).$index,o=M(2);return T(o.handleClick(r))}),c(2,"div",9),re(3,hce,1,1,"nx-tab-header-outlet",10),re(4,gce,1,1),d()()}if(i&2){let t=e.$implicit,n=e.$index,r=M(2);Fe("nx-tab-header__item--disabled",t.disabled)("nx-tab-header__item--active",r.selectedIndex===n),g("id",r._getTabLabelId(n))("disabled",t.disabled),ye("aria-controls",r._getTabContentId(n))("aria-selected",r.selectedIndex===n)("tabindex",r.getTabIndex(t,n)),p(3),oe(t.templateLabel?3:-1),p(),oe(t.templateLabel?-1:4)}}function vce(i,e){if(i&1&&S(0,"nx-tab-body",11),i&2){let t=e.$implicit,n=e.$index,r=M(2);Fe("nx-tab__body--active",r.selectedIndex===n),g("id",r._getTabContentId(n))("tab",t)("active",r.selectedIndex===n),ye("aria-labelledby",r._getTabContentId(n))}}function xce(i,e){if(i&1){let t=Y();c(0,"nx-tab-header",4,0),I("selectFocusedIndex",function(r){O(t);let o=M();return T(o.selectedIndex=r)})("indexFocused",function(r){O(t);let o=M();return T(o.focusChanged(r))}),Ot(2,_ce,5,11,"button",5,$n),d(),c(4,"div",6),Ot(5,vce,1,6,"nx-tab-body",7,$n),d()}if(i&2){let t=M();g("selectedIndex",t.selectedIndex)("autoselect",t.autoselect),p(2),Tt(t.tabs),p(3),Tt(t.tabs)}}function bce(i,e){if(i&1&&S(0,"nx-tab-header-outlet",10),i&2){let t=M().$implicit;g("content",t.headerViewRef)}}function Cce(i,e){if(i&1&&m(0),i&2){let t=M().$implicit;K(" ",t.label," ")}}function yce(i,e){if(i&1){let t=Y();c(0,"nx-expansion-panel",13),I("opened",function(){let r=O(t).$index,o=M(2);return T(o._panelOpened(r))}),c(1,"nx-expansion-panel-header")(2,"nx-expansion-panel-title"),re(3,bce,1,1,"nx-tab-header-outlet",10),re(4,Cce,1,1),d()(),S(5,"nx-tab-body",14),d()}if(i&2){let t=e.$implicit,n=e.$index,r=M(2);g("expanded",r.selectedIndex===n)("disabled",t.disabled),p(3),oe(t.templateLabel?3:-1),p(),oe(t.templateLabel?-1:4),p(),g("active",!0)("tab",t)}}function Mce(i,e){if(i&1&&(c(0,"nx-accordion",3,2),Ot(2,yce,6,6,"nx-expansion-panel",12,$n),d()),i&2){let t=M();g("negative",t.negative),p(2),Tt(t.tabs)}}function wce(i,e){if(i&1){let t=Y();c(0,"nx-tab-scroll-indicator",4),I("buttonClicked",function(){O(t);let r=M();return T(r.scrollToStart())}),d()}if(i&2){let t=M();g("isScrolledToStart",t._isScrolledToStart)}}function Sce(i,e){if(i&1){let t=Y();c(0,"nx-tab-scroll-indicator",5),I("buttonClicked",function(){O(t);let r=M();return T(r.scrollToEnd())}),d()}if(i&2){let t=M();g("isScrolledToEnd",t._isScrolledToEnd)}}var Pce=(()=>{let e=class e{constructor(n){this.template=n}};e.\u0275fac=function(r){return new(r||e)(D(Rn))},e.\u0275dir=Ie({type:e,selectors:[["","nxTabContent",""]]});let i=e;return i})(),dm=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275dir=Ie({type:e});let i=e;return i})(),Ece=(()=>{let e=class e extends fA{};e.\u0275fac=(()=>{let n;return function(o){return(n||(n=De(e)))(o||e)}})(),e.\u0275dir=Ie({type:e,selectors:[["","nxTabLabel",""]],features:[tt]});let i=e;return i})(),um=(()=>{let e=class e{set templateLabel(n){n&&(this._templateLabel=n)}get templateLabel(){return this._templateLabel}set label(n){this._label!==n&&(this._label=n)}get label(){return this._label}set disabled(n){let r=Ue(n);this._disabled!==r&&(this._disabled=r)}get disabled(){return this._tabGroup?.disabled||this._disabled}get headerViewRef(){return this._headerViewRef}get contentViewRef(){if(!this._contentViewRef){let n=this._explicitContent||this._implicitContent;this._contentViewRef=n.createEmbeddedView({})}return this._contentViewRef}constructor(n){if(this._tabGroup=n,this._stateChanges=new he,this._disabled=!1,this.isActive=!1,!this._tabGroup)throw Error(`The nx-tab element has to be wrapped in a nx-tab-group to work.
797      Please provide a nx-tab-group element and place your tabs inside it.`)}ngOnChanges(n){({}.hasOwnProperty.call(n,"label")||{}.hasOwnProperty.call(n,"disabled"))&&this._stateChanges.next()}ngAfterContentInit(){this.templateLabel&&(this._headerViewRef=this.templateLabel.createEmbeddedView({}))}ngOnDestroy(){this._stateChanges.complete(),this._contentViewRef.destroy(),this._headerViewRef&&this._headerViewRef.destroy()}};e.\u0275fac=function(r){return new(r||e)(D(dm,9))}
797,e.\u0275cmp=z({type:e,selectors:[["nx-tab"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,Ece,7,Rn),Ft(a,Pce,7,Rn)),r&2){let s;te(s=ne())&&(o.templateLabel=s.first),te(s=ne())&&(o._explicitContent=s.first)}},viewQuery:function(r,o){if(r&1&&pe(Rn,7),r&2){let a;te(a=ne())&&(o._implicitContent=a.first)}},inputs:{label:"label",disabled:"disabled"},exportAs:["nxTab"],features:[on],ngContentSelectors:zw,decls:1,vars:0,template:function(r,o){r&1&&(rt(),bc(0,dce,1,0,"ng-template"))},encapsulation:2,changeDetection:0});let i=e;return i})(),fR=(()=>{let e=class e{set active(n){this._active=Ue(n)}get active(){return this._active}constructor(n,r,o){this._tabGroup=n,this._focusMonitor=r,this._elementRef=o,this._active=!1,this._destroyed=new he}ngOnInit(){this._tabGroup._appearanceChange.pipe(ze(this._destroyed)).subscribe(()=>{this.detach()})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnChanges(n){"active"in n&&(n.active.currentValue?this.attach():this.detach())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._focusMonitor.stopMonitoring(this._elementRef)}attach(){this._outlet.insert(this.tab.contentViewRef)}detach(){let n=this._outlet.indexOf(this.tab.contentViewRef);n!==-1&&this._outlet.detach(n)}};e.\u0275fac=function(r){return new(r||e)(D(dm),D(Kt),D(We))},e.\u0275cmp=z({type:e,selectors:[["nx-tab-body"]],viewQuery:function(r,o){if(r&1&&pe(hR,7,ai),r&2){let a;te(a=ne())&&(o._outlet=a.first)}},inputs:{tab:"tab",active:"active"},features:[on],decls:2,vars:0,consts:[["outlet",""]],template:function(r,o){r&1&&F3(0,null,0)},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%]:focus{outline:none}.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.cdk-keyboard-focused[_nghost-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}"],changeDetection:0});let i=e;return i})(),Lw=(()=>{let e=class e{constructor(n,r,o){this._cdr=n,this._viewportService=r,this._dir=o,this._view="desktop",this.buttonClicked=new X,this._destroyed=new he,this._viewportService.min(B6.BREAKPOINT_MEDIUM).pipe(ze(this._destroyed)).subscribe(a=>{a?this._view="desktop":a||(this._view="mobile"),this._cdr.markForCheck()}),this._dir?.change.pipe(ze(this._destroyed)).subscribe(()=>this._cdr.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}get direction(){return this._dir?.value||"ltr"}getChevronName(){return this.scrollDirection==="start"&&this.direction==="ltr"||this.scrollDirection==="end"&&this.direction==="rtl"?"chevron-left":"chevron-right"}scroll(){this.buttonClicked.emit()}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(V0),D(jn,8))},e.\u0275cmp=z({type:e,selectors:[["nx-tab-scroll-indicator"]],hostVars:13,hostBindings:function(r,o){r&2&&(ye("aria-hidden",!0),Fe("start-button",o.scrollDirection==="start")("end-button",o.scrollDirection==="end")("is-desktop-button",o._view==="desktop")("is-mobile",o._view==="mobile")("is-scrolled-to-start",o.isScrolledToStart)("is-scrolled-to-end",o.isScrolledToEnd))},inputs:{scrollDirection:"scrollDirection",isScrolledToStart:"isScrolledToStart",isScrolledToEnd:"isScrolledToEnd"},outputs:{buttonClicked:"buttonClicked"},decls:3,vars:1,consts:[[1,"nx-tab-scroll-indicator__divider"],["nxPlainButton","","aria-hidden","true","type","button","tabindex","-1",3,"click"],[3,"name"]],template:function(r,o){r&1&&(S(0,"div",0),c(1,"button",1),I("click",function(){return o.scroll()}),S(2,"nx-icon",2),d()),r&2&&(p(2),g("name",o.getChevronName()))},dependencies:[dr,_o,xt,nt],styles:['[_nghost-%COMP%]{border-color:var(--tab-item-scroll-color);border-bottom-width:var(--tab-item-border-width);border-bottom-style:solid;flex:0 0 auto;height:100%;z-index:1;background-color:var(--ui-01)}[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{width:1px;height:32px;background:var(--tab-item-scroll-color);position:absolute;top:4px}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{display:flex;align-items:var(--tab-scroll-indicator-align);justify-content:center;width:100%}.start-button.is-scrolled-to-start[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%], .end-button.is-scrolled-to-end[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{display:none}.start-button.is-scrolled-to-start[_nghost-%COMP%]   button[_ngcontent-%COMP%], .end-button.is-scrolled-to-end[_nghost-%COMP%]   button[_ngcontent-%COMP%]{display:none}.start-button.is-scrolled-to-start[_nghost-%COMP%]{display:none}.start-button[_nghost-%COMP%]{position:absolute;display:flex;top:0;left:0}.start-button[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{right:0}[dir=rtl]   .start-button[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{right:initial;left:0}.start-button[_nghost-%COMP%]:after{content:"";display:var(--tab-header-indicator-display);width:var(--tab-scroll-indicator-fade-width);position:absolute;right:calc(0px - var(--tab-scroll-indicator-fade-width));height:100%;background:linear-gradient(to left,transparent 0%,var(--ui-01) 100%)}.end-button[_nghost-%COMP%]{position:absolute;display:flex;top:0;right:0}.end-button[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{left:0}[dir=rtl]   .end-button[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{left:initial;right:0}.end-button[_nghost-%COMP%]:before{content:"";display:var(--tab-header-indicator-display);width:var(--tab-scroll-indicator-fade-width);position:absolute;
797left:calc(0px - var(--tab-scroll-indicator-fade-width));height:100%;background:linear-gradient(to right,transparent 0%,var(--ui-01) 100%)}@media (max-width: 991px){[_nghost-%COMP%]{width:var(--tab-scroll-indicator-width-small-screen)}.start-button[_nghost-%COMP%]:not(.is-scrolled-to-start)   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{right:0}[dir=rtl]   .start-button[_nghost-%COMP%]:not(.is-scrolled-to-start)   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{right:initial;left:0}.end-button[_nghost-%COMP%]:not(.is-scrolled-to-end)   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{left:0}[dir=rtl]   .end-button[_nghost-%COMP%]:not(.is-scrolled-to-end)   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{left:initial;right:0}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{display:var(--tab-header-indicator-display)}}@media (min-width: 704px){[_nghost-%COMP%]{display:flex;width:var(--tab-scroll-indicator-width)}[_nghost-%COMP%]   button[_ngcontent-%COMP%]{display:flex}}nx-tab-group.is-expert[_nghost-%COMP%], nx-tab-group.is-expert   [_nghost-%COMP%], nx-tab-nav-bar.is-expert[_nghost-%COMP%], nx-tab-nav-bar.is-expert   [_nghost-%COMP%]{border-bottom:none;height:40px}nx-tab-group.is-expert[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%], nx-tab-group.is-expert   [_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%], nx-tab-nav-bar.is-expert[_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%], nx-tab-nav-bar.is-expert   [_nghost-%COMP%]   .nx-tab-scroll-indicator__divider[_ngcontent-%COMP%]{height:24px;top:8px}nx-tab-group.is-negative[_nghost-%COMP%]   button[_ngcontent-%COMP%], nx-tab-group.is-negative   [_nghost-%COMP%]   button[_ngcontent-%COMP%], nx-tab-nav-bar.is-negative[_nghost-%COMP%]   button[_ngcontent-%COMP%], nx-tab-nav-bar.is-negative   [_nghost-%COMP%]   button[_ngcontent-%COMP%]{color:var(--negative)}'],changeDetection:0});let i=e;return i})(),Ws=32,mR=40,vR=(()=>{let e=class e{constructor(n,r,o,a){this._cdr=n,this._dir=r,this._element=o,this.viewportService=a,this._isScrolledToStart=!0,this._isScrolledToEnd=!0,this._destroyed=new he,this._platform=C(ti),this._injector=C(Nt),this._scrollHandler=s=>{this._updateScrollButtons()},this._dir?.change.pipe(ze(this._destroyed)).subscribe(()=>{if(this.scrollableTabsList?.nativeElement.scrollLeft!==0){let s=Math.abs(this.scrollableTabsList?.nativeElement.scrollLeft);setTimeout(()=>{this.scrollableTabsList.nativeElement.scrollLeft=this.direction==="ltr"?s:-s})}}),this.viewportService.viewportChange$.pipe(ze(this._destroyed)).subscribe(()=>this._updateScrollButtons())}ngAfterContentInit(){this._platform.isBrowser&&(this.tabButtons.changes.pipe(ze(this._destroyed)).subscribe(()=>setTimeout(()=>this._updateScrollButtons())),setTimeout(()=>{this.scrollableTabsList.nativeElement.addEventListener("scroll",this._scrollHandler),this._updateScrollButtons()}))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}get direction(){return this._dir?.value||"ltr"}get scrollable(){return!this._isScrolledToStart||!this._isScrolledToEnd}scrollToStart(){let n=this.scrollableTabsList.nativeElement,r=n.getBoundingClientRect().width,o=Math.abs(n.scrollLeft),a=0,s;for(let u=0;u<n.children.length;u++){let h=n.children[u].getBoundingClientRect().width,_=a<o,y=_&&a+h>=o,b=_&&a+h<o,x=a+h+Ws>=o;if(y||b&&x){a+=h,s=u;break}else a+=h+Ws}let l=a;for(let u=s;u>=0;u--){let h=n.children[u].getBoundingClientRect().width,_=u>0?n.children[u-1].getBoundingClientRect().width:0,y=a-(l-h)<=r,b=a-(l-h-Ws-_)<=r;if(_){if(h>r||y&&!b){l-=h,this._scrollTabListTo(this.direction==="ltr"?l:-l);return}}else{this._scrollTabListTo(0);return}l-=h+Ws}}scrollToEnd(){let n=this.scrollableTabsList.nativeElement,r=n.getBoundingClientRect().width,o=Math.abs(n.scrollLeft),a=0;for(let s=0;s<n.children.length;s++){let l=n.children[s].getBoundingClientRect().width,u=s<n.children.length-1?n.children[s+1].getBoundingClientRect().width:0,h=a+l<=o+r,_=a+l+Ws+u<=o+r,y=l-mR+Ws+u>r;if(h&&!_){Math.abs(o-Math.round(a+l+Ws))<=2?a+=l+Ws+u+Ws:y?a+=l+Ws:a+=mR,this._scrollTabListTo(this.direction==="ltr"?a:-a);return}a+=l+Ws}}_updateScrollButtons(){let n=this.scrollableTabsList.nativeElement;if(Math.round(this._element.nativeElement.getBoundingClientRect().width)>=n.scrollWidth){(!this._isScrolledToStart||!this._isScrolledToEnd)&&(this._isScrolledToStart=!0,this._isScrolledToEnd=!0,this._cdr.markForCheck());return}this.scrollableTabsList?.nativeElement.scrollLeft===0&&!this._isScrolledToStart?(this._isScrolledToStart=!0,this._cdr.markForCheck()):this.scrollableTabsList?.nativeElement.scrollLeft!==0&&this._isScrolledToStart&&(this._isScrolledToStart=!1,this._cdr.markForCheck());let r=Math.round(Math.abs(n.scrollLeft)+n.getBoundingClientRect().width);r>=n.scrollWidth-1&&!this._isScrolledToEnd?(this._isScrolledToEnd=!0,this._cdr.markForCheck()):r<n.scrollWidth-1&&this._isScrolledToEnd&&(this._isScrolledToEnd=!1,this._cdr.markForCheck())}_scrollTabListTo(n){typeof this.scrollableTabsList?.nativeElement.scrollTo=="function"?this.scrollableTabsList?.nativeElement.scrollTo({left:n,behavior:"smooth"}):this.scrollableTabsList.nativeElement.scrollLeft=n}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(We),D(V0))},e.\u0275dir=Ie({type:e});let i=e;return i})(),xR=(()=>{let e=class e{set disabled(n){let r=Ue(n);this.disabled!==r&&(this._disabled=r)}get disabled(){return this._disabled}constructor(n){this.elementRef=n,this._disabled=!1}focus(){this.elementRef.nativeElement.focus()}};e.\u0275fac=function(r){return new(r||e)(D(We))},e.\u0275dir=Ie({type:e,selectors:[["","nxTabLabelWrapper",""]],inputs:{disabled:"disabled"}});let i=e;return i})(),bR=(()=>{let e=class e extends vR{set selectedIndex(n){this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n),this.scrollToButton(n)}get selectedIndex(){return this._selectedIndex}set focusIndex(n){!this._isValidIndex(n)||this.focusIndex===n||!this._keyManager||this._keyManager.setActiveItem(n)}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set autoselect(n){this._autoselect=n}get autoselect(){return this._autoselect}constructor(n,r,o,a,s){super(n,r,a,s),this._tabGroup=o,this._selectedIndex=0,this._autoselect=!0,this.selectFocusedIndex=new X,this.indexFocused=new X}ngAfterContentInit(){super.ngAfterContentInit(),this._keyManager=new Rc(this.labels).withHorizontalOrientation("ltr").withWrap(),this._keyManager.updateActiveItem(0),this._cdr.markForCheck()}ngAfterViewInit(){this.scrollToButton(this.selectedIndex)}_isValidIndex(n){if(!this.labels)return!0;let r=this.labels.toArray()[n]||null;return!!r&&!r.disabled}scrollToButton(n){if(!this._platform.isBrowser||!this.labels||!this.scrollableTabsList)return;let r=this.scrollableTabsList.nativeElement,o=this.labels.get(n)?.elementRef.nativeElement;if(r&&o){let a=r.getBoundingClientRect(),s=o.getBoundingClientRect(),u=s.left-a.left+r.scrollLeft-(a.width-s.width)/2;r.scrollTo({left:u,behavior:"smooth"})}}handleKeydown(n){switch(n.keyCode){case 36:this._keyManager.setFirstItemActive(),n.preventDefault();break;case 35:this._keyManager.setLastItemActive(),n.preventDefault();break;
797case 13:case 32:this.selectFocusedIndex.emit(this._keyManager.activeItemIndex),n.preventDefault();break;default:this._keyManager.onKeydown(n)}this.autoselect?this.selectFocusedIndex.emit(this._keyManager.activeItemIndex):n.keyCode!==13&&n.keyCode!==32&&this.indexFocused.emit(this._keyManager.activeItemIndex)}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(dm,8),D(We),D(V0))},e.\u0275cmp=z({type:e,selectors:[["nx-tab-header"]],contentQueries:function(r,o,a){if(r&1&&(Ft(a,gR,4),Ft(a,xR,4)),r&2){let s;te(s=ne())&&(o.tabButtons=s),te(s=ne())&&(o.labels=s)}},viewQuery:function(r,o){if(r&1&&pe(_R,5),r&2){let a;te(a=ne())&&(o.scrollableTabsList=a.first)}},hostVars:4,hostBindings:function(r,o){r&2&&Fe("at-start",o._isScrolledToStart)("scrollable",o.scrollable)},inputs:{selectedIndex:"selectedIndex",autoselect:"autoselect"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[tt],ngContentSelectors:zw,decls:5,vars:2,consts:[["tabsList",""],["scrollDirection","start",3,"isScrolledToStart"],["role","tablist","tabindex","-1",1,"nx-tab-header",3,"keydown"],["scrollDirection","end",3,"isScrolledToEnd"],["scrollDirection","start",3,"buttonClicked","isScrolledToStart"],["scrollDirection","end",3,"buttonClicked","isScrolledToEnd"]],template:function(r,o){if(r&1){let a=Y();rt(),re(0,uce,1,1,"nx-tab-scroll-indicator",1),c(1,"div",2,0),I("keydown",function(l){return O(a),T(o.handleKeydown(l))}),ke(3),d(),re(4,pce,1,1,"nx-tab-scroll-indicator",3)}
797r&2&&(oe(o.scrollable?0:-1),p(4),oe(o._isScrolledToEnd?-1:4))},dependencies:[Lw],styles:["[_nghost-%COMP%]{display:flex;justify-content:center;position:relative}[_nghost-%COMP%]   .nx-tab-header[_ngcontent-%COMP%]{display:flex;align-items:flex-end;overflow-x:scroll;position:relative;outline:none;-ms-overflow-style:none;scrollbar-width:none}[_nghost-%COMP%]   .nx-tab-header[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.at-start[_nghost-%COMP%]   .nx-tab-header[_ngcontent-%COMP%]{margin-left:-8px;padding-left:8px}[dir=rtl]   .at-start[_nghost-%COMP%]   .nx-tab-header[_ngcontent-%COMP%]{margin-left:0;padding-left:0;margin-right:-8px;padding-right:8px}[_nghost-%COMP%]:not(.scrollable)   .nx-tab-header[_ngcontent-%COMP%]{margin-right:-8px;padding-right:8px}[dir=rtl]   [_nghost-%COMP%]:not(.scrollable)   .nx-tab-header[_ngcontent-%COMP%]{margin-right:0;padding-right:0;margin-left:-8px;padding-left:8px}nx-tab-group.is-expert[_nghost-%COMP%], nx-tab-group.is-expert   [_nghost-%COMP%]{justify-content:flex-start;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:var(--tab-expert-bottom-border-color)}nx-tab-group.is-expert[_nghost-%COMP%]   .nx-tab-header[_ngcontent-%COMP%], nx-tab-group.is-expert   [_nghost-%COMP%]   .nx-tab-header[_ngcontent-%COMP%]{width:100%}"],changeDetection:0});let i=e;return i})(),Dce=(()=>{let e=class e{constructor(n){this._tabGroup=n,this._destroyed=new he}ngOnInit(){this._tabGroup._appearanceChange.pipe(ze(this._destroyed)).subscribe(()=>{this.detach()}),this.attach()}attach(){this._outlet.insert(this.content)}detach(){let n=this._outlet.indexOf(this.content);n!==-1&&this._outlet.detach(n)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}};e.\u0275fac=function(r){return new(r||e)(D(dm))},e.\u0275cmp=z({type:e,selectors:[["nx-tab-header-outlet"]],viewQuery:function(r,o){if(r&1&&pe(hR,7,ai),r&2){let a;te(a=ne())&&(o._outlet=a.first)}},inputs:{content:"content"},decls:2,vars:0,consts:[["outlet",""]],template:function(r,o){r&1&&F3(0,null,0)},encapsulation:2});let i=e;return i})(),Oce=new Ee("TAB_GROUP_DEFAULT_OPTIONS"),Tce=new Ee("TAB_NAV_BAR_DEFAULT_OPTIONS"),Rw=class{},Ice=0,pm=(()=>{let e=class e{set selectedIndex(n){this._indexToSelect=Qa(n,null)}get selectedIndex(){return this._selectedIndex}set negative(n){n!==this._negative&&(this._negative=Ue(n),this._cdr.markForCheck())}get negative(){return this._negative}set disabled(n){n!==this._disabled&&(this._disabled=Ue(n),this._cdr.markForCheck())}get disabled(){return this._disabled}set autoselect(n){this._autoselect=Ue(n)}get autoselect(){return this._autoselect}set mobileAccordion(n){this._mobileAccordion=Ue(n)}get mobileAccordion(){return this._mobileAccordion}set appearance(n){this._appearance!==n&&(this._appearance=n,this._cdr.markForCheck())}get appearance(){return this._appearance||this._defaultOptions?.appearance||"default"}constructor(n,r,o,a){this.viewportService=n,this._cdr=r,this._defaultOptions=o,this._focusMonitor=a,this._indexToSelect=0,this._showAccordion=!1,this._selectedIndex=null,this._negative=!1,this._disabled=!1,this._autoselect=!0,this._mobileAccordion=!0,this.selectedIndexChange=new X,this.selectedTabChange=new X,this.focusChange=new X,this._tabLabelSubscription=En.EMPTY,this._disabledTabsCache=[],this._appearanceChange=new he,this._destroyed=new he,this._groupId=Ice++}ngAfterContentInit(){this._subscribeToTabLabels(),this.tabs.changes.pipe(ze(this._destroyed)).subscribe(()=>{if(this._clampTabIndex(this._indexToSelect)===this._selectedIndex){let r=this.tabs.toArray();for(let o=0;o<r.length;o++)if(r[o].isActive){this._indexToSelect=this._selectedIndex=o;break}}this._cdr.markForCheck()})}ngAfterContentChecked(){let n=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(!this.disabled&&this.tabs.toArray()[n].disabled){let r=this.tabs.toArray().map((o,a)=>({tab:o,index:a})).find(o=>!o.tab.disabled);n=r?r.index:n}if(this._disabledTabsCache[this._indexToSelect]&&(this._indexToSelect=this.selectedIndex),this._selectedIndex!==n){let r=this._selectedIndex==null;r||this.selectedTabChange.emit(this._createChangeEvent(n)),Promise.resolve().then(()=>
797{this.tabs.forEach((o,a)=>o.isActive=a===n),r||this.selectedIndexChange.emit(n)})}this._selectedIndex!==n&&(this._selectedIndex=n,this._cdr.markForCheck()),this.disabled||this.tabs.toArray().forEach((r,o)=>this._disabledTabsCache[o]=r.disabled)}ngAfterViewInit(){this.viewportService.max(B6.BREAKPOINT_MEDIUM).pipe(ze(this._destroyed)).subscribe(n=>{this._switchAppearance(n)}),this._tabButtons.forEach(n=>this._focusMonitor.monitor(n)),this._tabButtonsPrevious=this._tabButtons,this._tabButtons.changes.subscribe(n=>{this._tabButtonsPrevious.forEach(r=>this._focusMonitor.stopMonitoring(r)),this._tabButtonsPrevious=n,n.forEach(r=>this._focusMonitor.monitor(r))})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._tabLabelSubscription.unsubscribe(),this._tabButtons.forEach(n=>{this._focusMonitor.stopMonitoring(n)})}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=pr(...this.tabs.map(n=>n._stateChanges)).subscribe(()=>this._cdr.markForCheck())}_clampTabIndex(n){return Math.min(this.tabs.length-1,Math.max(n||0,0))}focusChanged(n){this.focusChange.emit(this._createChangeEvent(n))}_createChangeEvent(n){let r=new Rw;return r.index=n,this.tabs?.length&&(r.tab=this.tabs.toArray()[n]),r}handleClick(n){let r=this.tabs.toArray()[n];!this.disabled&&!r.disabled&&(this.selectedIndex=this.tabHeader.focusIndex=n)}getTabIndex(n,r){return this.selectedIndex===r&&!n.disabled&&!this.disabled?0:-1}_getTabLabelId(n){return`nx-tab-label-${this._groupId}-${n}`}_getTabContentId(n){return`nx-tab-content-${this._groupId}-${n}`}_switchAppearance(n){this._mobileAccordion&&this._showAccordion!==n&&(this._appearanceChange.next(),this._showAccordion=n,this._cdr.markForCheck())}_panelOpened(n){this.selectedIndex=n}};e.\u0275fac=function(r){return new(r||e)(D(V0),D(Ye),D(Oce,8),D(Kt))},e.\u0275cmp=z({type:e,selectors:[["nx-tab-group"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,um,4),r&2){let s;te(s=ne())&&(o.tabs=s)}},viewQuery:function(r,o){if(r&1&&(pe(fce,5),pe(mce,5,Ol),pe(fR,5),pe(es,5),pe(gR,5)),r&2){let a;te(a=ne())&&(o.tabHeader=a.first),te(a=ne())&&(o.accordion=a.first),te(a=ne())&&(o.tabBodyChildren=a),te(a=ne())&&(o.panels=a),te(a=ne())&&(o._tabButtons=a)}},hostVars:6,hostBindings:function(r,o){r&2&&Fe("is-negative",o.negative)("is-disabled",o.disabled)("is-expert",o.appearance==="expert")},inputs:{selectedIndex:"selectedIndex",negative:"negative",disabled:"disabled",autoselect:"autoselect",mobileAccordion:"mobileAccordion",appearance:"appearance"},outputs:{selectedIndexChange:"selectedIndexChange",selectedTabChange:"selectedTabChange",focusChange:"focusChange"},features:[Mt([{provide:dm,useExisting:e}])],decls:2,vars:2,consts:[["tabHeader",""],["tabButton",""],["accordion",""],[3,"negative"],[3,"selectFocusedIndex","indexFocused","selectedIndex","autoselect"],["type","button","nxTabLabelWrapper","","role","tab",1,"nx-tab-header__item",3,"id","disabled","nx-tab-header__item--disabled","nx-tab-header__item--active"],[1,"nx-tab-body__container"],["role","tabpanel",1,"nx-tab__body",3,"id","nx-tab__body--active","tab","active"],["type","button","nxTabLabelWrapper","","role","tab",1,"nx-tab-header__item",3,"click","id","disabled"],[1,"nx-tab-label__content"],[3,"content"],["role","tabpanel",1,"nx-tab__body",3,"id","tab","active"],[3,"expanded","disabled"],[3,"opened","expanded","disabled"],[3,"active","tab"]],template:function(r,o){r&1&&(re(0,xce,7,2),re(1,Mce,4,1,"nx-accordion",3)),r&2&&(oe(o._showAccordion?-1:0),p(),oe(o._showAccordion?1:-1))},dependencies:[bR,xR,Dce,fR,jd,Ol,es,zc,Bd],styles:['[_nghost-%COMP%]{display:block}.nx-tab-header__item[_ngcontent-%COMP%]{font-size:var(--tab-item-font-size);line-height:var(--tab-item-line-height);font-weight:var(--tab-item-font-weight);letter-spacing:var(--tab-item-letter-spacing);text-decoration:none;border:none;background:transparent;color:var(--tab-item-color);padding:var(--tab-item-padding);margin:var(--tab-item-margin);outline:none;position:relative;cursor:pointer;flex:0 0 auto}@media screen and (forced-colors: active){.nx-tab-header__item[_ngcontent-%COMP%]{background-color:buttonFace;border-color:buttonText;color:buttonText;forced-colors-adjust:none}}.nx-tab-header__item[_ngcontent-%COMP%]:hover{color:var(--tab-item-hover-color)}.nx-tab-header__item[_ngcontent-%COMP%]:active{color:var(--tab-item-active-color)}.nx-tab-header__item[_ngcontent-%COMP%]::-moz-focus-inner{border:0}[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]{overflow:visible}[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:first-child{margin-left:0}[dir=rtl]   [_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:first-child{margin-right:0;margin-left:16px}[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:last-child{margin-right:0}[dir=rtl]   [_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:last-child{margin-right:16px;margin-left:0}.nx-tab-header__item[_ngcontent-%COMP%]:before{content:"";position:absolute;width:calc(100% + 64px);height:var(--tab-item-border-width);bottom:0;left:-32px;background-color:var(--tab-item-border-color)}.nx-tab-header__item[_ngcontent-%COMP%]:first-child:before{left:0;width:calc(100% + 32px)}[dir=rtl][_ngcontent-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:first-child:before{left:initial;right:0}.nx-tab-header__item[_ngcontent-%COMP%]:last-child:before{width:calc(100% + 32px)}[dir=rtl][_ngcontent-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:last-child:before{left:initial;right:-32px}.is-expert[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:before{display:none}.is-expert[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:not(.nx-tab-header__item--active){border-color:transparent}.is-expert[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]{padding-bottom:8px}.is-expert[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--active[_ngcontent-%COMP%]{padding-bottom:4px}.is-expert[_nghost-%COMP%]:not(.is-negative)   .nx-tab-header__item[_ngcontent-%COMP%]:not(.nx-tab-header__item--active):not(.n
797x-tab-header__item--disabled){color:var(--tab-expert-color)}.is-expert[_nghost-%COMP%]:not(.is-negative)   .nx-tab-header__item[_ngcontent-%COMP%]:not(.nx-tab-header__item--active):not(.nx-tab-header__item--disabled):hover{color:var(--tab-item-hover-color)}.is-expert[_nghost-%COMP%]:not(.is-negative)   .nx-tab-header__item[_ngcontent-%COMP%]:not(.nx-tab-header__item--active):not(.nx-tab-header__item--disabled):active{color:var(--tab-item-active-color)}@media screen and (forced-colors: active){.is-expert[_nghost-%COMP%]:not(.is-negative)   .nx-tab-header__item[_ngcontent-%COMP%]:not(.nx-tab-header__item--active):not(.nx-tab-header__item--disabled){color:buttonText}}.is-expert[_nghost-%COMP%]:not(.is-negative)   .nx-tab-header__item--disabled[_ngcontent-%COMP%]{color:var(--tab-expert-item-disabled-color);border-color:var(--tab-expert-item-disabled-color)}.nx-tab-header__item--active[_ngcontent-%COMP%]{border-width:var(--tab-item-active-border-width);font-weight:var(--tab-item-active-font-weight);border-bottom-style:solid;border-color:var(--tab-item-active-border-color);padding-bottom:8px;
797cursor:default}.nx-tab-header__item--active[_ngcontent-%COMP%]:hover, .nx-tab-header__item--active[_ngcontent-%COMP%]:active{color:var(--tab-item-color)}@media screen and (forced-colors: active){.nx-tab-header__item--active[_ngcontent-%COMP%]{border-color:highlight}}.nx-tab-header__item--active[_ngcontent-%COMP%]:before{display:none}.nx-tab-header__item--disabled[_ngcontent-%COMP%]{border-color:var(--tab-item-disabled-color);color:var(--tab-item-disabled-color);cursor:not-allowed}.nx-tab-header__item--disabled[_ngcontent-%COMP%]:hover, .nx-tab-header__item--disabled[_ngcontent-%COMP%]:active{color:var(--tab-item-disabled-color)}@media screen and (forced-colors: active){.nx-tab-header__item--disabled[_ngcontent-%COMP%]{border-color:GrayText;background-color:buttonFace;color:GrayText}}.nx-tab-header__item--disabled[_ngcontent-%COMP%]     .nx-indicator{opacity:.4}.nx-tab-label__content[_ngcontent-%COMP%]{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.nx-tab-header__item.cdk-keyboard-focused[_ngcontent-%COMP%]   .nx-tab-label__content[_ngcontent-%COMP%]{box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){.nx-tab-header__item.cdk-keyboard-focused[_ngcontent-%COMP%]   .nx-tab-label__content[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}.is-negative[_nghost-%COMP%]{color:var(--negative)}.is-negative[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]{color:var(--negative);border-bottom-color:var(--negative)}.is-negative[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:hover, .is-negative[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]:active{font-weight:var(--tab-item-active-font-weight)}.is-negative[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--disabled[_ngcontent-%COMP%]{border-color:var(--tab-item-disabled-color);color:var(--tab-item-disabled-color);cursor:not-allowed;color:var(--tab-item-disabled-negative-color);border-color:var(--tab-item-disabled-negative-color)}.is-negative[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--disabled[_ngcontent-%COMP%]:hover, .is-negative[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--disabled[_ngcontent-%COMP%]:active{color:var(--tab-item-disabled-color)}@media screen and (forced-colors: active){.is-negative[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--disabled[_ngcontent-%COMP%]{border-color:GrayText;background-color:buttonFace;color:GrayText}}.is-negative[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--disabled[_ngcontent-%COMP%]     .nx-indicator{opacity:.4}.is-negative.is-expert[_nghost-%COMP%]   .nx-tab-header__item.nx-tab-header__item--disabled[_ngcontent-%COMP%]:not(.nx-tab-header__item--active){border-bottom-color:transparent}.is-disabled[_nghost-%COMP%]{cursor:not-allowed}.is-disabled.is-negative[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]{color:var(--tab-item-disabled-negative-color);border-color:var(--tab-item-disabled-negative-color)}@media screen and (forced-colors: active){.is-negative[_nghost-%COMP%]{color:buttonText}.is-negative[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]{color:buttonText;border-bottom-color:buttonText}.is-disabled.is-negative[_nghost-%COMP%]   .nx-tab-header__item[_ngcontent-%COMP%]{color:GrayText;border-bottom-color:GrayText}}'],changeDetection:0});let i=e;return i})(),CR=(()=>{let e=class e extends vR{set negative(n){let r=Ue(n);r!==this.negative&&(this._negative=r,this._cdr.markForCheck())}get negative(){return this._negative}set disabled(n){let r=Ue(n);r!==this.disabled&&(this._disabled=r,this._cdr.markForCheck())}get disabled(){return this._disabled}set appearance(n){this._appearance!==n&&(this._appearance=n,this._cdr.markForCheck())}get appearance(){return this._appearance||this._defaultOptions?.appearance||"default"}constructor(n,r,o,a,s){super(n,r,a,s),this._defaultOptions=o,this._negative=!1,this._disabled=!1}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(jn,8),D(Tce,8),D(We),D(V0))},e.\u0275cmp=z({type:e,selectors:[["nx-tab-nav-bar"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,kce,4),r&2){let s;
797te(s=ne())&&(o.tabButtons=s)}},viewQuery:function(r,o){if(r&1&&pe(_R,5),r&2){let a;te(a=ne())&&(o.scrollableTabsList=a.first)}},hostAttrs:["role","navigation"],hostVars:10,hostBindings:function(r,o){r&2&&Fe("is-negative",o.negative)("is-disabled",o.disabled)("is-expert",o.appearance==="expert")("at-start",o._isScrolledToStart)("scrollable",o.scrollable)},inputs:{negative:"negative",disabled:"disabled",appearance:"appearance"},features:[tt],ngContentSelectors:zw,decls:5,vars:2,consts:[["tabsList",""],["scrollDirection","start",3,"isScrolledToStart"],["tabindex","-1",1,"nx-tab-nav-bar"],["scrollDirection","end",3,"isScrolledToEnd"],["scrollDirection","start",3,"buttonClicked","isScrolledToStart"],["scrollDirection","end",3,"buttonClicked","isScrolledToEnd"]],template:function(r,o){r&1&&(rt(),re(0,wce,1,1,"nx-tab-scroll-indicator",1),c(1,"div",2,0),ke(3),d(),re(4,Sce,1,1,"nx-tab-scroll-indicator",3)),r&2&&(oe(o.scrollable?0:-1),p(4),oe(o.scrollable?4:-1))},dependencies:[Lw],styles:['[_nghost-%COMP%]{display:flex;align-items:flex-end;justify-content:center}.is-expert[_nghost-%COMP%]{justify-content:flex-start;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:var(--tab-expert-bottom-border-color)}.is-expert[_nghost-%COMP%]   .nx-tab-nav-bar[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%]   .nx-tab-nav-bar[_ngcontent-%COMP%]{display:flex;position:relative;overflow-x:scroll;outline:none;-ms-overflow-style:none;scrollbar-width:none}[_nghost-%COMP%]   .nx-tab-nav-bar[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.at-start[_nghost-%COMP%]   .nx-tab-nav-bar[_ngcontent-%COMP%]{margin-left:-8px;padding-left:8px}[dir=rtl]   .at-start[_nghost-%COMP%]   .nx-tab-nav-bar[_ngcontent-%COMP%]{margin-left:0;padding-left:0;margin-right:-8px;padding-right:8px}[_nghost-%COMP%]:not(.scrollable)   .nx-tab-nav-bar[_ngcontent-%COMP%]{margin-right:-8px;padding-right:8px}[dir=rtl]   [_nghost-%COMP%]:not(.scrollable)   .nx-tab-nav-bar[_ngcontent-%COMP%]{margin-right:0;padding-right:0;margin-left:-8px;padding-left:8px}[_nghost-%COMP%]     a.nx-tab-link{font-size:var(--tab-item-font-size);line-height:var(--tab-item-line-height);font-weight:var(--tab-item-font-weight);letter-spacing:var(--tab-item-letter-spacing);text-decoration:none;border:none;background:transparent;color:var(--tab-item-color);padding:var(--tab-item-padding);margin:var(--tab-item-margin);outline:none;position:relative;cursor:pointer;white-space:nowrap}@media screen and (forced-colors: active){[_nghost-%COMP%]     a.nx-tab-link{background-color:buttonFace;border-color:buttonText;color:buttonText;forced-colors-adjust:none}}[_nghost-%COMP%]     a.nx-tab-link:hover{color:var(--tab-item-hover-color)}[_nghost-%COMP%]     a.nx-tab-link:active{color:var(--tab-item-active-color)}[_nghost-%COMP%]     a.nx-tab-link.is-active{border-width:var(--tab-item-active-border-width);font-weight:var(--tab-item-active-font-weight);border-bottom-style:solid;border-color:var(--tab-item-active-border-color);padding-bottom:8px;
797cursor:default}[_nghost-%COMP%]     a.nx-tab-link.is-active:hover, [_nghost-%COMP%]     a.nx-tab-link.is-active:active{color:var(--tab-item-color)}@media screen and (forced-colors: active){[_nghost-%COMP%]     a.nx-tab-link.is-active{border-color:highlight}}[_nghost-%COMP%]:not(.is-expert)     a.nx-tab-link:not(.is-active):before{content:"";position:absolute;width:calc(100% + 64px);height:1px;background-color:var(--tab-item-border-color);bottom:0;left:-32px}[_nghost-%COMP%]:not(.is-expert)     a.nx-tab-link:first-child:before{left:0;width:calc(100% + 32px)}[dir=rtl]   [_nghost-%COMP%]:not(.is-expert)     a.nx-tab-link:first-child:before{left:initial;right:0}[_nghost-%COMP%]:not(.is-expert)     a.nx-tab-link:last-child:before{width:calc(100% + 32px)}[dir=rtl]   [_nghost-%COMP%]:not(.is-expert)     a.nx-tab-link:last-child:before{left:initial;right:-32px}[_nghost-%COMP%]     a.nx-tab-link:first-child{margin-left:0}[dir=rtl]   [_nghost-%COMP%]     a.nx-tab-link:first-child{margin-right:0;margin-left:16px}[_nghost-%COMP%]     a.nx-tab-link:last-child{margin-right:0}[dir=rtl]   [_nghost-%COMP%]     a.nx-tab-link:last-child{margin-right:16px;margin-left:0}.is-expert[_nghost-%COMP%]     a.nx-tab-link{padding:4px 0}.is-expert[_nghost-%COMP%]     a.nx-tab-link.is-disabled:not(.is-active){border-bottom-color:transparent;color:var(--tab-expert-item-disabled-color)}.is-expert[_nghost-%COMP%]:not(.is-negative)     a.nx-tab-link:not(.is-disabled):not(.is-active){color:var(--tab-expert-color)}@media screen and (forced-colors: active){.is-expert[_nghost-%COMP%]:not(.is-negative)     a.nx-tab-link:not(.is-disabled):not(.is-active){color:buttonText}}.is-expert[_nghost-%COMP%]:not(.is-negative)     a.nx-tab-link.is-active{border-color:var(--tab-item-active-border-color)}.is-negative[_nghost-%COMP%]{color:var(--negative)}.is-negative[_nghost-%COMP%]     a.nx-tab-link{color:var(--negative);border-bottom-color:var(--negative)}.is-negative[_nghost-%COMP%]     a.nx-tab-link.is-disabled{color:var(--tab-item-disabled-negative-color);border-color:var(--tab-item-disabled-negative-color)}@media screen and (forced-colors: active){.is-negative[_nghost-%COMP%]     a.nx-tab-link.is-active{background-color:highlight;color:highlightText;border-color:windowFrame;forced-color-adjust:none}}.is-expert.is-negative[_nghost-%COMP%]     a.nx-tab-link:not(.is-active){border-bottom-color:transparent}[_nghost-%COMP%]     a.nx-tab-link.is-disabled{border-color:var(--tab-item-disabled-color);color:var(--tab-item-disabled-color);cursor:not-allowed}[_nghost-%COMP%]     a.nx-tab-link.is-disabled:hover, [_nghost-%COMP%]     a.nx-tab-link.is-disabled:active{color:var(--tab-item-disabled-color)}@media screen and (forced-colors: active){[_nghost-%COMP%]     a.nx-tab-link.is-disabled{border-color:GrayText;background-color:buttonFace;color:GrayText}}[_nghost-%COMP%]     a.nx-tab-link.is-disabled   .nx-indicator{opacity:.4}.is-disabled[_nghost-%COMP%]{cursor:not-allowed}.is-disabled.is-negative[_nghost-%COMP%]     a.nx-tab-link{color:var(--tab-item-disabled-negative-color);border-color:var(--tab-item-disabled-negative-color)}[_nghost-%COMP%]     .nx-tab-link:not(.is-disabled).cdk-keyboard-focused:after{content:"";display:block;position:absolute;height:var(--tab-item-line-height);width:100%;top:4px;box-shadow:var(--focus-box-shadow);border-radius:4px}@media screen and (forced-colors: active),(forced-colors: active){[_nghost-%COMP%]     .nx-tab-link:not(.is-disabled).cdk-keyboard-focused:after{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}@media screen and (forced-colors: active){.is-negative[_nghost-%COMP%]{color:buttonText}.is-negative[_nghost-%COMP%]     a.nx-tab-link{color:buttonText;border-bottom-color:buttonText}.is-negative[_nghost-%COMP%]     a.nx-tab-link.is-active{background-color:highlight;color:highlight;border-color:highlight}.is-negative[_nghost-%COMP%]     a.nx-tab-link.is-disabled{color:GrayText;border-bottom-color:GrayText}}'],changeDetection:0});let i=e;return i})(),kce=(()=>{let e=class e{set active(n){let r=Ue(n);r!==this._active&&(this._active=r)}get active(){return this._active}set disabled(n){let r=Ue(n);r!==this._disabled&&(this._disabled=r)}get disabled(){return this._tabNavBar?.disabled||this._disabled}constructor(n,r,o){if(this._tabNavBar=n,this._elementRef=r,this._focusMonitor=o,this._active=!1,this._disabled=!1,!this._tabNavBar)throw Error("The nx-tab-link element has to be wrapped in a nx-tab-nav-bar to work.")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_getTabIndex(){return this.disabled?"-1":"0"}};e.\u0275fac=function(r){return new(r||e)(D(CR,12),D(We),D(Kt))},e.\u0275dir=Ie({type:e,selectors:[["","nxTabLink",""]],hostVars:9,hostBindings:function(r,o){r&2&&(ye("aria-current",o.active)("tabindex",o._getTabIndex())("aria-disabled",o.disabled.toString()),Fe("nx-tab-link",!0)("is-active",o.active)("is-disabled",o.disabled))},inputs:{active:"active",disabled:"disabled"}});let i=e;return i})(),Hw=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,Xa,jd,xt,dr,pm,bR,CR,Lw]});let i=e;return i})();var Nce=new Ee("currency.mask.config"),Bw=class{constructor(e){this.htmlInputElement=e}
797setCursorAt(e){if(this.htmlInputElement.setSelectionRange)this.htmlInputElement.focus(),this.htmlInputElement.setSelectionRange(e,e);else if(this.htmlInputElement.createTextRange){let t=this.htmlInputElement.createTextRange();t.collapse(!0),t.moveEnd("character",e),t.moveStart("character",e),t.select()}}updateValueAndCursor(e,t,n){this.rawValue=e;let r=e.length;n=n-(t-r),this.setCursorAt(n)}get canInputMoreNumbers(){let e=!(this.rawValue.length>=this.htmlInputElement.maxLength&&this.htmlInputElement.maxLength>=0),t=this.inputSelection.selectionStart,n=this.inputSelection.selectionEnd,r=!!(t!=n&&this.htmlInputElement.value.substring(t,n).match(/\d/)),o=this.htmlInputElement.value.substring(0,1)=="0";return e||r||o}get inputSelection(){let e=0,t=0;if(typeof this.htmlInputElement.selectionStart=="number"&&typeof this.htmlInputElement.selectionEnd=="number")e=this.htmlInputElement.selectionStart,t=this.htmlInputElement.selectionEnd;else{let n=document.getSelection().anchorNode;if(n&&n.firstChild==this.htmlInputElement){let r=this.htmlInputElement.value.length,o=this.htmlInputElement.value.replace(/\r\n/g,`
798`),a=this.htmlInputElement.createTextRange(),s=this.htmlInputElement.createTextRange();s.collapse(!1),a.compareEndPoints("StartToEnd",s)>-1?e=t=r:(e=-a.moveStart("character",-r),e+=o.slice(0,e).split(`
799`).length-1,a.compareEndPoints("EndToEnd",s)>-1?t=r:(t=-a.moveEnd("character",-r),t+=o.slice(0,t).split(`
800`).length-1))}}return{selectionStart:e,selectionEnd:t}}get rawValue(){return this.htmlInputElement&&this.htmlInputElement.value}set rawValue(e){this._storedRawValue=e,this.htmlInputElement&&(this.htmlInputElement.value=e)}get storedRawValue(){return this._storedRawValue}},jw=class{constructor(e,t){this.htmlInputElement=e,this.options=t,this.inputManager=new Bw(e)}addNumber(e){this.rawValue||(this.rawValue=this.applyMask(!1,"0"));let t=String.fromCharCode(e),n=this.inputSelection.selectionStart,r=this.inputSelection.selectionEnd;this.rawValue=this.rawValue.substring(0,n)+t+this.rawValue.substring(r,this.rawValue.length),this.updateFieldValue(n+1)}applyMask(e,t){let{allowNegative:n,decimal:r,precision:o,prefix:a,suffix:s,thousands:l}=this.options;t=e?new Number(t).toFixed(o):t;let u=t.replace(/[^0-9]/g,"");if(!u)return"";let h=u.slice(0,u.length-o).replace(/^0*/g,"").replace(/\B(?=(\d{3})+(?!\d))/g,l);h==""&&(h="0");let _=h,y=u.slice(u.length-o);o>0&&(y="0".repeat(o-y.length)+y,_+=r+y);let b=parseInt(h)==0&&(parseInt(y)==0||y=="");return(t.indexOf("-")>-1&&n&&!b?"-":"")+a+_+s}clearMask(e){if(e==null||e=="")return null;let t=e.replace(this.options.prefix,"").replace(this.options.suffix,"");return this.options.thousands&&(t=t.replace(new RegExp("\\"+this.options.thousands,"g"),"")),this.options.decimal&&(t=t.replace(this.options.decimal,".")),parseFloat(t)}changeToNegative(){if(this.options.allowNegative&&this.rawValue!=""&&this.rawValue.charAt(0)!="-"&&this.value!=0){let e=this.inputSelection.selectionStart;this.rawValue="-"+this.rawValue,this.updateFieldValue(e+1)}}changeToPositive(){let e=this.inputSelection.selectionStart;this.rawValue=this.rawValue.replace("-",""),this.updateFieldValue(e-1)}fixCursorPosition(e){let t=this.inputSelection.selectionStart;t>this.getRawValueWithoutSuffixEndPosition()||e?this.inputManager.setCursorAt(this.getRawValueWithoutSuffixEndPosition()):t<this.getRawValueWithoutPrefixStartPosition()&&this.inputManager.setCursorAt(this.getRawValueWithoutPrefixStartPosition())}getRawValueWithoutSuffixEndPosition(){return this.rawValue.length-this.options.suffix.length}getRawValueWithoutPrefixStartPosition(){return this.value!=null&&this.value<0?this.options.prefix.length+1:this.options.prefix.length}removeNumber(e){let{decimal:t,thousands:n}=this.options,r=this.inputSelection.selectionEnd,o=this.inputSelection.selectionStart;o>this.rawValue.length-this.options.suffix.length&&(r=this.rawValue.length-this.options.suffix.length,o=this.rawValue.length-this.options.suffix.length),r==o&&((e==46||e==63272)&&/^\d+$/.test(this.rawValue.substring(o,r+1))&&(r=r+1),(e==46||e==63272)&&(this.rawValue.substring(o,r+1)==t||this.rawValue.substring(o,r+1)==n)&&(r=r+2,o=o+1),e==8&&/^\d+$/.test(this.rawValue.substring(o-1,r))&&(o=o-1),e==8&&(this.rawValue.substring(o-1,r)==t||this.rawValue.substring(o-1,r)==n)&&(o=o-2,r=r-1)),this.rawValue=this.rawValue.substring(0,o)+this.rawValue.substring(r,this.rawValue.length),this.updateFieldValue(o)}updateFieldValue(e){let t=this.applyMask(!1,this.rawValue||"");e=e??this.rawValue.length,this.inputManager.updateValueAndCursor(t,this.rawValue.length,e)}updateOptions(e){let t=this.value;this.options=e,this.value=t}
800get canInputMoreNumbers(){return this.inputManager.canInputMoreNumbers}get inputSelection(){return this.inputManager.inputSelection}get rawValue(){return this.inputManager.rawValue}set rawValue(e){this.inputManager.rawValue=e}get storedRawValue(){return this.inputManager.storedRawValue}get value(){return this.clearMask(this.rawValue)}set value(e){this.rawValue=this.applyMask(!0,""+e)}},qw=class{constructor(e,t){this.inputService=new jw(e,t),this.htmlInputElement=e}handleClick(e,t){Math.abs(this.inputService.inputSelection.selectionEnd-this.inputService.inputSelection.selectionStart)==0&&!isNaN(this.inputService.value)&&this.inputService.fixCursorPosition(t)}handleCut(e){this.isReadOnly()||setTimeout(()=>{this.inputService.updateFieldValue(),this.setValue(this.inputService.value),this.onModelChange(this.inputService.value)},0)}handleInput(e){if(this.isReadOnly())return;let t=this.getNewKeyCode(this.inputService.storedRawValue,this.inputService.rawValue),n=this.inputService.rawValue.length,r=this.inputService.inputSelection.selectionEnd,o=this.inputService.getRawValueWithoutSuffixEndPosition(),a=this.inputService.storedRawValue.length;if(this.inputService.rawValue=this.inputService.storedRawValue,(r!=o||Math.abs(n-a)!=1)&&a!=0){this.setCursorPosition(e);return}if(n<a&&(this.inputService.value!=0?this.inputService.removeNumber(8):this.setValue(null)),n>a)switch(t){case 43:this.inputService.changeToPositive();break;case 45:this.inputService.changeToNegative();break;default:if(!this.inputService.canInputMoreNumbers||isNaN(this.inputService.value)&&String.fromCharCode(t).match(/\d/)==null)return;this.inputService.addNumber(t)}this.setCursorPosition(e),this.onModelChange(this.inputService.value)}handleKeydown(e){if(this.isReadOnly())return;let t=e.which||e.charCode||e.keyCode;if(t==8||t==46||t==63272){e.preventDefault();let n=Math.abs(this.inputService.inputSelection.selectionEnd-this.inputService.inputSelection.selectionStart);(n==this.inputService.rawValue.length||this.inputService.value==0)&&(this.setValue(null),this.onModelChange(this.inputService.value)),n==0&&!isNaN(this.inputService.value)&&(this.inputService.removeNumber(t),this.onModelChange(this.inputService.value)),(t===8||t===46)&&n!=0&&!isNaN(this.inputService.value)&&(this.inputService.removeNumber(t),this.onModelChange(this.inputService.value))}}handleKeypress(e){if(this.isReadOnly())return;let t=e.which||e.charCode||e.keyCode;if(!(t==null||[9,13].indexOf(t)!=-1||this.isArrowEndHomeKeyInFirefox(e))){switch(t){case 43:this.inputService.changeToPositive();break;case 45:this.inputService.changeToNegative();break;default:this.inputService.canInputMoreNumbers&&(!isNaN(this.inputService.value)||String.fromCharCode(t).match(/\d/)!=null)&&this.inputService.addNumber(t)}e.preventDefault(),this.onModelChange(this.inputService.value)}}handleKeyup(e){this.inputService.fixCursorPosition()}handlePaste(e){this.isReadOnly()||setTimeout(()=>{this.inputService.updateFieldValue(),this.setValue(this.inputService.value),this.onModelChange(this.inputService.value)},1)}updateOptions(e){this.inputService.updateOptions(e)}getOnModelChange(){return this.onModelChange}setOnModelChange(e){this.onModelChange=e}getOnModelTouched(){return this.onModelTouched}setOnModelTouched(e){this.onModelTouched=e}setValue(e){this.inputService.value=e}getNewKeyCode(e,t){if(e.length>t.length)return null;for(let n=0;n<t.length;n++)if(e.length==n||e[n]!=t[n])return t.charCodeAt(n);return null}isArrowEndHomeKeyInFirefox(e){return[35,36,37,38,39,40].indexOf(e.keyCode)!=-1&&(e.charCode==null||e.charCode==0)}isReadOnly(){return this.htmlInputElement&&this.htmlInputElement.readOnly}setCursorPosition(e){let t=this.inputService.getRawValueWithoutSuffixEndPosition(),n=e.target;setTimeout(function(){n.setSelectionRange(t,t)},0)}},Ace={provide:Fi,useExisting:Wt(()=>Vce),multi:!0},Vce=(()=>{class i{constructor(t,n,r){this.currencyMaskConfig=t,this.elementRef=n,this.keyValueDiffers=r,this.options={},this.optionsTemplate={align:"right",allowNegative:!0,decimal:".",precision:2,prefix:"$ ",suffix:"",thousands:","},t&&(this.optionsTemplate=t),this.keyValueDiffer=r.find({}).create()}ngAfterViewInit(){this.elementRef.nativeElement.style.textAlign=this.options.align?this.options.align:this.optionsTemplate.align}ngDoCheck(){this.keyValueDiffer.diff(this.options)&&(this.elementRef.nativeElement.style.textAlign=this.options.align?this.options.align:this.optionsTemplate.align,this.inputHandler.updateOptions(Object.assign({},this.optionsTemplate,this.options)))}ngOnInit(){this.inputHandler=new qw(this.elementRef.nativeElement,Object.assign({},this.optionsTemplate,this.options))}handleBlur(t){this.inputHandler.getOnModelTouched().apply(t)}handleClick(t){this.inputHandler.handleClick(t,this.isChromeAndroid())}handleCut(t){this.isChromeAndroid()||this.inputHandler.handleCut(t)}handleInput(t){this.isChromeAndroid()&&this.inputHandler.handleInput(t)}handleKeydown(t){this.isChromeAndroid()||this.inputHandler.handleKeydown(t)}handleKeypress(t){this.isChromeAndroid()||this.inputHandler.handleKeypress(t)}handleKeyup(t){this.isChromeAndroid()||this.inputHandler.handleKeyup(t)}handlePaste(t){this.isChromeAndroid()||this.inputHandler.handlePaste(t)}
800isChromeAndroid(){return/chrome/i.test(navigator.userAgent)&&/android/i.test(navigator.userAgent)}registerOnChange(t){this.inputHandler.setOnModelChange(t)}registerOnTouched(t){this.inputHandler.setOnModelTouched(t)}setDisabledState(t){this.elementRef.nativeElement.disabled=t}validate(t){let n={};return t.value>this.max&&(n.max=!0),t.value<this.min&&(n.min=!0),n!={}?n:null}writeValue(t){this.inputHandler.setValue(t)}}return i.\u0275fac=function(t){return new(t||i)(D(Nce,8),D(We),D(H3))},i.\u0275dir=Ie({type:i,selectors:[["","currencyMask",""]],hostBindings:function(t,n){t&1&&I("blur",function(o){return n.handleBlur(o)})("click",function(o){return n.handleClick(o)})("cut",function(o){return n.handleCut(o)})("input",function(o){return n.handleInput(o)})("keydown",function(o){return n.handleKeydown(o)})("keypress",function(o){return n.handleKeypress(o)})("keyup",function(o){return n.handleKeyup(o)})("paste",function(o){return n.handlePaste(o)})},inputs:{max:"max",min:"min",options:"options"},standalone:!1,features:[Mt([Ace,{provide:Bi,useExisting:i,multi:!0}])]}),i})(),Uw=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=je({type:i}),i.\u0275inj=Be({imports:[[_e,$o]]}),i})();var me=class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=je({type:i});static \u0275inj=Be({imports:[T2,Q0,Uw,qs,tw,Uy,_e,$o,Sa,dr,$c,SM,qf,T2,IM,xt,Gf,N0,RM,oM,LM,hM,jd,I2,gM,ZM,W0,$M,$0,AM,k2,XM,O2,Qr,Gd,Hs,nw,cm,Xt,jt,St,kw,k2,X6,Vw,Hw,js,Io,vo,T2,Q0,tw,Uy,$M,$0,AM,k2,XM,_e,$o,Sa,dr,$c,SM,O2,qf,T2,IM,xt,Gf,N0,RM,oM,LM,hM,jd,I2,gM,ZM,W0,qs,Uw,Qr,Gd,Hs,nw,cm,kw,k2,Vw,Hw,js]})};var Fce=(i,e)=>e.descTituloContactInfo;function Rce(i,e){if(i&1&&(c(0,"div",4)(1,"p",5),m(2),d(),c(3,"p",6),m(4),d(),c(5,"a",7),S(6,"nx-icon",8),m(7),d()()),i&2){let t=e.$implicit;p(2),K(" ",t.descTituloContactInfo," "),p(2),K(" ",t.text," "),p(),g("href",t.link,An),p(),g("name",t.descArchivoIcono),p(),K(" ",t.descripcionLink," ")}}function zce(i,e){if(i&1&&(c(0,"div",0)(1,"div",2)(2,"div",3),Ot(3,Rce,8,5,"div",4,Fce),d()()()),i&2){let t=M();p(3),Tt(t.contactInfoItems)}}function Lce(i,e){i&1&&S(0,"div",1)}var T8=class i{contactInfoItems=[];mostrarInfos=!1;baseService=C(_r);services=C(_i);ngOnInit(){this.obtenerInformacion()}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}obtenerInformacion(){this.mostrarInfos=!1,this.services.getContactInfo().then(e=>{this.contactInfoItems=e,this.mostrarInfos=!0}).catch(e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-contact-info"]],decls:2,vars:2,consts:[[1,"l-container--full-width"],[1,"skeleton-box",2,"width","90%","height","100px","margin","50px"],[1,"l-grid","l-grid--max-width","c-product-communication-tile"],[1,"row"],[1,"col",2,"text-align","center"],["nxHeadline","subsection-small",1,"nx-font-weight-semibold","font"],[1,"nx-font-weight-light","font","c-subtitle-info"],["nxButton","primary","target","_blank","rel","noopener noreferrer",1,"contact-btn",3,"href"],["size","m",1,"c-icon",3,"name"]],template:function(t,n){t&1&&(re(0,zce,5,0,"div",0),re(1,Lce,1,0,"div",1)),t&2&&(oe(n.mostrarInfos?0:-1),p(),oe(n.mostrarInfos?-1:1))},dependencies:[xt,nt,me,xV,Xt],styles:[".l-container--full-width[_ngcontent-%COMP%]{display:flex;width:100%;margin:0;padding:0}.c-product-communication-tile[_ngcontent-%COMP%]{padding:64px 0}.font[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif}.c-icon[_ngcontent-%COMP%]{margin-right:10px}.c-subtitle-info[_ngcontent-%COMP%]{color:#6c757d;font-size:14px}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (max-width: 767px){.contact-btn[_ngcontent-%COMP%]{font-size:12px;white-space:nowrap}.row[_ngcontent-%COMP%]{gap:43px}.c-product-communication-tile[_ngcontent-%COMP%]{padding:14px 8px 20px}}"]})};var Hce=(i,e)=>e.descTitulo;function Bce(i,e){if(i&1&&(c(0,"nx-footer-link",5)(1,"a",6)(2,"span",7),m(3,"-"),d(),m(4),d()()),i&2){let t=e.$implicit;p(),g("href",t.link,An),p(3),K(" ",t.descTitulo," ")}}function jce(i,e){if(i&1&&(c(0,"div",0)(1,"footer",2)(2,"nx-footer-copyright",3),m(3," \xA9 Allianz 2025 "),d(),c(4,"nx-footer-navigation",4),Ot(5,Bce,5,2,"nx-footer-link",5,Hce),d()()()),i&2){let t=M();p(5),Tt(t.footerItems)}}function qce(i,e){i&1&&S(0,"div",1)}var Xd=class i{footerItems=[];mostrarFooter=!1;baseService=C(_r);services=C(_i);ngOnInit(){this.obtenerInformacion()}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}obtenerInformacion(){this.mostrarFooter=!1,this.services.getFooter().then(e=>{this.footerItems=e,this.mostrarFooter=!0}).catch(e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-footer"]],decls:2,vars:2,consts:[[1,"l-grid","l-grid--max-width","u-background-inherit"],[1,"skeleton-box",2,"width","90%","height","100px","margin","50px"],["nx-footer","",1,"footer-container"],[1,"footer-text-copyright"],[1,"footer-navigation-styles"],[2,"padding-left","0px"],["target","_blank","rel","noopener noreferrer",1,"footer-text",3,"href"],[1,"footer-span"]],template:function(t,n){t&1&&(re(0,jce,7,0,"div",0),re(1,qce,1,0,"div",1)),t&2&&(oe(n.mostrarFooter?0:-1),p(),oe(n.mostrarFooter?-1:1))},dependencies:[qf,qV,K6,jV,BV,me],styles:[".l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.footer-container[_ngcontent-%COMP%]{justify-content:center}.footer-text[_ngcontent-%COMP%], .footer-text-copyright[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;color:#000}.footer-span[_ngcontent-%COMP%]{display:inline;margin-right:8px;margin-left:8px}@media (max-width: 767px){.footer-container[_ngcontent-%COMP%]{flex-direction:column!important}.footer-navigation-styles[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-self:center;gap:16px;padding-left:0}.footer-text-copyright[_ngcontent-%COMP%]{margin-bottom:16px;align-self:center}.footer-span[_ngcontent-%COMP%]{display:none}}"]})};var Uce=["template"],Gce=["template2"];function $ce(i,e){if(i&1){let t=Y();c(0,"div",8)(1,"h3",9),m(2,"\xBF Que tipo de persona qu\xE9res registrar?"),d(),c(3,"div",10)(4,"button",11),I("click",function(){O(t);let r=M();return T(r.redirectRegister("F"))}),m(5,"Personas Humanas"),d(),c(6,"button",11),I("click",function(){O(t);let r=M();return T(r.redirectRegister("J"))}),m(7,"Personas Juridicas"),d()()()}}var np=class i{templateRef;templateRef2;URL_LOGO="../../../assets/img/allianz_logo_with_name.svg";version;nombreUsuario;menuRes=[];menu1=[];loaded=!1;mostrarMenu=!1;errorMessage;isShown=!1;lvl1Clicked=!1;lvl2=null;tabGroup;appService=C(Oi);services=C(_i);baseService=C(_r);router=C(ot);ngOnInit(){this.obtenerMenu()}logout(){this.appService.logout().then(()=>{window.location.href=Se.oauth2.baseUrl+"/logout?redirect_uri="+window.location.origin+"/"}).catch(()=>{window.location.href=Se.oauth2.baseUrl+"/logout?redirect_uri="+window.location.origin+"/"})}home(){this.router.navigate(["/"])}redirectLogin(){this.router.navigate(["/login"])}redirectRegister(e){this.router.navigate(["/register"],{state:{data:{type:e}}})}redirectNewRegister(){this.router.navigate(["/register"])}redirectLoginNew(){this.router.navigate(["/login"])}isActive(e){return!0}openModal(){}getNestedChildren(e,t){let n=[];for(let r in e)if(e[r].idMenuPadre==t&&e[r].nroNivel!=="5"){let o=this.getNestedChildren(e,parseInt(e[r].idMenu));o.length&&(e[r].children=o),n.push(e[r])}return n.sort((r,o)=>r.nroOrden-o.nroOrden)}obtenerMenu(){this.loaded=!1,this.mostrarMenu=!1,this.services.getMenuPublico().then(e=>{this.menuRes=e,this.menu1=this.getNestedChildren(e,null),this.loaded=!0,this.mostrarMenu=!0}).catch(()=>{})}clickLvl1(e){e===this.lvl2&&this.lvl1Clicked?this.lvl1Clicked=!1:(this.lvl2=e,this.tabGroup!==void 0&&(this.tabGroup.selectedIndex=0),this.lvl1Clicked=!0)}linkEvent(e){window.open(e,"_blank","noopener,noreferrer")}toggleShow(){this.isShown=!this.isShown}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-public-header"]],viewQuery:function(t,n){if(t&1&&(pe(Uce,5),pe(Gce,5)),t&2){let r;te(r=ne())&&(n.templateRef=r.first),te(r=ne())&&(n.templateRef2=r.first)}},decls:14,vars:1,consts:[["template",""],[1,"c-header-metabar","c-header-metabar-border"],[1,"c-header-metabar__content","c-header__wrapper",2,"align-items","center!important"],["href","#"],["nxFigure",""],["alt","Brand Logo","role","none",1,"az__logo__img",3,"src"],["nxButton","secondary small","type","button",1,"header-btn-first",3,"click"],["nxButton","secondary small","type","button",1,"header-btn-second",3,"click"],[1,"centered-content"],["nxHeadline","subsection-medium",1,"nx-margin-bottom-3m"],[1,"registro-botones"],["nxButton","primary medium","type","button",3,"click"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1)(1,"div",2)(2,"nx-header-brand")(3,"nx-link")(4,"a",3)(5,"figure",4),S(6,"img",5),d()()()(),c(7,"nx-header-actions")(8,"button",6),I("click",function(){return O(r),T(n.redirectNewRegister())}),m(9,"Registrate"),d(),c(10,"button",7),I("click",function(){return O(r),T(n.redirectLoginNew())}),m(11,"Inici\xE1 sesi\xF3n"),d()()()(),L(12,$ce,8,0,"ng-template",null,0,an)}t&2&&(p(6),g("src",n.URL_LOGO,An))},dependencies:[me,_t,Xt,vr,Z6,q0],styles:[".header-bg[_ngcontent-%COMP%]{background-color:#006192!important}.navbar-dark[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-dark[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{color:#f0f8ff}.mm-navbar[_ngcontent-%COMP%]{margin-left:.5em;border-left:1px solid rgba(255,255,255,.4);padding-left:1em}.right-dropdown[_ngcontent-%COMP%]{right:0;left:unset}.az__logo__img[_ngcontent-%COMP%]{max-height:48px;min-width:122px}.height-auto[_ngcontent-%COMP%]{height:auto!important}.c-header-metabar-border[_ngcontent-%COMP%]{border-bottom:1px solid #d9d9d9}
800.c-header-metabar[_ngcontent-%COMP%]{display:block}.c-header-metabar-menu[_ngcontent-%COMP%]{padding:16px}.c-header-metabar__content[_ngcontent-%COMP%]{padding:0 32px;display:flex;align-items:center;height:64px}.c-header__wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;max-width:1184px;padding:0 30px;margin:auto}.c-navigation[_ngcontent-%COMP%]{padding-top:6px}.c-navigation[_ngcontent-%COMP%]   .c-navigation--two-level[_ngcontent-%COMP%]{position:relative}.c-navigation--extended[_ngcontent-%COMP%]{position:relative;border-bottom:1px solid #d9d9d9}.nx-header__row[_ngcontent-%COMP%]{border-bottom:0px!important;padding:0}.c-header--new__adaptation[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.c-menu__navigation[_ngcontent-%COMP%]{background:#f5f5f5}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.c-header__navigation-level-2-title[_ngcontent-%COMP%]{display:block;margin-bottom:32px;line-height:20px;font-size:16px;font-weight:600;color:#414141;font-family:Allianz Neo,sans-serif}.c-header__navigation-level-2-panel[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:24px}.c-header__navigation-link[_ngcontent-%COMP%]{text-decoration:none;font-size:16px;color:#414141;outline:0;display:inline-block;position:relative;font-family:Allianz Neo,sans-serif;cursor:pointer}.navbar-av[_ngcontent-%COMP%]{list-style-type:none}.c-header__navigation-level-2-item[_ngcontent-%COMP%]{font-size:18px;margin-bottom:16px}.c-header__navigation-link[_ngcontent-%COMP%]:hover{color:#003781}.nx-header.nx-header--single-row[_ngcontent-%COMP%], .nx-formfield__input-container[_ngcontent-%COMP%]{border-bottom:0px!important}.c-search-box[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-around;align-items:center;flex-direction:row}.c-buttons-search-box[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:30%;align-items:center;flex-direction:row}.c-searchbar__input[_ngcontent-%COMP%]{font-size:2rem;outline:0;border:0;color:#006192;background:#fff;font-weight:200;width:100%;padding-right:15px;padding-left:15px;line-height:36px;font-family:Allianz Neo,sans-serif}.c-searchbar__input-holder[_ngcontent-%COMP%]{flex:1 1 100%;margin-right:auto;margin-left:20px;display:flex;flex-direction:row;align-items:center}.centered-content[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;text-align:center}.c-menu-over-toggle[_ngcontent-%COMP%]{position:absolute;z-index:1000;width:100%;left:0}.registro-botones[_ngcontent-%COMP%]{display:flex;justify-content:space-around;flex-direction:row}input[_ngcontent-%COMP%]::-webkit-input-placeholder{font-size:2rem}.header-btn-first[_ngcontent-%COMP%]{height:32px!important;border-radius:2px!important;font-weight:400!important;font-size:14px!important;line-height:100%!important;letter-spacing:0px!important;margin-right:23px}.header-btn-second[_ngcontent-%COMP%]{height:32px!important;border-radius:2px!important;font-weight:400!important;font-size:14px!important;line-height:100%!important;letter-spacing:0px!important}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (max-width: 767px){.az__logo__img[_ngcontent-%COMP%]{width:98px;height:26px}.c-header__wrapper[_ngcontent-%COMP%]{padding:0 16px}.header-btn-first[_ngcontent-%COMP%]{height:28px!important;min-height:28px!important;border-radius:2px!important;font-weight:400!important;font-size:12px!important;margin-right:8px;padding:6px 9px!important}.header-btn-second[_ngcontent-%COMP%]{height:28px!important;min-height:28px!important;border-radius:2px!important;font-weight:400!important;font-size:12px!important;padding:6px 9px!important}}"]})};var I8=(i,e)=>e.descNombreMenu;function Wce(i,e){if(i&1&&(c(0,"li",10)(1,"a",11),m(2),d()()),i&2){let t=e.$implicit;p(),g("href",t.link,An),p(),K(" ",t.descNombreMenu," ")}}function Yce(i,e){if(i&1&&(c(0,"div",6)(1,"div",7)(2,"span",8),m(3),d()(),c(4,"div")(5,"ul",9),Ot(6,Wce,3,2,"li",10,I8),d()()()),i&2){let t=e.$implicit;p(3),K(" ",t.descNombreMenu," "),p(3),Tt(t.children)}}function Qce(i,e){if(i&1&&(c(0,"div",1)(1,"div",4)(2,"div",5),Ot(3,Yce,8,1,"div",6,I8),d()()()),i&2){let t=M();p(3),Tt(t.menu1)}}function Kce(i,e){if(i&1&&(c(0,"li",10)(1,"a",11),m(2),d()()),i&2){let t=e.$implicit;p(),g("href",t.link,An),p(),K(" ",t.descNombreMenu," ")}}function Xce(i,e){if(i&1&&(c(0,"nx-expansion-panel",12)(1,"nx-expansion-panel-header",13)(2,"nx-expansion-panel-title",14),m(3),d()(),c(4,"ul",9),Ot(5,Kce,3,2,"li",10,I8),d()()),i&2){let t=e.$implicit;p(3),K(" ",t.descNombreMenu," "),p(2),Tt(t.children)}}function Zce(i,e){if(i&1&&Ot(0,Xce,7,1,"nx-expansion-panel",12,I8),i&2){let t=M();Tt(t.menu1)}}
800function Jce(i,e){i&1&&S(0,"div",3)}var Zd=class i{loaded=!1;mostrarMenuFooter=!1;menuFooterRes=[];menu1=[];lvl2;lvl1Clicked;tabGroup;services=C(_i);ngOnInit(){this.obtenerMenuFooter()}getNestedChildren(e,t){let n=[];for(let r in e)if(e[r].idMenuPadre==t&&e[r].nroNivel!="5"){let o=this.getNestedChildren(e,e[r].idMenu);o.length&&(e[r].children=o),n.push(e[r])}return n.sort((r,o)=>r.nroOrden-o.nroOrden)}obtenerMenuFooter(){this.loaded=!1,this.mostrarMenuFooter=!1,this.services.getMenuFooter().then(e=>{let t=[];e.forEach(n=>{n.nroNivel=="3"&&t.push(n)}),this.menuFooterRes=e,this.menu1=this.getNestedChildren(e,null),this.loaded=!0,this.mostrarMenuFooter=!0}).catch(e=>{console.log(e)})}clickLvl1(e){e==this.lvl2&&this.lvl1Clicked?this.lvl1Clicked=!1:(this.lvl2=e,this.tabGroup!=null&&(this.tabGroup.selectedIndex=0),this.lvl1Clicked=!0)}linkEvent(e){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-menu-footer"]],decls:5,vars:3,consts:[[1,"c-footer__container"],[1,"c-footer__navigation"],[1,"menu-footer-accordion-container"],[1,"skeleton-box",2,"width","90%","height","100px","margin","50px"],[1,"l-grid","l-grid--max-width","u-background-inherit"],[1,"row"],[1,"col"],[1,"c-footer__navigation-headline"],[1,"c-footer__navigation-title"],[1,"c-footer__navigation-list"],[1,"c-footer__navigation-item"],["target","_blank","rel","noopener noreferrer",1,"c-footer__navigation-link",3,"href"],[1,"footer-expansion-panel"],[1,"footer-expansion-header"],[1,"menu-footer-accordion-title"]],template:function(t,n){t&1&&(c(0,"div",0),re(1,Qce,5,0,"div",1),d(),c(2,"div",2),re(3,Zce,2,0),d(),re(4,Jce,1,0,"div",3)),t&2&&(p(),oe(n.loaded&&n.mostrarMenuFooter?1:-1),p(2),oe(n.loaded&&n.mostrarMenuFooter?3:-1),p(),oe(n.loaded?-1:4))},dependencies:[I2,jd,es,zc,Bd,me],styles:[".c-footer__navigation[_ngcontent-%COMP%]{background:#f5f5f5;padding-top:47px;padding-bottom:72px}.c-footer__navigation-link[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:400;font-size:15px;line-height:25px;letter-spacing:0px;color:#414141}.c-footer__navigation-item[_ngcontent-%COMP%]{margin-bottom:8px;font-family:Allianz Neo,sans-serif}.c-footer__navigation-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;cursor:pointer}.c-footer__navigation-link[_ngcontent-%COMP%]:hover{color:#767676}.c-footer__navigation-headline[_ngcontent-%COMP%]{font-weight:600;color:#5b5b5b;margin-bottom:8px;text-align:left;padding:0;width:100%;background:transparent;border:0;outline:0}.c-footer__navigation-title[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:700;font-size:15px;line-height:25px;letter-spacing:0px;color:#414141}.c-footer__container[_ngcontent-%COMP%]{position:relative;z-index:1;background:#fff;color:inherit}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.menu-footer-accordion-container[_ngcontent-%COMP%]{display:none}.menu-footer-accordion-title[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:700;font-size:15px;line-height:25px;letter-spacing:0px;margin-left:18px}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (max-width: 767px){.menu-footer-accordion-container[_ngcontent-%COMP%]{display:block}.c-footer__navigation-item[_ngcontent-%COMP%]{margin-bottom:16px}.c-footer__navigation-list[_ngcontent-%COMP%]{padding-left:18px}.footer-expansion-panel[_ngcontent-%COMP%]{background-color:#f5f5f5;border:1px solid #d9d9d9;margin-bottom:-2px}.footer-expansion-header[_ngcontent-%COMP%]{border-bottom:1px solid #d9d9d9;display:block}}"]})};var k8=class i{router=C(ot);redirectLogin(){this.router.navigate(["/login"])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["ally-public"]],decls:4,vars:0,consts:[[3,"click"],["src","../../../../assets/img/ALLY.png","alt","CHAT BOT ALLY",1,"chatbot"],[1,"hover-question"],["src","../../../../assets/img/ALLY2.png","alt","CHAT BOT ALLY"]],template:function(t,n){t&1&&(at(0,"div",0),uo("click",function(){return n.redirectLogin()}),wn(1,"img",1),at(2,"div",2),wn(3,"img",3),pt()())},dependencies:[me],styles:[".chatbot[_ngcontent-%COMP%]{height:100px;width:100px;position:fixed;bottom:20px;right:20px;z-index:100;pointer-events:auto;cursor:pointer}.hover-question[_ngcontent-%COMP%]{display:flex;transition:opacity 1s ease-out;opacity:0;transform:scale(0)}.chatbot[_ngcontent-%COMP%]:hover + .hover-question[_ngcontent-%COMP%]{display:flex;opacity:1;transform:scale(1)}.hover-question[_ngcontent-%COMP%]{height:100px;width:100px;position:fixed;bottom:10%;right:13%;z-index:100;pointer-events:auto;cursor:pointer}"]})};function ede(i,e){if(i&1&&(at(0,"div",0)(1,"div",2)(2,"div",3)(3,"div",4)(4,"h2",5),m(5," N de inscripci\xF3n SSNN "),wn(6,"br"),m(7," 0036 "),pt(),at(8,"h2",5),m(9," Departamento de Orientaci\xF3n "),wn(10,"br"),m(11," y Asistencia al asegurado "),pt(),at(12,"a",6),m(13," 0800-666-8400 "),pt(),at(14,"a",7),m(15," www.argentina.gob.ar/snn "),pt(),wn(16,"img",8),pt(),at(17,"p",9),m(18," Servicio de Atenci\xF3n al Asegurado de Allianz Argentina Compa\xF1\xEDa de Seguros S.A. "),wn(19,"br"),m(20," La compa\xF1\xEDa de seguros dispone de un Servicio de Atenci\xF3n al Asegurado que atender\xE1 los reclamos que presenten los tomadores de seguros, asegurados, benef
800iciarios y/o derechohabientes."),wn(21,"br"),m(22," RESPONSABLE: Segatta, Laura Nora "),wn(23,"br"),m(24," SUPLENTE: Scherliski, Cinthia Sabrina "),wn(25,"br"),m(26," Tel\xE9fono de contacto: 4320-9045 (L\xEDnea de atenci\xF3n directa) "),wn(27,"br"),m(28," Correo electr\xF3nico: "),at(29,"a",10)(30,"u"),m(31,"[email protected]"),pt()(),m(32),at(33,"a",11)(34,"u"),m(35,"[email protected]"),pt()(),wn(36,"br")(37,"br"),m(38," En caso de reclamo ante la entidad aseguradora no resuelto o desestimado, podr\xE1 denunciarlo a trav\xE9s de "),at(39,"a",12)(40,"u"),m(41,"www.argentina.gob.ar/ssn."),pt()(),wn(42,"br"),m(43," Allianz Argentina Compa\xF1\xEDa de Seguros S.A. - Av. Corrientes 299 (C1043AAC), CABA - CUIT 30-50003721-7 "),wn(44,"br"),m(45," Defensa de las y los Consumidores "),wn(46,"br"),m(47),at(48,"a",13)(49,"u")(50,"b"),m(51,"aqu\xED"),pt()()(),m(52,". "),pt()()()()),i&2){let t=M();p(32),K(" "," "," "),p(15),K(" Para reclamos ingrese "," "," "),p(),gi("href",t.intendenciaInfo.link,An)}}function tde(i,e){i&1&&wn(0,"div",1)}var ip=class i{intendenciaInfo;urlNewIntendencia="https://servicios1.afip.gov.ar/clavefiscal/qr/mobilePublicInfo.aspx?req=e1ttZXRob2Q9Z2V0UHVibGljSW5mb11bcGVyc29uYT0zMDUwMDAzNzIxN11bdGlwb2RvbWljaWxpbz0wXVtzZWN1ZW5jaWE9MF1bdXJsPWh0dHA6Ly93d3cuYWxsaWFuei5jb20uYXIvXX0=";mostrarInfo=!1;baseService=C(_r);services=C(_i);ngOnInit(){this.obtenerInfo()}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}obtenerInfo(){this.mostrarInfo=!1,this.services.getIntendenciaInfo().then(e=>{this.intendenciaInfo=e[0],this.mostrarInfo=!0}).catch(e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-intendencia-info"]],decls:2,vars:2,consts:[[1,"l-grid","l-grid--max-width","u-background-inherit"],[1,"skeleton-box",2,"width","90%","height","100px","margin","50px"],[1,"wrapper","l-container"],[1,"intendencia-box"],[1,"intendencia-first-container"],[1,"intendencia-first-text"],["href","tel:0800-666-8400",1,"intendencia-first-link"],["href","https://www.argentina.gob.ar/snn","target","_blank","rel","noopener noreferrer",1,"intendencia-first-link"],["src","assets/img/image-ssn.png","alt","ssn image",1,"intendencia-first-img"],[1,"intendencia-second-container"],["href","mailto:[email protected]","target","_blank","rel","noopener noreferrer"],["href","mailto:[email protected]","target","_blank","rel","noopener noreferrer"],["href","https://www.argentina.gob.ar/superintendencia-de-seguros","target","_blank","rel","noopener noreferrer"],["target","_blank","rel","noopener noreferrer",2,"color","#3379ae",3,"href"]],template:function(t,n){t&1&&(re(0,ede,53,3,"div",0),re(1,tde,1,0,"div",1)),t&2&&(oe(n.mostrarInfo?0:-1),p(),oe(n.mostrarInfo?-1:1))},dependencies:[me],styles:['.colorinv[_ngcontent-%COMP%]{padding:20px 0;-webkit-filter:invert(100%);filter:invert(100%)}.l-container--full-width[_ngcontent-%COMP%]{width:100%;margin:0;padding:0}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.c-copy[_ngcontent-%COMP%]{margin:0 0 30px;font-weight:400}.c-copy[_ngcontent-%COMP%]{font-size:16px;line-height:24px;letter-spacing:0;font-family:Allianz Neo,sans-serif}.c-copy.c-copy--small[_ngcontent-%COMP%]{font-size:12px;line-height:16px;letter-spacing:.5px;-webkit-font-smoothing:subpixel-antialiased}.int-info[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none}.int-info[_ngcontent-%COMP%]   .c-link[_ngcontent-%COMP%]{font-size:12px}
800.body-separator[_ngcontent-%COMP%]{width:"100%";height:40px}.wrapper[_ngcontent-%COMP%]   .l-container[_ngcontent-%COMP%]{text-align:left;padding-top:48px;padding-bottom:48px}.c-image[_ngcontent-%COMP%]{display:block;position:relative;line-height:0}.c-image__img[_ngcontent-%COMP%]{display:block;height:auto;-o-object-fit:cover;object-fit:cover;width:100%}.intendencia-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:62px}.intendencia-first-container[_ngcontent-%COMP%]{display:flex;justify-content:space-around;align-items:center;gap:0px}.intendencia-first-text[_ngcontent-%COMP%]{font-weight:400;font-size:14px;line-height:17.39px;letter-spacing:0px;text-align:center}.intendencia-first-link[_ngcontent-%COMP%]{font-weight:700;font-size:15px;line-height:18.63px;letter-spacing:0px;text-align:center;color:#3379ae}.intendencia-first-img[_ngcontent-%COMP%]{width:218px;height:47px}.intendencia-second-container[_ngcontent-%COMP%]{font-weight:400;font-size:15px;line-height:19px;letter-spacing:0px;margin-top:16px}.intendencia-third-container[_ngcontent-%COMP%]{display:flex;margin-top:32px}.intendencia-third-text[_ngcontent-%COMP%]{font-weight:400;font-size:15px;line-height:19px;letter-spacing:0px;width:50%}.intendencia-fourth-container[_ngcontent-%COMP%]{font-weight:400;font-size:15px;line-height:19px;letter-spacing:0px;margin-top:32px}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%], .l-container[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%], .l-container[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 320px){.l-container[_ngcontent-%COMP%]{padding-right:16px;padding-left:16px}}@media (max-width: 767px){.intendencia-first-container[_ngcontent-%COMP%]{flex-direction:column;gap:32px}.intendencia-box[_ngcontent-%COMP%]{margin-top:8px}.intendencia-third-container[_ngcontent-%COMP%]{flex-direction:column;margin-left:16px}.intendencia-third-text[_ngcontent-%COMP%]{width:100%}.intendencia-fourth-container[_ngcontent-%COMP%]{margin-top:16px}}']})};var nde=(i,e)=>e.name;function ide(i,e){if(i&1&&(c(0,"div",6)(1,"a",7),S(2,"nx-icon",8),d()()),i&2){let t=e.$implicit;p(),g("href",t.link,An),p(),Gi(t.networkClass),g("name",t.name)}}function rde(i,e){if(i&1&&(c(0,"h2",2),m(1,"Seguinos en nuestras Redes Sociales"),d(),c(2,"div",3),S(3,"hr",4),c(4,"div",5),Ot(5,ide,3,4,"div",6,nde),d(),S(7,"hr",4),d()),i&2){let t=M();p(5),Tt(t.networkItem)}}function ode(i,e){i&1&&S(0,"div",1)}var rp=class i{networkItem=[];mostrarNetwork=!1;baseService=C(_r);services=C(_i);ngOnInit(){this.obtenerInformacion()}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}obtenerInformacion(){this.mostrarNetwork=!1,this.services.getNetworks().then(e=>{this.networkItem=e,this.mostrarNetwork=!0}).catch(e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-social-headline"]],decls:3,vars:2,consts:[[2,"text-align","center","padding-top","30px","padding-bottom","30px"],[1,"skeleton-box",2,"width","90%","height","100px","margin","50px"],[1,"social-title"],[1,"container-icons"],[1,"divider"],[1,"c-social-divider__icon-container"],[1,"c-social-icon"],["rel","noopener noreferrer",3,"href"],["size","m",2,"font-size","40px",3,"name"]],template:function(t,n){t&1&&(c(0,"div",0),re(1,rde,8,0),re(2,ode,1,0,"div",1),d()),t&2&&(p(),oe(n.mostrarNetwork?1:-1),p(),oe(n.mostrarNetwork?-1:2))},dependencies:[xt,nt,me],styles:[".c-social-divider[_ngcontent-%COMP%]{display:flex}.c-divider--compact[_ngcontent-%COMP%]{margin:0}.c-divider[_ngcontent-%COMP%]{border:0;border-bottom:1px solid #d9d9d9;margin-bottom:56px;margin-top:64px}.c-social-divider__icon-wrapper[_ngcontent-%COMP%]{display:flex}.c-social-divider__icon-container[_ngcontent-%COMP%]{font-size:0;display:flex;flex-wrap:nowrap;line-height:0;margin-left:-12px;margin-right:-12px}.c-social-icon[_ngcontent-%COMP%]{outline:0;position:relative;line-height:1;display:inline-block;margin:0 12px;cursor:pointer}.c-icon[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.c-social-icon--twitter[_ngcontent-%COMP%]{color:#1da1f2}.c-social-icon--fb[_ngcontent-%COMP%]{color:#3b5998}.c-social-icon--instagram[_ngcontent-%COMP%]{color:#c13584}
800.c-social-icon--youtube[_ngcontent-%COMP%]{color:red}.c-social-icon--linkedin[_ngcontent-%COMP%]{color:#0077b5}.social-title[_ngcontent-%COMP%]{font-weight:400;font-size:32px;line-height:39.74px;letter-spacing:0px;margin-bottom:30px;padding:0;margin-top:0}.container-icons[_ngcontent-%COMP%]{display:flex;align-items:center}.divider[_ngcontent-%COMP%]{border:1px solid #D9D9D9;display:flex;width:40%}@media (max-width: 767px){.social-title[_ngcontent-%COMP%]{padding:0 50px;margin-top:24px}.c-social-divider__icon-container[_ngcontent-%COMP%]{flex-wrap:nowrap;margin-left:0;margin-right:0}}"]})};var N8=class i{menuFooterRes=[];appService=C(Oi);services=C(_i);async obtenerMenuFooter(){await this.services.getMenuFooter().then(e=>{this.menuFooterRes=e}).catch(()=>{this.menuFooterRes=[]})}async getLinkBaja(){try{if(await this.obtenerMenuFooter(),!this.menuFooterRes||this.menuFooterRes.length===0)return;let e=this.menuFooterRes.find(t=>t.descNombreMenu?.toLowerCase()==="bot\xF3n de arrepentimiento".toLowerCase()||t.descNombreMenu?.toLowerCase()==="solicitud de baja".toLowerCase());if(!e)return;window.open(e.link,"_blank")}catch{}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["baja-public"]],decls:11,vars:0,consts:[["nxLayout","grid",1,"lightblue"],["nxRow","",1,"items"],["nxCol","12,6",1,"baja-text"],[1,"textStyle"],["nxCol","12,6",1,"baja-public-btn-container"],["nxButton","primary","type","button",1,"baja-public-btn",3,"click"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"div")(4,"h4",3),m(5,"Bot\xF3n de arrepentimiento"),d(),c(6,"h6",3),m(7,"\xBFQuer\xE9s cancelar tu p\xF3liza?"),d()()(),c(8,"div",4)(9,"button",5),I("click",function(){return n.getLinkBaja()}),m(10," Ingres\xE1 ac\xE1 "),d()()()())},dependencies:[me,Et,ut,vt,_t],styles:["*[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.3px}.lightblue[_ngcontent-%COMP%]{background-color:#daedec;text-align:center;margin:30px 5px;padding:46px 5px;align-items:center;display:block;padding-left:0!important;padding-right:0!important;width:100%;height:auto}.items[_ngcontent-%COMP%]{align-items:center;justify-content:center;width:100%;flex-direction:column;gap:16px;margin-left:0!important;margin-right:0!important}.textStyle[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif!important;font-weight:400;font-size:16px;letter-spacing:0px;text-align:center}.baja-text[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0!important;width:auto}.baja-public-btn[_ngcontent-%COMP%]{text-transform:none;white-space:nowrap;font-family:Allianz Neo,sans-serif;font-weight:400!important;font-size:16px!important;letter-spacing:0px!important;text-align:center;vertical-align:middle}@media (max-width: 767px){.lightblue[_ngcontent-%COMP%]{display:block;margin-bottom:30px;padding-left:0!important;padding-right:0!important;width:100%;height:auto}.items[_ngcontent-%COMP%]{flex-direction:column;gap:16px;margin-left:0!important;margin-right:0!important}.baja-public-btn-container[_ngcontent-%COMP%]{max-width:100%!important}}"]})};var A8=class i{constructor(e){this.baseService=e}noticia=null;ngOnInit(){}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}static \u0275fac=function(t){return new(t||i)(D(_r))};static \u0275cmp=z({type:i,selectors:[["app-blog-article"]],inputs:{noticia:"noticia"},decls:11,vars:5,consts:[[1,"card","border-0"],[1,"c-image-container",3,"src","alt"],[1,"card-body"],[1,"c-heading","c-heading--subsection-medium","c-teaser__headline","u-text-hyphen-none"],[1,"c-copy","c-teaser__content__text","u-text-hyphen-auto"],["target","_blank","rel","noopener noreferrer",1,"c-link","c-link--block",3,"href"],[1,"c-link__icon","c-icon","c-icon--arrow-right"],[1,"c-link","c-link__text"]],template:function(t,n){t&1&&(at(0,"div",0),wn(1,"img",1),at(2,"div",2)(3,"h3",3),m(4),pt(),at(5,"div",4),m(6),pt(),at(7,"a",5),wn(8,"span",6),at(9,"span",7),m(10,"Saber m\xE1s"),pt()()()()),t&2&&(p(),gi("src",n.noticia.urlImg,An)("alt",n.noticia.descTituloBlogArticle),p(3),K(" ",n.noticia.descTituloBlogArticle," "),p(2),K(" ",n.noticia.text," "),p(),gi("href",n.noticia.link,An))}
800,dependencies:[me],styles:['.c-heading--subsection-medium[_ngcontent-%COMP%]{font-size:26px;line-height:32px;letter-spacing:.3px;font-family:Allianz Neo,sans-serif}.u-text-hyphen-none[_ngcontent-%COMP%]{-webkit-hyphens:none;-ms-hyphens:none;hyphens:none;word-break:normal}.c-heading--subsection-medium[_ngcontent-%COMP%]{margin:0 0 20px;text-align:left}.c-heading[_ngcontent-%COMP%]{font-weight:300}.c-copy[_ngcontent-%COMP%]{margin:0 0 30px;font-weight:400}.c-copy[_ngcontent-%COMP%]{text-align:left;font-family:Allianz Neo,sans-serif;font-size:16px;line-height:24px;letter-spacing:0}.c-link[_ngcontent-%COMP%]{font-size:16px;cursor:pointer;color:#006192;font-weight:600;text-transform:uppercase;letter-spacing:1px;line-height:24px;transition:color .2s ease,box-shadow .2s ease}.c-link[_ngcontent-%COMP%]:hover{color:#007ab3}.c-icon[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.c-link__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;word-break:break-word;word-wrap:break-word;overflow-wrap:break-word}.c-link[_ngcontent-%COMP%]   .c-link__icon[_ngcontent-%COMP%]{vertical-align:top;line-height:inherit;float:left;height:24px}.c-icon--arrow-right[_ngcontent-%COMP%]:before{content:"\\e903"}.c-link[_ngcontent-%COMP%]   .c-link__icon[_ngcontent-%COMP%]:before{line-height:inherit;margin:0 8px 0 0;font-size:24px;width:24px;height:24px;display:inline-block}.c-icon[_ngcontent-%COMP%]:before{font-family:Allianz-Icons,sans-serif}.c-link--block[_ngcontent-%COMP%]{display:inline-block}.card[_ngcontent-%COMP%]{flex-direction:row;min-width:400px;min-height:440px;flex:1}.card-body[_ngcontent-%COMP%]{background-color:#e6f4f6;padding:24px 32px 40px}.c-image-container[_ngcontent-%COMP%]{width:50%;height:auto;object-fit:cover;object-position:50% 50%;flex:1}@media (max-width: 767px){.card[_ngcontent-%COMP%]{width:99vw;min-width:auto}}']})};var V8=class i{blogNews=null;baseService=C(_r);ngOnInit(){}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-blog-news"]],inputs:{blogNews:"blogNews"},decls:6,vars:3,consts:[[1,"l-container--full-width"],[1,"img-container"],["alt","Woman shopping",1,"img",3,"src"],[1,"l-container-box"],[1,"l-container-text"]],template:function(t,n){t&1&&(at(0,"div",0)(1,"div",1),wn(2,"img",2),pt(),at(3,"div",3)(4,"p",4),m(5),pt()()()),t&2&&(p(2),gi("src",Vi(n.blogNews.urlImg),An),p(3),K(" ",n.blogNews.text," "))},dependencies:[me],styles:[".l-container--full-width[_ngcontent-%COMP%]{width:100%;height:124px;margin:0;padding:0;background-color:#006fa5;display:flex;justify-content:center;gap:40px}.img-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;flex:1}.img[_ngcontent-%COMP%]{max-width:260px;object-fit:contain}.l-container-box[_ngcontent-%COMP%]{flex:1;display:flex;align-items:center}.l-container-text[_ngcontent-%COMP%]{max-width:70%;font-weight:400;font-size:16px;line-height:24px;letter-spacing:0px;text-align:start;color:#fff}@media (max-width: 767px){.l-container--full-width[_ngcontent-%COMP%]{align-items:center;min-height:180px;height:auto;flex-direction:column;gap:0px}.l-container-box[_ngcontent-%COMP%]{justify-content:center}.l-container-text[_ngcontent-%COMP%]{font-size:14px;text-align:center;max-width:269px;line-height:18px}.img[_ngcontent-%COMP%]{max-width:213px;padding-top:16px}}@media screen and (max-width: 500px){.row[_ngcontent-%COMP%]{display:flex;flex-direction:column}.c-copy[_ngcontent-%COMP%]{margin:30px;text-align:center}}"]})};var F8=class i{card=null;router=C(ot);gestionAction(e,t,n){e.preventDefault(),t&&(t==="/login"?this.router.navigate(["/login"]):this.router.navigate(["/priv"+t])),n&&window.open(n,"_blank","noopener,noreferrer")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-card-new"]],inputs:{card:"card"},decls:4,vars:3,consts:[[1,"gestion-card",3,"click"],["alt","",1,"gestion-image",3,"src"],[1,"gestion-title"]],template:function(t,n){t&1&&(at(0,"a",0),uo("click",function(o){return n.gestionAction(o,n.card.redirect,n.c
800ard.link)}),wn(1,"img",1),at(2,"h5",2),m(3),pt()()),t&2&&(p(),gi("src",Vi(n.card.urlImg),An),p(2),Pe(n.card.descTituloCard))},dependencies:[me],styles:["*[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.3px}.gestion-card[_ngcontent-%COMP%]{width:180px;height:165px;border-width:1px;border-radius:5px;border:1px solid #d9d9d9;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 23px;cursor:pointer}.gestion-card[_ngcontent-%COMP%]:hover{background-color:#ececec}.gestion-image[_ngcontent-%COMP%]{width:80px;height:44px;margin-bottom:16px;object-fit:contain}.gestion-title[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:24px;letter-spacing:0px;text-align:center}@media (max-width: 767px){.gestion-card[_ngcontent-%COMP%]{width:100%}}"]})};function ade(i,e){if(i&1){let t=Y();at(0,"div",1),m(1),at(2,"button",2),uo("click",function(){O(t);let r=M();return T(r.closeMessage())}),at(3,"span",3),m(4,"\xD7"),pt()()()}if(i&2){let t=M();Gi(z3("alert alert-",t.tipo," alert-dismissible fade show")),p(),K("",t.mensaje," ")}}var R8=class i{mensaje;tipo;baseService=C(_r);ngOnInit(){this.baseService.subscribeMessage(e=>{this.mensaje=e.message,this.tipo=e.type})}closeMessage(){this.mensaje=null}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-bar-message"]],decls:2,vars:1,consts:[["role","alert",3,"class"],["role","alert"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"]],template:function(t,n){t&1&&(at(0,"div"),re(1,ade,5,4,"div",0),pt()),t&2&&(p(),oe(n.mensaje?1:-1))},encapsulation:2})};var op=class i{URL_LOGO="../../../assets/img/allianz_logo_with_name.svg";version;nombreUsuario;menuRes=[];menu1=[];loaded=!1;mostrarMenu=!1;isShown=!1;lvl1Clicked=!1;lvl2=null;tabGroup;appService=C(Oi);services=C(_i);router=C(ot);ngOnInit(){this.obtenerMenu()}logout(){this.appService.logout().then(()=>{window.location.href=Se.oauth2.baseUrl+"/logout?redirect_uri="+window.location.origin+"/"}).catch(()=>{window.location.href=Se.oauth2.baseUrl+"/logout?redirect_uri="+window.location.origin+"/"})}home(){this.router.navigate(["/"])}redirectLogin(){this.router.navigate(["/login"])}redirectRegister(){this.router.navigate(["/register"])}redirectLoginNew(){this.router.navigate(["/login"])}isActive(e){return!0}getNestedChildren(e,t){let n=[];for(let r in e)if(e[r].idMenuPadre==t&&e[r].nroNivel!=="5"){let o=this.getNestedChildren(e,parseInt(e[r].idMenu));o.length&&(e[r].children=o),n.push(e[r])}return n.sort((r,o)=>r.nroOrden-o.nroOrden)}obtenerMenu(){this.loaded=!1,this.mostrarMenu=!1,this.services.getMenuPublico().then(e=>{this.menuRes=e,this.menu1=this.getNestedChildren(e,null),this.loaded=!0,this.mostrarMenu=!0}).catch(e=>{console.error(e)})}clickLvl1(e){e===this.lvl2&&this.lvl1Clicked?this.lvl1Clicked=!1:(this.lvl2=e,this.tabGroup&&(this.tabGroup.selectedIndex=0),this.lvl1Clicked=!0)}linkEvent(e){window.open(e,"_blank","noopener,noreferrer")}toggleShow(){this.isShown=!this.isShown}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-login-header"]],decls:7,vars:1,consts:[[1,"c-header-metabar","c-header-metabar-border"],[1,"c-header-metabar__content","c-header__wrapper",2,"align-items","center!important"],["href","#"],["nxFigure",""],["alt","Brand Logo","role","none",1,"az__logo__img",3,"src"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"div",1)(2,"nx-header-brand")(3,"nx-link")(4,"a",2)(5,"figure",3),S(6,"img",4),d()()()()()()),t&2&&(p(6),g("src",n.URL_LOGO,An))},dependencies:[Gf,vr,I2,q0,dr,me],styles:[".header-bg[_ngcontent-%COMP%]{background-color:#006192!important}.navbar-dark[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-dark[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{color:#f0f8ff}.mm-navbar[_ngcontent-%COMP%]{margin-left:.5em;border-left:1px solid rgba(255,255,255,.4);padding-left:1em}.right-dropdown[_ngcontent-%COMP%]{right:0;left:unset}.az__logo__img[_ngcontent-%COMP%]{max-height:48px;min-width:122px}.height-auto[_ngcontent-%COMP%]{height:auto!important}.c-header-metabar-border[_ngcontent-%COMP%]{border-bottom:1px solid #d9d9d9}
800.c-header-metabar[_ngcontent-%COMP%]{display:block}.c-header-metabar-menu[_ngcontent-%COMP%]{padding:16px}.c-header-metabar__content[_ngcontent-%COMP%]{padding:0 32px;display:flex;align-items:center;height:64px}.c-header__wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;max-width:1184px;padding:0 30px;margin:auto}.c-navigation[_ngcontent-%COMP%]{padding-top:6px}.c-navigation[_ngcontent-%COMP%]   .c-navigation--two-level[_ngcontent-%COMP%]{position:relative}.c-navigation--extended[_ngcontent-%COMP%]{position:relative;border-bottom:1px solid #d9d9d9}.nx-header__row[_ngcontent-%COMP%]{border-bottom:0px!important;padding:0}.c-header--new__adaptation[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.c-menu__navigation[_ngcontent-%COMP%]{background:#f5f5f5}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.c-header__navigation-level-2-title[_ngcontent-%COMP%]{display:block;margin-bottom:32px;line-height:20px;font-size:16px;font-weight:600;color:#414141;font-family:Allianz Neo,sans-serif}.c-header__navigation-level-2-panel[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:24px}.c-header__navigation-link[_ngcontent-%COMP%]{text-decoration:none;font-size:16px;color:#414141;outline:0;display:inline-block;position:relative;font-family:Allianz Neo,sans-serif;cursor:pointer}.navbar-av[_ngcontent-%COMP%]{list-style-type:none}.c-header__navigation-level-2-item[_ngcontent-%COMP%]{font-size:18px;margin-bottom:16px}.c-header__navigation-link[_ngcontent-%COMP%]:hover{color:#003781}.nx-header.nx-header--single-row[_ngcontent-%COMP%], .nx-formfield__input-container[_ngcontent-%COMP%]{border-bottom:0px!important}.c-search-box[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-around;align-items:center;flex-direction:row}.c-buttons-search-box[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:30%;align-items:center;flex-direction:row}.c-searchbar__input[_ngcontent-%COMP%]{font-size:2rem;outline:0;border:0;color:#006192;background:#fff;font-weight:200;width:100%;padding-right:15px;padding-left:15px;line-height:36px;font-family:Allianz Neo,sans-serif}.c-searchbar__input-holder[_ngcontent-%COMP%]{flex:1 1 100%;margin-right:auto;margin-left:20px;display:flex;flex-direction:row;align-items:center}.c-menu-over-toggle[_ngcontent-%COMP%]{position:absolute;z-index:1000;width:100%;left:0}input[_ngcontent-%COMP%]::-webkit-input-placeholder{font-size:2rem}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}"]})};function sde(i,e){i&1&&(S(0,"app-login-header"),c(1,"div",0)(2,"div",1)(3,"h5",2),m(4,"Mi Allianz"),d(),c(5,"div",3),S(6,"img",4),d()()())}var Jd=class i{loading=!1;showLoading(e){this.loading=e}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-loading"]],decls:1,vars:1,consts:[[1,"background"],[1,"background2"],[1,"text-center"],[1,"box"],["src","assets/img/three_dots_loading.gif","alt","Loading...",1,"loading-gif"]],template:function(t,n){t&1&&re(0,sde,7,0),t&2&&oe(n.loading?0:-1)},dependencies:[_e,me,op],styles:["@keyframes _ngcontent-%COMP%_router-load-indicator-animation{0%{opacity:0}to{opacity:1}}.router-load-indicator[_ngcontent-%COMP%]{animation-delay:.1s;animation-duration:.2s;animation-fill-mode:both;animation-name:_ngcontent-%COMP%_router-load-indicator-animation;border-radius:5px;box-shadow:0 2px 2px fade(#000000,20%);font-family:monospace;font-size:16px;left:50%;position:fixed;text-transform:lowercase;top:10px;transform:translate(-50%);z-index:9999999;display:flex;align-items:center;justify-content:space-between;width:189px;padding:14px;background-color:#01010166;color:#fff}.header-bg[_ngcontent-%COMP%]{background-color:#006192!important}.navbar-dark[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-dark[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{color:#f0f8ff}.mm-navbar[_ngcontent-%COMP%]{margin-left:.5em;border-left:1px solid rgba(255,255,255,.4);padding-left:1em}.right-dropdown[_ngcontent-%COMP%]{right:0;left:unset}.az__logo__img[_ngcontent-%COMP%]{max-height:48px;min-width:122px}.height-auto[_ngcontent-%COMP%]{height:auto!important}.c-header-metabar-border[_ngcontent-%COMP%]{border-bottom:1px solid #d9d9d9}
800.c-header-metabar[_ngcontent-%COMP%]{display:block}.c-header-metabar-menu[_ngcontent-%COMP%]{padding:16px}.c-header-metabar__content[_ngcontent-%COMP%]{padding:0 32px;display:flex;align-items:center;height:60px}.c-header__wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;max-width:100%;padding:0 16px;margin:auto}.c-navigation[_ngcontent-%COMP%]{padding-top:6px}.c-navigation[_ngcontent-%COMP%]   .c-navigation--two-level[_ngcontent-%COMP%]{position:relative}.c-navigation--extended[_ngcontent-%COMP%]{position:relative;border-bottom:1px solid #d9d9d9}.nx-header__row[_ngcontent-%COMP%]{border-bottom:0px!important;padding:0}.c-header--new__adaptation[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.c-menu__navigation[_ngcontent-%COMP%]{background:#f5f5f5}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.c-header__navigation-level-2-title[_ngcontent-%COMP%]{display:block;margin-bottom:32px;line-height:20px;font-size:16px;font-weight:600;color:#414141;font-family:Allianz Neo,sans-serif}.c-header__navigation-level-2-panel[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:24px}.c-header__navigation-link[_ngcontent-%COMP%]{text-decoration:none;font-size:16px;color:#414141;outline:0;display:inline-block;position:relative;font-family:Allianz Neo,sans-serif;cursor:pointer}.navbar-av[_ngcontent-%COMP%]{list-style-type:none}.c-header__navigation-level-2-item[_ngcontent-%COMP%]{font-size:18px;margin-bottom:16px}.c-header__navigation-link[_ngcontent-%COMP%]:hover{color:#003781}.nx-header.nx-header--single-row[_ngcontent-%COMP%], .nx-formfield__input-container[_ngcontent-%COMP%]{border-bottom:0px!important}.c-search-box[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-around;align-items:center;flex-direction:row}.c-buttons-search-box[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;width:30%;align-items:center;flex-direction:row}.c-searchbar__input[_ngcontent-%COMP%]{font-size:2rem;outline:0;border:0;color:#006192;background:#fff;font-weight:200;width:100%;padding-right:15px;padding-left:15px;line-height:36px;font-family:Allianz Neo,sans-serif}.c-searchbar__input-holder[_ngcontent-%COMP%]{flex:1 1 100%;margin-right:auto;margin-left:20px;display:flex;flex-direction:row;align-items:center}.c-menu-over-toggle[_ngcontent-%COMP%]{position:absolute;z-index:1000;width:100%;left:0}input[_ngcontent-%COMP%]::-webkit-input-placeholder{font-size:2rem}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}"]})};function lde(i,e){i&1&&S(0,"div",0)(1,"div",0)}function cde(i,e){i&1&&S(0,"div",11)}function dde(i,e){if(i&1&&S(0,"app-blog-news",12),i&2){let t=M(2);g("blogNews",t.blogNews)}}function ude(i,e){if(i&1&&(Ze(0),S(1,"app-card-new",25),Xe()),i&2){let t=e.$implicit;p(),g("card",t)}}function pde(i,e){if(i&1&&(c(0,"div",18)(1,"div",23)(2,"div",24),Ot(3,ude,2,1,"ng-container",null,Bo),d()()()),i&2){let t=M(2);p(3),Tt(t.cards)}}function fde(i,e){i&1&&S(0,"div",19)}function mde(i,e){if(i&1&&(c(0,"div",27),S(1,"app-blog-article",28)(2,"div",13),d()),i&2){let t=e.$implicit;p(),g("noticia",t)}}function hde(i,e){if(i&1&&(c(0,"div",17)(1,"div",18)(2,"div",26),Ot(3,mde,3,1,"div",27,Bo),d()()()),i&2){let t=M(2);p(3),Tt(t.noticias)}}function gde(i,e){i&1&&S(0,"div",22)}function _de(i,e){if(i&1){let t=Y();S(0,"app-public-header")(1,"app-loading"),c(2,"div"),S(3,"app-bar-message"),d(),c(4,"div",1),S(5,"img",2)(6,"img",3),c(7,"div",4)(8,"h1",5),m(9,"Portal Mi Allianz"),d(),c(10,"p",6),m(11," Encontr\xE1 toda la informaci\xF3n que "),S(12,"br",7),m(13," necesit\xE1s, "),S(14,"br",8),m(15," y simplic\xE1 tus gestiones. "),d(),c(16,"h3",9),m(17,"R\xE1pido, simple e intuitivo."),d(),c(18,"button",10),I("click",function(){O(t);let r=M();return T(r.onBtnAction())}),m(19,"INGRES\xC1"),d()()(),re(20,cde,1,0,"div",11)(21,dde,1,1,"app-blog-news",12),S(22,"div",13),c(23,"div",14)(24,"div",15)(25,"h2",16),m(26,"Gestion\xE1 tus p\xF3lizas, denunci\xE1 un siniestro, y mucho m\xE1s"),d()()(),c(27,"div",17),re(28,pde,5,0,"div",18),re(29,fde,1,0,"div",19),d(),S(30,"div",13),c(31,"div",14)(32,"div",15)(33,"h4",20),m(34,"Noticias"),d(),c(35,"h2",21),m(36,"Allianz, nuestra promesa"),d()()(),re(37,hde,5,0,"div",17),re(38,gde,1,0,"div",22),S(39,"app-contact-info")(40,"baja-public")(41,"app-social-headline")(42,"app-intendencia-info")(43,"ally-public")(44,"app-menu-footer")(45,"app-footer")}if(i&2){let t=M();p(5),g("src","/assets/img/image-home-public.png",An),p(15),oe(t.mostrarBlogNews?21:20
800),p(8),oe(t.loaded&&t.mostrarCards?28:-1),p(),oe(t.mostrarCards?-1:29),p(8),oe(t.loaded&&t.mostrarNoticias?37:-1),p(),oe(t.mostrarNoticias?-1:38)}}var z8=class i{cards=[];mostrarCards=!1;noticias=[];mostrarNoticias=!1;mostrarBlogNews=!1;blogNews=null;loaded=!1;isResolvingSession=!0;appService=C(Oi);baseService=C(_r);services=C(_i);router=C(ot);constructor(){}ngOnInit(){this.appService.conf().pipe(Bn(1)).subscribe({next:()=>{Se.hasSession?this.router.navigate(["/priv"]):this.isResolvingSession=!1},error:()=>{this.isResolvingSession=!1}}),this.obtenerCards(),this.obtenerNoticias(),this.obtenerBlogNews()}onActivate(e){this.baseService.isBack()||this.baseService.clearMessage()}obtenerCards(){this.loaded=!1,this.mostrarCards=!1,this.services.getCards().then(e=>{this.cards=e,this.loaded=!0,this.mostrarCards=!0}).catch(e=>{})}obtenerNoticias(){this.loaded=!1,this.mostrarNoticias=!1,this.services.getNoticias().then(e=>{this.noticias=e,this.loaded=!0,this.mostrarNoticias=!0}).catch(e=>{console.error("Error al obtener noticias:",e)})}obtenerBlogNews(){this.loaded=!1,this.mostrarBlogNews=!1,this.services.getBlogNews().then(e=>{this.blogNews=e[0],this.loaded=!0,this.mostrarBlogNews=!0}).catch(e=>{console.error("Error al obtener blog news:",e)})}onBtnAction(){this.router.navigate(["/login"])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-home"]],decls:2,vars:1,consts:[[1,"skeleton-box",2,"width","90%","height","100px","margin","50px"],[1,"home-pulbic-banner-container"],["alt","image home",1,"home-public-banner-img",3,"src"],["src","../../../../assets/img/image-home-public-resp.png","alt","image home mobile",1,"home-public-banner-img-resp"],[1,"home-pulbic-banner-text-container"],[1,"home-pulbic-banner-title"],[1,"home-pulbic-banner-p"],[1,"home-pulbic-banner-br-resp"],[1,"home-pulbic-banner-br"],[1,"home-pulbic-banner-subtitle"],["nxButton","primary","type","button",1,"home-pulbic-banner-btn",3,"click"],[1,"skeleton-box",2,"width","99%","height","150px"],[3,"blogNews"],[1,"body-separator"],[1,"wrapper","body-wrapper-headline"],[1,"nx-margin-y-s","margin-box"],["nxHeadline","section",1,"section-title"],[1,"l-grid","l-grid--max-width","u-background-inherit"],["nxLayout","grid"],[1,"skeleton-box",2,"width","100%","height","150px","margin","1px","padding","1px"],["nxHeadline","subsection-medium",1,"noticias-title"],["nxHeadline","section",1,"noticias-subtitle"],[1,"skeleton-box",2,"width","99%","height","150px","margin","10px"],[1,"row"],[1,"container-cards"],[3,"card"],["nxRow","",1,"row"],[1,"col","p-0"],[3,"noticia"]],template:function(t,n){t&1&&re(0,lde,2,0)(1,_de,46,6),t&2&&oe(n.isResolvingSession?0:1)},dependencies:[me,Et,ut,_t,Xt,T8,Xd,np,Zd,k8,ip,rp,N8,A8,V8,F8,R8,Jd],styles:[".body-separator[_ng
800content-%COMP%]{width:100%;height:40px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.section-title[_ngcontent-%COMP%]{font-weight:400!important;font-size:32px!important;letter-spacing:0px;text-align:center!important;padding-left:0;padding-right:0}.noticias-title[_ngcontent-%COMP%]{font-weight:400!important;font-size:16px!important;line-height:24px!important;letter-spacing:0px!important;text-align:center!important;margin-bottom:16px;margin-top:40px}.noticias-subtitle[_ngcontent-%COMP%]{font-weight:400!important;font-size:32px!important;line-height:24px!important;letter-spacing:0px!important;text-align:center!important}.container-cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);width:180px;gap:20%;margin-right:auto;margin-left:auto;padding-left:0;padding-right:0;justify-content:center}.home-pulbic-banner-container[_ngcontent-%COMP%]{height:604px;position:relative}.home-public-banner-img[_ngcontent-%COMP%]{height:604px;width:100%;position:absolute;top:0;left:0;object-fit:cover}.home-public-banner-img-resp[_ngcontent-%COMP%]{display:none}.home-pulbic-banner-text-container[_ngcontent-%COMP%]{position:absolute;right:0;top:93px;margin-left:auto;left:0;margin-right:auto;display:flex;flex-direction:column;align-items:center;gap:10px}.home-pulbic-banner-title[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:700;font-size:48px;line-height:100%;letter-spacing:0px;text-align:center;vertical-align:middle}.home-pulbic-banner-p[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:400;font-size:24px;line-height:32px;letter-spacing:0px;vertical-align:middle;text-align:center}.home-pulbic-banner-br-resp[_ngcontent-%COMP%]{display:none}.home-pulbic-banner-br[_ngcontent-%COMP%]{display:block}.home-pulbic-banner-subtitle[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:700;font-size:20px;line-height:100%;letter-spacing:0px;text-align:center;vertical-align:middle;margin-bottom:10px}.home-pulbic-banner-btn[_ngcontent-%COMP%]{width:147px;height:48px!important;border-radius:2px!important;padding:13px 33px!important;font-family:Allianz Neo,sans-serif!important;font-weight:700!important;font-size:16px!important;line-height:100%!important;letter-spacing:0px!important;text-align:center;vertical-align:middle}@media (min-width: 992px){.l-grid--max-width[_ngcontent-%COMP%]{width:1184px;max-width:100%}}@media (min-width: 992px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (min-width: 704px){.l-grid[_ngcontent-%COMP%]{padding-right:32px;padding-left:32px}}@media (max-width: 767px){.row[_ngcontent-%COMP%]{row-gap:24px}.section-title[_ngcontent-%COMP%]{padding-left:8px!important;padding-right:8px!important}.container-cards[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);width:100%;gap:17px;padding-left:8px;padding-right:8px}.home-pulbic-banner-container[_ngcontent-%COMP%]{height:203px}.home-public-banner-img[_ngcontent-%COMP%]{display:none}.home-public-banner-img-resp[_ngcontent-%COMP%]{display:block;height:203px;width:100%;position:absolute;top:0;left:0;object-fit:cover}.home-pulbic-banner-text-container[_ngcontent-%COMP%]{position:absolute;right:0;top:26px;margin-left:auto;left:0;margin-right:auto;gap:8px;align-items:center}.home-pulbic-banner-title[_ngcontent-%COMP%]{font-size:16px;text-align:center;vertical-align:middle;margin-bottom:0}.home-pulbic-banner-p[_ngcontent-%COMP%]{font-size:12px;line-height:100%;letter-spacing:0px;text-align:center;vertical-align:middle;margin-bottom:0}.home-pulbic-banner-br-resp[_ngcontent-%COMP%]{display:block}.home-pulbic-banner-br[_ngcontent-%COMP%]{display:none}.home-pulbic-banner-subtitle[_ngcontent-%COMP%]{font-size:10px}.home-pulbic-banner-btn[_ngcontent-%COMP%]{height:29px!important;width:100px;border-radius:2px!important;font-size:10px!important;font-weight:700!important;white-space:nowrap;min-height:29px!important;padding:0 10px!important}}"]})};var Jt=class i{zindexEmiter=new X;errorAlert=new X;hideHomeEmitter=new X;toastEmmitter=new X;loadingPageEmitter=new X;popupEmmitter=new X;menuPrincipalEmitter=new X;menuLevel5Emitter=new X;menuLevel4Emitter=new X;menuLevel4HiddenFrameEmitter=new X;breadCrumbEmitter=new X;menuFavoritosEmitter=new X;originMenuDesktopEmitter=new X;actualWindowEmitter=new X;clickedObjectEmitter=new X;parejasEmitter=new X;gopEmitter=new X;initComponentEmitter=new X;esGrupoEmitter=new X;frameURL=new X;
800cookieLoadedEmitter=new X;menuMobileObjectEmitter=new X;ocultarMenuMobileEmitter=new X;popUpDetectionEmitter=new X;unauthorized=new X;putParejasEmitter=new X;enableActionsEmiter=new X;setZIndex(e){this.zindexEmiter.emit(e)}notifyPopUpBlocked(e){this.popUpDetectionEmitter.emit(e)}unauthorizedAlert(e){this.unauthorized.emit(e)}emmiterToast(e,t,n=5e3){let r={mensaje:t,error:e,timeOut:n};this.toastEmmitter.emit(r)}popupEmitter(e){this.popupEmmitter.emit(e)}emitLoadingPage(e){this.loadingPageEmitter.emit(e)}errorHeader(e){this.errorAlert.emit(e)}frameURLEmit(e){this.frameURL.emit(e)}hideHome(e){this.hideHomeEmitter.emit(e)}level5Emitter(e){this.menuLevel5Emitter.emit(e)}level4Emitter(e){this.menuLevel4Emitter.emit(e)}hiddenFrameLvl4Emitter(e){this.menuLevel4HiddenFrameEmitter.emit(e)}menuFavorito(e){this.menuFavoritosEmitter.emit(e)}originMenuDektop(e){this.originMenuDesktopEmitter.emit(e)}actualWindow(e){this.actualWindowEmitter.emit(e)}clickedObject(e){this.clickedObjectEmitter.emit(e)}initComponent(e){this.initComponentEmitter.emit(e)}esGrupo(){this.esGrupoEmitter.emit(!0)}cookieLoaded(){this.cookieLoadedEmitter.emit(!0)}menuMobileEmitterObj(e){this.menuMobileObjectEmitter.emit(e)}ocultarMenuMobile(e){this.ocultarMenuMobileEmitter.emit(e)}parejasChange(){this.putParejasEmitter.emit(!0)}enableActions(e){this.enableActionsEmiter.emit(e)}emitMenuPrincipal(e){this.menuPrincipalEmitter.emit(e)}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var MR=["toast-component",""];function vde(i,e){if(i&1){let t=Y();c(0,"button",5),I("click",function(){O(t);let r=M();return T(r.remove())}),c(1,"span",6),m(2,"\xD7"),d()()}}function xde(i,e){if(i&1&&(Ze(0),m(1),Xe()),i&2){let t=M(2);p(),K("[",t.duplicatesCount+1,"]")}}function bde(i,e){if(i&1&&(c(0,"div"),m(1),L(2,xde,2,1,"ng-container",4),d()),i&2){let t=M();Gi(t.options.titleClass),ye("aria-label",t.title),p(),K(" ",t.title," "),p(),g("ngIf",t.duplicatesCount)}}function Cde(i,e){if(i&1&&S(0,"div",7),i&2){let t=M();Gi(t.options.messageClass),g("innerHTML",t.message,Jo)}}function yde(i,e){if(i&1&&(c(0,"div",8),m(1),d()),i&2){let t=M();Gi(t.options.messageClass),ye("aria-label",t.message),p(),K(" ",t.message," ")}}function Mde(i,e){if(i&1&&(c(0,"div"),S(1,"div",9),d()),i&2){let t=M();p(),qo("width",t.width+"%")}}function wde(i,e){if(i&1){let t=Y();c(0,"button",5),I("click",function(){O(t);let r=M();return T(r.remove())}),c(1,"span",6),m(2,"\xD7"),d()()}}function Sde(i,e){if(i&1&&(Ze(0),m(1),Xe()),i&2){let t=M(2);p(),K("[",t.duplicatesCount+1,"]")}}function Pde(i,e){if(i&1&&(c(0,"div"),m(1),L(2,Sde,2,1,"ng-container",4),d()),i&2){let t=M();Gi(t.options.titleClass),ye("aria-label",t.title),p(),K(" ",t.title," "),p(),g("ngIf",t.duplicatesCount)}}function Ede(i,e){if(i&1&&S(0,"div",7),i&2){let t=M();Gi(t.options.messageClass),g("innerHTML",t.message,Jo)}}function Dde(i,e){if(i&1&&(c(0,"div",8),m(1),d()),i&2){let t=M();Gi(t.options.messageClass),ye("aria-label",t.message),p(),K(" ",t.message," ")}}function Ode(i,e){if(i&1&&(c(0,"div"),S(1,"div",9),d()),i&2){let t=M();p(),qo("width",t.width+"%")}}var Gw=class{_attachedHost;component;viewContainerRef;injector;constructor(e,t){this.component=e,this.injector=t}attach(e,t){return this._attachedHost=e,e.attach(this,t)}detach(){let e=this._attachedHost;if(e)return this._attachedHost=void 0,e.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(e){this._attachedHost=e}},$w=class{_attachedPortal;_disposeFn;attach(e,t){return this._attachedPortal=e,this.attachComponentPortal(e,t)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(e){this._disposeFn=e}},Ww=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new he;_activate=new he;_manualClose=new he;_resetTimeout=new he;_countDuplicate=new he;constructor(e){this._overlayRef=e}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}
800onDuplicate(e,t){e&&this._resetTimeout.next(),t&&this._countDuplicate.next(++this.duplicatesCount)}},ap=class{toastId;config;message;title;toastType;toastRef;_onTap=new he;_onAction=new he;constructor(e,t,n,r,o,a){this.toastId=e,this.config=t,this.message=n,this.title=r,this.toastType=o,this.toastRef=a,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(e){this._onAction.next(e)}onAction(){return this._onAction.asObservable()}},wR={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},SR=new Ee("ToastConfig"),Yw=class extends $w{_hostDomElement;_componentFactoryResolver;_appRef;constructor(e,t,n){super(),this._hostDomElement=e,this._componentFactoryResolver=t,this._appRef=n}attachComponentPortal(e,t){let n=this._componentFactoryResolver.resolveComponentFactory(e.component),r;return r=n.create(e.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),t?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(e){return e.hostView.rootNodes[0]}},Tde=(()=>{class i{_document=C(Gt);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let t=this._document.createElement("div");t.classList.add("overlay-container"),t.setAttribute("aria-live","polite"),this._document.body.appendChild(t),this._containerElement=t}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Qw=class{_portalHost;constructor(e){this._portalHost=e}attach(e,t=!0){return this._portalHost.attach(e,t)}detach(){return this._portalHost.detach()}},Ide=(()=>{class i{_overlayContainer=C(Tde);_componentFactoryResolver=C(K1);_appRef=C(wr);_document=C(Gt);_paneElements=new Map;create(t,n){return this._createOverlayRef(this.getPaneElement(t,n))}getPaneElement(t="",n){return this._paneElements.get(n)||this._paneElements.set(n,{}),this._paneElements.get(n)[t]||(this._paneElements.get(n)[t]=this._createPaneElement(t,n)),this._paneElements.get(n)[t]}_createPaneElement(t,n){let r=this._document.createElement("div");return r.id="toast-container",r.classList.add(t),r.classList.add("toast-container"),n?n.getContainerElement().appendChild(r):this._overlayContainer.getContainerElement().appendChild(r),r}_createPortalHost(t){return new Yw(t,this._componentFactoryResolver,this._appRef)}_createOverlayRef(t){return new Qw(this._createPortalHost(t))}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),e1=(()=>{class i{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(t,n,r,o,a){this.overlay=n,this._injector=r,this.sanitizer=o,this.ngZone=a,this.toastrConfig=ae(ae({},t.default),t.config),t.config.iconClasses&&(this.toastrConfig.iconClasses=ae(ae({},t.default.iconClasses),t.config.iconClasses))}show(t,n,r={},o=""){return this._preBuildNotification(o,t,n,this.applyConfig(r))}success(t,n,r={}){let o=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(o,t,n,this.applyConfig(r))}error(t,n,r={}){let o=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(o,t,n,this.applyConfig(r))}info(t,n,r={}){let o=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(o,t,n,this.applyConfig(r))}warning(t,n,r={}){let o=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(o,t,n,this.applyConfig(r))}clear(t){for(let n of this.toasts)if(t!==void 0){if(n.toastId===t){n.toastRef.manualClose();return}}else n.toastRef.manualClose()}remove(t){let n=this._findToast(t);if(!n||(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let r=this.toasts[this.currentlyActive].toastRef;r.isInactive()||(this.currentlyActive=this.currentlyActive+1,r.activate())}return!0}findDuplicate(t="",n="",r,o){let{includeTitleDuplicates:a}=this.toastrConfig;for(let s of this.toasts){let l=a&&s.title===t;if((!a||l)&&s.message===n)return s.toastRef.onDuplicate(r,o),s}return null}applyConfig(t={}){return ae(ae({},this.toastrConfig),t)}_findToast(t){for(let n=0;n<this.toasts.length;n++)if(this.toasts[n].toastId===t)return{index:n,activeToast:this.toasts[n]};return null}_preBuildNotification(t,n,r,o){return o.onActivateTick?this.ngZone.run(()=>this._buildNotification(t,n,r,o)):this._buildNotification(t,n,r,o)}_buildNotification(t,n,r,o){if(!o.toastComponent)throw new Error("toastComponent required");let a=this.findDuplicate(r,n,this.toastrConfig.resetTimeoutOnDuplicate&&o.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&r||n)&&this.toastrConfig.preventDuplicates&&a!==null)return a;this.previousToastMessage=n;let s=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(s=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let l=this.overlay.create(o.positionClass,this.overlayContainer);this.index=this.index+1;let u=n;n&&o.enableHtml&&(u=this.sanitizer.sanitize(So.HTML,n));let h=new Ww(l),_=new ap(this.index,o,u,r,t,h),y=[{provide:ap,useValue:_}],b=Nt.create({providers:y,parent:this._injector}),x=new Gw(o.toastComponent,b),w=l.attach(x,o.newestOnTop);h.componentInstance=w.instance;let k={toastId:this.index,title:r||"",message:n||"",toastRef:h,onShown:h.afterActivate(),onHidden:h.afterClosed(),onTap:_.onTap(),onAction:_.onAction(),portal:w};return s||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{k.toastRef.activate()})),this.toasts.push(k),k}static \u0275fac=function(n){return new(n||i)(Le(SR),Le(Ide),Le(Nt),Le(As),Le(Vt))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),kde=(()=>{class i{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if(this.state.value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;
800constructor(t,n,r){this.toastrService=t,this.toastPackage=n,this.ngZone=r,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=mt(ae({},this.state),{value:"active"}),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let t=new Date().getTime(),n=this.hideTime-t;this.width=n/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=mt(ae({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state.value!=="removed"&&(clearTimeout(this.timeout),this.state=mt(ae({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state.value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state.value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state.value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(t,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(t),n)):this.timeout=setTimeout(()=>t(),n)}outsideInterval(t,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(t),n)):this.intervalId=setInterval(()=>t(),n)}runInsideAngular(t){this.ngZone?this.ngZone.run(()=>t()):t()}static \u0275fac=function(n){return new(n||i)(D(e1),D(ap),D(Vt))};static \u0275cmp=z({type:i,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(n,r){n&1&&I("click",function(){return r.tapToast()})("mouseenter",function(){return r.stickAround()})("mouseleave",function(){return r.delayedHideToast()}),n&2&&(Cc("@flyInOut",r.state),Gi(r.toastClasses),qo("display",r.displayStyle))},attrs:MR,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,r){n&1&&L(0,vde,3,0,"button",0)(1,bde,3,5,"div",1)(2,Cde,1,3,"div",2)(3,yde,2,4,"div",3)(4,Mde,2,2,"div",4),n&2&&(g("ngIf",r.options.closeButton),p(),g("ngIf",r.title),p(),g("ngIf",r.message&&r.options.enableHtml),p(),g("ngIf",r.message&&!r.options.enableHtml),p(),g("ngIf",r.options.progressBar))},dependencies:[et],encapsulation:2,data:{animation:[go("flyInOut",[cr("inactive",On({opacity:0}
800)),cr("active",On({opacity:1})),cr("removed",On({opacity:0})),$i("inactive => active",ji("{{ easeTime }}ms {{ easing }}")),$i("active => removed",ji("{{ easeTime }}ms {{ easing }}"))])]}})}return i})(),Nde=mt(ae({},wR),{toastComponent:kde}),PR=(i={})=>cl([{provide:SR,useValue:{default:Nde,config:i}}]);var Ade=(()=>{class i{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";get displayStyle(){if(this.state==="inactive")return"none"}state="inactive";timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(t,n,r){this.toastrService=t,this.toastPackage=n,this.appRef=r,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width===0||this.width===100||!this.options.timeOut)return;let t=new Date().getTime(),n=this.hideTime-t;this.width=n/this.options.timeOut*100,this.options.progressAnimation==="increasing"&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state!=="removed"&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(n){return new(n||i)(D(e1),D(ap),D(wr))};static \u0275cmp=z({type:i,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(n,r){n&1&&I("click",function(){return r.tapToast()})("mouseenter",function(){return r.stickAround()})("mouseleave",function(){return r.delayedHideToast()}),n&2&&(Gi(r.toastClasses),qo("display",r.displayStyle))},attrs:MR,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,r){n&1&&L(0,wde,3,0,"button",0)(1,Pde,3,5,"div",1)(2,Ede,1,3,"div",2)(3,Dde,2,4,"div",3)(4,Ode,2,2,"div",4),n&2&&(g("ngIf",r.options.closeButton),p(),g("ngIf",r.title),p(),g("ngIf",r.message&&r.options.enableHtml),p(),g("ngIf",r.message&&!r.options.enableHtml),p(),g("ngIf",r.options.progressBar))},dependencies:[et],encapsulation:2})}return i})(),DZe=mt(ae({},wR),{toastComponent:Ade});var Ke=class i{constructor(e){this.http=e}baseUrl="/api";
800getRequest(e){return this.http.get(this.baseUrl+e)}getRequestParams(e,t){return this.http.get(this.baseUrl+this.formarUrl(e,t))}getRequestParamsString(e,t){return this.http.get(this.baseUrl+this.formarUrl(e,t),{headers:new Uo({"Content-Type":"application/json"}),responseType:"text"})}getRequestParamsBlob(e,t){return this.http.get(this.baseUrl+this.formarUrl(e,t),{headers:new Uo({"Content-Type":"application/json"}),responseType:"blob"})}putRequest(e,t,n){return this.http.put(this.baseUrl+this.formarUrl(e,n),t)}postRequestTest(e,t,n,r={}){return this.http.post(this.baseUrl+this.formarUrlTest(e,n),t,r)}formarUrlTest(e,t){if(!t)return e;let n=Object.entries(t).filter(([,r])=>r!=null).map(([r,o])=>`${decodeURIComponent(r)}=${decodeURIComponent(o)}`).join("&");return n?`${e}?${n}`:e}postRequest(e,t,n,r={}){return this.http.post(this.baseUrl+this.formarUrl(e,n),t,r)}deleteRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.delete(this.baseUrl+r)}formarUrl(e,t){if(!t)return e;let n=Object.entries(t).filter(([,r])=>r!=null).map(([r,o])=>`${encodeURIComponent(r)}=${encodeURIComponent(o)}`).join("&");return n?`${e}?${n}`:e}getFullUrl(e){return e.startsWith("http")?e:window.location.origin+this.baseUrl+e}static \u0275fac=function(t){return new(t||i)(Le(er))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var L8=class i extends Ke{getNovedades(){return this.getRequest("/v1/novedades").pipe(B(this.errorHandler))}updateNovedad(e){return this.putRequest("/v1/novedades",e,null)}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var H8=class i extends Ke{getBanners(){return this.getRequest("/v1/banners").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var B8=class i extends Ke{getMenu(){return this.getRequest("/v1/user/menu?codUbicacion=principal").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var j8=class i extends Ke{getUsuario(){return this.getRequest("/v1/user/menu?codUbicacion=usuario").pipe(B(this.errorHandler))}elasticSearch(e,t=null,n=null,r=null,o=10,a=1){let s="",l="",u="";return t&&(s="&grp="+t),n&&(l="&org="+n),r&&(u="&prd="+r),this.getRequest("/v1/search?text="+e+s+l+u+"&size="+o+"&page="+a).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var q8=class i extends Ke{getAyudaMenu(){return this.getRequest("/v1/user/menu?codUbicacion=ayuda").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var U8=class i extends Ke{getPedidoGenericoMenu(){return this.getRequest("/v1/user/menu?codUbicacion=peg").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var G8=class i extends Ke{getUserInformation(){return this.getRequest("/v1/user/information").pipe(B(this.errorHandler))}putUserInformation(e){return this.putRequest("/v1/user/information",e,null).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var $8=class i extends Ke{getFooter(){return this.getRequest("/v1/user/menu?codUbicacion=pie").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};
800var W8=class i extends Ke{getFavoritos(){return this.getRequest("/v1/user/menu/favoritos").pipe(B(this.errorHandler))}putFavoritos(e){return this.putRequest("/v1/user/menu/favoritos",e,null).pipe(B(this.errorHandler))}deleteFavoritos(e){return this.deleteRequest("/v1/user/menu/favoritos",[],e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var Y8=class i extends Ke{getAccesosFavoritos(e){return this.getRequestParams("/v1/user/accesos-directos/favoritos",e).pipe(B(this.errorHandler))}getAccesosDirectos(e){return this.getRequestParams("/v1/user/accesos-directos",e).pipe(B(this.errorHandler))}putAccesoFavorito(e){return this.putRequest("/v1/user/accesos-directos/favoritos",e,null).pipe(B(this.errorHandler))}putDiasAccesosDir(e){return this.putRequest("/v1/user/accesos-directos/parametros",e,null).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var t1=class i{constructor(e){this.http=e}baseUrl="/api";getRequest(e){return this.http.get(this.baseUrl+e)}
800getRequestParams(e,t){let n=this.formarUrl(e,t);return this.http.get(this.baseUrl+n)}putRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.put(this.baseUrl+r,t)}postRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.post(this.baseUrl+r,t)}deleteRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.delete(this.baseUrl+r)}formarUrl(e,t){let n=e;return t!=null&&(n=n+"?",Object.keys(t).forEach(r=>{t[r]!=null&&(n=n+encodeURIComponent(r)+"="+encodeURIComponent(t[r])+"&")}),n=n.substring(0,n.length-1)),n}getHeaderString(e){return e.keys().map(n=>"("+n+","+e.get(n)+")").join(", ")}static \u0275fac=function(t){return new(t||i)(Le(er))};static \u0275prov=W({token:i,factory:i.\u0275fac})};var Q8=class i extends t1{getPerAnalisisCartera(){return this.getRequest("/api/kpi/getPerAnalisisCartera").pipe(B(this.errorHandler))}getAnalisisCartera(e,t,n,r){return this.getRequest("/api/kpi/getAnalisisCartera?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasNoRenovadasKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasNoRenovCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasRenovadasKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasRenovCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasAnuladasKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasAnuladasCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasBajasKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasBajasCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasEmitidasKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasEmitidasCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasVigentesKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasVigentesCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasAltasKpiCount(e,t,n,r){return this.getRequest("/api/kpi/getPolizasAltasCount?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasNoRenovadas(e,t,n,r){return this.getRequest("/api/kpi/getPolizasNoRenovadas?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasRenovadas(e,t,n,r){return this.getRequest("/api/kpi/getPolizasRenovadas?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasAnuladas(e,t,n,r){return this.getRequest("/api/kpi/getPolizasAnuladas?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasBajas(e,t,n,r){return this.getRequest("/api/kpi/getPolizasBajas?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasEmitidas(e,t,n,r){return this.getRequest("/api/kpi/getPolizasEmitidas?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasVigentes(e,t,n,r){return this.getRequest("/api/kpi/getPolizasVigentes?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPolizasDeudaVencida(e,t,n){return this.getRequest("/api/kpi/getPolizasDeudaVencida?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE=15/07/2018&FECHA_HASTA=15/07/2019&ESTADO=1").pipe(B(this.errorHandler))}getPolizasCuotasXVencer(e,t,n,r,o){return this.getRequest("/api/kpi/getPolizasCuotasXVencer?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE="+r+"&FECHA_HASTA="+o+"&ESTADO=1").pipe(B(this.errorHandler))}
800getPolizasPorVencer(e,t,n){return this.getRequest("/api/kpi/getPolizasPorVencer?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE=15/07/2018&FECHA_HASTA=15/07/2019&ESTADO=1").pipe(B(this.errorHandler))}getPolizasSinPend(e,t,n){return this.getRequest("/api/kpi/getPolizasSinPend?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE=15/07/2018&FECHA_HASTA=15/07/2019&ESTADO=1").pipe(B(this.errorHandler))}getPolizasSinAbiertos(e,t,n){return this.getRequest("/api/kpi/getPolizasSinAbiertos?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE=15/07/2018&FECHA_HASTA=15/07/2019&ESTADO=1").pipe(B(this.errorHandler))}getPolizasInspecPend(e,t,n){return this.getRequest("/api/kpi/getPolizasInspecPend?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE=15/07/2018&FECHA_HASTA=15/07/2019&ESTADO=1").pipe(B(this.errorHandler))}getPolizasPropPend(e,t,n){return this.getRequest("/api/kpi/getPolizasPropPend?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo=1&FECHA_DESDE=15/07/2018&FECHA_HASTA=15/07/2019&ESTADO=1").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var K8=class i extends t1{getPrimaAcumPorRamo(e,t,n,r){return this.getRequest("/api/kpi/getPrimaAcumPorRamo?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getCantPolPorRamo(e,t,n,r){return this.getRequest("/api/kpi/getCantPolPorRamo?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getCantPolPorStock(e,t,n,r){return this.getRequest("/api/kpi/getCanPolizasPorStock?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getComisionesPorRamo(e,t,n,r){return this.getRequest("/api/kpi/getComisionesPorRamo?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getFomentoPorGrupo(e,t,n,r){return this.getRequest("/api/kpi/getFomentoPorGrupo?grupo="+e+"&organizador="+t+"&productor="+n+"&periodo="+r+"&FECHA_DESDE=&FECHA_HASTA=&ESTADO=1").pipe(B(this.errorHandler))}getPerAnalisisComercial(){return this.getRequest("/api/kpi/getPerAnalisisComercial").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var X8=class i extends t1{getStockKpi(e){return this.getRequest("/api/kpi/getStockKpi?grupo="+e).pipe(B(this.errorHandler))}postStockKpi(e){return this.postRequest("/api/kpi/postKpi",e,null).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var Z8=class i extends Ke{getAccesoWifi(){return this.getRequest("/v1/accesos-wifi").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var J8=class i extends Ke{getTiposOperacion(){let e={codSeccion:"004"};
800return this.getRequestParams("/v1/polizas/tipos-de-operacion",e).pipe(B(this.errorHandler))}getTiposOperacionCotizador(e,t,n){let r={codSeccion:"004",codGrupo:e,codOrganizador:t,codProductor:n};return this.getRequestParams("/v1/polizas/tipos-de-operacion",r).pipe(B(this.errorHandler))}getBienesCubiertosSiniestrables(e,t,n,r,o,a){let s={npoliza:e,nsuplemento:t,nroRiesgo:n,idSeccion:r,idTipoSiniestro:o,idCausaSiniestro:a};return this.getRequestParams("/v1/polizas/bienes-cubiertos-siniestrables",s).pipe(B(this.errorHandler))}getRiesgosSiniestrables(e){return this.getRequestParams("/v1/polizas/riesgos-siniestrables",e.getParams()).pipe(B(this.error400Handler))}getTiposDeCausa(e,t,n){let r={npoliza:e,nroRiesgo:t,idSeccion:n};return this.getRequestParams("/v1/polizas/siniestros/tipos-de-causas",r).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}error400Handler(e){return Ve(e||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var e5=class i extends Ke{getDatosRenovacion(e,t,n,r,o){let a={npoliza:e,nroTipoOperacion:t,codGrupo:n,codOrganizador:r,codProductor:o};
800return this.getRequestParams("/v1/polizas/motor/datos-renovacion",a).pipe(B(this.errorHandler))}getDatosReemplazo(e,t,n,r,o,a){let s={npoliza:e,nroTipoOperacion:t,feVigDesde:n,codGrupo:r,codOrganizador:o,codProductor:a};return this.getRequestParams("/v1/polizas/motor/datos-reemplazo",s).pipe(B(this.errorHandler))}getDatosRetencion(e,t,n,r,o,a){let s={npoliza:e,nroTipoOperacion:t,feVigDesde:n,codGrupo:r,codOrganizador:o,codProductor:a};return this.getRequestParams("/v1/polizas/motor/datos-reemplazo",s).pipe(B(this.errorHandler))}getClausulasAdicionales(){return this.getRequest("/v1/polizas/motor/clausulas-adicionales").pipe(B(this.errorHandler))}getCausasRebajas(e){return this.getRequestParams("/v1/polizas/motor/causas-rebajas",e.getParams()).pipe(B(this.errorHandler))}getTiposCobertura(){return this.getRequest("/v1/polizas/motor/tipos-coberturas").pipe(B(this.errorHandler))}getCoberturas(e){return this.getRequestParams("/v1/polizas/motor/coberturas",e.getParams()).pipe(B(this.errorHandler))}getProductos(e){return this.getRequestParam
800s("/v1/polizas/motor/productos",e.getParams()).pipe(B(this.errorHandler))}getPortfolioDefense(e,t){let n={npoliza:e,descModo:t};return this.getRequestParams("/v1/polizas/motor/info-portfolio-defense",n).pipe(B(this.errorHandler))}getCausasAjusteTecnico(e,t){let n={codCausaAjusteTecnico:e,porcAjusteTecnico:t};return this.getRequestParams("/v1/polizas/motor/causas-ajuste-tecnico",n).pipe(B(this.errorHandler))}getInfoBonusMalus(e,t,n,r,o){let a=n+r,s={codTipoOperacion:e,npoliza:t,codAsegurado:a,descSistema:o};return this.getRequestParams("/v1/polizas/motor/info-bonus-malus",s).pipe(B(this.errorHandler))}getClausulasAjuste(e){let t={codTipoPoliza:e};return this.getRequestParams("/v1/polizas/motor/clausulas-ajuste",t).pipe(B(this.errorHandler))}getTipoAcreedor(){return this.getRequest("/v1/polizas/motor/tipo-acreedor").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var t5=class i extends Ke{getSumaAsegurada(e,t,n,r,o,a,s,l,u,h,_,y,b){let x={codVehiculo:e,npoliza:t,anioFabricImpresion:n,anioFabricSuma:r,anioFabricDescuentos:o,codTipoVehiculo:a,codTipoOperacion:s,codCobertura:l,codProductor:u,codOrganizador:h,codGrupo:_,codZona:y,impSumaAsegurada:b};
800return this.getRequestParams("/v1/vehiculos/suma-asegurada",x).pipe(B(this.errorHandler))}getAccesorios(){return this.getRequest("/v1/vehiculos/accesorios").pipe(B(this.errorHandler))}getTipos(e){let t=null;return e&&(t.codigo=e),this.getRequestParams("/v1/vehiculos/tipos",t).pipe(B(this.errorHandler))}getAnios(){return this.getRequest("/v1/vehiculos/anios").pipe(B(this.errorHandler))}getMarcas(e){let t={anio:e};return this.getRequestParams("/v1/vehiculos/marcas",t).pipe(B(this.errorHandler))}getTipoConductor(){return this.getRequestParams("/v1/vehiculos/tipos-de-conductor",null).pipe(B(this.errorHandler))}getTiposLocalizador(e){return this.getRequestParams("/v1/vehiculos/tipos-localizador",e.getParams()).pipe(B(this.errorHandler))}getActividades(e){let t={codactividad:e};return this.getRequestParams("/v1/vehiculos/actividades",t).pipe(B(this.errorHandler))}getCategoriasRC(e,t){let n={feFiltro:e,codTipoVehiculo:t};return this.getRequestParams("/v1/vehiculos/categorias-rc",n).pipe(B(this.errorHandler))}getModelos(e,t,n){let r={codMarcaVeh:e,anioModelo:t,codTipoCobertura:n};
800return this.getRequestParams("/v1/vehiculos/modelos",r).pipe(B(this.errorHandler))}getModelosSis(e,t,n){let r=e=="AZ"?{codVehAllianz:n,anioModelo:t}:{codVehInfoautos:n,anioModelo:t};return this.getRequestParams("/v1/vehiculos/modelos",r).pipe(B(this.errorHandler))}getTiposCarga(e){let t={codactividad:e};return this.getRequestParams("/v1/vehiculos/tipos-de-carga",t).pipe(B(this.errorHandler))}getValidaPatente(e,t,n){let r={nroPatente:e,codTipoveh:t,nroModelo:n};return this.getRequestParams("/v1/vehiculos/valida-patente",r).pipe(B(this.errorHandler))}getValidaUsoVehiculo(e,t){let n={codVehAllianz:e,codUso:t};return this.getRequestParams("/v1/vehiculos/valida-uso-vehiculo",n).pipe(B(this.errorHandler))}getUsoVehiculo(){return this.getRequest("/v1/vehiculos/usos").pipe(B(this.errorHandler))}getTipoUsoVehiculo(){return this.getRequest("/v1/vehiculos/tipos-de-usos").pipe(B(this.errorHandler))}getTiposMotor(){return this.getRequest("/v1/inspecciones/vehiculos/motores/tipos").pipe(B(this.errorHandler))}getEstadosMotor(){return this.getRequest("/v1/inspecciones/vehiculos/motores/estados").pipe(B(this.errorHandler))}getEstadosChasis(){return this.getRequest("/v1/inspecciones/vehiculos/chasis/estados").pipe(B(this.errorHandler))}getMarcasCubiertas(){return this.getRequest("/v1/inspecciones/vehiculos/cubiertas").pipe(B(this.errorHandler))}getLlantas(){return this.getRequest("/v1/inspecciones/vehiculos/llantas").pipe(B(this.errorHandler))}getCentrosInspeccion(e){let t={codProveedorInsp:e};
800return this.getRequestParams("/v1/inspecciones/vehiculos/centros",t).pipe(B(this.errorHandler))}getDiasInspeccion(){return this.getRequest("/v1/inspecciones/dias").pipe(B(this.errorHandler))}getTurnosInspeccion(e,t,n){let r={codProveedorInsp:t,fecha:e,codLocalidad:n};return this.getRequestParams("/v1/inspecciones/turnos",r).pipe(B(this.errorHandler))}getHorariosInspeccion(){return this.getRequest("/v1/inspecciones/horarios").pipe(B(this.errorHandler))}getSectoresVehiculos(){return this.getRequest("/v1/inspecciones/vehiculos/sectores").pipe(B(this.errorHandler))}getEstadosSectoresVehiculos(e){let t={marcaGeneral:e};return this.getRequestParams("/v1/inspecciones/vehiculos/sectores/estados",t).pipe(B(this.errorHandler))}getVehiculosTransportar(){return this.getRequest("/v1/vehiculos/transportados").pipe(B(this.errorHandler))}getPedidoTecnored(e){return this.postRequest("/v1/inspecciones/pedidos-tecnored",e).pipe(B(this.errorHandler))}buscarPatenteTecnored(e){return this.getRequestParams("/v1/vehiculos/inspecciones-patente",e).pipe(B(this.errorHandler))}
800verificarTecnoRed(e){return this.getRequestParams("/v1/inspecciones/verificaciones-tecnored",e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var n5=class i extends Ke{getCondicionesIVA(){return this.getRequest("/v1/impuestos/condiciones-iva").pipe(B(this.errorHandler))}getCondicionesIIBB(){return this.getRequest("/v1/impuestos/condiciones-iibb").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var i5=class i extends Ke{getLocalidades(e){return this.getRequestParams("/v1/localidades",e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var r5=class i extends Ke{getProvincias(e){let t={codPostal:e};
800return this.getRequestParams("/v1/provincias",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var U2=class{codTipoDocumento;nroDocumento;constructor(e,t){this.codTipoDocumento=e,this.nroDocumento=t}getParams(){return{codTipoDocumento:this.codTipoDocumento,nroDocumento:this.nroDocumento}}};var sp=class i extends Ke{getAsegurados(e){return this.getRequestParams("/v1/personas/asegurados",e.getParams()).pipe(B(this.errorHandler))}getAseguradosSimple(e){return this.getRequestParams("/v1/personas/asegurados/simple",e.getParams()).pipe(B(this.errorHandler))}getDocumentosPersonaRegister(){return this.getRequest("/mi-allianz/public/user/documents").pipe(B(this.errorHandler))}getDatosPersona(e,t){let n={codigo:e,nroDni:t};return this.getRequestParams("/v1/personas/datos",n).pipe(B(this.errorHandler))}getTiposDeDocumentos(){return this.getRequest("/v1/personas/tipos-de-documento").pipe(B(this.errorHandler))}getValidarDocumento(e,t){let n=new U2(e,t).getParams();
800return this.getRequestParams("/v1/personas/validar-documento",n).pipe(B(this.errorHandler))}getValidarEmbargo(e,t){let n=new U2(e,t).getParams();return this.getRequestParams("/v1/personas/validar-embargo",n).pipe(B(this.errorHandler))}getValidarIIBB(e,t){let n=new U2(e,t).getParams();return this.getRequestParams("/v1/personas/validar-iibb",n).pipe(B(this.errorHandler))}deleteDatosUserCsm(e){return this.deleteRequest(`/csm/user/${e.id}`,[],[]).pipe(B(this.errorHandler))}getValidarPersonaFraudulenta(e,t){let n=new U2(e,t).getParams();return this.getRequestParams("/v1/personas/validar-persona-fraudulenta",n).pipe(B(this.errorHandler))}getTipoPersona(){return this.getRequest("/v1/personas/tipos-de-persona").pipe(B(this.errorHandler))}getGeneroPersona(){return this.getRequest("/v1/personas/generos").pipe(B(this.errorHandler))}getPersonaPrendario(e,t){let n={tipo:e,doc:t};return this.getRequestParams("/v1/public/detalle-prendario",n).pipe(B(this.errorHandler))}postRegisteruser(e){return this.postRequest("/mi-allianz/public/user/register",e).pipe(B(this.errorHandler))}getUserByEmail(e){let t={email:e};return this.getRequest(`/mi-allianz/public/user/email/${e}`).pipe(B(this.errorHandler))}getRegister(e){return this.postRequest("/api/mi-allianz/public/user/register",e).pipe(B(this.errorHandler))}getMediosDePagos(e,t,n,r,o){let a={descAsegurado:e,pagactual:t,regpaginacion:n,nroCotizacion:r,idProceso:o};
800return this.getRequestParams("/v1/personas/asegurados/tarjetas",a).pipe(B(this.errorHandler))}getProfileData(e){let t={dni:e};return this.getRequestParams("/v1/personas/asegurados/perfil",t).pipe(B(this.errorHandler))}getPolizasTarjeta(e,t,n,r,o,a){let s={npoliza:e,codGrupo:t,regpaginacion:a,codOrganizador:n,codProductor:r,pagactual:o};return this.getRequestParams("/v1/polizas/tarjetas",s).pipe(B(this.errorHandler))}postPersonaDef(e){return this.postRequest("/v1/personas/",e).pipe(B(this.errorHandler))}putPersonaDef(e){return this.putRequest("/v1/personas/",e).pipe(B(this.errorHandler))}postPersona(e){return new Promise((t,n)=>{this.postPersonaDef(e).toPromise().then(r=>{this.validarResponse(r.PersonaOut[0]),t(r)}).catch(r=>{n(r)})})}putPersona(e){return new Promise((t,n)=>{this.putPersonaDef(e).toPromise().then(r=>{this.validarResponse(r.PersonaOut[0]),t(r)}).catch(r=>{n(r)})})}getperson(e){let t={doc:e};return this.getRequestParams("/v1/public/registracion/respuestas",t).pipe(B(this.errorHandler))}getValidatePerson(e){return this.postRequest("/mi-allianz/public/user/validate-person",e).pipe(B(this.errorHandler))}getValidatePersonSendError(e){return this.postRequest("/mi-allianz/public/user/validate-person-send-error",e).pipe(B(this.errorHandler))}postPersonSendMailError(e){return this.postRequest("/mi-allianz/public/user/validate-person-send-error",e).pipe(B(this.errorHandler))}getDocumentosPersona(){return this.getRequest("/csm/rd/documents").pipe(B(this.errorHandler))}postNerUser(e){return this.postRequest("/mi-allianz/public/user",e).pipe(B(this.errorHandler))}forgotPassword(e){return this.postRequest("/mi-allianz/public/user/forgot-password",e).pipe(B(this.errorHandler))}resetPassword(e,t){return this.postRequest(`/mi-allianz/public/user/${t}/force-new-password`,e).pipe(B(this.errorHandler))}getPersonaListCsm(e){return this.getRequest(`/csm/admin/user?size=20&page=0&filter=${e}`).pipe(B(this.errorHandler))}getPersonaCsm(e){return this.getRequest(`/csm/admin/user/${e}`).pipe(B(this.errorHandler))}putPersonaCsm(e){return this.putRequest(`/csm/admin/user/${e.id}`,e).pipe(B(this.errorHandler))}postDocumentsPersonaCsm(e,t){return this.postRequest(`/csm/admin/user/${e}/documents`,t).pipe(B(this.errorHandler))}validarResponse(e){if(e.response.description)throw{codigo:e.response.responseCode,descripcion:e.response.description}}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var o5=class i extends Ke{getValidarAseguradoCartera(e){return this.getRequestParam
800s("/v1/comercial/validar-asegurado-cartera",e.getParams()).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var a5=class i extends Ke{getPlanDePago(e,t,n,r,o,a){let s={feVigencia:e,codSeccion:t,codTipoOperacion:n,codTipoPoliza:r,feIniVig:o,feFinVig:a};return this.getRequestParams("/v1/finanzas/planes-de-pago",s).pipe(B(this.errorHandler))}getFormasDePago(e,t,n){let r={feVigencia:e,codMedioPago:t,codSeccion:n};return this.getRequestParams("/v1/finanzas/formas-de-pago",r).pipe(B(this.errorHandler))}getBancos(){return this.getRequest("/v1/finanzas/bancos").pipe(B(this.errorHandler))}getTarjetas(){return this.getRequest("/v1/finanzas/tarjetas").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var s5=class i extends Ke{getTipoPoliza(){return this.getRequest("/v1/tipos-poliza").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var l5=class i extends Ke{postCotizacionMotor(e){return this.postRequest("/v1/cotizaciones/motor",e).pipe(B(this.errorHandler))}putCotizacionMotor(e){return this.putRequest("/v1/cotizaciones/motor",e).pipe(B(this.errorHandler))}
800getCotizaciones(e){return this.getRequestParams("/v1/cotizaciones/motor",e).pipe(B(this.errorHandler))}getValidaMotor(e){let t={nroMotor:e};return this.getRequestParams("/v1/cotizaciones/validar-motor-chasis",t).pipe(B(this.errorHandler))}getValidaChasis(e){let t={nroChasis:e};return this.getRequestParams("/v1/cotizaciones/validar-motor-chasis",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var c5=class i extends Ke{getSecciones(e,t){let n={codSeccion:e,descSeccion:t};return this.getRequestParams("/v1/secciones",n).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var d5=class i extends Ke{getCotizacionEstados(e,t){let n={codEstado:e,descEstado:t};return this.getRequestParam
800s("/v1/cotizaciones/estados",n).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var u5=class i extends Ke{postEmisionMotor(e,t){let n={CotComposicionIn:{cotizacion:{idProceso:e,poliza:{nroCotizacion:t,nroPeg:null,nroSolicitud:null}}}};return this.postRequest("/v1/emision/motor",n).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var p5=class i extends Ke{getEmisionCopiaDePoliza(e){let t={nroCotizacion:e};return this.getRequestParams("/v1/emision/copia-de-poliza",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var f5=class i extends Ke{getVehiculosFotos(e,t){let n={nroCotizacion:e,patente:t};
800return this.getRequestParams("/v1/inspecciones/vehiculos/fotos",n).pipe(B(this.errorHandler))}deleteVehiculosFotos(e,t,n){let r={nroVerificacion:e,patente:t,codSectorFoto:n};return this.deleteRequest("/v1/inspecciones/vehiculos/fotos",[],r).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var m5=class i extends Ke{getPaises(e){let t={codPais:e};return this.getRequestParams("/v1/paises",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var h5=class i extends Ke{getPolEndNc(e){return this.getRequestParams("/v1/polizas/retencion/notas-credito",e).pipe(B(this.errorHandler))}postPolEndNc(e){return this.postRequest("/v1/polizas/retencion/notas-credito",e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var g5=class i extends Ke{getValidacionMail(e){let t={listaDestinatarios:e};
800return this.getRequestParams("/v1/correos/validar-formato",t).pipe(B(this.errorHandler))}getValidacionTel(e){let t={telefono:e};return this.getRequestParams("/v1/telefonos/validar-formato",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var _5=class i extends Ke{getLineas(){return this.getRequest("/v1/lineas").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var v5=class i extends Ke{getOperaciones(){return this.getRequest("/v1/polizas/tipos-de-operacion").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var x5=class i extends Ke{getTipoBloqueo(){return this.getRequest("/v1/cotizaciones/tipos-de-bloqueos").pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var b5=class i extends Ke{postBloqueosBaja(e){return this.postRequest("/v1/cotizaciones/bloqueos/baja",e).pipe(B(this.errorHandler))}postBloqueosAutoriza(e){return this.postRequest("/v1/cotizaciones/bloqueos/autoriza",e).pipe(B(this.errorHandler))}postBloqueosRechaza(e){return this.postRequest("/v1/cotizaciones/bloqueos/rechaza",e).pipe(B(this.errorHandler))}putBloqueos(e){return this.putRequest("/v1/cotizaciones/bloqueos",e).pipe(B(this.errorHandler))}
800getBloqueos(e){return this.getRequestParams("/v1/cotizaciones/bloqueos",e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var C5=class i extends Ke{getCotizacionBloqueosEstados(e,t,n){let r={codEstado:e,descEstado:t,descExplicacion:n};return this.getRequestParams("/v1/cotizaciones/bloqueos/estados",r).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var y5=class i extends Ke{getValidacionAsegurado(e,t){let n={tipoDni:e,nroDni:t};return this.getRequestParams("/v1/cotizaciones/leads/validar-asegurado",n).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var M5=class i extends Ke{getTemas(){return this.getRequest("/graficos-peg/temas").pipe(B(this.errorHandler))}getNotifPEG(){return this.getRequest("/v1/comercial/peg_notificaciones").pipe(B(this.errorHandler))}getQueryPorTipo(e){return this.postRequest("/graficos-peg/query",e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var w5=class i extends Ke{getNotifications(e,t,n){let r={userId:e,dias:t,pagActual:n};
800return this.getRequestParams("/v1/notificaciones",r).pipe(B(this.errorHandler))}getNewNotifications(e,t,n){let r={userId:e,dias:t,pagActual:n};return this.getRequestParams("/v1/notificaciones/nuevas",r).pipe(B(this.errorHandler))}getReadedNotifications(e,t,n){let r={userId:e,dias:t,pagActual:n};return this.getRequestParams("/v1/notificaciones/leidas",r).pipe(B(this.errorHandler))}putMarkAsRead(e){return this.putRequest("/v1/notificaciones/marcar-leidas",e,null).pipe(B(this.errorHandler))}putAllMarkAsRead(e){return this.putRequest("/v1/notificaciones/marcar-leidas",e,null).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var S5=class i extends Ke{getDatosExport(e){return this.getRequestParams("/v1/cotizaciones/export",e).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var P5=class i extends Ke{postEnviarMensaje(e,t,n,r){let o=new FormData;return o.append("subject","Contacto miAllianz  - Motivo de consulta: "+n),o.append("body",e),o.append("dni",t),o.append("source","mi-allianz"),r?.map(a=>{o.append("attachments",a)}),this.postRequest("/mi-allianz/private/contact",o).pipe(B(this.errorHandler))}postMailSubs(e){let t={RsSetMailsubsIn:{body:e}};return this.postRequest("/v1/digital/actualiza-mailsubs",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var lp=class i extends Ke{addRoles(e,t){let n={userName:e,userType:t,roleNames:["ROLE_PWA_USERS","ROLE_FMS_ASEGURADO","ROLE_CSM_ASEGURADO"]};return this.postRequest("/csm/user/add-roles",n).pipe(B(this.errorHandler))}grantRoles(e){let t={userName:e};return this.postRequest("/mi-allianz/private/user/delegate/grant-roles",t).pipe(B(this.errorHandler))}serviceImpersonar(e){let t={userName:e};return this.postRequest("/mi-allianz/private/user/delegate/impersonar",t).pipe(B(this.errorHandler))}deleteRoles(e,t,n,r){let o={userName:e,userType:n,grantees:[{userName:t,userType:r}],roleNames:["ROLE_PWA_DELEGADO"]};return this.postRequest("/csm/user/revoke-roles",o).pipe(B(this.errorHandler))}listUserGrants(e,t){let n={userName:e,userType:t,applicationName:"PortalWebAsegurados"};return this.postRequest("/csm/user/list-user-grants",n).pipe(B(this.errorHandler))}listuserRoles(e,t){let n={userName:e,userType:t,applicationName:"PortalWebAsegurados"};return this.postRequest("/csm/user/list-user-roles",n).pipe(B(this.errorHandler))}activateGrant(e){let t={id:e};return this.postRequest("/csm/user/activate-grant",t).pipe(B(this.errorHandler))}findUserToDelegate(e){let t={email:e};
800return this.getRequestParams("/v1/siniestros-documentos/csm-personas-mail",t).pipe(B(this.errorHandler))}findUserToDelegateDni(e,t){let n={tipo:e,documento:t};return this.getRequestParams("/v1/siniestros-documentos/csm-personas-mail",n).pipe(B(this.errorHandler))}sendMailToCreateUser(e){let t={userName:e,email:e};return this.postRequest("/mi-allianz/private/user/delegate/email",t).pipe(B(this.errorHandler))}verifyTokenPassMiAllianz(e){return this.getRequest(`/mi-allianz/public/user/${e}`).pipe(B(this.errorHandler))}verifyToken(e){return this.postRequest(`/registracion/public/user/${e}/register`,[]).pipe(B(this.errorHandler))}registerTokenVerify(e){return this.getRequest(`/registracion/public/user/${e}/validate`).pipe(B(this.errorHandler))}createNewDelegate(e,t){return this.postRequest(`/mi-allianz/public/user/${e}/register-delegate`,t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.error.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var E5=class i extends Ke{postchangepassword(e,t,n){let r={userName:e,userType:2,currentPassword:t,newPassword:n};return this.postRequest("/csm/user/update-user-password",r).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.error.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};async function D5(i){if(!i||i.error==null)return null;try{let e=i.error;if(typeof e=="string")return ER(e);if(e instanceof Blob){let t=await Vde(e);return ER(t)}return e}catch{return null}}function ER(i){try{return JSON.parse(i)}catch{return i}}function Vde(i){return new Promise((e,t)=>{let n=new FileReader;n.onload=()=>e(n.result),n.onerror=()=>t(n.error),n.readAsText(i)})}var cp=class i extends Ke{constructor(t,n){super(t);this.eventsService=n}addContactCenterUser(t){let n={nombre:t.nombre,apellido:t.apellido,email:t.correoElectronico,nroDocumento:t.documento.numeroDocumento,tipoDocumento:t.documento.tipoDocumento.documentTypeCode,tipoDocumentoId:t.documento.tipoDocumento.id,password:"",telefono:"",celular:""};return this.postRequest("/mi-allianz/private/user/register-contact-center",n).pipe(B(this.errorHandler))}createNewUserMiAllianz(t,n){return this.postRequest(`/mi-allianz/public/user/${t}/register`,n).pipe(B(this.errorHandler))}getVidaCotizacionCrossseling(){let t="/mi-allianz/private/user/vida-cotizacion-crossseling";return this.postRequest(t,null).pipe(Ii(()=>{this.eventsService.logEventInBackground(Ar.SOLICITA_CONTACTO_VIDA_PROTECCION.action,Ar.SOLICITA_CONTACTO_VIDA_PROTECCION.description,this.getFullUrl(t),null,null,null)}),B(async n=>{let r=await D5(n);return this.eventsService.logErrorInBackground(Ar.SOLICITA_CONTACTO_VIDA_PROTECCION.action,Ar.SOLICITA_CONTACTO_VIDA_PROTECCION.error,this.getFullUrl(t),null,null,r,n?.status||500),this.errorHandler(n)}))}errorHandler(t){return Ve(t?.error?.message||"Server Error")}static \u0275fac=function(n){return new(n||i)(Le(er),Le(Do))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var dp=class i extends Ke{getDatosMarketing(e){let t={dni:e,proveedor:"1"};
800return this.getRequestParams("/v1/marketing/adherido",t).pipe(B(this.errorHandler))}postAltaMarketing(e){return this.postRequest("/v1/marketing/alta-promo",e).pipe(B(this.errorHandler))}getBajaMarketing(e){return this.postRequest("/v1/marketing/baja-promo",e).pipe(B(this.errorHandler))}userMkt(e){let t={dni:e,proveedor:1};return this.getRequestParams("/v1/marketing/adherido",t).pipe(B(this.errorHandler))}getIdMensaje(e){let t={source:"mi-allianz",dni:e};return this.getRequestParams("/mi-allianz/private/message/id",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var O5=class i extends Ke{postRegister(e,t){return this.postRequest(`/registracion/public/user/${e}/register`,t).pipe(B(this.errorHandler))}postCheckUser(e){return this.postRequest("/registracion/public/user/check",e).pipe(B(this.errorHandler))}postValidateEmail(e){return this.postRequest("/registracion/public/user/validate-email",e).pipe(B(this.errorHandler))}postTokenRequest(e){return this.postRequest("/registracion/public/user/token-request",e).pipe(B(this.errorHandler))}postValidateResponses(e,t){return this.postRequest(`/registracion/public/user/${e}/validate-answers`,t).pipe(B(this.errorHandler))}postValidateToken(e){return this.postRequest(`/registracion/public/user/${e}/validate`,{}).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var Tn=class i{novedades=[];oldNotifications=[];newNotifications=[];passService=C(E5);userInformationService=C(G8);pedidosGenericosMenu=C(U8);ayudaMenuService=C(q8);usuarioService=C(j8);novedadesService=C(L8);bannersService=C(H8);menuService=C(B8);footerService=C($8);favoritosService=C(W8);accesosDirectosService=C(Y8);analisisDeCarteraService=C(Q8);analisisComercial=C(K8);_http=C(er);stockKpiService=C(X8);polizasService=C(J8);polizasMotorService=C(e5);vehiculosService=C(t5);finanzasService=C(a5);impuestosService=C(n5);localidadService=C(i5);provService=C(r5);personasService=C(sp);comercialService=C(o5);coberturaService=C(s5);cotizacionMotor=C(l5);accesosWifiService=C(Z8);cotizacionEstado=C(d5);seccionesService=C(c5);emisionMotor=C(u5);emisionCopiaDePolizaService=C(p5);paisesService=C(m5);validacionDatosPersonaService=C(g5);fotosVehiculo=C(f5);lineaService=C(_5);tipoOperacionService=C(v5);tipoBloqueoService=C(x5);bloqueos=C(b5);estadobloqueos=C(C5);cotizacionleads=C(y5);polizasRetServ=C(h5);pegService=C(M5);notificationsService=C(w5);datosExport=C(S5);enviarMensaje=C(P5);delService=C(lp);conCenterService=C(cp);mkservice=C(dp);registerService=C(O5);logout(e){typeof e=="string"&&e.split(": ")[1].split(" ")[0]=="401"&&(Se.hasSession=!1,this._http.post("/public/logout",{}).subscribe(t=>{window.location.href=Se.oauth2.baseUrl+"/logout?redirect_uri="+window.location.origin+"/"}))}postCotizacionMotor(e){return new Promise((t,n)=>{this.cotizacionMotor.postCotizacionMotor(e).toPromise().then(r=>{this.validarResponse(r.CotComposicionOut[0]),t(r)}).catch(r=>{this.logout(r),n(r)})})}putCotizacionMotor(e){return new Promise((t,n)=>{this.cotizacionMotor.putCotizacionMotor(e).toPromise().then(r=>{this.validarResponse(r.CotRespuestaOut[0]),t(r)}).catch(r=>{this.logout(r),n(r)})})}postEmisionMotor(e,t){return new Promise((n,r)=>
800{this.emisionMotor.postEmisionMotor(e,t).toPromise().then(o=>{this.validarResponse(o.CotRespuestaOut[0]),n(o)}).catch(o=>{this.logout(o),r(o)})})}getCotizaciones(e){return this.cotizacionMotor.getCotizaciones(e).toPromise().then(t=>(this.validarResponse(t.ConsCotizacionOut[0]),this.evaluarRespuesta(t.ConsCotizacionOut[0],null))).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getDatosPersona(e,t){return this.personasService.getDatosPersona(e,t).toPromise().then(n=>(this.validarResponse(n.CotAseguradoOut[0]),this.evaluarRespuesta(n.CotAseguradoOut[0],"asegurado"))).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}getDatosRenovacion(e,t,n,r,o){return this.polizasMotorService.getDatosRenovacion(e,t,n,r,o).toPromise().then(a=>(this.validarResponse(a.CotComposicionOut[0]),this.evaluarRespuesta(a.CotComposicionOut[0],"cotizacion"))).catch(a=>(this.logout(a),new Promise((s,l)=>{l(a)})))}getDatosReemplazo(e,t,n,r,o,a){return this.polizasMotorService.getDatosReemplazo(e,t,n,r,o,a).toPromise().then(s=>(this.validarResponse(s.CotComposicionOut[0]),this.evaluarRespuesta(s.CotComposicionOut[0],"cotizacion"))).catch(s=>(this.logout(s),new Promise((l,u)=>{u(s)})))}getDatosRetencion(e,t,n,r,o,a){return this.polizasMotorService.getDatosRetencion(e,t,n,r,o,a).toPromise().then(s=>(this.validarResponse(s.CotComposicionOut[0]),this.evaluarRespuesta(s.CotComposicionOut[0],"cotizacion"))).catch(s=>(this.logout(s),new Promise((l,u)=>{u(s)})))}validarAseguradoCarter(e){return this.comercialService.getValidarAseguradoCartera(e).toPromise().then(t=>(this.validarResponse(t.CotValidacionesOut[0]),this.evaluarRespuesta(t.CotValidacionesOut[0],"response"))).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}validarDocumento(e,t){return this.personasService.getValidarDocumento(e,t).toPromise().then(n=>(this.validarResponse(n.CotValidacionesOut[0]),this.evaluarRespuesta(n.CotValidacionesOut[0],"response"))).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}validarEmbargo(e,t){return this.personasService.getValidarEmbargo(e,t).toPromise().then(n=>(this.validarResponse(n.CotValidacionesOut[0]),this.evaluarRespuesta(n.CotValidacionesOut[0],"response"))).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}validarIIBB(e,t){return this.personasService.getValidarIIBB(e,t).toPromise().then(n=>(this.validarResponse(n.CotValidacionesOut[0]),this.evaluarRespuesta(n.CotValidacionesOut[0],"response"))).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}validarPersonaFraudulenta(e,t){return this.personasService.getValidarPersonaFraudulenta(e,t).toPromise().then(n=>(this.validarResponse(n.CotValidacionesOut[0]),this.evaluarRespuesta(n.CotValidacionesOut[0],"response"))).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}getTiposDoc(){return this.personasService.getTiposDeDocumentos().toPromise().then(e=>this.evaluarRespuesta(e.TipoDocumentoOut[0],"tiposDocumentos")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getProfileData(e){return this.personasService.getProfileData(e).toPromise().then(t=>this.evaluarRespuesta(t.PersonaPerfilOut[0],"personaPerfil")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getTipoPersona(){return this.personasService.getTipoPersona().toPromise().then(e=>this.evaluarRespuesta(e.CotTipoPersonaOut[0],"tiposPersonas")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getUsoVehiculo(){return this.vehiculosService.getUsoVehiculo().toPromise().then(e=>this.evaluarRespuesta(e.CotUsoVehiculoOut[0],"vUso")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getTipoUsoVehiculo(){return this.vehiculosService.getTipoUsoVehiculo().toPromise().then(e=>this.evaluarRespuesta(e.CotUsoVehiculoOut[0],"vUso")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getTiposMotor(){return this.vehiculosService.getTiposMotor().toPromise().then(e=>e.CotTipoMotorInspOut&&e.CotTipoMotorInspOut[0].vTipoMotor?e.CotTipoMotorInspOut[0].vTipoMotor:null).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getEstadosMotor(){return this.vehiculosService.getEstadosMotor().toPromise().then(e=>this.evaluarRespuesta(e.CotEsMotorInspeccionOut[0],"vEstMotor")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getEstadosChasis(){return this.vehiculosService.getEstadosChasis().toPromise().then(e=>this.evaluarRespuesta(e.CotEstChasisInspOut[0],"vEstChasis")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getMarcasCubiertas(){return this.vehiculosService.getMarcasCubiertas().toPromise().then(e=>e.CotMarcaCubiertaInspOut&&e.CotMarcaCubiertaInspOut[0].vMarcaCubierta?e.CotMarcaCubiertaInspOut[0].vMarcaCubierta:null).cat
800ch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getLlantas(){return this.vehiculosService.getLlantas().toPromise().then(e=>e.CotLlantaInspOut&&e.CotLlantaInspOut[0].vLlanta?e.CotLlantaInspOut[0].vLlanta:null).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getPedidoTecnored(e){return this.vehiculosService.getPedidoTecnored(e).toPromise().then(t=>(this.validarResponse(t.PedidoInspTecnoredOut[0]),this.evaluarRespuesta(t.PedidoInspTecnoredOut[0],"pedidoStatus"))).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}buscarPatenteTecnored(e){return this.vehiculosService.buscarPatenteTecnored(e).toPromise().then(t=>this.evaluarRespuesta(t.InspeccionPatenteOut[0],null)).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}verificarTecnoRed(e){return this.vehiculosService.verificarTecnoRed(e).toPromise().then(t=>this.evaluarRespuesta(t.SolicitudInspeccionOut[0],null)).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getTipoPoliza(){return this.coberturaService.getTipoPoliza().toPromise().then(e=>this.evaluarRespuesta(e.TipoPolizaOut[0],"tipoPolizas")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getGeneroPersona(){return this.personasService.getGeneroPersona().toPromise().then(e=>this.evaluarRespuesta(e.CotGeneroOut[0],"generos")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getProvs(e){return this.provService.getProvincias(e).toPromise().then(t=>this.evaluarRespuesta(t.ProvinciaOut[0],"provincias")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}
800getPaises(e){return this.paisesService.getPaises(e).toPromise().then(t=>this.evaluarRespuesta(t.PaisOut[0],"paises")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getNacionalidad(){return new Promise(e=>{e([{codigo:"A",descripcion:"ARGENTINO/A"},{codigo:"E",descripcion:"EXTRANJERO/A"}])})}getCondicionesIIBB(){return this.impuestosService.getCondicionesIIBB().toPromise().then(e=>this.evaluarRespuesta(e.CotCondicionIibbOut[0],"iibb")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getCondicionesIVA(){return this.impuestosService.getCondicionesIVA().toPromise().then(e=>this.evaluarRespuesta(e.CotCondicionIvaOut[0],"iva")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getLocalidades1(e){return this.localidadService.getLocalidades(e).toPromise().then(t=>this.evaluarRespuesta(t.LocalidadOut[0],"localidades")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getPortfolioDefense(e,t){return this.polizasMotorService.getPortfolioDefense(e,t).toPromise().then(n=>this.evaluarRespuesta(n.CotInfoDefenseOut[0],"portfolio")).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}getCausasAjusteTecnico(e,t){return this.polizasMotorService.getCausasAjusteTecnico(e,t).toPromise().then(n=>this.evaluarRespuesta(n.CausaAjustePrimaTOut[0],"causaAjuste")).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}getTiposLocalizador(e){return this.vehiculosService.getTiposLocalizador(e).toPromise().then(t=>this.evaluarRespuesta(t.CotTipoLocalizadorOut[0],"localizador")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getTiposVehiculos(e){return this.vehiculosService.getTipos(e).toPromise().then(t=>this.evaluarRespuesta(t.CotTipoVehiculoOut[0],"tipo")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getAniosVehiculos(){return this.vehiculosService.getAnios().toPromise().then(e=>this.evaluarRespuesta(e.AnioVehiculoOut[0],"aniosVehiculo")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getMarcasVehiculos(e){return this.vehiculosService.getMarcas(e).toPromise().then(t=>this.evaluarRespuesta(t.FabricaVehiculoOut[0],"fabricas")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getTipoConductor(){return this.vehiculosService.getTipoConductor().toPromise().then(e=>this.evaluarRespuesta(e.CotTipoConductorOut[0],"tipoConductor")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getActVehiculos(e){return this.vehiculosService.getActividades(e).toProm
800ise().then(t=>this.evaluarRespuesta(t.CotTipoActividadOut[0],"tiposActividades")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getCategoriasRC(e,t){return this.vehiculosService.getCategoriasRC(e,t).toPromise().then(n=>this.evaluarRespuesta(n.CotCategoriaRcOut[0],"categorias")).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}getModelosVehiculos(e,t,n){return this.vehiculosService.getModelos(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.ModeloVehiculoOut[0],"modelos")).catch(r=>(this.logout(r),new Promise((o,a)=>{a(r)})))}getModelosVehiculosSis(e,t,n){return this.vehiculosService.getModelosSis(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.ModeloVehiculoOut[0],"modelos")).catch(r=>(this.logout(r),new Promise((o,a)=>{a(r)})))}getTiposCargaVehiculos(e){return this.vehiculosService.getTiposCarga(e).toPromise().then(t=>this.evaluarRespuesta(t.CotTipoCargaOut[0],"tiposCargas")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getValidaPatente(e,t,n){return this.vehiculosService.getValidaPatente(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.CotValidacionesOut[0],"response")).catch(r=>(this.logout(r),new Promise((o,a)=>{a(r)})))}getValidaMotor(e){return this.cotizacionMotor.getValidaMotor(e).toPromise().then(t=>this.evaluarRespuesta(t.MotorChasisOut[0],"response")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getValidaChasis(e){return this.cotizacionMotor.getValidaChasis(e).toPromise().then(t=>this.evaluarRespuesta(t.MotorChasisOut[0],"response")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getValidaUsoVehiculo(e,t){return this.vehiculosService.getValidaUsoVehiculo(e,t).toPromise().then(n=>this.evaluarRespuesta(n.CotValidacionesOut[0],"Response")).catch(n=>(this.logout(n),new Promise((r,o)=>{o(n)})))}getTipoOperacionPolizas(){return this.polizasService.getTiposOperacion().toPromise().then(e=>this.evaluarRespuesta(e.OperacionOut[0],"operaciones")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getTipoOperacionPolizasCotizador(e,t,n){return this.polizasService.getTiposOperacionCotizador(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.OperacionOut[0],"operaciones")).catch(r=>(this.logout(r),new Promise((o,a)=>{a(r)})))}getTipoCoberturaPolMotor(){return this.polizasMotorService.getTiposCobertura().toPromise().then(e=>this.evaluarRespuesta(e.CotTipoCoberturaOut[0],"tiposCoberturas")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getInfoBonusMalus(e,t,n,r,o){return this.polizasMotorService.getInfoBonusMalus(e,t,n,r,o).toPromise().then(a=>this.evaluarRespuesta(a.CotInfoBonusMalusOut[0],"bonusMalus")).catch(a=>(this.logout(a),new Promise((s,l)=>{l(a)})))}getCoberturas(e){return this.polizasMotorService.getCoberturas(e).toPromise().then(t=>this.evaluarRespuesta(t.CoberturaMotorOut[0],"cobertura")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getProductos(e){return this.polizasMotorService.getProductos(e).toPromise().then(t=>this.evaluarRespuesta(t.CotProductoOut[0],"producto")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getClausulasAdicionales(){return this.polizasMotorService.getClausulasAdicionales().toPromise().then(e=>this.evaluarRespuesta(e.CotClausulasAdicOut[0],"clausulaAdic")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getVehiculosTransportar(){return this.vehiculosService.getVehiculosTransportar().toPromise().then(e=>this.evaluarRespuesta(e.VehiculoTransOut[0],"vehiculos")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getClausulasAjuste(e){return this.polizasMotorService.getClausulasAjuste(e).toPromise().then(t=>this.evaluarRespuesta(t.ClausulaAjusteOut[0],"clausulasAjuste")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getCausasRebajas(e){return this.polizasMotorService.getCausasRebajas(e).toPromise().then(t=>this.evaluarRespuesta(t.CotCausaRebajaOut[0],"causasRebajas")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getLocalidades(e){}getProvincias(){}getAccesosDirectosFavoritos(e){return this.accesosDirectosService.getAccesosFavoritos(e).toPromise().then(t=>this.evaluarRespuesta(t.AccesoDirectoOut[0],"accesosDirectos")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getAccesosDirectos(e){return this.accesosDirectosService.getAccesosDirectos(e).toProm
800ise().then(t=>this.evaluarRespuesta(t.AccesoDirectoOut[0],"accesosDirectos")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}putAccesoFavorito(e){this.accesosDirectosService.putAccesoFavorito(e).toPromise().then(t=>{}).catch(t=>{this.logout(t)})}putDiasAccesosDir(e){return new Promise((t,n)=>{this.accesosDirectosService.putDiasAccesosDir(e).toPromise().then(r=>{t(r)}).catch(r=>{this.logout(r),n(r)})})}getPolEndNc(e){return this.polizasRetServ.getPolEndNc(e).toPromise().then(t=>this.evaluarRespuesta(t.PolizaEndosoNcOut[0],null)).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}postPolEndNc(e){return this.polizasRetServ.postPolEndNc(e).toPromise().then(t=>this.evaluarRespuesta(t.PolizaEndosoNcOut[0],"datos")).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getMenu(){return this.menuService.getMenu().toPromise().then(e=>this.evaluarRespuesta(e.MenuOut[0],"menus")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getNovedades(){return this.novedadesService.getNovedades().toPromise().then(e=>this.evaluarRespuesta(e.NovedadOut[0],"novedades")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getUserInformation(){return this.userInformationService.getUserInformation().toPromise().then(e=>this.evaluarRespuesta(e.InfUsuarioConectadoOut[0],"infUsuarioConectado")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getBanners(){return this.bannersService.getBanners().toPromise().then(e=>this.evaluarRespuesta(e.BannerOut[0],"banners")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getMenuUsuario(){return this.usuarioService.getUsuario().toPromise().then(e=>this.evaluarRespuesta(e.MenuOut[0],"menus")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getAyudaMenu(){return this.ayudaMenuService.getAyudaMenu().toPromise().then(e=>this.evaluarRespuesta(e.MenuOut[0],"menus")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getPedidosGenericosMenu(){return this.pedidosGenericosMenu.getPedidoGenericoMenu().toPromise().then(e=>this.evaluarRespuesta(e.MenuOut[0],"menus")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getFooter(){return this.footerService.getFooter().toPromise().then(e=>this.evaluarRespuesta(e.MenuOut[0],"menus")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getMenuFavoritos(){return this.favoritosService.getFavoritos().toPromise().then(e=>this.evaluarRespuesta(e.MenuUserFavoritoOut[0],"menuUsuariosFavoritos")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getStockKpi(e){return this.stockKpiService.getStockKpi(e).toPromise().then(t=>t).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}postKpi(e){return this.stockKpiService.postStockKpi(e).toPromise().then(t=>t).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}getPerAnalisisCartera(){return this.analisisDeCarteraService.getPerAnalisisCartera().toPromise().then(e=>e).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getPerAnalisisComercial(){return this.analisisComercial.getPerAnalisisComercial().toPromise().then(e=>e).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getSumaAsegurada(e,t,n,r,o,a,s,l,u,h,_,y,b){return this.vehiculosService.getSumaAsegurada(e,t,n,r,o,a,s,l,u,h,_,y,b).toPromise().then(x=>(this.validarResponse(x.CotSumaAseguradaOut[0]),this.evaluarRespuesta(x.CotSumaAseguradaOut[0],null))).catch(x=>(this.logout(x),new Promise((w,k)=>{k(x)})))}getAccesorios(){return this.vehiculosService.getAccesorios().toPromise().then(e=>this.evaluarRespuesta(e.CotAccesorioOut[0],"accesorio")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getPlanesDePago(e,t,n,r,o,a){return this.finanzasService.getPlanDePago(e,t,n,r,o,a).toPromise().then(s=>this.evaluarRespuesta(s.PlanPagosOut[0],"planesPago")).catch(s=>(this.logout(s),new Promise((l,u)=>{u(s)})))}getBancos(){return this.finanzasService.getBancos().toPromise().then(e=>this.evaluarRespuesta(e.CotDescEntidadBancOut[0],"banco")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getTarjetas(){return this.finanzasService.getTarjetas().toPromise().then(e=>this.evaluarRespuesta(e.CotDescTarjetaOut[0],"tarjetas")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getTipoAcreedor(){return this.polizasMotorService.getTipoAcreedor().toPromise().then(e=>this.evaluarRespuesta(e.TipoAcreedorPrendarioOut[0],"tipoAcreedor")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}
800putFavoritos(e){this.favoritosService.putFavoritos(e).toPromise().then(t=>{}).catch(t=>{this.logout(t)})}deleteFavorito(e){this.favoritosService.deleteFavoritos(e).toPromise().then(t=>{}).catch(t=>{this.logout(t)})}putUserInfo(e){this.userInformationService.putUserInformation(e).toPromise().then(t=>{}).catch(t=>{this.logout(t)})}getAccesoWifi(){return this.accesosWifiService.getAccesoWifi().toPromise().then(e=>this.evaluarRespuesta(e.WifiOut[0],null)).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getSecciones(e,t){return this.seccionesService.getSecciones(e,t).toPromise().then(n=>this.evaluarRespuesta(n.ConsSeccionOut[0],null)).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}getCotizacionEstados(e,t){return this.cotizacionEstado.getCotizacionEstados(e,t).toPromise().then(n=>this.evaluarRespuesta(n.EstadoCotizacionOut[0],null)).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}getCotizacionBloqueosEstados(e,t,n){return this.estadobloqueos.getCotizacionBloqueosEstados(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.EstadoSolicitudOut[0],null)).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getAsegurados(e){return this.personasService.getAsegurados(e).toPromise().then(t=>this.evaluarRespuesta(t.AseguradoOut[0],null)).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getAseguradosSimple(e){return this.personasService.getAseguradosSimple(e).toPromise().then(t=>this.evaluarRespuesta(t.AseguradoBusquedaOut[0],null)).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getFormasDePago(e,t,n){return this.finanzasService.getFormasDePago(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.CodDescCharOut[0],null)).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getMediosDePago(e,t,n,r,o){return this.personasService.getMediosDePagos(e,t,n,r,o).toPromise().then(a=>this.evaluarRespuesta(a.DatosTarjetaAseguradoOut[0],null)).catch(a=>(this.logout(a),new Promise((s,l)=>l(a))))}getPolizasTarjeta(e,t,n,r,o,a){return this.personasService.getPolizasTarjeta(e,t,n,r,o,a).toPromise().then(s=>this.evaluarRespuesta(s.DatosTarjetaAseguradoOut[0],null)).catch(s=>(this.logout(s),new Promise((l,u)=>u(s))))}getEmisionCopiaPoliza(e){return this.emisionCopiaDePolizaService.getEmisionCopiaDePoliza(e).toPromise().then(t=>this.evaluarRespuesta(t.UrlOut[0],null)).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getVehiculoFotos(e,t){return this.fotosVehiculo.getVehiculosFotos(e,t).toPromise().then(n=>this.evaluarRespuesta(n.UrlOut[0],null)).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}deleteVehiculoFotos(e,t,n){return this.fotosVehiculo.deleteVehiculosFotos(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.FotosOut[0],null)).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getValidacionMail(e){return this.validacionDatosPersonaService.getValidacionMail(e).toPromise().then(t=>t.MensajeCorreoOut[0]).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getValidacionTel(e){return this.validacionDatosPersonaService.getValidacionTel(e).toPromise().then(t=>t.TelefonoOut[0]).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}elasticSeach(e,t=null,n=null,r=null,o=10,a=1){return this.usuarioService.elasticSearch(e,t,n,r,o,a).toPromise().then(s=>s).catch(s=>{})}getLineas(){return this.lineaService.getLineas().toPromise().then(e=>e.LineaOut[0]).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getValidarAsegurado(e,t){return this.cotizacionleads.getValidacionAsegurado(e,t).toPromise().then(n=>(this.validarResponse(n.CarteraLeadOut[0]),this.evaluarRespuesta(n.CarteraLeadOut[0],"response"))).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}getTipoOperacion(){return this.tipoOperacionService.getOperaciones().toPromise().then(e=>e.OperacionOut[0]).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoBloqueo(){return this.tipoBloqueoService.getTipoBloqueo().toPromise().then(e=>e.CatalogoProcesosOut[0]).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getBloqueos(e){return this.bloqueos.getBloqueos(e).toPromise().then(t=>(this.validarResponse(t.BloqueoListadoOut[0]),this.evaluarRespuesta(t.BloqueoListadoOut[0],null))).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}
800getBloqueosExport(e){return this.bloqueos.getBloqueos(e).toPromise().then(t=>(this.validarResponse(t.BloqueoListadoOut[0]),this.evaluarRespuesta(t.BloqueoListadoOut[0],null))).catch(t=>(this.logout(t),new Promise((n,r)=>{r(t)})))}postBloqueosBaja(e){return new Promise((t,n)=>{this.bloqueos.postBloqueosBaja(e).toPromise().then(r=>{this.validarResponse(r.BolsaUnificadoOut[0]),t(r)}).catch(r=>{this.logout(r),n(r)})})}postBloqueosAutoriza(e){return new Promise((t,n)=>{this.bloqueos.postBloqueosAutoriza(e).toPromise().then(r=>{this.validarResponse(r.BolsaUnificadoOut[0]),t(r)}).catch(r=>{this.logout(r),n(r)})})}postBloqueosRechaza(e){return new Promise((t,n)=>{this.bloqueos.postBloqueosRechaza(e).toPromise().then(r=>{this.validarResponse(r.BolsaUnificadoOut[0]),t(r)}).catch(r=>{this.logout(r),n(r)})})}getNotifPEG(){return this.pegService.getNotifPEG().toPromise().then(e=>this.evaluarRespuesta(e.NotificacionesOut[0],"notificaciones")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getNotifications(e,t,n){return this.newNotifications=[],this.oldNotifications=[],this.notificationsService.getNotifications(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.NotifOut[0],"notificaciones")).catch(r=>(this.logout(r),new Promise((o,a)=>{a(r)})))}async getNewNotifications(e,t,n){this.newNotifications=[];try{let r=await this.notificationsService.getNewNotifications(e,t,n).toPromise(),o=await this.evaluarRespuesta(r.NotifOut[0],"notificaciones"),a=await this.evaluarRespuesta(r.NotifOut[0],"paginado");return this.newNotifications.push(o),this.newNotifications.push(a),this.newNotifications}catch(r){throw this.logout(r),r}}getDatosExportCot(e){return this.datosExport.getDatosExport(e).toPromise().then(t=>t.CotizacionDataExpOut[0]).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}async getReadedNotifications(e,t,n){this.oldNotifications=[];try{let r=await this.notificationsService.getReadedNotifications(e,t,n).toPromise(),o=await this.evaluarRespuesta(r.NotifOut[0],"notificaciones"),a=await this.evaluarRespuesta(r.NotifOut[0],"paginado");return this.oldNotifications.push(o),this.oldNotifications.push(a),this.oldNotifications}catch(r){throw this.logout(r),r}}putMarkAsRead(e){return this.newNotifications=[],this.oldNotifications=[],new Promise((t,n)=>{this.notificationsService.putMarkAsRead(e).toPromise().then(r=>{this.validarResponse(r.NotifListOut[0]),t(r)}).catch(r=>{this.logout(r),n(r)})})}postEnviarMensaje(e,t,n,r){return new Promise((o,a)=>
800{this.enviarMensaje.postEnviarMensaje(e,t,n,r).toPromise().then(s=>{o(s)}).catch(s=>{this.logout(s),a(s)})})}postActualizarMainSubs(e){return new Promise((t,n)=>{this.enviarMensaje.postMailSubs(e).toPromise().then(r=>{t(r)}).catch(r=>{this.logout(r),n(r)})})}postSendNewDelegate(e){return new Promise((t,n)=>{this.delService.sendMailToCreateUser(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}verifyTokenPassMiAllianz(e){return new Promise((t,n)=>{this.delService.verifyTokenPassMiAllianz(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}submitNetDelegate(e,t){return new Promise((n,r)=>{this.delService.createNewDelegate(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}deleteRoles(e,t,n,r){return new Promise((o,a)=>{this.delService.deleteRoles(e,t,n,r).toPromise().then(s=>{o(s)}).catch(s=>{a(s)})})}findUser(e){return new Promise((t,n)=>{this.delService.findUserToDelegate(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}findUserDni(e,t){return new Promise((n,r)=>{this.delService.findUserToDelegateDni(e,t).toPromise().then(o=>{n(o.CsmUserMailOut[0])}).catch(o=>{r(o)})})}listUserGrants(e,t){return new Promise((n,r)=>{this.delService.listUserGrants(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}serviceImpersonar(e){return new Promise((t,n)=>{this.delService.serviceImpersonar(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}forgotPassword(e){return new Promise((t,n)=>{this.personasService.forgotPassword(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}resetForgotPassword(e,t){return new Promise((n,r)=>{this.personasService.resetPassword(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}postchangepassword(e,t,n){return new Promise((r,o)=>{this.passService.postchangepassword(e,t,n).toPromise().then(a=>{r(a)}).catch(a=>{o(a)})})}postCheckUser(e){return new Promise((t,n)=>{this.registerService.postCheckUser(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postValidateEmail(e){return new Promise((t,n)=>{this.registerService.postValidateEmail(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postTokenRequest(e){return new Promise((t,n)=>{this.registerService.postTokenRequest(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postValidateToken(e){return new Promise((t,n)=>
800{this.registerService.postValidateToken(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postValidateResponses(e,t){return new Promise((n,r)=>{this.registerService.postValidateResponses(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}postRegister(e,t){return new Promise((n,r)=>{this.registerService.postRegister(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}getValidatePerson(e){return new Promise((t,n)=>{this.personasService.getValidatePerson(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}getUserByEmail(e){return new Promise((t,n)=>{this.personasService.getUserByEmail(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postPersonSendMailError(e){return new Promise((t,n)=>{this.personasService.postPersonSendMailError(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postRegisterUser(e){return new Promise((t,n)=>{this.personasService.postRegisteruser(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}getPersonaPrendario(e,t){return new Promise((n,r)=>{this.personasService.getPersonaPrendario(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}getDocumentosPersonaRegister(){return new Promise((e,t)=>{this.personasService.getDocumentosPersonaRegister().toPromise().then(n=>{e(n)}).catch(n=>{t(n)})})}getperson(e){return new Promise((t,n)=>{this.personasService.getperson(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postNerUser(e){return new Promise((t,n)=>{this.personasService.postNerUser(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}getDatosPersonaListCSM(e){return new Promise((t,n)=>{this.personasService.getPersonaListCsm(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}deleteDatosUser(e){return new Promise((t,n)=>{this.personasService.deleteDatosUserCsm(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}getDatosPersonaCSM(e){return new Promise((t,n)=>{this.personasService.getPersonaCsm(e).toPromise().then(r=>{t(r.result)}).catch(r=>{n(r)})})}putDatosPersonaCSM(e){return new Promise((t,n)=>{this.personasService.putPersonaCsm(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postDocumentsPersonaCSM(e,t){return new Promise((n,r)=>
800{this.personasService.postDocumentsPersonaCsm(e,t).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}addPersonaContactCenter(e){return new Promise((t,n)=>{this.conCenterService.addContactCenterUser(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}createNewUserMiAllianz(e,t){return new Promise((n,r)=>{this.conCenterService.createNewUserMiAllianz(t,e).toPromise().then(o=>{n(o)}).catch(o=>{r(o)})})}checkAdherido(e){return new Promise((t,n)=>{this.mkservice.getDatosMarketing(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}postAltaMarketing(e){return new Promise((t,n)=>{this.mkservice.postAltaMarketing(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}getBajaMarketing(e){return new Promise((t,n)=>{this.mkservice.getBajaMarketing(e).toPromise().then(r=>{t(r)}).catch(r=>{n(r)})})}evaluarRespuesta(e,t){return new Promise((n,r)=>{e.response.responseCode=="200"||e.response.responseCode==null?t==null||t==""?n(e):n(e[t]):r(e.response)})}validarResponse(e){if(e.response.description)throw{codigo:e.response.responseCode,descripcion:e.response.description}}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};function Jc(){return new RegExp("^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[\\W_]).{8,}$")}function n1(){return new RegExp("^(?=.*?[a-z])")}function i1(){return new RegExp("^(?=.*?[A-Z])")}function r1(){return new RegExp("^(?=.*?[0-9])")}function o1(){return new RegExp("^(?=.*?[\\W_])")}function T5(){return new RegExp("^[0-9]{4,8}$")}var Fde=["*"],Rde=i=>({"app-modal__content--auto-height":i}),zde=(i,e)=>({"app-modal__footer--center":i,"app-modal__footer--right":e});function Lde(i,e){if(i&1){let t=Y();c(0,"button",7),I("click",function(){O(t);let r=M(2);return T(r.secondary.emit())}),m(1),d()}if(i&2){let t=M(2);p(),K(" ",t.secondaryText," ")}}function Hde(i,e){if(i&1){let t=Y();c(0,"button",8),I("click",function(){O(t);let r=M(2);return T(r.primary.emit())}),m(1),d()}if(i&2){let t=M(2);g("disabled",t.disablePrimary),p(),K(" ",t.primaryText," ")}}function Bde(i,e){if(i&1&&(c(0,"div",4),L(1,Lde,2,1,"button",5)(2,Hde,2,2,"button",6),d()),i&2){let t=M();g("ngClass",qr(3,zde,t.alignFooter==="center",t.alignFooter==="right")),p(),g("ngIf",t.showSecondary),p(),g("ngIf",t.showPrimary)}}var a1=class i{title;primaryText="Aceptar";disablePrimary=!1;showPrimary=!0;showButtons=!0;secondaryText;showSecondary=!1;autoHeightContent=!1;alignFooter="center";primary=new X;secondary=new X;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-generic-modal"]],inputs:{title:"title",primaryText:"primaryText",disablePrimary:"disablePrimary",showPrimary:"showPrimary",showButtons:"showButtons",secondaryText:"secondaryText",showSecondary:"showSecondary",autoHeightContent:"autoHeightContent",alignFooter:"alignFooter"},outputs:{primary:"primary",secondary:"secondary"},ngContentSelectors:Fde,decls:6,vars:5,consts:[["nxModalContent","",3,"ngClass"],["nxHeadline","subsection-medium",1,"app-modal__title"],["nxCopytext","",1,"app-modal__body"],["nxModalActions","","class","nx-margin-bottom-0 app-modal__actions",3,"ngClass",4,"ngIf"],["nxM
800odalActions","",1,"nx-margin-bottom-0","app-modal__actions",3,"ngClass"],["nxButton","secondary","type","button","nxModalClose","",3,"click",4,"ngIf"],["nxButton","primary","type","button","nxModalClose","",3,"disabled","click",4,"ngIf"],["nxButton","secondary","type","button","nxModalClose","",3,"click"],["nxButton","primary","type","button","nxModalClose","",3,"click","disabled"]],template:function(t,n){t&1&&(rt(),c(0,"div",0)(1,"h3",1),m(2),d(),c(3,"section",2),ke(4),d()(),L(5,Bde,3,6,"div",3)),t&2&&(g("ngClass",Lt(3,Rde,n.autoHeightContent)),p(2),K(" ",n.title," "),p(3),g("ngIf",n.showButtons))},dependencies:[_e,Un,et,me,_t,Xt,oa,ns,eF],styles:[".app-modal__title[_ngcontent-%COMP%]{text-align:center}.app-modal__body[_ngcontent-%COMP%]{text-align:center;margin-top:24px;margin-bottom:28px}.app-modal__footer--center[_ngcontent-%COMP%]{justify-content:center}.app-modal__footer--right[_ngcontent-%COMP%]{justify-content:flex-end}.generic-modal-body[_ngcontent-%COMP%]{font-size:18px!important;line-height:1.5;color:#414141}.app-modal__content--auto-height[_ngcontent-%COMP%]{max-height:none!important;overflow:visible!important}.app-modal__actions[_ngcontent-%COMP%]{border-top:0;margin-bottom:0;height:unset;display:flex;gap:16px}"]})};var jde=["template"],qde=["genericModal"],Ude=["tplText"],Gde=["tplLinkExpirado"],Fl=i=>({color:i});function $de(i,e){i&1&&(c(0,"div"),m(1," Este campo es obligatorio "),d())}function Wde(i,e){i&1&&(c(0,"div"),m(1," Formato de contrase\xF1a inv\xE1lido "),d())}function Yde(i,e){i&1&&(c(0,"div"),m(1," La contrase\xF1a tiene que tener al menos 8 car\xE1cteres "),d())}function Qde(i,e){i&1&&S(0,"img",26)}function Kde(i,e){i&1&&Ei(0)}function Xde(i,e){if(i&1){let t=Y();c(0,"app-generic-modal",27),I("primary",function(){O(t);let r=M();return T(r.genericModalData.onPrimary())})("secondary",function(){O(t);let r=M();return T(r.genericModalData.onSecondary==null?null:r.genericModalData.onSecondary())}),L(1,Kde,1,0,"ng-container",28),d()}if(i&2){let t=M();g("title",t.genericModalData.title)("primaryText",t.genericModalData.primaryText)("secondaryText",t.genericModalData.secondaryText)("showButtons",t.genericModalData.showButtons)("showSecondary",t.genericModalData.showSecondary)("disablePrimary",t.genericModalData.disablePrimary)("autoHeightContent",t.genericModalData.autoHeightContent),p(),g("ngTemplateOutlet",t.genericModalData.contentTemplate)}}function Zde(i,e){if(i&1&&(c(0,"p"),m(1),d()),i&2){let t=M();p(),Pe(t.genericModalData.body)}}function Jde(i,e){i&1&&(m(0," El link ha expirado o ya ha sido utilizado. Para volver a generarlo, hac\xE9 click "),c(1,"nx-link",29)(2,"a",30),m(3,"ac\xE1."),d()(),S(4,"br"),m(5,` Record\xE1 que el link estar\xE1 activo por 48hs.
801`))}var e1e="button[_ngcontent-%COMP%]{text-transform:uppercase}";var I5=class i{templateRef;genericModal;tplText;tplLinkExpirado;componentDialogRef;templateDialogRef;templateTokenRef;modalText="";userName="";email="";token;isLoading=!0;messageError;validateUpper=!1;validateLowe=!1;validateNumber=!1;validateSpecial=!1;validateLenght=!1;tokenInexistente=!1;tokenCaducado=!1;genericModalData;genericModalRef;newPasswordForm=new bt().group({pass:["",[ee.required,ee.minLength(8),ee.maxLength(50),ee.pattern(/^\S*$/)]],newPass:["",ee.required]},{validator:[this.checkIfMatchingEmail("pass","newPass"),this.checkValidatePass("pass")]});dialogService=C(Qn);_emittersService=C(Jt);_toastr=C(e1);router=C(ot);rutaActiva=C(Sr);_services=C(Tn);ngOnInit(){this.openFromComponent(),this.enableInput(),this.token=this.rutaActiva.snapshot.params.token,this.validateToken(this.token)}checkValidatePass(e){let t=Jc();return n=>{let r=n.controls[e];return this.checkFormatPass(r.value),r.value==""?r.setErrors({require:!0}):t.test(r.value)?r.value.length<8?r.setErrors({passLenghtValidate:!0}):r.setErrors(null):r.setErrors({passValidate:!0})}}checkFormatPass(e){n1().test(e)?this.validateLowe=!0:this.validateLowe=!1,i1().test(e)?this.validateUpper=!0:this.validateUpper=!1,r1().test(e)?this.validateNumber=!0:this.validateNumber=!1,o1().test(e)?this.validateSpecial=!0:this.validateSpecial=!1,e.length<8?this.validateLenght=!1:this.validateLenght=!0}validateToken(e){this._services.postValidateToken(e).then(t=>{t.result.valid?(this.isLoading=!1,this.closeTemplateDialog(),this.enableInput()):t.error&&(this.closeTemplateDialog(),t.error.toLowerCase().includes("inexistente")?this.tokenInexistente=!0:this.tokenCaducado=!0,this.isLoading=!1,this.openModalToken())}).catch}openGenericModal(e){this.genericModalData=e,this.genericModalRef=this.dialogService.open(this.genericModal,{disableClose:!0})}register(){this.isLoading=!0,this.enableInput();let e={password:this.newPasswordForm.get("pass")?.value};this._services.postRegister(this.token,e).then(t=>{t.error?this.handleError(t.error):t.result=="ok"&&(this.isLoading=!1,this.openModalSuccess())}).catch(t=>{console.error(t)})}enableInput(){this.newPasswordForm.controls.pass.enabled?(this.newPasswordForm.controls.pass.disable(),this.newPasswordForm.controls.newPass.disable()):(this.newPasswordForm.controls.pass.enable(),this.newPasswordForm.controls.newPass.enable())}checkIfMatchingEmail(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return r.value!==o.value?o.setErrors({notEquivalent:!0}):o.setErrors(null)}}getErrorMessage(e){return e&&e.errors?e.errors.required?"El campo es requerido":e.errors.minlength?"Minimo de 8 Caracteres":e.errors.maxlength?"Maximo de 50 Caracteres":e.errors.pattern?"No se pueden utilizar espacios":e.errors.notEquivalent?"Las Contrase\xF1as deben ser iguales":" ":""}handleError(e){this.messageError=e,this.closeTemplateDialog(),this.openModalError(),this.isLoading=!1}redirectHome(){this.templateDialogRef?.close(),this.router.navigate(["/"])}redirectLog(){this.templateDialogRef?.close(),this.router.navigate(["/login"])}openModalSuccess(){this.openGenericModal({title:"\xA1Te damos la bienvenida!",body:"Tu usuario se cre\xF3 con \xE9xito.",kind:"TEXT",primaryText:"Continuar",showButtons:!0,contentTemplate:this.tplText,onPrimary:()=>{this.router.navigate(["/login"])}})}openModalError(){this.openGenericModal({title:"Error",body:"No pudimos verificar tu identidad, por favor revisa tus respuestas o comunicate con Allianz.",kind:"TEXT",primaryText:"Continuar",showButtons:!0,contentTemplate:this.tplText,onPrimary:()=>{this.router.navigate(["/"])}})}openFromComponent(){}openModalToken(){this.openGenericModal({title:"Error",kind:"TEXT",primaryText:"Continuar",showButtons:!0,contentTemplate:this.tplLinkExpirado,onPrimary:()=>{this.router.navigate(["/"])}})}closeTemplateDialog(){this.componentDialogRef?.close()}static \u0275fac=function(t){return new(t||i)};
801static \u0275cmp=z({type:i,selectors:[["app-validate-token-register"]],viewQuery:function(t,n){if(t&1&&(pe(jde,5),pe(qde,5),pe(Ude,7),pe(Gde,7)),t&2){let r;te(r=ne())&&(n.templateRef=r.first),te(r=ne())&&(n.genericModal=r.first),te(r=ne())&&(n.tplText=r.first),te(r=ne())&&(n.tplLinkExpirado=r.first)}},decls:69,vars:43,consts:[["password",""],["newPass",""],["genericModal",""],["tplText",""],["tplLinkExpirado",""],[1,"m-5"],[1,"text-center"],[2,"max-width","700px","margin","auto",3,"submit","formGroup"],["nxLayout","grid"],["nxRow",""],["nxCol","12,12,12,12"],["label","Contrase\xF1a"],["nxInput","","type","password","formControlName","pass","minlength","5","maxlength","50"],["ariaLabel","password","nxFormfieldSuffix","",3,"control"],["nxFormfieldError","","appearance","text"],[4,"ngIf"],["label","Repetir contrase\xF1a"],["nxInput","","type","password","formControlName","newPass","minlength","5","maxlength","50"],["nxCol","12"],[1,"nx-modal-margin-bottom","mt-5",2,"font-size","18px"],[1,"d-flex","align-items-center"],[1,"m-0",3,"ngStyle"],["size","s","aria-hidden","true",3,"ngStyle","name"],["nxCol","12,12,12,12",1,"m-auto","d-flex","justify-content-evenly"],["nxButton","primary","type","button","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[3,"primary","secondary","title","primaryText","secondaryText","showButtons","showSecondary","disablePrimary","autoHeightContent"],[4,"ngTemplateOutlet"],["nxStyle","block"],["href","/register",2,"font-size","18px"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",5)(1,"h1",6),m(2,"REGISTRATE"),d(),c(3,"form",7),I("submit",function(){return O(r),T(n.register())}),c(4,"div",8)(5,"div",9)(6,"div",10)(7,"nx-formfield",11),S(8,"input",12,0)(10,"nx-password-toggle",13),c(11,"nx-error",14),L(12,$de,2,0,"div",15)(13,Wde,2,0,"div",15)(14,Yde,2,0,"div",15),d()()()(),c(15,"div",9)(16,"div",10)(17,"nx-formfield",16),S(18,"input",17,1)(20,"nx-password-toggle",13),c(21,"nx-error",14)(22,"strong"),m(23,"Importante"),d(),m(24," Las contrase\xF1as deben ser iguales "),d()()()(),S(25,"br"),c(26,"div",9)(27,"div",18)(28,"div",19)(29,"p"),m(30,"La contrase\xF1a debe poseer: "),S(31,"br"),d(),c(32,"div",20)(33,"p",21),m(34," Al menos 8 catacteres "),d(),S(35,"nx-icon",22),d(),c(36,"div",20)(37,"p",21),m(38,"Al menos 1 may\xFAscula "),d(),S(39,"nx-icon",22),d(),c(40,"div",20)(41,"p",21),m(42,"Al menos 1 min\xFAscula "),d(),S(43,"nx-icon",22),d(),c(44,"div",20)(45,"p",21),m(46,"Al menos 1 n\xFAmero "),d(),S(47,"nx-icon",22),d(),c(48,"div",20)(49,"p",21),m(50,"Al menos 1 caracter especial. Ej: !@#$%^&*"),d(),S(51,"nx-icon",22),d()()()(),S(52,"br"),c(53,"div",9)(54,"div",23)(55,"button",24),L(56,Qde,1,0,"img",25),m(57," Crear Usuario"),d()()()()(),c(58,"div",5),S(59,"br")(60,"hr"),c(61,"span",5),m(62,"El titular de los datos personales tiene la facultad de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no inferiores a seis meses, salvo que se acredite un inter\xE9s leg\xEDtimo al efecto conforme lo establecido en el art\xEDculo 13, inciso 3 de la Ley N\xB0 25.326. La Direcci\xF3n Nacional de Protecci\xF3n de Datos Personales, \xD3rgano de Control de la Ley N\xB0 25.326, tiene la atribuci\xF3n de atender las denuncias y reclamos que se interpongan con relaci\xF3n al incumplimiento de las normas sobre protecci\xF3n de datos personales."),d()()(),L(63,Xde,2,8,"ng-template",null,2,an)(65,Zde,2,1,"ng-template",null,3,an)(67,Jde,6,0,"ng-template",null,4,an)}if(t&2){let r=Ct(9),o=Ct(19);p(3),g("formGroup",n.newPasswordForm),p(7),g("control",r),p(2),g("ngIf",n.newPasswordForm.controls.pass.getError("require")),p(),g("ngIf",n.newPasswordForm.controls.pass.getError("passValidate")),p(),g("ngIf",n.newPasswordForm.controls.pass.getError("passLenghtValidate")),p(6),g("control",o),p(13),g("ngStyle",Lt(23,Fl,n.validateLenght?"green":"red")),p(2),g("ngStyle",Lt(25,Fl,n.validateLenght?"green":"red"))("name",n.validateLenght?"check":"close"),p(2),g("ngStyle",Lt(27,Fl,n.validateUpper?"green":"red")),p(2),g("ngStyle",Lt(29,Fl,n.validateUpper?"green":"red"))("name",n.validateUpper?"check":"close"),p(2),g("ngStyle",Lt(31,Fl,n.validateLowe?"green":"red")),p(2),g("ngStyle",Lt(33,Fl,n.validateLowe?"green":"red"))("name",n.validateLowe?"check":"close"),p(2),g("ngStyle",Lt(35,Fl,n.validateNumber?"green":"red")),p(2),g("ngStyle",Lt(37,Fl,n.validateNumber?"green":"red"))("name",n.validateNumber?"check":"close"),p(2),g("ngStyle",Lt(39,Fl,n.validateSpecial?"green":"red")),p(2),g("ngStyle",Lt(41,Fl,n.validateSpecial?"green":"red"))("name",n.validateSpecial?"check":"close"),p(4),g("disabled",!n.newPasswordForm.valid||n.isLoading),p(),g("ngIf",n.isLoading)}},dependencies:[me,Et,ut,vt,jt,St,sn,ui,et,Ji,fo,At,Rt,wt,Pt,Dn,kn,st,qt,_t,nt,vr,Yt,Bs,a1],styles:[e1e]})};function t1e(i,e){if(i&1&&(c(0,"nx-dropdown-item",10),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.description," ")}}var l1=class i{columnType="2";columnNum="4,3";centerContent=!0;isDisableCharge=!1;onChange=e=>{};onTouch=()=>{};_documentos=[];tipoDocErrorMsg="";service=C(Tn);fb=C(bt);datosDocumentos=this.fb.group({tipoDocumento:["",ee.required],numeroDocumento:["",ee.required]});ngOnInit(){this.setDocs(),this.subscribeDocument()}validate(e){return this.datosDocumentos.valid?null:{documentoInvalido:!0}}writeValue(e){e?this.datosDocumentos.patchValue(e,{emitEvent:!1}):this.datosDocumentos.reset()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}setDisabledState(e){e?this.datosDocumentos.disable():this.datosDocumentos.enable()}setDocs(){this.datosDocumentos.disable(),this.service.getDocumentosPersonaRegister().then(e=>{this._documentos=e.result||[],this._documentos.length>0&&(this.datosDocumentos.controls.tipoDocumento.setValue(this._documentos[0]),this.selectTipoDoc(this._documentos[0])),this.isDisableCharge||this.datosDocumentos.enable()}).catch(e=>console.error(e))}selectTipoDoc(e=null){let t=this.datosDocumentos.controls.numeroDocumento;switch(t.reset(),e?.description){case"CUIL":case"CUIT":t.setValidators([ee.required,ee.pattern(/^[0-9]{10,11}$/)]),this.tipoDocErrorMsg="Deb\xE9s ingresar de 10 a 11 n\xFAmeros";break;case"PASAPORTE":t.setValidators([ee.required,ee.minLength(4),ee.maxLength(9)]),this.tipoDocErrorMsg="Deb\xE9s ingresar de 4 a 9 n\xFAmeros o letras";break;default:t.setValidators([ee.required,ee.pattern(/^[0-9]{7,8}$/)]),this.tipoDocErrorMsg="Deb\xE9s ingresar de 7 a 8 n\xFAmeros";break}t.updateValueAndValidity()}subscribeDocument(){this.datosDocumentos.valueChanges.subscribe(e=>{if(!this.datosDocumentos.valid){this.onChange(null);return}this.onTouch(),this.onChange(e)}
801)}resetForm(){this.datosDocumentos.reset(),this._documentos.length>0&&(this.datosDocumentos.controls.tipoDocumento.setValue(this._documentos[0]),this.selectTipoDoc(this._documentos[0]))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-document-form"]],inputs:{columnType:"columnType",columnNum:"columnNum",centerContent:"centerContent",isDisableCharge:"isDisableCharge"},features:[Mt([{provide:Fi,useExisting:Wt(()=>i),multi:!0},{provide:Bi,useExisting:Wt(()=>i),multi:!0}])],decls:17,vars:9,consts:[["inputToCount",""],[3,"formGroup"],["nxRow",""],[3,"nxCol"],["label","Tipo de documento"],["formControlName","tipoDocumento",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],["nxFormfieldError","","appearance","text"],["label","N\xFAmero de documento"],["type","text","nxInput","","formControlName","numeroDocumento"],[3,"value"]],template:function(t,n){if(t&1){let r=Y();Ze(0,1),c(1,"div",2)(2,"div",3)(3,"nx-formfield",4)(4,"nx-dropdown",5),I("selectionChange",function(a){return O(r),T(n.selectTipoDoc(a.value))}),L(5,t1e,2,2,"nx-dropdown-item",6),d(),c(6,"nx-error",7)(7,"strong"),m(8,"Importante"),d(),m(9," este campo es requerido "),d()()(),c(10,"div",3)(11,"nx-formfield",8),S(12,"input",9,0),c(14,"nx-error",7)(15,"strong"),m(16),d()()()()(),Xe()}t&2&&(g("formGroup",n.datosDocumentos),p(),Gi(n.centerContent?"justify-content-center":""),p(),g("nxCol",Vi(n.columnType)),p(3),g("ngForOf",n._documentos),p(5),g("nxCol",Vi(n.columnNum)),p(6),Pe(n.tipoDocErrorMsg))},dependencies:[Qr,St,sn,jt,O2,ri,Yn,_e,Ut,T2,ut,vt,me,Rt,wt,Pt,st,qt,Yt],encapsulation:2})};var n1e=["template"],Rl=i=>({color:i});function i1e(i,e){i&1&&(c(0,"div"),m(1," Este campo es obligatorio "),d())}function r1e(i,e){i&1&&(c(0,"div"),m(1," Formato de contrase\xF1a inv\xE1lido "),d())}function o1e(i,e){i&1&&(c(0,"div"),m(1," La contrase\xF1a tiene que tener al menos 8 caracteres "),d())}function a1e(i,e){i&1&&S(0,"img",30)}function s1e(i,e){if(i&1&&(c(0,"p",36),m(1),d()),i&2){let t=M(2);p(),K(" ",t.modalText," ")}}function l1e(i,e){i&1&&(c(0,"p",36),m(1," El link ha expirado o ya ha sido utilizado. Para volver a generarlo, hac\xE9 click "),c(2,"nx-link",37)(3,"a",38),m(4,"ac\xE1"),d()(),S(5,"br"),m(6," Record\xE1 que el link estar\xE1 activo por 48 hs. "),d())}function c1e(i,e){i&1&&(c(0,"p",36),m(1," El link ha expirado. Para volver a generarlo, hac\xE9 click "),c(2,"nx-link",37)(3,"a",38),m(4,"ac\xE1"),d()(),S(5,"br"),m(6," Record\xE1 que el link estar\xE1 activo por 48 hs. "),d())}function d1e(i,e){if(i&1){let t=Y();c(0,"div",31)(1,"h3",32),m(2),d(),L(3,s1e,2,1,"p",33)(4,l1e,7,0,"p",33)(5,c1e,7,0,"p",33),c(6,"div",34)(7,"button",35),I("click",function(){O(t);let r=M();return T(r.closeModal())}),m(8),d()()()}if(i&2){let t=M();p(2),K(" ",t.modalTitle," "),p(),g("ngIf",!t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",!t.tokenInexistente&&t.tokenCaducado),p(3),K(" ",t.modalButtonLabel," ")}}var k5=class i{template;templateRef;modalTitle="";modalText="";modalButtonLabel="Cerrar";modalRedirectUrl="/";disableDocument=!1;validateUpper=!1;validateLowe=!1;validateNumber=!1;validateSpecial=!1;validateLenght=!1;isLoading=!1;tokenInexistente=!1;tokenCaducado=!1;fb=C(bt);dialogService=C(Qn);router=C(ot);rutaActiva=C(Sr);servicesServices=C(Tn);createDelegate=this.fb.group({emailDelegado:[{value:"",disabled:!0}],nombreDelegago:["",ee.required],apellidoDelegado:["",ee.required],dniDelegado:["",ee.required],passDelegado:["",[ee.required,ee.minLength(8)]],repeatPassDel:["",ee.required]},{validator:[this.checkIfMatchingPassword("passDelegado","repeatPassDel"),this.checkValidatePass("passDelegado")]});ngOnInit(){this.verifyTokenIsActive(this.rutaActiva.snapshot.params.token)}checkIfMatchingPassword(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return r.value!==o.value?o.setErrors({notEquivalent:!0}):o.setErrors(null)}}checkValidatePass(e){let t=Jc();return n=>{let r=n.controls[e];return this.checkFormatPass(r.value??""),r.value?t.test(r.value)?r.value.length<8?r.setErrors({passLenghtValidate:!0}):r.setErrors(null):r.setErrors({passValidate:!0}):r.setErrors({required:!0})}}checkFormatPass(e){this.validateLowe=n1().test(e),this.validateUpper=i1().test(e),this.validateNumber=r1().test(e),this.validateSpecial=o1().test(e),this.validateLenght=e.length>=8}verifyTokenIsActive(e){this.servicesServices.verifyTokenPassMiAllianz(e).then(t=>{if(t.result==="Error"){t.error?.includes("inexistente")&&(this.tokenInexistente=!0),t.error?.includes("caduco")&&(this.tokenCaducado=!0),this.disableAllInput(),this.openModal(t.result,t.error,"Volver al inicio","/");return}this.createDelegate.controls.emailDelegado.setValue(t.result.email??"")}).catch(t=>{console.error(t),this.disableAllInput(),this.openModal("Error","Ocurri\xF3 un error creando el usuario. Por favor contactate con Allianz.","Volver al inicio","/")})}disableAllInput(){this.createDelegate.controls.nombreDelegago.disable(),this.createDelegate.controls.apellidoDelegado.disable(),this.createDelegate.controls.dniDelegado.disable(),this.disableDocument=!0,this.createDelegate.controls.passDelegado.disable(),this.createDelegate.controls.repeatPassDel.disable()}openModal(e,t,n="Cerrar",r="/"){this.modalTitle=e,this.modalText=t,this.modalButtonLabel=n,this.modalRedirectUrl=r,this.templateRef=this.dialogService.open(this.template,{ariaLabel:"Alta de delegado",width:"460px",maxWidth:"calc(100vw - 32px)"})}closeModal(){this.templateRef?.close(),this.router.navigate([this.modalRedirectUrl])}
801createDelegateNew(){if(this.createDelegate.invalid){this.createDelegate.markAllAsTouched();return}let e=this.createDelegate.getRawValue(),t=e.dniDelegado;if(!t?.numeroDocumento||!t?.tipoDocumento?.id){this.createDelegate.controls.dniDelegado.setErrors({required:!0});return}this.isLoading=!0;let n={userName:(e.emailDelegado??"").trim(),firstName:(e.nombreDelegago??"").trim(),lastName:(e.apellidoDelegado??"").trim(),email:(e.emailDelegado??"").trim(),documentNumber:t.numeroDocumento,documentTypeId:t.tipoDocumento.id,password:e.passDelegado};this.servicesServices.submitNetDelegate(this.rutaActiva.snapshot.params.token,n).then(r=>{if(r.result==="Error"){this.openModal(r.result,r.error,"Volver al inicio","/");return}this.openModal("Usuario creado con \xE9xito","El usuario fue creado con \xE9xito. Ya pod\xE9s iniciar sesi\xF3n.","Iniciar sesi\xF3n","/login")}).catch(r=>{console.error(r),this.openModal("Error","Ocurri\xF3 un error creando el usuario. Por favor contactate con Allianz.","Volver al inicio","/")}).finally(()=>{this.isLoading=!1})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-create-delegate"]],viewQuery:function(t,n){if(t&1&&pe(n1e,5),t&2){let r;te(r=ne())&&(n.template=r.first)}},decls:88,vars:45,consts:[["password",""],["repeatPassword",""],["template",""],[1,"create-delegate"],[1,"create-delegate__title"],[1,"create-delegate__form",3,"submit","formGroup"],["nxLayout","grid",1,"p-0"],["nxRow",""],["nxCol","12"],["label","Correo electr\xF3nico"],["nxInput","","formControlName","emailDelegado"],["nxFormfieldError","","appearance","text"],["label","Nombre"],["nxInput","","formControlName","nombreDelegago","minlength","2","maxlength","50"],["label","Apellido"],["nxInput","","formControlName","apellidoDelegado","minlength","2","maxlength","50"],["formControlName","dniDelegado","columnType","4","columnNum","8",3,"centerContent","isDisableCharge"],["label","Nueva contrase\xF1a"],["required","","nxInput","","type","password","formControlName","passDelegado","minlength","8","maxlength","50"],["ariaLabel","password","nxFormfieldSuffix","",3,"control"],[4,"ngIf"],["label","Repetir contrase\xF1a"],["required","","nxInput","","type","password","formControlName","repeatPassDel","minlength","8","maxlength","50"],[1,"create-delegate__password-help"],[1,"create-delegate__password-item"],[1,"m-0",3,"ngStyle"],["size","s","aria-hidden","true",3,"ngStyle","name"],["nxCol","12",1,"create-delegate__actions"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[1,"create-delegate-modal"],[1,"create-delegate-modal__title"],["class","create-delegate-modal__text",4,"ngIf"],[1,"create-delegate-modal__actions"],["nxButton","secondary","type","button",3,"click"],[1,"create-delegate-modal__text"],["nxStyle","block"],["href","/",1,"create-delegate-modal__link"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",3)(1,"h1",4),m(2,"Crear nuevo delegado"),d(),c(3,"form",5),I("submit",function(){return O(r),T(n.createDelegateNew())}),c(4,"div",6)(5,"div",7)(6,"div",8)(7,"nx-formfield",9),S(8,"input",10),c(9,"nx-error",11)(10,"strong"),m(11,"Importante"),d(),m(12," este campo es requerido "),d()()()(),c(13,"div",7)(14,"div",8)(15,"nx-formfield",12),S(16,"input",13),c(17,"nx-error",11)(18,"strong"),m(19,"Importante"),d(),m(20," este campo es requerido "),d()()()(),c(21,"div",7)(22,"div",8)(23,"nx-formfield",14),S(24,"input",15),c(25,"nx-error",11)(26,"strong"),m(27,"Importante"),d(),m(28," este campo es requerido "),d()()()(),c(29,"div",7)(30,"div",8),S(31,"app-document-form",16),d()(),c(32,"div",7)(33,"div",8)(34,"nx-formfield",17)(35,"nx-formfield-label"),m(36,"Contrase\xF1a"),d(),S(37,"input",18,0)(39,"nx-password-toggle",19),c(40,"nx-error",11),L(41,i1e,2,0,"div",20)(42,r1e,2,0,"div",20)(43,o1e,2,0,"div",20),d()()()(),c(44,"div",7)(45,"div",8)(46,"nx-formfield",21)(47,"nx-formfield-label"),m(48,"Repetir contrase\xF1a"),d(),S(49,"input",22,1)(51,"nx-password-toggle",19),c(52,"nx-error",11)(53,"strong"),m(54,"Importante"),d(),m(55," Las contrase\xF1as deben ser iguales "),d()()()(),c(56,"div",7)(57,"div",8)(58,"div",23)(59,"p"),m(60,"L
801a contrase\xF1a debe poseer:"),d(),c(61,"div",24)(62,"p",25),m(63,"Al menos 8 caracteres"),d(),S(64,"nx-icon",26),d(),c(65,"div",24)(66,"p",25),m(67,"Al menos 1 may\xFAscula"),d(),S(68,"nx-icon",26),d(),c(69,"div",24)(70,"p",25),m(71,"Al menos 1 min\xFAscula"),d(),S(72,"nx-icon",26),d(),c(73,"div",24)(74,"p",25),m(75,"Al menos 1 n\xFAmero"),d(),S(76,"nx-icon",26),d(),c(77,"div",24)(78,"p",25),m(79," Al menos 1 caracter especial. Ej: !@#$%^&* "),d(),S(80,"nx-icon",26),d()()()(),c(81,"div",7)(82,"div",27)(83,"button",28),L(84,a1e,1,0,"img",29),m(85," Crear "),d()()()()()(),L(86,d1e,9,5,"ng-template",null,2,an)}if(t&2){let r=Ct(38),o=Ct(50);p(3),g("formGroup",n.createDelegate),p(28),g("centerContent",!1)("isDisableCharge",n.disableDocument),p(8),g("control",r),p(2),g("ngIf",n.createDelegate.controls.passDelegado.getError("required")),p(),g("ngIf",n.createDelegate.controls.passDelegado.getError("passValidate")),p(),g("ngIf",n.createDelegate.controls.passDelegado.getError("passLenghtValidate")),p(8),g("control",o),p(11),g("ngStyle",Lt(25,Rl,n.validateLenght?"green":"red")),p(2),g("ngStyle",Lt(27,Rl,n.validateLenght?"green":"red"))("name",n.validateLenght?"check":"close"),p(2),g("ngStyle",Lt(29,Rl,n.validateUpper?"green":"red")),p(2),g("ngStyle",Lt(31,Rl,n.validateUpper?"green":"red"))("name",n.validateUpper?"check":"close"),p(2),g("ngStyle",Lt(33,Rl,n.validateLowe?"green":"red")),p(2),g("ngStyle",Lt(35,Rl,n.validateLowe?"green":"red"))("name",n.validateLowe?"check":"close"),p(2),g("ngStyle",Lt(37,Rl,n.validateNumber?"green":"red")),p(2),g("ngStyle",Lt(39,Rl,n.validateNumber?"green":"red"))("name",n.validateNumber?"check":"close"),p(2),g("ngStyle",Lt(41,Rl,n.validateSpecial?"green":"red")),p(2),g("ngStyle",Lt(43,Rl,n.validateSpecial?"green":"red"))("name",n.validateSpecial?"check":"close"),p(3),g("disabled",!n.createDelegate.valid||n.isLoading),p(),g("ngIf",n.isLoading)}},dependencies:[me,Et,ut,vt,jt,St,sn,ui,w2,et,fo,At,Rt,wt,Pt,Er,Dn,kn,st,qt,_t,nt,vr,Yt,Bs,l1],styles:[".create-delegate[_ngcontent-%COMP%]{max-width:760px;margin:0 auto;padding:40px 24px 32px}.create-delegate__title[_ngcontent-%COMP%]{text-align:center;margin-bottom:32px}.create-delegate__form[_ngcontent-%COMP%]{max-width:700px;margin:0 auto}.create-delegate__password-help[_ngcontent-%COMP%]{font-size:18px;margin:24px 0 12px}.create-delegate__password-help[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:8px}.create-delegate__password-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;margin-bottom:4px}.create-delegate__actions[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:20px}.create-delegate-modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px;padding:12px 8px 4px}.create-delegate-modal__title[_ngcontent-%COMP%]{margin:0;color:#414141;font-size:24px;line-height:1.3}.create-delegate-modal__text[_ngcontent-%COMP%]{margin:0;font-size:18px;line-height:1.5}.create-delegate-modal__link[_ngcontent-%COMP%]{font-size:18px}.create-delegate-modal__actions[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.centered-content[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;text-align:center}.subtitle-preguntas[_ngcontent-%COMP%]{font-size:1.1rem;padding-bottom:.5rem}button[_ngcontent-%COMP%]{text-transform:uppercase}@media (max-width: 767px){.create-delegate[_ngcontent-%COMP%]{padding:24px 16px}.create-delegate__password-help[_ngcontent-%COMP%]{font-size:16px}}"]})};var u1e=["tplText"],p1e=["genericModal"],f1e=["template"],zl=i=>({color:i});function m1e(i,e){i&1&&(c(0,"div"),m(1," Este campo es obligatorio "),d())}function h1e(i,e){i&1&&(c(0,"div"),m(1," Formato de contrase\xF1a inv\xE1lido "),d())}function g1e(i,e){i&1&&(c(0,"div"),m(1," La contrase\xF1a tiene que tener al menos 8 car\xE1cteres "),d())}function _1e(i,e){i&1&&S(0,"img",25)}function v1e(i,e){if(i&1&&(c(0,"p",31),m(1),d()),i&2){let t=M(2);p(),K(" ",t.modalText," ")}}function x1e(i,e){i&1&&(c(0,"p",31),m(1," El link ha expirado o ya ha sido utilizado. Para volver a generarlo, hac\xE9 click "),c(2,"nx-link",32)(3,"a",33),m(4,"ac\xE1."),d()(),S(5,"br"),m(6," Record\xE1 que el link estar\xE1 activo por 48hs. "),d())}function b1e(i,e){i&1&&(c(0,"p",31),m(1," El link ha expirado. Para volver a generarlo, hac\xE9 click "),c(2,"nx-link",32)(3,"a",33),m(4,"ac\xE1."),d()(),S(5,"br"),m(6," Record\xE1 que el link estar\xE1 activo por 48hs. "),d())}function C1e(i,e){if(i&1){let t=Y();c(0,"div",26)(1,"h3",27),m(2),d(),L(3,v1e,2,1,"p",28)(4,x1e,7,0,"p",28)(5,b1e,7,0,"p",28),c(6,"div",29)(7,"button",30),I("click",function(){O(t);let r=M();return T(r.closeModal())}),m(8," Cerrar "),d()()()}if(i&2){let t=M();p(2),K(" ",t.modalTitle," "),p(),g("ngIf",!t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",!t.tokenInexistente&&t.tokenCaducado)}}function y1e(i,e){i&1&&Ei(0)}function M1e(i,e){if(i&1){let t=Y();c(0,"app-generic-modal",34),I("primary",function(){O(t);let r=M();return T(r.genericModalData.onPrimary())})("secondary",function(){O(t);let r=M();return T(r.genericModalData.onSecondary==null?null:r.genericModalData.onSecondary())}),L(1,y1e,1,0,"ng-container",35),d()}if(i&2){let t=M();g("title",t.genericModalData.title)("primaryText",t.genericModalData.primaryText)("secondaryText",t.genericModalData.secondaryText)("showButtons",t.genericModalData.showButtons)("showSecondary",t.genericModalData.showSecondary)("disablePrimary",t.genericModalData.disablePrimary),p(),g("ngTemplateOutlet",t.genericModalData.contentTemplate)}}function w1e(i,e){if(i&1&&(c(0,"p"),m(1),d()),i&2){let t=M();p(),Pe(t.genericModalData.body)}}var N5=class i{tplText;genericModal;template;templateRef;genericModalData;genericModalRef;modalTitle="";modalText="";emailToDelegate="";userName="";email="";isLoading=!1;validateUpper=!1;validateLowe=!1;validateNumber=!1;validateSpecial=!1;validateLenght=!1;tokenInexistente=!1;tokenCaducado=!1;dialogService=C(Qn);router=C(ot);rutaActiva=C(Sr);servicesServices=C(Tn);newPasswordForm=new bt().group({pass:["",[ee.required,ee.minLength(8)]],newPass:["",ee.required]},{validator:[this.checkIfMatchingEmail("pass","newPass"),this.checkValidatePass("pass")]});ngOnInit(){this.verifyIsTOkenIsActivate(this.rutaActiva.snapshot.params.token)}checkValidatePass(e){let t=Jc();return n=>{let r=n.controls[e];return this.checkFormatPass(r.value),r.value==""?r.setErrors({require:!0}):t.test(r.value)?r.value.length<8?r.setErrors({passLenghtValidate:!0}):r.setErrors(null):r.setErrors({passValidate:!0})}}checkFormatPass(e){n1().test(e)?this.validateLowe=!0:this.validateLowe=!1,i1().test(e)?this.validateUpper=!0:this.validateUpper=!1,r1().test(e)?this.validateNumber=!0:this.validateNumber=!1,o1().test(e)?this.validateSpecial=!0:this.validateSpecial=!1,e.length<8?this.validateLenght=!1:this.validateLenght=!0}checkIfMatchingEmail(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return r.value!==o.value?o.setErrors({notEquivalent:!0}):o.setErrors(null)}}verifyIsTOkenIsActivate(e){this.servicesServices.verifyTokenPassMiAllianz(e).then(t=>{t.result==="Error"?(this.disableAllInput(),t.error.includes("inexistente")&&(this.tokenInexistente=!0),t.error.includes("caduco")&&(this.tokenCaducado=!0),this.openModal("Este link ya no es v\xE1lido",t.error)):(this.userName=t.result.userName,this.email=t.result.email)}).catch(t=>{console.error(t),this.openModal("Error","Conunicarse con MiAllianz para mas informacion")})}disableAllInput(){this.newPasswordForm.controls.pass.disable(),this.newPasswordForm.controls.newPass.disable()}openModal(e,t){this.modalTitle=e,this.modalText=t,this.templateRef=this.dialogService.open(this.template,{ariaLabel:"A simple dialog",width:"500px",disableClose:!0})}closeModal(){this.router.navigate(["/"]),this.templateRef?.close()}sendNewPassword(){let e,t,n=!1;this.isLoading=!0;let r={userName:this.userName,newPassword:this.newPasswordForm.controls.pass.value};this.servicesServices.resetForgotPassword(r,this.rutaActiva.snapshot.params.token).then(o=>{o.result==="Error"?(this.disableAllInput(),e=o.result,t=o.error):(n=!0,e="Contrase\xF1a actualizada",t="Tu nueva contrase\xF1a se cre\xF3 con \xE9xito.")}).catch(o=>{console.log(o),e="Error",t="Ha ocurrido un error. Comunicate con nosotros para m\xE1s informaci\xF3n."}).finally(()=>{this.isLoading=!1,this.openModal(e,t)})}openGenericModal(e){this.genericModalData=e,this.genericModalRef=this.dialogService.open(this.genericModal,{disableClose:!0})}closeGenericModal(){this.genericModalRef?.close()}openForgotPassModal(){this.openGenericModal({title:this.modalTitle,contentTemplate:this.tplText,primaryText:"Cerrar",showButtons:!0,disableClose:!0,onPrimary:()=>{this.closeGenericModal()}})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-forgot-password"]],viewQuery:function(t,n){if(t&1&&(pe(u1e,7),pe(p1e,5),pe(f1e,5)),t&2){let r;te(r=ne())&&(n.tplText=r.first),te(r=ne())&&(n.genericModal=r.first),te(r=ne())&&(n.template=r.first)}},decls:68,vars:43,consts:[["password",""],["repetatpassword",""],["template",""],["genericModal",""],["tplText",""],[1,"m-5"],[1,"text-center"],[2,"width","700px","margin","0 auto",3,"submit","formGroup"],["nxLayout"," grid"],["nxRow",""],["nxCol","12"],["label","Nueva contrase\xF1a"],["required","","nxInput","","type","password","formControlName","pass","minlength","5","maxlength","50"],["ariaLabel","password","nxFormfieldSuffix","",3,"control"],["nxFormfieldError","","appearance","text"],[4,"ngIf"],["label","Repetir contrase\xF1a"],["required","","nxInput","","type","password","formControlName","newPass","minlength","5","maxlength","50"],[1,"nx-modal-margin-bottom","mt-5",2,"font-size","18px"],[1,"d-flex","align-items-center"],[1,"m-0",3,"ngStyle"],["size","s","aria-hidden","true",3,"ngStyle","name"],["nxCol","12,6"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[1,"centered-content","d-flex","flex-column","align-items-center"],["nxHeadline","subsection-medium",1,"nx-modal-margin-bottom",2,"text-align","center"],["class","nx-modal-margin-bottom","style","font-size: 18px;",4,"ngIf"],[1,"two-button-container"],["nxButton","primary",1,"nx-margin-right-s",3,"click"],[1,"nx-modal-margin-bottom",2,"font-size","18px"],["nxStyle","block"],["href","/forgot-pass",2,"font-size","18px"],[3,"primary","secondary","title","primaryText","secondaryText","showButtons","showSecondary","disablePrimary"],[4,"ngTemplateOutlet"]],template:function(t,n){if(t&1){let r=Y();
801c(0,"div",5)(1,"h1",6),m(2,"Restablecer contrase\xF1a"),d(),c(3,"form",7),I("submit",function(){return O(r),T(n.sendNewPassword())}),c(4,"div",8)(5,"div",9)(6,"div",10)(7,"nx-formfield",11)(8,"nx-formfield-label"),m(9," Contrase\xF1a "),d(),S(10,"input",12,0)(12,"nx-password-toggle",13),c(13,"nx-error",14),L(14,m1e,2,0,"div",15)(15,h1e,2,0,"div",15)(16,g1e,2,0,"div",15),d()()()(),c(17,"div",9)(18,"div",10)(19,"nx-formfield",16)(20,"nx-formfield-label"),m(21," Repetir contrase\xF1a "),d(),S(22,"input",17,1)(24,"nx-password-toggle",13),c(25,"nx-error",14)(26,"strong"),m(27,"Importante"),d(),m(28," este campo es requerido "),d()()()(),S(29,"br"),c(30,"div",9)(31,"div",10)(32,"div",18)(33,"p"),m(34,"La contrase\xF1a debe poseer: "),S(35,"br"),d(),c(36,"div",19)(37,"p",20),m(38," Al menos 8 catacteres "),d(),S(39,"nx-icon",21),d(),c(40,"div",19)(41,"p",20),m(42,"Al menos 1 may\xFAscula "),d(),S(43,"nx-icon",21),d(),c(44,"div",19)(45,"p",20),m(46,"Al menos 1 min\xFAscula "),d(),S(47,"nx-icon",21),d(),c(48,"div",19)(49,"p",20),m(50,"Al menos 1 n\xFAmero "),d(),S(51,"nx-icon",21),d(),c(52,"div",19)(53,"p",20),m(54,"Al menos 1 caracter especial. Ej: !@#$%^&*"),d(),S(55,"nx-icon",21),d()()()(),S(56,"br"),c(57,"div",9)(58,"div",22)(59,"button",23),L(60,_1e,1,0,"img",24),m(61," Crear"),d()()()()()(),L(62,C1e,9,4,"ng-template",null,2,an)(64,M1e,2,7,"ng-template",null,3,an)(66,w1e,2,1,"ng-template",null,4,an)}if(t&2){let r=Ct(11),o=Ct(23);p(3),g("formGroup",n.newPasswordForm),p(9),g("control",r),p(2),g("ngIf",n.newPasswordForm.controls.pass.getError("require")),p(),g("ngIf",n.newPasswordForm.controls.pass.getError("passValidate")),p(),g("ngIf",n.newPasswordForm.controls.pass.getError("passLenghtValidate")),p(8),g("control",o),p(13),g("ngStyle",Lt(23,zl,n.validateLenght?"green":"red")),p(2),g("ngStyle",Lt(25,zl,n.validateLenght?"green":"red"))("name",n.validateLenght?"check":"close"),p(2),g("ngStyle",Lt(27,zl,n.validateUpper?"green":"red")),p(2),g("ngStyle",Lt(29,zl,n.validateUpper?"green":"red"))("name",n.validateUpper?"check":"close"),p(2),g("ngStyle",Lt(31,zl,n.validateLowe?"green":"red")),p(2),g("ngStyle",Lt(33,zl,n.validateLowe?"green":"red"))("name",n.validateLowe?"check":"close"),p(2),g("ngStyle",Lt(35,zl,n.validateNumber?"green":"red")),p(2),g("ngStyle",Lt(37,zl,n.validateNumber?"green":"red"))("name",n.validateNumber?"check":"close"),p(2),g("ngStyle",Lt(39,zl,n.validateSpecial?"green":"red")),p(2),g("ngStyle",Lt(41,zl,n.validateSpecial?"green":"red"))("name",n.validateSpecial?"check":"close"),p(4),g("disabled",!n.newPasswordForm.valid||n.isLoading),p(),g("ngIf",n.isLoading)}},dependencies:[me,Et,ut,vt,jt,St,sn,ui,w2,et,Ji,fo,At,Rt,wt,Pt,Er,Dn,kn,st,qt,_t,Xt,nt,vr,Yt,Bs,a1],styles:["button[_ngcontent-%COMP%]{text-transform:uppercase}"]})};var S1e=["template"],Ll=i=>({color:i});function P1e(i,e){i&1&&(c(0,"div"),m(1," Este campo es obligatorio "),d())}function E1e(i,e){i&1&&(c(0,"div"),m(1," Formato de contrase\xF1a inv\xE1lido "),d())}function D1e(i,e){i&1&&(c(0,"div"),m(1," La contrase\xF1a tiene que tener al menos 8 car\xE1cteres "),d())}function O1e(i,e){i&1&&S(0,"img",23)}function T1e(i,e){if(i&1&&(c(0,"p",30),m(1),d()),i&2){let t=M(2);p(),K(" ",t.modalText," ")}}function I1e(i,e){i&1&&(c(0,"p",31),m(1," El link ha expirado o ya ha sido utilizado. Para volver a generarlo, hac\xE9 click "),c(2,"nx-link",32)(3,"a",33),m(4,"ac\xE1."),d()(),S(5,"br"),m(6," Record\xE1 que el link estar\xE1 activo por 48hs. "),d())}function k1e(i,e){i&1&&(c(0,"p",31),m(1," El link ha expirado. Para volver a generarlo, hac\xE9 click "),c(2,"nx-link",32)(3,"a",33),m(4,"ac\xE1."),d()(),S(5,"br"),m(6," Record\xE1 que el link estar\xE1 activo por 48hs. "),d())}function N1e(i,e){if(i&1){let t=Y();c(0,"button",34),I("click",function(){O(t);let r=M(2);return T(r.closeModal())}),m(1," Login "),d()}}function A1e(i,e){if(i&1){let t=Y();c(0,"button",34),I("click",function(){O(t);let r=M(2);return T(r.closeModalToHome())}),m(1," Cancelar "),d()}}function V1e(i,e){if(i&1&&(c(0,"div",24)(1,"h3",25),m(2),d(),L(3,T1e,2,1,"p",26)(4,I1e,7,0,"p",27)(5,k1e,7,0,"p",27),c(6,"div",28),L(7,N1e,2,0,"button",29)(8,A1e,2,0,"button",29),d()()),i&2){let t=M();p(2),K(" ",t.modalTitle," "),p(),g("ngIf",!t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",!t.tokenInexistente&&t.tokenCaducado),p(2),g("ngIf",!t.tokenInexistente&&!t.tokenCaducado),p(),g("ngIf",t.tokenInexistente||t.tokenCaducado)}}var fm=class i{template;templateRef;modalTitle="";modalText="";emailToDelegate="";userName="";email="";formNewUser=null;isLoading=!1;postDisableForm=!1;tokenPage=null;validateUpper=!1;validateLowe=!1;validateNumber=!1;validateSpecial=!1;validateLenght=!1;isContactCenter=!1;tokenInexistente=!1;tokenCaducado=!1;dialogService=C(Qn);_emittersService=C(Jt);router=C(ot);rutaActiva=C(Sr);servicesServices=C(Tn);newPasswordForm=new bt().group({pass:["",[ee.required,ee.minLength(8)]],newPass:["",ee.required]},{validator:[this.checkIfMatchingEmail("pass","newPass"),this.checkValidatePass("pass")]});ngOnInit(){this.tokenPage=this.rutaActiva.snapshot.params.token,this.verifyIsTOkenIsActivate(this.rutaActiva.snapshot.params.token)}verifyIsTOkenIsActivate(e){this.isContactCenter=!!this.rutaActiva.snapshot.params.typerequest;try{this.isContactCenter?this.verifyTokenMiAllianz(e):this.verifyTokenRegister(e)}catch{this.openModal("Error","Ha ocurrido un error. Comunicate con nosotros para m\xE1s informaci\xF3n.")}}verifyTokenRegister(e){this.servicesServices.postValidateToken(e).then(t=>{t.result==="Error"?(t.error.includes("inexistente")&&(this.tokenInexistente=!0),t.error.includes("caduco")&&(this.tokenCaducado=!0),this.openModal(t.result,t.error),this.disableAllInput()):this.formNewUser=t.result}).catch(t=>{console.error(t)})}verifyTokenMiAllianz(e){this.servicesServices.verifyTokenPassMiAllianz(e).then(t=>{t.result==="Error"?(t.error.includes("inexistente")&&(this.tokenInexistente=!0),t.error.includes("caduco")&&(this.tokenCaducado=!0),this.openModal(t.result,t.error),this.disableAllInput()):this.formNewUser=t.result}).catch(t=>{}).finally(()=>{})}checkIfMatchingEmail(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return r.value!==o.value?o.setErrors({notEquivalent:!0}):o.setErrors(null)}}checkValidatePass(e){let t=Jc();return n=>{let r=n.controls[e];return this.checkFormatPass(r.value),r.value==""?r.setErrors({require:!0}):t.test(r.value)?r.value.length<8?r.setErrors({passLenghtValidate:!0}):r.setErrors(null):r.setErrors({passValidate:!0})}}checkFormatPass(e){n1().test(e)?this.validateLowe=!0:this.validateLowe=!1,i1().test(e)?this.validateUpper=!0:this.validateUpper=!1,r1().test(e)?this.validateNumber=!0:this.validateNumber=!1,o1().test(e)?this.validateSpecial=!0:this.validateSpecial=!1,e.length<8?this.validateLenght=!1:this.validateLenght=!0}disableAllInput(){this.newPasswordForm.controls.pass.disable(),this.newPasswordForm.controls.newPass.disable()}openModal(e,t){this.modalTitle=e,this.modalText=t,this.templateRef=this.dialogService.open(this.template,{ariaLabel:"A simple dialog",width:"500px"})}closeModal(){this.templateRef?.close(),this.router.navigate(["/login"])}closeModalToHome(){this.templateRef?.close(),this.router.navigate(["/"])}validatePassword(){return!!Jc().test(this.newPasswordForm.controls.pass.value)}enviarRespuestas(){if(!this.validatePassword())return;let e={password:this.newPasswordForm.value.pass};this.postDisableForm=!0,this.isContactCenter?this.postCreateMiAllianz(e.password):this.postCreateRegister(e)}postCreateMiAllianz(e){this.servicesServices.createNewUserMiAllianz(e,this.tokenPage).then(t=>{if(t.result!="ok"){this.openModal("Error al crear el usuario","Por favor comunicate con Allianz"),this._emittersService.emmiterToast(0,"Error al crear perfil");return}this.openModal("Te damos la bienvenida","\xA1Tu usuario se cre\xF3 con \xE9xito.!")}).catch(t=>{this.openModal("Ocurrio un error","Error al crear perfil correctamente")}).finally(()=>{this.postDisableForm=!1})}postCreateRegister(e){this.servicesServices.postRegister(this.tokenPage,e).then(t=>{if(t.result==="Error"){this.openModal("Error al crear el usuario","Por favor comunicate con Allianz"),this._emittersService.emmiterToast(0,"Error al crear perfil");return}this.openModal("Te damos la bienvenida","\xA1Tu usuario se cre\xF3 con \xE9xito.!")}).catch(t=>{this.openModal("Ocurrio un error","Error al crear perfil correctamente")}).finally(()=>{this.postDisableForm=!1})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-create-password-cc"]],viewQuery:function(t,n){if(t&1&&pe(S1e,5),t&2){let r;te(r=ne())&&(n.template=r.first)}},decls:63,vars:43,consts:[["password",""],["Repeatpassword",""],["template",""],[1,"m-5"],[1,"text-center"],[2,"width","700px","margin","0 auto",3,"submit","formGroup"],["nxLayout"," grid"],["nxRow",""],["nxCol","12"],["label","Nueva contrase\xF1a"],["required","","nxInput","","type","password","formControlName","pass","minlength","5","maxlength","50"],["ariaLabel","password","nxFormfieldSuffix","",3,"control"],["nxFormfieldError","","appearance","text"],[4,"ngIf"],["label","Repetir contrase\xF1a"],["required","","nxInput","","type","password","formControlName","newPass","minlength","5","maxlength","50"],[1,"nx-modal-margin-bottom","mt-5",2,"font-size","18px"],[1,"d-flex","align-items-center"],[1,"m-0",3,"ngStyle"],["size","s","aria-hidden","true",3,"ngStyle","name"],["nxRow","",1,"justify-content-center"],["nxCol","12,6",1,"text-center"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[1,"centered-content"],["nxHeadline","subsection-medium",1,"nx-modal-margin-bottom","text-center"],["style","font-size: 18px;","class","nx-modal-margin-bottom text-center",4,"ngIf"],["class","nx-modal-margin-bottom","style","font-size: 18px;",4,"ngIf"],[1,"two-button-container","text-center"],["nxButton"," secondary","class","nx-margin-right-s",3,"click",4,"ngIf"],[1,"nx-modal-margin-bottom","text-center",2,"font-size","18px"],[1,"nx-modal-margin-bottom",2,"font-size","18px"],["nxStyle","block"],["href","/register",2,"font-size","18px"],["nxButton"," secondary",1,"nx-margin-right-s",3,"click"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",3)(1,"h1",4),m(2,"Generar contrase\xF1a"),d(),c(3,"form",5),I("submit",function(){return O(r),T(n.enviarRespuestas())}),c(4,"div",6)(5,"div",7)(6,"div",8)(7,"nx-formfield",9)(8,"nx-formfield-label"),m(9," C
801ontrase\xF1a "),d(),S(10,"input",10,0)(12,"nx-password-toggle",11),c(13,"nx-error",12),L(14,P1e,2,0,"div",13)(15,E1e,2,0,"div",13)(16,D1e,2,0,"div",13),d()()()(),c(17,"div",7)(18,"div",8)(19,"nx-formfield",14)(20,"nx-formfield-label"),m(21," Repetir Constrase\xF1a "),d(),S(22,"input",15,1)(24,"nx-password-toggle",11),c(25,"nx-error",12)(26,"strong"),m(27,"Importante"),d(),m(28," Las contrase\xF1as deben ser iguales "),d()()()(),c(29,"div",7)(30,"div",8)(31,"div",16)(32,"p"),m(33,"La contrase\xF1a debe poseer: "),S(34,"br"),d(),c(35,"div",17)(36,"p",18),m(37," Al menos 8 catacteres "),d(),S(38,"nx-icon",19),d(),c(39,"div",17)(40,"p",18),m(41,"Al menos 1 may\xFAscula "),d(),S(42,"nx-icon",19),d(),c(43,"div",17)(44,"p",18),m(45,"Al menos 1 min\xFAscula "),d(),S(46,"nx-icon",19),d(),c(47,"div",17)(48,"p",18),m(49,"Al menos 1 n\xFAmero "),d(),S(50,"nx-icon",19),d(),c(51,"div",17)(52,"p",18),m(53,"Al menos 1 caracter especial. Ej: !@#$%^&*"),d(),S(54,"nx-icon",19),d()()()(),S(55,"br"),c(56,"div",20)(57,"div",21)(58,"button",22),re(59,O1e,1,0,"img",23),m(60," Crear"),d()()()()()(),L(61,V1e,9,6,"ng-template",null,2,an)}if(t&2){let r=Ct(11),o=Ct(23);p(3),g("formGroup",n.newPasswordForm),p(9),g("control",r),p(2),g("ngIf",n.newPasswordForm.controls.pass.getError("require")),p(),g("ngIf",n.newPasswordForm.controls.pass.getError("passValidate")),p(),g("ngIf",n.newPasswordForm.controls.pass.getError("passLenghtValidate")),p(8),g("control",o),p(12),g("ngStyle",Lt(23,Ll,n.validateLenght?"green":"red")),p(2),g("ngStyle",Lt(25,Ll,n.validateLenght?"green":"red"))("name",n.validateLenght?"check":"close"),p(2),g("ngStyle",Lt(27,Ll,n.validateUpper?"green":"red")),p(2),g("ngStyle",Lt(29,Ll,n.validateUpper?"green":"red"))("name",n.validateUpper?"check":"close"),p(2),g("ngStyle",Lt(31,Ll,n.validateLowe?"green":"red")),p(2),g("ngStyle",Lt(33,Ll,n.validateLowe?"green":"red"))("name",n.validateLowe?"check":"close"),p(2),g("ngStyle",Lt(35,Ll,n.validateNumber?"green":"red")),p(2),g("ngStyle",Lt(37,Ll,n.validateNumber?"green":"red"))("name",n.validateNumber?"check":"close"),p(2),g("ngStyle",Lt(39,Ll,n.validateSpecial?"green":"red")),p(2),g("ngStyle",Lt(41,Ll,n.validateSpecial?"green":"red"))("name",n.validateSpecial?"check":"close"),p(4),g("disabled",!n.newPasswordForm.valid||n.postDisableForm||!n.validatePassword()),p(),oe(n.postDisableForm?59:-1)}},dependencies:[me,Et,ut,vt,jt,St,sn,ui,w2,et,fo,At,Rt,wt,Pt,Er,Dn,kn,st,qt,_t,Xt,nt,vr,Yt,Bs],styles:["button[_ngcontent-%COMP%]{text-transform:uppercase}"]})};var up=class i{appService=C(Oi);ngOnInit(){}logout(){this.appService.logout()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-not-allowed"]],decls:13,vars:0,consts:[["nxLayout","grid",1,"p-5"],["nxRow","",1,"mt-4"],["nxCol","12",1,"center"],["nxHeadline","section",1,"text-secondary","text-center","nx-margin-bottom-m"],["nxRow","",1,"mt-2"],["nxCol","12"],[1,"text-center",2,"color","rgba(256, 0, 1)","font-size","24px","display","flex","justify-content","center","align-items","center"],["name","exclamation-circle","size","m",1,"mr-2"],["nxCol","12",1,"text-center","center"],["type","button","nxButton","primary medium",3,"click"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),m(4," Acceso no autorizado "),d()()(),c(5,"div",4)(6,"div",5)(7,"p",6),S(8,"nx-icon",7),m(9," Usted no cuenta con los permisos necesarios para acceder a la ruta solicitada. "),d()(),c(10,"div",8)(11,"button",9),I("click",function(){return n.logout()}),m(12," Volver "),d()()()())},dependencies:[me,Et,ut,vt,_t,Xt,nt],styles:[".center[_ngcontent-%COMP%]{display:flex;justify-content:center}"]})};var A5=class i{router=C(ot);ngOnInit(){this.router.url==="/priv/mispolizas"&&this.router.navigateByUrl("/priv")}goHome(){this.router.navigate(["/"])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-not-found"]],decls:18,vars:0,consts:[[1,"not-found-container"],[1,"not-found-content"],[1,"not-found-code"],[1,"not-found-title"],[1,"not-found-subtitle"],[1,"not-found-reasons"],[1,"not-found-btn",3,"click"]],template:function(t,n){t&1&&(S(0,"app-public-header"),c(1,"main",0)(2,"div",1)(3,"p",2),m(4,"Error 404"),d(),c(5,"h1",3),m(6,"Disculp\xE1, pero no encontramos la p\xE1gina que busc\xE1s"),d(),c(7,"p",4),m(8,"Esto puede ser porque..."),d(),c(9,"ul",5)(10,"li"),m(11,"Hay alg\xFAn error, disculpanos si es as\xED, trabajamos a diario para mejorar la web."),d(),c(12,"li"),m(13,"Tal vez escribiste algo mal en el navegador."),d()(),c(14,"button",6),I("click",function(){return n.goHome()}),m(15,"Ir al inicio"),d()()(),S(16,"app-menu-footer")(17,"app-footer"))},dependencies:[np,Xd,Zd],styles:[".not-found-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-height:50vh;padding:60px 24px;background-color:#f5f5f5}.not-found-content[_ngcontent-%COMP%]{max-width:640px;width:100%;text-align:center}.not-found-code[_ngcontent-%COMP%]{font-size:1rem;font-weight:800;color:#003781;letter-spacing:.08em;margin-bottom:12px;font-size:50px}.not-found-title[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:700;
801color:#1a1a1a;margin-bottom:24px;line-height:1.3}.not-found-subtitle[_ngcontent-%COMP%]{font-size:1rem;color:#555;margin-bottom:12px;font-weight:600}.not-found-reasons[_ngcontent-%COMP%]{list-style:disc;text-align:left;display:inline-block;margin:0 auto 36px;padding-left:20px;color:#555;font-size:.95rem;line-height:1.8}.not-found-btn[_ngcontent-%COMP%]{display:inline-block;padding:12px 32px;background-color:#003781;color:#fff;font-size:.95rem;font-weight:600;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s ease}.not-found-btn[_ngcontent-%COMP%]:hover{background-color:#00205b}"]})};var No=class i{constructor(e){this.location=e}globalIsMisPolizas=!1;setGlobalIsMisPolizas(e){this.globalIsMisPolizas=e,this.location.go(e?"/priv/mispolizas":"/priv")}getGlobalIsMisPolizas(){return this.globalIsMisPolizas}static \u0275fac=function(t){return new(t||i)(Le($a))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var Kw=class{dataNodes;expansionModel=new kc(!0);trackBy;getLevel;isExpandable;getChildren;toggle(e){this.expansionModel.toggle(this._trackByValue(e))}expand(e){this.expansionModel.select(this._trackByValue(e))}collapse(e){this.expansionModel.deselect(this._trackByValue(e))}isExpanded(e){return this.expansionModel.isSelected(this._trackByValue(e))}toggleDescendants(e){this.expansionModel.isSelected(this._trackByValue(e))?this.collapseDescendants(e):this.expandDescendants(e)}collapseAll(){this.expansionModel.clear()}expandDescendants(e){let t=[e];t.push(...this.getDescendants(e)),this.expansionModel.select(...t.map(n=>this._trackByValue(n)))}collapseDescendants(e){let t=[e];t.push(...this.getDescendants(e)),this.expansionModel.deselect(...t.map(n=>this._trackByValue(n)))}_trackByValue(e){return this.trackBy?this.trackBy(e):e}},V5=class extends Kw{getLevel;isExpandable;options;constructor(e,t,n){super(),this.getLevel=e,this.isExpandable=t,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(e){let t=this.dataNodes.indexOf(e),n=[];for(let r=t+1;r<this.dataNodes.length&&this.getLevel(e)<this.getLevel(this.dataNodes[r]);r++)n.push(this.dataNodes[r]);return n}expandAll(){this.expansionModel.select(...this.dataNodes.map(e=>this._trackByValue(e)))}};var Xw=class{transformFunction(e,t){let o=e,{children:n}=o,r=qp(o,["children"]);return mt(ae({},r),{level:t,expandable:Array.isArray(n)&&n.length>0})}getLevel(e){return e.level}isExpandable(e){return e.expandable}getChildren(e){return e.children}_flattenNode(e,t,n,r){let o=this.transformFunction(e,t);if(n.push(o),this.isExpandable(o)){let a=this.getChildren(e);Array.isArray(a)?this._flattenChildren(a,t,n,r):a.pipe(Bn(1)).subscribe(s=>{this._flattenChildren(s,t,n,r)})}return n}_flattenChildren(e,t,n,r){e.forEach((o,a)=>{let s=r.slice();s.push(a!==e.length-1),this._flattenNode(o,t+1,n,s)})}flattenNodes(e){let t=[];return e.forEach(n=>this._flattenNode(n,0,t,[])),t}expandFlattenedNodes(e,t){let n=[],r=[];return r[0]=!0,e.forEach(o=>{let a=!0;for(let s=0;s<=this.getLevel(o);s++)a=a&&r[s];a&&n.push(o),this.isExpandable(o)&&(r[this.getLevel(o)+1]=t.isExpanded(o))}),n}},F5=class extends If{set data(e){this._data.next(e),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this.treeControl.dataNodes=this._flattenedData.value}get data(){return this._data.value}constructor(e,t=[]){super(),this.treeControl=e,this._flattenedData=new mi([]),this._expandedData=new mi([]),this._data=new mi([]),this._treeFlattener=new Xw,this.data=t}connect(e){let t=[e.viewChange,this.treeControl.expansionModel.changed.asObservable(),this._flattenedData.asObservable()];return pr(...t).pipe(ct(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this.treeControl)),this._expandedData.value)))}disconnect(){}},R5=class extends V5{constructor(){super(e=>e.level,e=>e.expandable)}};var R1e=["menuCustomId"],z1e=()=>[1,2,3,4,5];function L1e(i,e){i&1&&(c(0,"nx-header-navigation-item"),S(1,"div",13),d())}function H1e(i,e){i&1&&(c(0,"nx-header-navigation",11),L(1,L1e,2,0,"nx-header-navigation-item",12),d()),i&2&&(p(),g("ngForOf",In(1,z1e)))}function B1e(i,e){if(i&1){let t=Y();c(0,"button",18),I("click",function(){let r=O(t).$implicit;M(4);let o=Ct(1);return M().click(r),T(o.toggle())}),m(1),d()}if(i&2){let t=e.$implicit;p(),K(" ",t.label," ")}}function j1e(i,e){if(i&1&&(c(0,"div")(1,"nx-context-menu",null,1),L(3,B1e,2,1,"button",16),d(),c(4,"button",17),m(5),sr(6,"titlecase"),d()()),i&2){let t=Ct(2),n=M().$implicit;p(3),g("ngForOf",n.children),p(),g("nxContextMenuTriggerFor",t),p(),K(" ",Os(6,3,n.label)," ")}}function q1e(i,e){if(i&1){let t=Y();c(0,"button",19),I("click",function(){O(t);let r=M().$implicit;M(2);let o=Ct(1);return M().click(r),T(o.toggle())}),m(1),sr(2,"titlecase"),d()}if(i&2){let t=M().$implicit;p(),K(" ",Os(2,1,t.label)," ")}}function U1e(i,e){if(i&1&&(Ze(0),c(1,"nx-header-navigation-item"),L(2,j1e,7,5,"div",9)(3,q1e,3,3,"button",15),d(),Xe()),i&2){let t=e.$implicit;p(2),g("ngIf",t.children==null?null:t.children.length),p(),g("ngIf",!(t.children!=null&&t.children.length))}}function G1e(i,e){if(i&1&&(c(0,"nx-header-navigation")(1,"div",14),L(2,U1e,4,2,"ng-container",12),d()()),i&2){let t=M(2);p(2),g("ngForOf",t.menuView)}}function $1e(i,e){if(i&1){let t=Y();c(0,"nx-menu",5,0)(2,"div",6)(3,"nx-header-row",7),L(4,H1e,2,2,"nx-header-navigation",8)(5,G1e,3,1,"nx-header-navigation",9),c(6,"button",10),I("click",function(){O(t);let r=Ct(1);
801return T(r.toggle())}),m(7," cerrar men\xFA "),d()()()()}if(i&2){let t=M();p(4),g("ngIf",!t.loaded&&!t.mostrarMenu),p(),g("ngIf",t.loaded&&t.mostrarMenu)}}var z5=class i{constructor(e,t){this.router=e;this.globalMainService=t;this._treeControl=new R5,this._dataSource=new F5(this._treeControl),this.routerSub=this.router.events.subscribe(n=>{n instanceof na&&!(window.innerWidth>=this.DESKTOP_BREAKPOINT)&&this.closeMenuIfOpen()})}DESKTOP_BREAKPOINT=1024;_dataSource;_treeControl;menuView=[];loaded=!1;mostrarMenu=!1;menu_mobile;menu;menuAlive=!0;routerSub;ngOnDestroy(){this.routerSub?.unsubscribe()}_hasChild=(e,t)=>t.expandable;_isLink=(e,t)=>t.query;toggleMenu(){this.menu?.toggle()}closeMenuIfOpen(){this.menu?.open&&this.menu.toggle()}click(e){if(e.link==="/"&&this.globalMainService.setGlobalIsMisPolizas(!1),e?.label==="Formato de n\xF3mina"){let n=document.createElement("a");n.href="assets/files/carga-nomina-allianz.csv",n.download="carga-nomina-allianz.csv",n.target="_self",n.click();return}let t="/priv"+e.link;this.closeMenuHard(),this.router.navigate([t])}onResize(){window.innerWidth>=this.DESKTOP_BREAKPOINT&&this.closeMenuIfOpen()}openMenu(){this.menu?.toggle()}closeMenuHard(){try{this.menu_mobile?.toggle()}catch{}this.menuAlive=!1,setTimeout(()=>{this.menuAlive=!0})}get isMobile(){return window.innerWidth<this.DESKTOP_BREAKPOINT}static \u0275fac=function(t){return new(t||i)(D(ot),D(No))};static \u0275cmp=z({type:i,selectors:[["app-menu-mobile"]],viewQuery:function(t,n){if(t&1&&(pe(R1e,5),pe(i8,5)),t&2){let r;te(r=ne())&&(n.menu_mobile=r.first),te(r=ne())&&(n.menu=r.first)}},hostBindings:function(t,n){t&1&&I("resize",function(){return n.onResize()},xc)},inputs:{menuView:"menuView",loaded:"loaded",mostrarMenu:"mostrarMenu"},decls:3,vars:1,consts:[["menuCustomId",""],["menu","nxContextMenu"],["nxPlainButton","","aria-label","open menu",1,"menu-mobile-btn",3,"click"],["src","assets/img/az-menu-mobile.svg","alt","menu",1,"menu-mobile-icon"],["class","menu-mobile",4,"ngIf"],[1,"menu-mobile"],[1,"menu-mobile-box"],[2,"display","flex","flex-direction","column","padding","20px 15px"],["class","float-right",4,"ngIf"],[4,"ngIf"],["nxButton","","type","button",1,"menu-mobile-close-btn",3,"click"],[1,"float-right"],[4,"ngFor","ngForOf"],[1,"skeleton-box",2,"width","150px","height","100%","margin","0 10px"],[1,"menu-mobile-navigation"],["nxButton","tertiary small","type","button","class","menu-mobile-navigation-btn",3,"click",4,"ngIf"],["nxContextMenuItem","","type","button","class","menu-mobile-navigation-btn",3,"click",4,"ngFor","ngForOf"],["nxButton","tertiary small","scrollStrategy","close","type","button",1,"menu-mobile-navigation-btn",3,"nxContextMenuTriggerFor"],["nxContextMenuItem","","type","button",1,"menu-mobile-navigation-btn",3,"click"],["nxButton","tertiary small","type","button",1,"menu-mobile-navigation-btn",3,"click"]],template:function(t,n){t&1&&(c(0,"button",2),I("click",function(){return n.openMenu()}),S(1,"img",3),d(),L(2,$1e,8,2,"nx-menu",4)),t&2&&(p(2),g("ngIf",n.menuAlive))},dependencies:[me,i8,Ut,et,_t,_o,J6,Uf,e8,Kd,is,tp,k2,t2],styles:[".menu-mobile-btn[_ngcontent-%COMP%]{display:none}.menu-mobile[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]{border-bottom:none!important;box-shadow:none!important}.menu-mobile-icon[_ngcontent-%COMP%]{width:32px;height:32px}.menu-mobile[_ngcontent-%COMP%]{position:fixed;z-index:1000}.menu-mobile-box[_ngcontent-%COMP%]{display:flex;flex-direction:column}.menu-mobile-close-btn[_ngcontent-%COMP%]{width:100%;height:44px!important;min-height:44px!important;margin-top:16px}.menu-mobile-navigation[_ngcontent-%COMP%]{display:flex;flex-direction:column}.menu-mobile-navigation-btn[_ngcontent-%COMP%]{padding:0;margin-bottom:32px!important}@media (max-width: 1137px){.menu-mobile-btn[_ngcontent-%COMP%]{margin-left:16px;display:block}}@media (max-width: 767px){.menu-mobile-btn[_ngcontent-%COMP%]{margin-left:16px;display:block}}"]})};var c1=class i extends Ke{setNominas(e){let t={PostDatosNominaIn:{datosNomina:e}};return this.postRequest("/v1/suscripcion/vida/tomadores/inserta_nomina",t)}
801downloadNominas(e,t,n,r){let o={ppoliza:e,pfechadesde:t,pfechahasta:n,pdocumento:r};return this.getRequestParams("/v1/suscripcion/vida/tomadores/get_benef_nomina",o)}getNominas(e,t,n,r,o,a){let s={ppoliza:e,pdocumento:t,pfechadesde:n,pfechahasta:r,lineasXPag:o,pagActual:a};return this.getRequestParams("/v1/suscripcion/vida/tomadores/get_nomina",s)}getIsTomador(){return this.getRequest("/v1/suscripcion/vida/tomadores/get_es_tomador")}getModulos(){return this.getRequest("/v1/suscripcion/vida/modulo")}getVinculos(){return this.getRequest("/v1/suscripcion/vida/asegurados/get_vinculo")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var pp=class i extends Ya{flags=new Map;loaded=!1;loadingPromise=null;load(){return this.loaded?Promise.resolve():this.loadingPromise?this.loadingPromise:(this.loadingPromise=this.get("api/mi-allianz/private/config").toPromise().then(e=>{(e??[]).forEach(t=>{this.flags.set(t.configKey,t.configValue==="S")})}).catch(()=>{}).finally(()=>{this.loaded=!0}),this.loadingPromise)}isEnabled(e){let t=this.flags.get(e)??!1;return console.log(`[feature-flag] Flag with key ${e} has value ${t}`),t}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var Y1e=()=>[1,2,3,4,5],Q1e=(i,e)=>e.id,K1e=(i,e)=>e.label;function X1e(i,e){i&1&&(c(0,"nx-header-navigation-item"),S(1,"div",13),d())}function Z1e(i,e){i&1&&(c(0,"nx-header-navigation",11),Ot(1,X1e,2,0,"nx-header-navigation-item",null,$n),d()),i&2&&(p(),Tt(In(0,Y1e)))}function J1e(i,e){if(i&1){let t=Y();c(0,"button",16),I("click",function(){O(t);let r=M().$implicit,o=M(4);return T(o.onClick(r.link))}),m(1),sr(2,"titlecase"),d()}if(i&2){let t=M().$implicit;p(),K(" ",Os(2,1,t.label)," ")}}function e2e(i,e){if(i&1){let t=Y();c(0,"button",19),I("click",function(){let r=O(t).$implicit,o=M(6);return T(o.onClick(r.link,r))}),m(1),d()}if(i&2){let t=e.$implicit;p(),K(" ",t.label," ")}}function t2e(i,e){if(i&1&&(c(0,"nx-context-menu",null,0),Ot(2,e2e,2,1,"button",17,K1e),d(),c(4,"button",18),m(5),sr(6,"titlecase"),d()),i&2){let t=Ct(1),n=M().$implicit;p(2),Tt(n.children),p(2),g("nxContextMenuTriggerFor",t),p(),K(" ",Os(6,2,n.label)," ")}}function n2e(i,e){if(i&1&&(c(0,"nx-header-navigation-item"),re(1,J1e,3,3,"button",15),re(2,t2e,7,4),d()),i&2){let t=e.$implicit;p(),oe(!t.children||t.children.length===0?1:-1),p(),oe(t.children&&t.children.length>0?2:-1)}}function i2e(i,e){if(i&1&&(c(0,"nx-header-navigation",12),Ot(1,n2e,3,2,"nx-header-navigation-item",null,Q1e),d()),i&2){let t=M(3);p(),Tt(t.menuView())}}function r2e(i,e){if(i&1&&L(0,i2e,3,0,"nx-header-navigation",14),i&2){let t=M(2);g("ngIf",t.loaded()&&t.mostrarMenu())}}function o2e(i,e){if(i&1&&(c(0,"header",8)(1,"nx-header-row"),re(2,Z1e,3,1,"nx-header-navigation",11),re(3,r2e,1,1,"nx-header-navigation",12),d()()),i&2){let t=M();p(2),oe(t.loaded()?-1:2),p(),oe(t.loaded()&&t.mostrarMenu()?3:-1)}}var a2e=[{idMenu:"10",oid:"10",descNombreMenu:"Operaci\xF3n de n\xF3minas",nroNivel:"1",roles:"nomina",link:null},{oid:"11",descNombreMenu:"Consulta de n\xF3mina",nroNivel:"2",idMenuPadre:"10",roles:"nomina",link:"/beneficiarios/consulta-nomina"},{oid:"12",descNombreMenu:"Carga de n\xF3mina",nroNivel:"2",idMenuPadre:"10",roles:"nomina",link:"/beneficiarios/carga-nomina"},{oid:"13",descNombreMenu:"Formato de n\xF3mina",nroNivel:"2",idMenuPadre:"10",roles:"nomina",link:""}],L5=class i{URL_LOGO="../../../assets/img/allianz_logo_with_name.svg";loaded=nn(!1);mostrarMenu=nn(!1);isShown=!1;appService=C(Oi);services=C(_i);router=C(ot);globalMainService=C(No);chatBotService=C(wl);consultaBeneficioService=C(c1);featureFlagService=C(pp);menuView=nn([]);destroyRef=C(hr);rawMenu=[];ngOnInit(){this.obtenerMenu(),this.router.events.pipe(S2(this.destroyRef)).subscribe(e=>{e instanceof na&&document.body.click()})}logout(){this.chatBotService.deletePersistedData(),this.appService.logout().finally(()=>{window.location.href=`${Se.oauth2.baseUrl}/logout?redirect_uri=${window.location.origin}/`})}navegacionLogo(e){e.preventDefault(),this.globalMainService.setGlobalIsMisPolizas(!1),this.router.navigate(["/priv"])}async obtenerMenu(){this.loaded.set(!1),this.mostrarMenu.set(!1);try{let[e]=await Promise.all([this.services.getMenu(),this.featureFlagService.load()]);this.rawMenu=[...e];let t=["Buscar usuario","Contact Center","Crear usuario"];this.rawMenu=this.rawMenu.filter(n=>!t.includes(n.descNombreMenu)),this.rebuildMenuView(),this.loaded.set(!0),this.mostrarMenu.set(!0),this.featureFlagService.isEnabled("ENABLE_DESIGNACION_BENEFICIARIOS")&&this.extendMenuIfTomador()}catch(e){console.error("Error al obtener men\xFA",e)}}extendMenuIfTomador(){this.consultaBeneficioService.getIsTomador().pipe(G7(1e4),Bn(1),S2(this.destroyRef)).subscribe({next:e=>{try{let t=e?.EsTomadorOut?.[0]?.esTomador;typeof t=="number"&&t!==0&&(this.rawMenu=[...this.rawMenu,...a2e],this.rebuildMenuView())}catch(t){console.error("Error al procesar respuesta de tomador",t)}},error:e=>{console.error("Error al verificar tomador",e)}})}rebuildMenuView(){let e=this.rawMenu.filter(r=>r.nroNivel==="1"),t=this.rawMenu.filter(r=>r.nroNivel!=="1"),n=e.map(r=>{let o=t.filter(a=>a.idMenuPadre===r.idMenu).map(a=>({id:a.oid,label:a.descNombreMenu,link:a.link,isDownload:a.descNombreMenu==="Formato de n\xF3mina"}));return{id:r.oid,label:r.descNombreMenu,link:r.link,children:o.length?o:void 0}});this.menuView.set(n)}onClick(e,t){if(e==="/"&&this.globalMainService.setGlobalIsMisPolizas(!1),t?.label==="Formato de n\xF3mina"){let n=document.createElement("a");n.href="assets/files/carga-nomina-allianz.csv",n.download="carga-nomina-allianz.csv",n.target="_self",n.click();return}this.router.navigate(["/priv"+e])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-private-header"]],decls:13,vars:5,consts:[["ctx","nxContextMenu"],[1,"c-header-metabar","c-header-metabar-border",2,"width","100vw"],[1,"box-mobile"],[1,"c-header-metabar__content","c-header__wrapper",2,"align-items","center !important"],[1,"header-brand"],["href","#",3,"click"],["nxFigure",""],["alt","Brand Logo",1,"az__logo__img",3,"src"],["id","navbar","nx-header",""],["nxButton","secondary small",1,"az_btn",3,"click"],[3,"loaded","mostrarMenu","menuView"],[1,"float-right"],[1,"float-right","mx-2"],[1,"skeleton-box",2,"width","150px","height","100%","margin","0 10px"],["class","float-right mx-2",4,"ngIf"],["nxButton","tert
801iary small","nxHeaderLink","","type","button",1,"button-nav","mx-3"],["nxButton","tertiary small","nxHeaderLink","","type","button",1,"button-nav","mx-3",3,"click"],["nxContextMenuItem","","type","button"],["nxButton","tertiary small","nxHeaderLink","",1,"button-nav","mx-3",3,"nxContextMenuTriggerFor"],["nxContextMenuItem","","type","button",3,"click"]],template:function(t,n){t&1&&(c(0,"div",1),S(1,"div",2),c(2,"div",3)(3,"nx-header-brand",4)(4,"nx-link")(5,"a",5),I("click",function(o){return n.navegacionLogo(o)}),c(6,"figure",6),S(7,"img",7),d()()()(),c(8,"nx-header-actions"),re(9,o2e,4,2,"header",8),c(10,"button",9),I("click",function(){return n.logout()}),m(11," Cerrar Sesi\xF3n "),d(),S(12,"app-menu-mobile",10),d()()()),t&2&&(p(7),g("src",n.URL_LOGO,An),p(2),oe(n.isShown?-1:9),p(3),g("loaded",n.loaded())("mostrarMenu",n.mostrarMenu())("menuView",n.menuView()))},dependencies:[me,et,_t,vr,X6,Z6,J6,q0,Uf,e8,Kd,is,tp,z5,t2],styles:[".header-bg[_ngcontent-%COMP%]{background-color:#006192!important}.navbar-dark[_ngcontent-%COMP%]   .navbar-nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], .navbar-dark[_ngcontent-%COMP%]   .navbar-toggler[_ngcontent-%COMP%]{color:#f0f8ff}.mm-navbar[_ngcontent-%COMP%]{margin-left:.5em;border-left:1px solid rgba(255,255,255,.4);padding-left:1em}.right-dropdown[_ngcontent-%COMP%]{right:0;left:unset}.az__logo__img[_ngcontent-%COMP%]{max-height:48px;min-width:122px}.height-auto[_ngcontent-%COMP%]{height:auto!important}.c-header-metabar[_ngcontent-%COMP%]{display:flex;justify-content:center}.c-header-metabar-border[_ngcontent-%COMP%]{border:1px solid rgb(217,217,217)}.c-header-metabar-menu[_ngcontent-%COMP%]{padding:16px;display:flex;justify-content:space-between;align-content:stretch;margin:0}.c-header-metabar__content[_ngcontent-%COMP%]{display:flex;height:64px;width:100%;position:unset}.box-mobile[_ngcontent-%COMP%]{display:none}.c-header__wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-content:stretch;padding:1rem;max-width:none}.header-brand[_ngcontent-%COMP%]{margin-left:84px}.c-navigation[_ngcontent-%COMP%]{padding-top:6px}.c-navigation[_ngcontent-%COMP%]   .c-navigation--two-level[_ngcontent-%COMP%], .c-navigation--extended[_ngcontent-%COMP%]{position:relative}.nx-header__row[_ngcontent-%COMP%]{border-bottom:0px!important;padding:0}.c-header--new__adaptation[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:16px;padding-left:16px}.c-menu__navigation[_ngcontent-%COMP%]{background:#f5f5f5}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.c-header__navigation-level-2-title[_ngcontent-%COMP%]{display:block;margin-bottom:32px;line-height:20px;font-size:16px;font-weight:600;color:#414141;font-family:Allianz Neo,sans-serif}.c-header__navigation-level-2-panel[_ngcontent-%COMP%]{padding-top:16px;padding-bottom:24px}.c-header__navigation-link[_ngcontent-%COMP%]{text-decoration:none;font-size:16px;color:#414141;outline:0;display:inline-block;position:relative;font-family:Allianz Neo,sans-serif;cursor:pointer}.navbar-av[_ngcontent-%COMP%]{list-style-type:none}.c-header__navigation-level-2-item[_ngcontent-%COMP%]{font-size:18px;margin-bottom:16px}.c-header__navigation-link[_ngcontent-%COMP%]:hover{color:#003781}.nx-header.nx-header--single-row[_ngcontent-%COMP%], .nx-formfield__input-container[_ngcontent-%COMP%]{border-bottom:0px!important}.c-menu-over-toggle[_ngcontent-%COMP%]{position:absolute;z-index:1000;width:100%;left:0}input[_ngcontent-%COMP%]::-webkit-input-placeholder{font-size:2rem}.button-nav[_ngcontent-%COMP%]{color:#414141!important;font-size:14px!important;font-family:Allianz Neo,sans-serif!important;font-weight:400!important;border-radius:0!important;padding-left:0!important;padding-right:0!important}.button-nav[_ngcontent-%COMP%]:hover{background-color:transparent!important;color:#006192!important;border-bottom:5px solid #006192!important}#navbarMobile[_ngcontent-%COMP%]{display:none}.az_btn[_ngcontent-%COMP%]{margin-right:76px;white-space:nowrap}@media (max-width: 1137px){#navbarMobile[_ngcontent-%COMP%]{display:block;margin-right:2rem}#navbar[_ngcontent-%COMP%]{display:none}.c-header-metabar__content[_ngcontent-%COMP%]{margin:0;position:fixed;background-color:#fff;z-index:1000}.c-header__wrapper[_ngcontent-%COMP%]{padding:0 24px;justify-content:space-between}.az__logo__img[_ngcontent-%COMP%]{width:109px;height:29px;object-fit:contain}.header-brand[_ngcontent-%COMP%]{margin-right:0;margin-left:0}.az_btn[_ngcontent-%COMP%]{width:99px!important;height:32px!important;font-weight:400!important;font-size:14px!important;line-height:17px!important;letter-spacing:0px!important;padding:0!important;min-height:32px!important;margin-right:0}.box-mobile[_ngcontent-%COMP%]{display:block;height:64px}}@media (max-width: 767px){#navbarMobile[_ngcontent-%COMP%]{display:block;margin-right:2rem}#navbar[_ngcontent-%COMP%]{display:none}.c-header-metabar__content[_ngcontent-%COMP%]{margin:0;position:fixed;background-color:#fff;z-index:1000}.c-header__wrapper[_ngcontent-%COMP%]{padding:0 24px;justify-content:space-between}.az__logo__img[_ngcontent-%COMP%]{width:109px;height:29px;object-fit:contain}.header-brand[_ngcontent-%COMP%]{margin-right:0;margin-left:0}.az_btn[_ngcontent-%COMP%]{width:99px!important;height:32px!important;font-weight:400!important;font-size:14px!important;line-height:17px!important;letter-spacing:0px!important;padding:0!important;min-height:32px!important;margin-right:0}.box-mobile[_ngcontent-%COMP%]{display:block;height:64px}}"]})};var H5=class i{emitterService=C(Jt);toastr=C(e1);ngOnInit(){this.emitterService.toastEmmitter.subscribe(e=>this.showToast(e))}showToast(e){switch(e.timeOut||(e.timeOut=5e3),e.error){case 0:this.toastr.error(e.mensaje,"ERROR",{timeOut:e.timeOut});break;case 1:this.toastr.warning(e.mensaje,"",{timeOut:e.timeOut});break;case 2:this.toastr.info(e.mensaje,"",{timeOut:e.timeOut});break;case 3:this.toastr.success(e.mensaje,"",{timeOut:e.timeOut});break;default:this.toastr.info(e.mensaje,"",{timeOut:e.timeOut});break}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-alert"]],decls:0,vars:0,template:function(t,n){},dependencies:[me],styles:[".toast-container[_ngcontent-%COMP%]{font-size:15px!important}  .toast-container{position:fixed!important}"]})};var B5=class i{ngOnInit(){this.initAllyChatbot()}initAllyChatbot(){this.loadScript({id:"my-script",url:"https://webchat.keepcon.com/chat/allianz-ar1hrmlwRUklsnN9/plugin.js"}).catch(e=>console.error("Error loading script:",e))}loadScript({id:e,url:t}){return new Promise((n,r)=>{if(document.getElementById(e))return n({id:e,loaded:!0,status:"already-loaded"});let a=document.createElement("script");a.id=e,a.src=t,a.async=!0,a.defer=!0,a.onload=()=>n({id:e,loaded:!0,status:"loaded"}),a.onerror=s=>r({id:e,loaded:!1,status:"error",err:s}),document.body.appendChild(a)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-ally-private"]],decls:1,vars:0,consts:[["id","my-script"]],template:function(t,n){t&1&&wn(0,"div",0)},styles:[".chatbot[_ngcontent-%COMP%]{height:100px;width:100px;position:fixed;bottom:20px;right:20px;z-index:100;pointer-events:auto;cursor:pointer}.hover-question[_ngcontent-%COMP%]{display:flex;transition:opacity 1s ease-out;opacity:0}
801.chatbot[_ngcontent-%COMP%]:hover + .hover-question[_ngcontent-%COMP%]{display:flex;opacity:1}.hover-question[_ngcontent-%COMP%]{height:100px;width:100px;position:fixed;bottom:10%;right:13%;z-index:100;pointer-events:auto;cursor:pointer}"]})};var DR={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]};var s2e={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H352c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V80c0-17.7-14.3-32-32-32s-32 14.3-32 32v35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V432c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H160c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},OR=s2e;var TR={prefix:"fas",iconName:"water",icon:[576,512,[],"f773","M269.5 69.9c11.1-7.9 25.9-7.9 37 0C329 85.4 356.5 96 384 96c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 149.7 417 160 384 160c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4C42.8 92.6 61 83.5 75.3 71.6c11.1-9.5 27.3-10.1 39.2-1.7l0 0C136.7 85.2 165.1 96 192 96c27.5 0 55-10.6 77.5-26.1zm37 288C329 373.4 356.5 384 384 384c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 437.7 417 448 384 448c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.4 27.3-10.1 39.2-1.7l0 0C136.7 373.2 165.1 384 192 384c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0zm0-144C329 229.4 356.5 240 384 240c26.9 0 55.4-10.8 77.4-26.1l0 0c11.9-8.5 28.1-7.8 39.2 1.7c14.4 11.9 32.5 21 50.6 25.2c17.2 4 27.9 21.2 23.9 38.4s-21.2 27.9-38.4 23.9c-24.5-5.7-44.9-16.5-58.2-25C449.5 293.7 417 304 384 304c-31.9 0-60.6-9.9-80.4-18.9c-5.8-2.7-11.1-5.3-15.6-7.7c-4.5 2.4-9.7 5.1-15.6 7.7c-19.8 9-48.5 18.9-80.4 18.9c-33 0-65.5-10.3-94.5-25.8c-13.4 8.4-33.7 19.3-58.2 25c-17.2 4-34.4-6.7-38.4-23.9s6.7-34.4 23.9-38.4c18.1-4.2 36.2-13.3 50.6-25.2c11.1-9.5 27.3-10.1 39.2-1.7l0 0C136.7 229.2 165.1 240 192 240c27.5 0 55-10.6 77.5-26.1c11.1-7.9 25.9-7.9 37 0z"]};var IR={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]};var l2e={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},kR=l2e;var c2e={prefix:"fas",iconName:"ellipsis",icon:[448,512,["ellipsis-h"],"f141","M8 256a56 56 0 1 1 112 0A56 56 0 1 1 8 256zm160 0a56 56 0 1 1 112 0 56 56 0 1 1 -112 0zm216-56a56 56 0 1 1 0 112 56 56 0 1 1 0-112z"]},NR=c2e;var AR={prefix:"fas",iconName:"blender",icon:[512,512,[],"f517","M0 64C0 28.7 28.7 0 64 0h64 32H470.1c21.1 0 36.4 20.1 30.9 40.4L494.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H485.8l-17.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16H459.6l-17.5 64H336c-8.8 0-16 7.2-16 16s7.2 16 16 16h97.5L416 352H160l-8.7-96H64c-35.3 0-64-28.7-64-64V64zM145.5 192L133.8 64H64V192h81.5zM144 384H432c26.5 0 48 21.5 48 48v32c0 26.5-21.5 48-48 48H144c-26.5 0-48-21.5-48-48V432c0-26.5 21.5-48 48-48zm144 96a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]};var d2e={prefix:"fas",iconName:"fire-flame-curved",icon:[384,512,["fire-alt"],"f7e4","M153.6 29.9l16-21.3C173.6 3.2 180 0 186.7 0C198.4 0 208 9.6 208 21.3V43.5c0 13.1 5.4 25.7 14.9 34.7L307.6 159C356.4 205.6 384 270.2 384 337.7C384 434 306 512 209.7 512H192C86 512 0 426 0 320v-3.8c0-48.8 19.4-95.
8016 53.9-130.1l3.5-3.5c4.2-4.2 10-6.6 16-6.6C85.9 176 96 186.1 96 198.6V288c0 35.3 28.7 64 64 64s64-28.7 64-64v-3.9c0-18-7.2-35.3-19.9-48l-38.6-38.6c-24-24-37.5-56.7-37.5-90.7c0-27.7 9-54.8 25.6-76.9z"]},VR=d2e;var u2e={prefix:"fas",iconName:"user-large",icon:[512,512,["user-alt"],"f406","M256 288A144 144 0 1 0 256 0a144 144 0 1 0 0 288zm-94.7 32C72.2 320 0 392.2 0 481.3c0 17 13.8 30.7 30.7 30.7H481.3c17 0 30.7-13.8 30.7-30.7C512 392.2 439.8 320 350.7 320H161.3z"]},FR=u2e;var j5=class i{constructor(e){this.ngZone=e}timeoutId=null;durationMilliseconds=0;startOrResetTimer(e,t){this.durationMilliseconds=t*60*1e3,this.clearTimer(),console.log(`[DEBUG] TimerService: Starting timer for ${t} minutes`),this.ngZone.runOutsideAngular(()=>{this.timeoutId=setTimeout(()=>{this.ngZone.run(()=>e())},this.durationMilliseconds)})}clearTimer(){this.timeoutId!==null&&(console.log("[DEBUG] TimerService: Clearing previous timer"),clearTimeout(this.timeoutId),this.timeoutId=null)}static \u0275fac=function(t){return new(t||i)(Le(Vt))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var ed={BOT:"bot",USER:"user"},so={LINK:"link",MESSAGE:"message",CONTACT:"contact",CONTACT_FRONT:"contact-front",SURVEY_FRONT:"survey-front",CLOSE_PROMPT:"close-prompt"},Tr={BIENVENIDA:"BIENVENIDA",BIENVENIDA_TYC_MSG_1:"BIENVENIDA_TYC_MSG_1",BIENVENIDA_TYC_MSG_2:"BIENVENIDA_TYC_MSG_2",TYC_ACEPTADOS:"TYC_ACEPTADOS",TYC_RECHAZADOS_MSG_1:"TYC_RECHAZADOS_MSG_1",TYC_RECHAZADOS_MSG_2:"TYC_RECHAZADOS_MSG_2",ERROR:"ERROR",CONTACTO_MSG_1:"CONTACTO_MSG_1",CONTACTO_MSG_2:"CONTACTO_MSG_2",CONTACTO_MSG_3:"CONTACTO_MSG_3",CIERRE_MSG_1:"CIERRE_MSG_1",CIERRE_MSG_2:"CIERRE_MSG_2",ENCUESTA_MSG_1:"ENCUESTA_MSG_1",ENCUESTA_MSG_2:"ENCUESTA_MSG_2",ENCUESTA_MSG_3:"ENCUESTA_MSG_3",ENCUESTA_MSG_4:"ENCUESTA_MSG_4",CERRAR_CHAT:"CERRAR_CHAT"},q5={CHAT_EXPIRATION_MINUTES:"CHAT_EXPIRATION_MINUTES",CHAT_INACTIVE_MINUTES:"CHAT_INACTIVE_MINUTES",CHAT_LAST_RESPONSE_MINUTES:"CHAT_LAST_RESPONSE_MINUTES"};var p2e=["chatbotContainer"];function f2e(i,e){if(i&1&&(c(0,"div",28),m(1),d()),i&2){let t=M(2).$implicit;p(),Pe(t.html)}}function m2e(i,e){if(i&1&&S(0,"div",29),i&2){let t=M(2).$implicit;g("innerHTML",t.safeHtml,Jo)}}function h2e(i,e){if(i&1&&(c(0,"div",28),m(1),d()),i&2){let t=M(3).$implicit;p(),K(" ",t.lastMessageHtml," ")}}function g2e(i,e){if(i&1&&S(0,"div",29),i&2){let t=M(3).$implicit;g("innerHTML",t.lastMessageSafeHtml,Jo)}}function _2e(i,e){if(i&1&&(c(0,"div",36),re(1,h2e,2,1,"div",28)(2,g2e,1,1,"div",29),c(3,"div",30)(4,"div",31),m(5),d()()()),i&2){let t=M(2),n=t.$implicit,r=t.$index,o=M(2);Fe("width-max",o.messageHasActions(r)),p(),oe(n.lastMessageSafeHtml?2:1),p(4),Pe(n.time)}}function v2e(i,e){if(i&1){let t=Y();c(0,"button",38),I("click",function(){let r=O(t).$implicit,o=M(5);return T(o.onActionClick(r))}),m(1),d()}if(i&2){let t=e.$implicit;p(),K(" ",t.text," ")}}function x2e(i,e){if(i&1&&(c(0,"div",33),Ot(1,v2e,2,1,"button",37,Bo),d()),i&2){let t=M(2).$implicit;p(),Tt(t.actions)}}function b2e(i,e){if(i&1){let t=Y();c(0,"img",40),I("click",function(){let r=O(t).$implicit,o=M(5);return T(o.onActionClick(r))}),d()}if(i&2){let t=e.$index,n=M(5);g("src",t<n.survey.satisfaction?"assets/img/star-filled.png":"assets/img/star-empty.png",An)}}function C2e(i,e){if(i&1&&(c(0,"div",34),Ot(1,b2e,1,1,"img",39,Bo),d()),i&2){let t=M(2).$implicit;p(),Tt(t.actions)}}function y2e(i,e){if(i&1){let t=Y();c(0,"div",35)(1,"button",41),I("click",function(){O(t);let r=M(4);return T(r.onTermsAccept())}),m(2," Aceptar "),d(),c(3,"button",41),I("click",function(){O(t);let r=M(4);return T(r.onTermsReject())}),m(4," Rechazar "),d()()}}function M2e(i,e){if(i&1){let t=Y();c(0,"div",35)(1,"button",41),I("click",function(){O(t);let r=M(4);return T(r.toggleChatbot())}),m(2),d()()}if(i&2){let t=M(4);p(2),K(" ",t.getExitButtonMessage()," ")}}function w2e(i,e){if(i&1&&(c(0,"div",14)(1,"div",23),S(2,"img",24),d(),c(3,"div",25)(4,"span",26),m(5,"Ally"),d(),c(6,"div",27),re(7,f2e,2,1,"div",28)(8,m2e,1,1,"div",29),c(9,"div",30)(10,"div",31),m(11),d()()(),re(12,_2e,6,4,"div",32),re(13,x2e,3,0,"div",33),re(14,C2e,3,0,"div",34),re(15,y2e,5,0,"div",35),re(16,M2e,3,1,"div",35),d()()),i&2){let t=M(),n=t.$
801implicit,r=t.$index,o=M(2);p(6),Fe("width-max",o.messageHasActions(r)),p(),oe(n.safeHtml?8:7),p(4),Pe(n.time),p(),oe(o.messageHasLastMessage(r)?12:-1),p(),oe(o.messageHasActions(r)&&!o.messageHasStars(r)?13:-1),p(),oe(o.messageHasStars(r)?14:-1),p(),oe(o.areTermsButtonShowed(r)?15:-1),p(),oe(o.isExitButtonShown(r)?16:-1)}}function S2e(i,e){if(i&1&&(c(0,"div",22),m(1),c(2,"div",42)(3,"div",43),m(4),d()()()),i&2){let t=M().$implicit;p(),K(" ",t.html," "),p(3),Pe(t.time)}}function P2e(i,e){if(i&1&&re(0,w2e,17,9,"div",14)(1,S2e,5,2,"div",22),i&2){let t=e.$implicit;oe(t.sender==="bot"?0:1)}}function E2e(i,e){i&1&&(c(0,"div",14)(1,"div",44),S(2,"img",24),d(),c(3,"div",25)(4,"span",26),m(5,"Ally"),d(),c(6,"div",45),S(7,"img",46),d()()())}function D2e(i,e){if(i&1&&(c(0,"div",14)(1,"div",44),S(2,"img",24),d(),c(3,"div",25)(4,"span",26),m(5,"Ally"),d(),c(6,"div",47),S(7,"div",29),d()()()),i&2){let t=M(2);p(7),g("innerHTML",t.errorMessageSafeHtml,Jo)}}function O2e(i,e){i&1&&S(0,"img",17)}function T2e(i,e){i&1&&S(0,"img",18)}function I2e(i,e){if(i&1){let t=Y();c(0,"div",2)(1,"div",3)(2,"div",4)(3,"div",5),S(4,"img",6)(5,"div",7),d(),c(6,"div",8),m(7," Ally "),S(8,"img",9),d()(),c(9,"div",10)(10,"fa-icon",11),I("click",function(){O(t);let r=M();return T(r.toggleChatbot())}),d()()(),c(11,"div",12,0)(13,"div",13),m(14," Est\xE1s hablando con Ally, nuestra asistente de inteligencia artificial "),d(),Ot(15,P2e,2,1,null,null,Bo),re(17,E2e,8,0,"div",14),re(18,D2e,8,1,"div",14),d(),c(19,"div",15)(20,"button",16),I("click",function(){O(t);let r=M();return T(r.onClearChat())}),re(21,O2e,1,0,"img",17)(22,T2e,1,0,"img",18),d(),c(23,"input",19),I("keydown",function(r){O(t);let o=M();return T(o.onKeyDown(r))})("input",function(r){O(t);let o=M();return T(o.onTextareaInput(r))}),d(),c(24,"button",20),I("click",function(){O(t);let r=M();return T(r.onSendInteraction())}),S(25,"nx-icon",21),d()()()}if(i&2){let t=M();Fe("opened",t.opened)("closing",!t.opened),p(10),Fe("disabled-header-btn",t.isToggleChatbotDisabled()),g("icon",t.faMinus),p(5),Tt(t.messages),p(2),oe(t.loading?17:-1),p(),oe(t.errorMessageSafeHtml?18:-1),p(2),g("disabled",t.isClearChatbotDisabled()),p(),oe(t.isClearChatbotDisabled()?21:22),p(2),g("placeholder",t.inputPlaceholder)("formControl",t.inputControl)("disabled",t.isInputDisabled())("readOnly",t.isInputDisabled()),p(),g("disabled",t.isInputDisabled()),p(),Fe("chatbot-send-btn-disabled",t.isInputDisabled())}}function k2e(i,e){if(i&1){let t=Y();c(0,"div",2)(1,"img",48),I("click",function(){O(t);let r=M();return T(r.toggleChatbot())}),d()()}}var N2e=!1,U5=class i{faMinus=IR;faRefresh=OR;chatBotService=C(wl);timerService=C(j5);changeDetectorRef=C(Ye);domSanitizer=C(As);chatbotContainer;inputControl=new it("");loading=!1;opened=!1;showChatbot=!1;awaitingCloseResponse=!1;chatEnded=!1;inputPlaceholderDefault="Escrib\xED tu mensaje...";inputPlaceholderLoading="Cargando...";inputPlaceholder=this.inputPlaceholderDefault;localStorageMessagesKey="chatbot_messages";localStorageUUIDKey="chatbot_uuid";localStorageExpirationKey="chatbot_expiration";messages=[];presetMessages=[];chatUUID="";errorMessageSafeHtml=null;config=[];configValues={chatExpirationMinutes:15,chatInactiveMinutes:2,chatLastResponseMinutes:2};userInfo={docType:"",docNumber:"",document:"",name:"",lastName:""};terms={latestTerms:null,accepted:!1,rejectedCount:0};contact={active:!1,step:0,contactReason:"",contactText:""};survey={active:!1,step:0,couldSolve:!1,satisfaction:0,comment:""};getUserInfo(){let e=Se.user?.details,t=e?.identityDocuments[0];this.userInfo=mt(ae({},this.userInfo),{docType:t?.documentType?.description,docNumber:t?.documentNumber,document:t?.documentType?.documentTypeCode+t?.documentNumber,name:e?.firstName,lastName:e?.lastName}),this.getPersistedChat()}initChatbot(){console.log("[DEBUG] Initializing chatbot"),this.clearState(),this.setLoading(!0),Kp([this.chatBotService.getWebMessages(),this.chatBotService.getChatbotConfig()]).subscribe({next:([e,t])=>{if(!e||!t){console.warn("[DEBUG] Invalid preset messages or config"),this.setError();return}this.presetMessages=e,this.config=t,this.configValues.chatExpirationMinutes=this.getFloatConfigByKey(q5.CHAT_EXPIRATION_MINUTES)??this.configValues.chatExpirationMinutes,N2e?(this.configValues.chatInactiveMinutes=.2,this.configValues.chatLastResponseMinutes=.3):(this.configValues.chatInactiveMinutes=this.getFloatConfigByKey(q5.CHAT_INACTIVE_MINUTES)??this.configValues.chatInactiveMinutes,this.configValues.chatLastResponseMinutes=this.getFloatConfigByKey(q5.CHAT_LAST_RESPONSE_MINUTES)??this.configValues.chatLastResponseMinutes),this.getUserInfo()},error:e=>{console.error(e),this.setError()}})}getStringConfigByKey(e){return this.config.find(t=>t.key===e)?.value}getIntConfigByKey(e){return parseInt(this.getStringConfigByKey(e)??"0",10)}getFloatConfigByKey(e){return parseFloat(this.getStringConfigByKey(e)??"0")}getLatestTerms(){this.chatBotService.getLatestTerms().subscribe({next:e=>{this.terms.latestTerms=e,this.getTermsAccepted(),this.clearError()},error:e=>{console.error(e),this.setError()}})}showNormalWelcomeMessage(){let e={safeHtml:this.generateSafeHtml(this.getPresetMessageByCode(Tr.BIENVENIDA)),html:this.getPresetMessageByCode(Tr.BIENVENIDA),sender:ed.BOT,time:this.getCurrentHour()};this.addMessage(e),this.showMenu()}showMenu(){this.sendBackendMessage("menu")}showTyCWelcomeMessage(){let e={safeHtml:this.generateSafeHtml(this.getPresetMessageByCode(Tr.BIENVENIDA_TYC_MSG_1)),html:this.getPresetMessageByCode(Tr.BIENVENIDA_TYC_MSG_1),sender:ed.BOT,time:this.getCurrentHour()},t=this.getPresetMessageByCode(Tr.BIENVENIDA_TYC_MSG_2)+this.getLatestTermsURL(),r={safeHtml:this.generateSafeHtml(t),html:t,sender:ed.BOT,time:this.getCurrentHour()};this.addMessage(e),this.addMessage(r),this.setLoading(!1)}getTermsAccepted(){this.chatBotService.getUserTermsAccepted(this.terms.latestTerms?.id).subscribe({next:e=>{this.terms.accepted=e.accepted,e.accepted?this.showNormalWelcomeMessage():this.showTyCWelcomeMessage(),this.clearError()},error:e=>{console.error(e),this.setError()}})}getLatestTermsURL(){return'<a href="'+this.terms.latestTerms?.url+'" target="_blank">Pol\xEDtica de privacidad</a>'}getPresetMessageByCode(e){return this.presetMessages.find(n=>n.code===e)?.message||"Error inesperado. Por favor, intent\xE1 nuevamente."}getExitButtonMessage(){return this.getPresetMessageByCode(Tr.CERRAR_CHAT)}showUserMessage(e){let t={html:e,sender:ed.USER,time:this.getCurrentHour()};this.addMessage(t)}showBotMessage(e,t=[],n=""){let r={safeHtml:this.generateSafeHtml(e),html:e,sender:ed.BOT,time:this.getCurrentHour(),actions:t,lastMessageSafeHtml:this.generateSafeHtml(n),lastMessageHtml:n};this.addMessage(r)}sendBackendMessage(e){this.setLoading(!0),this.chatBotService.sendMessage(e,this.chatUUID,this.userInfo.name,this.userInfo.lastName).subscribe({next:t=>{this.chatUUID=t.uuid,this.showBotMessage(t.msg,t.actions,t.lastMessage),this.setLoading(!1),this.persist
801Chat(),this.clearError(),t.keepSession==="closed"?(this.stopTimer(),this.startSurvey(!0)):this.startChatInactiveTimer()},error:t=>{console.error(t),this.setError()}})}sendFrontendMessage(e){this.setLoading(!0),this.showUserMessage(e),this.sendBackendMessage(e),this.resetUserInput()}onSendInteraction(){let e=this.inputControl.value?.trim()||"";if(this.inputControl.setValue(e),e!==""){if(this.contact.active&&this.contact.step===2){let t=this.inputControl.value;this.contact=mt(ae({},this.contact),{step:3,contactText:t??""}),this.showUserMessage(t),this.executeCurrentContactStep(),this.resetUserInput();return}if(this.survey.active&&this.survey.step===3){let t=this.inputControl.value;this.survey=mt(ae({},this.survey),{step:4,comment:t??""}),this.showUserMessage(t),this.executeCurrentSurveyStep(),this.resetUserInput();return}this.sendFrontendMessage(this.inputControl.value)}}onKeyDown(e){if(this.startChatInactiveTimer(),e.key==="Enter"){if(e.shiftKey||e.ctrlKey)return;e.preventDefault(),this.onSendInteraction()}}onTextareaInput(e){let t=e.target;t.style.height="auto",t.style.height=Math.min(t.scrollHeight,80)+"px"}messageHasActions(e){return!!this.messages[e].actions?.length}messageHasLastMessage(e){return!!this.messages[e].lastMessageHtml}messageHasStars(e){let n=this.messages[e].actions?.[0];return n?.type===so.SURVEY_FRONT&&n?.text==="1"}onActionClick(e){if(!(this.loading||this.chatEnded)){if(this.awaitingCloseResponse){if(e.type!==so.CLOSE_PROMPT)return;this.awaitingCloseResponse=!1,this.stopTimer(),this.showUserMessage(e.text),e.text==="SI"?this.showMenu():this.startSurvey();return}if(this.contact.active){if(e.type!==so.CONTACT_FRONT||this.contact.step!==1)return;this.contact=mt(ae({},this.contact),{step:2,contactReason:e.text}),this.showUserMessage(e.text),this.executeCurrentContactStep();return}if(this.survey.active){if(e.type!==so.SURVEY_FRONT||this.survey.step===3)return;switch(this.survey.step){case 1:let t=parseInt(e.text);if(isNaN(t)||t<1||t>5)return;this.survey.satisfaction=t,this.survey.step=2,this.showUserMessage(e.text),this.executeCurrentSurveyStep();break;case 2:if(e.text!=="SI"&&e.text!=="NO")return;this.showUserMessage(e.text),this.survey.couldSolve=e.text==="SI",this.survey.step=3,this.executeCurrentSurveyStep();break}return}switch(e.type){case so.LINK:window.open(e.action,"_blank");break;case so.MESSAGE:this.sendFrontendMessage(e.text);break;case so.CONTACT:this.contact=mt(ae({},this.contact),{active:!0,step:1}),this.showUserMessage(e.text),this.executeCurrentContactStep();break}}}executeCurrentContactStep(){let t=[Tr.CONTACTO_MSG_1,Tr.CONTACTO_MSG_2,Tr.CONTACTO_MSG_3][this.contact.step-1],n={safeHtml:this.generateSafeHtml(this.getPresetMessageByCode(t)),html:this.getPresetMessageByCode(t),sender:ed.BOT,time:this.getCurrentHour()};switch(this.contact.step){case 1:this.setLoading(!0),this.chatBotService.getContactReasons().subscribe({next:o=>{n.actions=o.map(a=>({text:a.description,type:so.CONTACT_FRONT})),this.addMessage(n),this.setLoading(!1),this.clearError()},error:o=>{console.warn("[DEBUG] Error getting contact reasons:",o),this.setError()}});break;case 2:this.addMessage(n);break;case 3:this.contact.active=!1,this.setLoading(!0);let r={sessionId:this.chatUUID,contactMotive:this.contact.contactReason||"",comments:this.contact.contactText||"",source:"mi-allianz"};this.chatBotService.sendContact(r).subscribe({next:o=>{if(!o||o.error||o?.mailSent!==!0){console.warn("[DEBUG] (FAIL) Sending contact info:",o?.error),this.setError();return}this.addMessage(n),this.setLoading(!1),this.persistChat(),this.startChatInactiveTimer(),this.clearError()},error:o=>{console.warn("[DEBUG] Error sending contact info:",o),this.setError()}});break;default:console.warn("[DEBUG] Invalid contact step");break}}setError(){let e=this.getPresetMessageByCode(Tr.ERROR),t=this.generateSafeHtml(e);this.errorMessageSafeHtml=t,this.setLoading(!1),this.scrollToBottom()}clearError(){this.errorMessageSafeHtml&&(this.errorMessageSafeHtml=null)}setLoading(e){this.loading=e,this.inputPlaceholder=e?this.inputPlaceholderLoading:this.inputPlaceholderDefault,e&&(this.stopTimer(),this.clearError())}addMessage(e){this.messages.push(e),this.scrollToBottom()}persistChat(){localStorage.setItem(this.localStorageMessagesKey,JSON.stringify(this.messages.map(e=>mt(ae({},e),{safeHtml:null,lastMessageSafeHtml:null})))),localStorage.setItem(this.localStorageUUIDKey,this.chatUUID),localStorage.setItem(this.localStorageExpirationKey,(new Date().getTime()+this.configValues.chatExpirationMinutes*6e4).toString()),this.clearError(),console.log("[DEBUG] Messages persisted")}isTimerBlocked(){return this.survey.active||this.chatEnded||this.contact.active}startChatInactiveTimer(){if(this.isTimerBlocked()){this.stopTimer();return}this.timerService.startOrResetTimer(()=>this.onChatInactiveTimerFinished(),this.configValues.chatInactiveMinutes)}startChatLastResponseTimer(){if(this.isTimerBlocked()){this.stopTimer();return}this.timerService.startOrResetTimer(()=>this.onChatLastResponseTimerFinished(),this.configValues.chatLastResponseMinutes)}stopTimer(){this.timerService.clearTimer()}onChatInactiveTimerFinished(){let e=[{type:so.CLOSE_PROMPT,action:"",text:"SI"},{type:so.CLOSE_PROMPT,action:"",text:"NO"}];this.awaitingCloseResponse=!0,this.showBotMessage(this.getPresetMessageByCode(Tr.CIERRE_MSG_1),e),this.startChatLastResponseTimer()}onChatLastResponseTimerFinished(){this.awaitingCloseResponse=!1,this.startSurvey()}startSurvey(e=!1){this.stopTimer(),this.deletePersistedChat(),this.resetUserInput(),e||this.showBotMessage(this.getPresetMessageByCode(Tr.CIERRE_MSG_2)),this.survey.active=!0,this.survey.step=1,this.executeCurrentSurveyStep()}executeCurrentSurveyStep(){let t=[Tr.ENCUESTA_MSG_1,Tr.ENCUESTA_MSG_2,Tr.ENCUESTA_MSG_3,Tr.ENCUESTA_MSG_4][this.survey.step-1],n=this.getPresetMessageByCode(t),r=[];switch(this.survey.step){case 1:r=[{type:so.SURVEY_FRONT,action:"",text:"1"},{type:so.SURVEY_FRONT,action:"",text:"2"},{type:so.SURVEY_FRONT,action:"",text:"3"},{type:so.SURVEY_FRONT,action:"",text:"4"},{type:so.SURVEY_FRONT,action:"",text:"5"}],this.showBotMessage(n,r);break;case 2:r=[{type:so.SURVEY_FRONT,action:"",text:"SI"},{type:so.SURVEY_FRONT,action:"",text:"NO"}],this.showBotMessage(n,r);break;case 3:this.showBotMessage(n);break;case 4:this.setLoading(!0);let o={uuid:this.chatUUID,document:this.userInfo.document,name:this.userInfo.name,lastName:this.userInfo.lastName,satisfaction:this.survey.satisfaction,comment:this.survey.comment,couldSolve:this.survey.couldSolve};this.chatBotService.sendSurvey(o).subscribe({next:a=>{if(!a||a.error){console.warn("[DEBUG] (FAIL) Sending survey info:",a?.error),this.setError();return}
801console.log("[DEBUG] (SUCCESS) Sending survey info:",a),this.showBotMessage(n),this.survey.active=!1,this.survey.step=0,this.chatEnded=!0,this.deletePersistedChat(),this.setLoading(!1)},error:a=>{console.warn("[DEBUG] Error sending survey info:",a),this.setError()}});break}}getPersistedChat(){try{let e=localStorage.getItem(this.localStorageExpirationKey),t=new Date().getTime();if(!e||parseInt(e)<t){this.deletePersistedChat(),this.getLatestTerms();return}let n=localStorage.getItem(this.localStorageMessagesKey);if(!n){this.deletePersistedChat(),this.getLatestTerms();return}let r=JSON.parse(n);this.messages=r.map(o=>ae(mt(ae({},o),{safeHtml:this.generateSafeHtml(o.html)}),o.lastMessageHtml&&{lastMessageSafeHtml:this.generateSafeHtml(o.lastMessageHtml)})),this.chatUUID=localStorage.getItem(this.localStorageUUIDKey),this.terms.accepted=!0,console.log("[DEBUG] Messages retrieved"),this.startChatInactiveTimer(),this.setLoading(!1),this.scrollToBottom()}catch(e){console.error("[DEBUG] Error retrieving messages:",e),this.deletePersistedChat(),this.getLatestTerms()}}deletePersistedChat(){localStorage.removeItem(this.localStorageMessagesKey),localStorage.removeItem(this.localStorageUUIDKey),localStorage.removeItem(this.localStorageExpirationKey),this.clearError(),console.log("[DEBUG] Messages cleared")}scrollToBottom(){this.changeDetectorRef.detectChanges(),setTimeout(()=>{try{this.chatbotContainer.nativeElement.scrollTo({top:this.chatbotContainer.nativeElement.scrollHeight,behavior:"smooth"})}catch(e){console.error("Error scrolling to bottom:",e)}},0)}getCurrentHour(){return new Date().toLocaleTimeString("en-US",{hour:"2-digit",minute:"2-digit",hour12:!1})}toggleChatbot(){this.isToggleChatbotDisabled()||(this.opened?(this.opened=!1,this.stopTimer(),setTimeout(()=>{this.showChatbot=!1},300)):(this.showChatbot=!0,this.opened=!0,this.initChatbot()))}clearState(){this.messages=[],this.chatUUID="",this.loading=!1,this.contact={active:!1,step:0,contactReason:"",contactText:""},this.survey={active:!1,step:0,couldSolve:!1,satisfaction:0,comment:""},this.terms=mt(ae({},this.terms),{rejectedCount:0}),this.awaitingCloseResponse=!1,this.chatEnded=!1}onClearChat(){this.isClearChatbotDisabled()||(this.clearState(),this.deletePersistedChat(),this.showNormalWelcomeMessage(),this.clearError())}generateSafeHtml(e){let n=new DOMParser().parseFromString(e,"text/html");return n.querySelectorAll("a").forEach(s=>{s.classList.add("chatbot-link")}),n.querySelectorAll("p").forEach(s=>{s.classList.add("chatbot-paragraph")}),n.querySelectorAll("ul").forEach(s=>{s.classList.add("chatbot-ul-class")}),this.domSanitizer.bypassSecurityTrustHtml(n.body.innerHTML)}onTermsAccept(){this.terms.accepted=!0,this.setLoading(!0),this.chatBotService.acceptTerms(this.terms.latestTerms?.id).subscribe({next:e=>{let t={safeHtml:this.generateSafeHtml(this.getPresetMessageByCode(Tr.TYC_ACEPTADOS)),html:this.getPresetMessageByCode(Tr.TYC_ACEPTADOS),sender:ed.BOT,time:this.getCurrentHour()};this.addMessage(t),this.showMenu(),this.clearError()},error:e=>{console.error(e),this.setError()}})}onTermsReject(){this.terms.rejectedCount++;let e=[Tr.TYC_RECHAZADOS_MSG_1,Tr.TYC_RECHAZADOS_MSG_2],t=this.getPresetMessageByCode(e[this.terms.rejectedCount-1]),n={safeHtml:this.generateSafeHtml(t),html:t,sender:ed.BOT,time:this.getCurrentHour()};this.addMessage(n)}isExitButtonShown(e){let t=this.terms.rejectedCount>=2&&!this.terms.accepted;return this.isLastMessage(e)&&(t||this.chatEnded)}isLastMessage(e){return e===this.messages.length-1}isInputDisabled(){return this.loading||!this.terms.accepted||!this.isContactInputEnabled()||!this.isSurveyInputEnabled()||this.chatEnded||this.awaitingCloseResponse}isClearChatbotDisabled(){return this.loading||!this.terms.accepted}isToggleChatbotDisabled(){return this.loading}isContactInputEnabled(){return!this.contact.active||this.contact.step!==1}isSurveyInputEnabled(){return!this.survey.active||this.survey.step===3}areTermsButtonShowed(e){return this.isLastMessage(e)&&this.terms.rejectedCount<2&&!this.terms.accepted}resetUserInput(){this.inputControl.reset("")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["chat-bot"]],viewQuery:function(t,n){if(t&1&&pe(p2e,5),t&2){let r;te(r=ne())&&(n.chatbotContainer=r.first)}},decls:2,vars:1,consts:[["chatbotContainer",""],[1,"chatbot-wrapper",3,"opened","closing"],[1,"chatbot-wrapper"],[1,"chatbot-banner"],[2,"display","flex","align-items","center","gap","10px"],[2,"position","relative"],["src","assets/img/ALLY.png","alt","Alz Chatbot","width","43","height","43"],[2,"position","absolute","bottom","5px","right","-1px","border","1p
801x solid #ffffff","border-radius","50%","background-color","#3da556","width","9px","height","9px"],[2,"position","relative","font-family",'"Allianz Neo", sans-serif',"font-weight","700","font-size","16px","line-height","100%","margin-top","5px","color","#ffffff"],["src","assets/img/icon-al.png","alt","Al Chatbot",2,"width","16px","height","16px","position","absolute","top","-8px","right","-14px"],[1,"icons",2,"margin-top","8px"],[1,"chatbot-header-btn",2,"width","24px",3,"click","icon"],[1,"chatbot-container"],[1,"legend-initial"],[1,"bot-message-wrapper"],[1,"input-container"],["nxButton","tertiary small","type","button",2,"width","24px","height","24px","margin-right","14px","display","flex","justify-content","center","align-items","center",3,"click","disabled"],["src","../../../../assets/img/refresh-icon.svg","alt","",1,"chatbot-refresh-btn"],["src","../../../../assets/img/refresh-active.svg","alt","",1,"chatbot-refresh-btn"],[2,"resize","none","min-height","24px","max-height","80px","overflow-y","auto",3,"keydown","input","placeholder","formControl","disabled","readOnly"],["nxButton","tertiary small","type","button",2,"width","24px","height","24px","display","flex","justify-content","center","align-items","center",3,"click","disabled"],["name","telegram","aria-hidden","true",1,"chatbot-send-btn"],[1,"text-user"],[2,"margin-top","16px","margin-right","6px"],["src","assets/img/ALLY.png","alt","Bot Icon",2,"width","30px","height","30px"],[1,"bot-message-content"],[1,"ally-bot-text"],[1,"message","bot"],[1,"text-chatbot"],[1,"text-chatbot",3,"innerHTML"],[2,"width","100%","display","flex","justify-content","flex-end"],[1,"time-style"],[1,"message","bot",2,"margin-top","-10px",3,"width-max"],[2,"width","90%","display","flex","margin-top","-8px","flex-direction","column","gap","8px","margin-bottom","16px"],[2,"margin-left","16px"],[1,"button-wrapper"],[1,"message","bot",2,"margin-top","-10px"],["nxButton","secondary small",1,"action-button"],["nxButton","secondary small",1,"action-button",3,"click"],["alt","Star",1,"star",3,"src"],["alt","Star",1,"star",3,"click","src"],["nxButton","secondary small",3,"click"],[2,"width","100%","display","flex","justify-content","flex-start","margin-top","4px"],[1,"time-user-style"],[2,"width","40px","height","40px","margin-top","16px"],[2,"height","36px","border-top-right-radius","16px","border-bottom-right-radius","16px","border-bottom-left-radius","16px","padding","12px","background","#cfe9ee","display","flex","align-items","center"],["src","assets/img/three_dots_loading.gif","alt","Loading...",1,"loading-gif"],[1,"message","bot","error"],["src","../../../../assets/img/ALLY.png","alt","CHAT BOT ALLY",1,"chatbot-closed",3,"click"]],template:function(t,n){t&1&&re(0,I2e,26,18,"div",1)(1,k2e,2,0,"div",2),t&2&&oe(n.showChatbot?0:1)},dependencies:[_e,xt,nt,Sa,Rt,wt,Tc,me,_t,D8],styles:["[_nghost-%COMP%]{--border-color: #aaaaaa;--border-width: 1px;--banner-border-radius: 10px;--input-border-radius: 5px;--window-width: 500px;--window-width-responsive: 90%;--window-background-color: white;--messages-border-radius: 10px;--messages-max-width: 90%;--messages-bot-color: rgb(229, 237, 241);--messages-bot-text: #000000;--messages-user-color: #ffffff;--messages-user-text: #0079b2;--banner-color: #0079b2}@keyframes _ngcontent-%COMP%_growFromBottom{0%{transform:scaleY(0);transform-origin:bottom;opacity:0}to{transform:scaleY(1);transform-origin:bottom;opacity:1}}@keyframes _ngcontent-%COMP%_shrinkToBottom{0%{transform:scaleY(1);opacity:1}to{transform:scaleY(0);opacity:0}}.chatbot-wrapper[_ngcontent-%COMP%]{position:fixed;z-index:1000;width:420px;right:20px;bottom:20px;overflow:hidden;transform-origin:bottom;box-shadow:0 4px 8px #00000080}.chatbot-wrapper.opened[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_growFromBottom .3s ease-out;transform:scaleY(1);opacity:1}.chatbot-wrapper.closing[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_shrinkToBottom .3s ease-in forwards}.chatbot-header-btn[_ngcontent-%COMP%]{margin-left:10px;color:#fff;font-size:1.5rem;cursor:pointer}.chatbot-header-btn[_ngcontent-%COMP%]:hover{color:#aaa}.disabled-header-btn[_ngcontent-%COMP%]:hover{cursor:not-allowed;color:#fff}.chatbot-container[_ngcontent-%COMP%]{overflow:auto;height:530px;border-top:none;padding:16px 16px 38px;display:flex;flex-direction:column;background:#fff}.legend-initial[_ngcontent-%COMP%]{height:20px;border-radius:4px;padding:4px 6px;background-color:#ecf0f8;box-shadow:0 0 4px #00000008;font-weight:400;font-size:11px;line-height:100%;text-align:center;color:#000;margin-bottom:16px;align-self:center}.text-chatbot[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:18px;letter-spacing:0;color:#414141;font-family:Allianz Neo,sans-serif;word-break:break-word;overflow-wrap:break-word}.text-user[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;align-self:flex-end;width:auto;border-top-left-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;padding:12px 16px 8px;background-color:#007ab3;font-weight:400;font-size:16px;line-height:100%;letter-spacing:0;color:#fff;margin-bottom:16px;word-break:break-word;overflow-wrap:break-word}.ally-bot-text[_ngcontent-%COMP%]{font-weight:400;font-size:11px;line-height:100%;letter-spacing:0;color:#414141;margin-bottom:6px}.chatbot-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}.chatbot-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#a8a8a8;border-radius:4px}.chatbot-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#f3f3f3;border-radius:4px}.chatbot-container[_ngcontent-%COMP%]::-webkit-scrollbar-button{display:none}.chatbot-banner[_ngcontent-%COMP%]{display:flex;align-items:center;height:61px;justify-content:space-between;background-color:#003781;color:#fff;font-size:1.2rem;font-weight:700;padding:9px 16px}.icons[_ngcontent-%COMP%]{display:flex;gap:10px}.chatbot-banner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:8px}.timestamp[_ngcontent-%COMP%]{font-size:.9rem;color:#888;display:block}.timestamp.user[_ngcontent-%COMP%]{align-self:flex-end}.timestamp.bot[_ngcontent-%COMP%]{color:#888;align-self:flex-start;margin-top:4px}.chatbot-parent[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin:0;padding-top:50px}.chatbot-closed[_ngcontent-%COMP%]{height:80px;width:80px;position:fixed;bottom:20px;right:20px;z-index:100;pointer-events:auto;cursor:pointer}.message[_ngcontent-%COMP%]{margin-bottom:16px;padding:8px;max-width:var(--messages-max-width);font-size:1rem;word-break:break-word;overflow-wrap:break-word}.message.user[_ngcontent-%COMP%]{align-self:flex-end;background-color:var(--messages-user-color);border-radius:var(--messages-border-radius) 0 var(--messages-border-radius) var(--messages-border-radius);border:1px solid var(--messages-user-text);color:var(--messages-user-text)}.message.bot[_ngcontent-%COMP%]{padding:12px 16px 6px;border-top-right-radius:20px;border-bottom-right-radius:20px;border-bottom-left-radius:20px;background-color:#cfe9ee}.message.bot.width-max[_ngcontent-%COMP%]{width:var(--messages-max-width)}.message.bot.loading-msg[_ngcontent-%COMP%]{padding:0}.bot-message-wrapper[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.bot-message-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;position:relative;width:100%}.bot-icon[_ngcontent-%COMP%]{width:40px;height:40px}.bot-icon-div[_ngcontent-%COMP%]{margin-top:1.5rem;margin-right:8px;width:40px;height:40px}
801.loading-gif[_ngcontent-%COMP%]{width:40px;height:auto;display:inline-block}.input-container[_ngcontent-%COMP%]{display:flex;align-items:center;height:53px;background-color:#fff;padding:12px 16px;border-top:1px solid #dadde2}.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .input-container[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{flex:1;border:none;font-family:Allianz Neo,sans-serif;font-weight:400;font-size:16px;color:#acacac;background:transparent;line-height:1.4}.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus, .input-container[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:focus{outline:none;border:none;color:#414141}.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:disabled, .input-container[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]:disabled{outline:none;border:none;color:#acacac}.button-wrapper[_ngcontent-%COMP%]{display:flex;gap:10px;align-self:flex-start}.actions-button-wrapper[_ngcontent-%COMP%]{margin-top:20px;width:100%;display:flex;flex-direction:column;gap:10px;align-self:flex-start}.actions-button-wrapper.margin-bottom[_ngcontent-%COMP%]{margin-bottom:20px}.action-button[_ngcontent-%COMP%]{width:100%;font-weight:400!important;font-size:14px!important;line-height:100%!important;letter-spacing:0!important;text-align:center;vertical-align:middle;color:#007ab3}.star[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:8px}.chatbot-refresh-btn[_ngcontent-%COMP%]{height:24px;width:24px}.chatbot-send-btn-disabled[_ngcontent-%COMP%]{color:#acacac!important;font-size:24px}.chatbot-send-btn[_ngcontent-%COMP%]{width:24px;height:24px;font-size:24px!important;color:#007ab3}.time-style[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:400;font-size:12px;color:#414141;margin-top:-5px}.time-user-style[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;font-weight:400;font-size:12px;color:#fff}@media (max-width: 555px){.chatbot-wrapper[_ngcontent-%COMP%]{width:var(--window-width-responsive)}.legend-initial[_ngcontent-%COMP%]{font-size:9px}.text-user[_ngcontent-%COMP%]{margin-bottom:16px;font-size:14px;word-break:break-word;overflow-wrap:break-word}.text-chatbot[_ngcontent-%COMP%]{font-size:14px;word-break:break-word;overflow-wrap:break-word}.ally-bot-text[_ngcontent-%COMP%]{font-size:9px}.time-style[_ngcontent-%COMP%]{font-size:10px}.input-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .input-container[_ngcontent-%COMP%]   textarea[_ngcontent-%COMP%]{font-size:14px}}@media (max-height: 710px){.chatbot-container[_ngcontent-%COMP%]{height:70vh}}"]})};var A2e=["template"];function V2e(i,e){i&1&&S(0,"app-not-allowed")}function F2e(i,e){i&1&&(S(0,"app-private-header")(1,"app-alert"),Ze(2),S(3,"router-outlet"),Xe())}function R2e(i,e){i&1&&S(0,"chat-bot")}function z2e(i,e){i&1&&S(0,"app-ally-private")}function L2e(i,e){if(i&1&&re(0,R2e,1,0,"chat-bot")(1,z2e,1,0,"app-ally-private"),i&2){let t=M();oe(t.newChatbotEnabled()?0:1)}}function H2e(i,e){i&1&&S(0,"img",6)}function B2e(i,e){i&1&&S(0,"img",7)}function j2e(i,e){if(i&1){let t=Y();c(0,"div")(1,"button",8),I("click",function(){O(t);let r=M(2);return T(r.closeDialog("unirse"))}),m(2," Unirse al programa "),d(),c(3,"button",8),I("click",function(){O(t);let r=M(2);return T(r.closeDialog("cancelar"))}),m(4," Cancelar "),d()()}}function q2e(i,e){if(i&1){let t=Y();c(0,"div")(1,"button",8),I("click",function(){O(t);let r=M(2);return T(r.closeDialog("cancelar"))}),m(2," Cerrar "),d()()}}function U2e(i,e){if(i&1&&(c(0,"div",1),L(1,H2e,1,0,"img",2)(2,B2e,1,0,"img",3),d(),c(3,"div",4),L(4,j2e,5,0,"div",5)(5,q2e,3,0,"div",5),d()),i&2){let t=M();p(),g("ngIf",!t.adhesionExitosa),p(),g("ngIf",t.adhesionExitosa),p(2),g("ngIf",!t.adhesionExitosa),p(),g("ngIf",t.adhesionExitosa)}}var G5=class i{service=C(Oi);_service=C(Tn);dialogService=C(Qn);chatbotService=C(wl);eventsService=C(Do);_emittersService=C(Jt);templateRef;templateDialogRef;adhesionExitosa=!1;tipoUser=null;loadingUser=!0;isAuthorized=!1;newChatbotEnabled=nn(!1);loadingChatbot=nn(!0);async ngOnInit(){if(Se.hasSession){try{await Fa(this.service.user()),this.tipoUser=Se.user.csmUserType,this.isAuthorized=this.tipoUser===2,this.isAuthorized&&(await this.datosUsuarioMkt(
801),this.eventsService.checkSession())}catch(e){console.error("Error cargando usuario:",e),this.isAuthorized=!1}finally{this.loadingUser=!1}this.getNewChatbotEnabled()}}getNewChatbotEnabled(){this.chatbotService.isUserEnabled().subscribe({next:e=>{this.newChatbotEnabled.set(e.enabled),this.loadingChatbot.set(!1)},error:e=>{console.error("Error al obtener chatbot enabled",e),this.loadingChatbot.set(!1)}})}async datosUsuario(){try{await Fa(this.service.user()),this.tipoUser=Se.user.csmUserType,this.datosUsuarioMkt()}catch(e){console.error(e)}}async datosUsuarioMkt(){let e=ht.active?ht.typeDocument+ht.dni:Se.user.details.identityDocuments[0].documentType.documentTypeCode+Se.user.details.identityDocuments[0].documentNumber;try{let n=(await this._service.checkAdherido(e))?.MarketAdhOut;if(!Array.isArray(n)||!n.length)return;let r=n[0];r?.estado!==1&&r?.cantidaddiasproveedor===1&&(this.templateDialogRef=this.dialogService.open(this.templateRef,{ariaLabel:"A simple dialog",maxWidth:"700px",maxHeight:"600px",minWidth:"500px",minHeight:"400px"}))}catch(t){console.error(t)}}closeDialog(e){if(e=="unirse"){let t={MarketAltaIn:{suscripcionPromo:{dni:Se.user.details.identityDocuments[0].documentType.documentTypeCode+Se.user.details.identityDocuments[0].documentNumber,email:Se.user.details.email,proveedor:1},accion:"P"}};this._service.postAltaMarketing(t).then(n=>{this.adhesionExitosa=!0}).catch(n=>{this._emittersService.emmiterToast(0,"Error al actualizar la adhesion"),this.adhesionExitosa=!1,this.templateDialogRef?.close(),console.log(n)})}else this.templateDialogRef?.close()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-priv-home"]],viewQuery:function(t,n){if(t&1&&pe(A2e,5),t&2){let r;te(r=ne())&&(n.templateRef=r.first)}},decls:9,vars:3,consts:[["template",""],["nxModalContent","",1,"modal-home",2,"display","flex","justify-content","center"],["src","../../../../assets/img/adhecion.jpg","width","85%","alt","","srcset","",4,"ngIf"],["src","../../../../assets/img/confirmacion.jpg","width","85%","alt","","srcset","",4,"ngIf"],["nxM
801odalActions","",1,"modal-home"],[4,"ngIf"],["src","../../../../assets/img/adhecion.jpg","width","85%","alt","","srcset",""],["src","../../../../assets/img/confirmacion.jpg","width","85%","alt","","srcset",""],["nxButton","small secondary","type","button",1,"nx-margin-bottom-0","nx-margin-right-xs",3,"click"]],template:function(t,n){t&1&&(S(0,"app-loading"),re(1,V2e,1,0,"app-not-allowed"),c(2,"div"),re(3,F2e,4,0),re(4,L2e,2,1),S(5,"app-menu-footer")(6,"app-footer"),d(),L(7,U2e,6,4,"ng-template",null,0,an)),t&2&&(p(),oe(n.tipoUser!=2&&n.tipoUser!=null&&n.tipoUser!=null?1:-1),p(2),oe(n.tipoUser===2?3:-1),p(),oe(n.loadingChatbot()?-1:4))},dependencies:[me,et,_t,oa,ns,Jd,up,L5,H5,B5,U5,Zd,Xd,c2],styles:['*[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.3px}.body-separator[_ngcontent-%COMP%]{width:"100%";height:40px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:10px;padding-left:10px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.myp[_ngcontent-%COMP%]{margin:0;padding:0}.top[_ngcontent-%COMP%]{top:-25px}.modal-home[_ngcontent-%COMP%]{overflow:hidden!important}']})};var $5=class i{constructor(e){this.http=e}baseUrl="/api/";getRequest(e){return this.http.get(this.baseUrl+e)}
801getRequestParams(e,t){let n=this.formarUrl(e,t);return this.http.get(this.baseUrl+n)}getRequestParamsString(e,t){let n=this.formarUrl(e,t);return this.http.get(this.baseUrl+n,{headers:new Uo({"Content-Type":"application/json"}),responseType:"text"})}putRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.put(this.baseUrl+r,t)}postRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.post(this.baseUrl+r,t)}deleteRequest(e,t,n){let r=this.formarUrl(e,n);return this.http.delete(this.baseUrl+r)}formarUrl(e,t){let n=e;return t!=null&&(n=n+"?",Object.keys(t).forEach(r=>{t[r]!=null&&(n=n+encodeURIComponent(r)+"="+encodeURIComponent(t[r])+"&")}),n=n.substring(0,n.length-1)),n}getHeaderString(e){return e.keys().map(n=>"("+n+","+e.get(n)+")").join(", ")}logout(e){typeof e=="string"&&e.split(": ")[1].split(" ")[0]=="401"&&(Se.hasSession=!1,this.http.post("/public/logout",{}).subscribe(t=>{window.location.href=Se.oauth2.baseUrl+"/logout?redirect_uri="+window.location.origin+"/"}))}evaluarRespuesta(e,t){return new Promise((n,r)=>{e.response.responseCode=="200"?t==null||t==""?n(e):n(e[t]):r(e.response)})}evaluarRespuesta2(e,t){if(e.response.responseCode=="200")return t==null||t==""?e:e[t];Ve(e.response)}validarResponse(e){if(e.response.description)throw{codigo:e.response.responseCode,descripcion:e.response.description}}errorHandler(e){return Ve(e.message||"Server Error")}errorHandler2(e){return e instanceof xl?e.status==401||e.status==403?(Se.hasSession=!1,Se.user=null,window.location.href="",Ve("Unauthorized")):Ve(e.message||"Server Error"):Ve(e)}errorHandlerFraudKeeper(e){return Ve(e?.error?.PasPersonaInsertOut[0].response.description||"Server Error")}static \u0275fac=function(t){return new(t||i)(Le(er))};static \u0275prov=W({token:i,factory:i.\u0275fac})};var Hl=class i extends $5{polizas;getPolizas(e,t,n,r){let o={docNumber:e,validity:t,pageLines:n,currentPage:r}
801,a=this.getRequestParams("mi-allianz/private/policies",o).pipe(ct(s=>{let l=s.PolizaAseguradoOut?.[0]??{};return this.polizas=this.evaluarRespuesta2(l,"polizas"),{polizas:this.polizas,paginado:l.paginado??{cantpag:1,cantreg:this.polizas?.length??0}}}),B(this.errorHandler2));return Fa(a)}getRiesgosSiniestrables(e,t,n,r){let o={fecSiniestro:e,idSeccion:t,npoliza:n,codAsegurado:r,nmOrigen:"MIALLIANZ"},a=this.getRequestParams("v1/polizas/riesgos-siniestrables",o).pipe(ct(s=>this.evaluarRespuesta2(s.ComposicionPolizaOut?.[0],"composicionpolizas")),B(this.errorHandler2));return Fa(a)}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var fp=class i extends Ke{constructor(t,n){super(t);this.eventsService=n}getdownloadPdf(t){let n="/mi-allianz/private/pdf/parte";return this.getRequestParamsBlob(n,t).pipe(bi(async r=>{if(await this.eventsService.isFirewallBlockResponse(r))throw{error:await r.text(),status:200,message:"Blocked by firewall: The requested URL was rejected.",url:this.getFullUrl(n)};return r}),Ii(()=>{this.eventsService.logEventInBackground(Ar.DESCARGA_DOCUMENTO.action,Ar.DESCARGA_DOCUMENTO.description,this.getFullUrl(n),t,null,null)}),B(async r=>{let o=await D5(r);return this.eventsService.logErrorInBackground(Ar.DESCARGA_DOCUMENTO.action,r?.message||Ar.DESCONOCIDO,this.getFullUrl(n),t,null,o,r?.status||500),this.errorHandler(r)}))}getdownloadPdfAsistencias(t){let n={nroPoliza:t};
801return this.getRequestParams("/v1/siniestros/guia-servicio",n).pipe(B(this.errorHandler))}getPartesPolizasPdf(t){let n={codRamo:t};return this.getRequestParams("/v1/personas/asegurados/parte-poliza",n).pipe(B(this.errorHandler))}errorHandler(t){return Ve(()=>t.message||"Server Error")}static \u0275fac=function(n){return new(n||i)(Le(er),Le(Do))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var sa=class i{constructor(e){this.downloadPdfService=e}polizaSeleccionada;guiaDeAsistencias;polizaParte=[];isVigente=!0;guardarSeleccionPoliza(e){this.polizaSeleccionada=e,this.polizaSeleccionada&&this.downloadPdfService.getdownloadPdfAsistencias(this.polizaSeleccionada.nroPoliza).toPromise().then(t=>{this.downloadPdfService.getPartesPolizasPdf(this.polizaSeleccionada.seccion).toPromise().then(n=>{this.polizaParte=n.PolizaPartePolizaOut[0].partePolizas,t.GuiaServicioOut[0].respuesta=="POLIZA CON ASISTENCIA"&&this.polizaParte.push({pdf:t.GuiaServicioOut[0].guiaServicio.pdf,aleatorio:null,codRamo:this.polizaSeleccionada.seccion,orden:this.polizaParte.length+1,partePoliza:"GU\xCDA DE ASISTENCIA"})}).catch(n=>{}),this.guiaDeAsistencias=t}).catch(()=>{})}getGuiaDeAsistenicia(){return this.guiaDeAsistencias}getPolizaSeleccionada(){return this.polizaSeleccionada}getPartePolizas(){return this.polizaParte}setVigente(e){this.isVigente=e}getIsVigente(){return this.isVigente}static \u0275fac=function(t){return new(t||i)(Le(fp))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};function $2e(i,e){if(i&1){let t=Y();c(0,"div",0)(1,"div",2)(2,"div",3),S(3,"nx-icon",4),d(),c(4,"p",5),m(5," Actualmente no ten\xE9s p\xF3lizas vigentes."),S(6,"br"),m(7," Consult\xE1 tus p\xF3lizas anteriores. "),d()(),c(8,"button",6),I("click",function(){O(t);let r=M();return T(r.irMisPolizasNoVigentes())}),m(9," Mis p\xF3lizas "),d()()}}function W2e(i,e){i&1&&(c(0,"div",1),m(1," No encontramos resultados"),S(2,"br"),m(3,` para tu b\xFAsqueda.
802`),d())}var mp=class i{changePolizas=new X;isMisPolizas=!1;globalMainService=C(No);irMisPolizasNoVigentes(){this.globalMainService.setGlobalIsMisPolizas(!0),this.changePolizas.emit("N")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-no-polizas-vigentes"]],inputs:{isMisPolizas:"isMisPolizas"},outputs:{changePolizas:"changePolizas"},decls:2,vars:2,consts:[[1,"no-poliza-vigiente-container"],[1,"d-flex","justify-content-center","no-resultado-busqueda"],[1,"no-poliza-vigiente-info"],[1,"no-poliza-vigiente-info-icon-box"],["name","product-board-paper-note",1,"no-poliza-vigiente-info-icon"],[1,"no-poliza-vigiente-info-icon-p"],["nxButton","secondary small","type","button",1,"no-poliza-vigiente-btn",3,"click"]],template:function(t,n){t&1&&(re(0,$2e,10,0,"div",0),re(1,W2e,4,0,"div",1)),t&2&&(oe(n.isMisPolizas?-1:0),p(),oe(n.isMisPolizas?1:-1))},dependencies:[me,_t,nt],styles:[".no-poliza-vigiente-container[_ngcontent-%COMP%]{width:473px;height:165px;border-radius:5px;border-width:1px;background:#fff;border:1px solid #d9d9d9;padding:45px 22px 28px 29px;display:flex;flex-direction:column;gap:9px}.no-poliza-vigiente-info[_ngcontent-%COMP%]{display:flex;gap:19px;align-items:center}.no-poliza-vigiente-info-icon-box[_ngcontent-%COMP%]{width:57px;height:57px;border-radius:50px;display:flex;justify-content:center;align-items:center;background-color:#c4e9fb}.no-poliza-vigiente-info-icon-p[_ngcontent-%COMP%]{flex:1;font-family:Allianz Neo,sans-serif;font-weight:400;font-size:16px;line-height:24px;letter-spacing:0px;color:#414141;margin-bottom:0}.no-resultado-busqueda[_ngcontent-%COMP%]{width:100%;height:400px;display:flex;justify-content:center;align-items:center;font-weight:400!important;font-size:24px!important;line-height:100%!important;letter-spacing:0px!important;text-align:center;vertical-align:middle;margin:40px 0!important}.no-poliza-vigiente-info-icon[_ngcontent-%COMP%]{width:32px;height:32px;font-size:29px!important;color:#007ab3}.no-poliza-vigiente-btn[_ngcontent-%COMP%]{align-self:flex-end;width:fit-content;height:32px;border-radius:2px;border-width:1px;padding:10px;gap:8px;border:1px solid #006192;font-family:Allianz Neo,sans-serif;font-weight:400!important;font-size:14px!important;line-height:100%!important;letter-spacing:0px!important;text-align:center!important;vertical-align:middle!important}@media (max-width: 767px){.no-poliza-vigiente-container[_ngcontent-%COMP%]{width:300px;height:179px;padding:22px 22px 0 20px}.no-poliza-vigiente-info-icon-p[_ngcontent-%COMP%]{font-size:14px}}"]})};var hp=class i{transform(e,t){return!t||!e?e:[...new Set(e.filter(r=>r.detalleSecundario.toString().toUpperCase().includes(t.toUpperCase())).concat(e.filter(r=>r.detallePrincipal.toString().toUpperCase().includes(t.toUpperCase())).concat(e.filter(r=>r.nroPoliza.toString().toUpperCase().includes(t.toUpperCase())))))]}notNullList(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];r.deLocalidad!=null&&t.push(r)}return t}static \u0275fac=function(t){return new(t||i)};static \u0275pipe=vl({name:"searchPipe",type:i,pure:!0})};function Y2e(i,e){i&1&&Ei(0)}function Q2e(i,e){if(i&1&&S(0,"nx-icon",9),i&2){let t=M().$implicit;g("name",Vi(t.imgCard))}}function K2e(i,e){if(i&1&&S(0,"img",10),i&2){let t=M().$implicit;g("alt",Vi(t.categoria))}}function X2e(i,e){if(i&1&&(c(0,"h1",12),m(1),d()),i&2){let t=M().$implicit;p(),K(" ",t.categoria," ")}}function Z2e(i,e){i&1&&(c(0,"h1",12),m(1,"Flota"),d())}function J2e(i,e){i&1&&(c(0,"h2",14)(1,"b"),m(2,"Riesgo"),d()())}function eue(i,e){i&1&&(c(0,"h2",14)(1,"b"),m(2,"Patente"),d()())}function tue(i,e){i&1&&(c(0,"h2",14)(1,"b"),m(2,"Riesgos"),d()(),c(3,"h2",14),m(4,"Varios"),d())}function nue(i,e){if(i&1&&(c(0,"h2",14),m(1),d()),i&2){let t=M().$implicit,n=M(2);p(),K(" ",n.getDetalleSecundarioEllipsis(t.riesgo[0].detalleSecundario)," ")}}function iue(i,e){if(i&1){let t=Y();c(0,"swiper-slide")(1,"div",5),I("click",function(){let r=O(t).$implicit,o=M(2);
802return T(o.setPolizaSeleccionada(r))}),c(2,"div",6),m(3),d(),c(4,"div",7)(5,"div",8),re(6,Q2e,1,2,"nx-icon",9),re(7,K2e,1,2,"img",10),d(),c(8,"div",11),re(9,X2e,2,1,"h1",12),re(10,Z2e,2,0,"h1",12),c(11,"div",13),re(12,J2e,3,0,"h2",14),re(13,eue,3,0,"h2",14),re(14,tue,5,0),re(15,nue,2,1,"h2",14),d(),c(16,"h2",14)(17,"b"),m(18,"P\xF3liza N\xBA:"),d(),m(19),d()()()()()}if(i&2){let t=e.$implicit,n=M(2);p(2),g("ngClass",t.estado=="Anulada"?"estado-anulado":n.vigencia!="S"?"estado-no-vigente":"poliza-card-estado"),p(),K(" ",n.vigencia=="S"?t.estado:"No vigente"," "),p(3),oe(t.riesgo.length==1||t.riesgo.length>1&&t.seccion!="004"?6:-1),p(),oe(t.riesgo.length>1&&t.seccion=="004"?7:-1),p(2),oe(t.riesgo.length==1||t.riesgo.length>1&&t.seccion!="004"?9:-1),p(),oe(t.riesgo.length>1&&t.seccion=="004"?10:-1),p(2),oe((t.riesgo.length==0||t.riesgo.length==1)&&t.categoria!="Auto"?12:-1),p(),oe(t.categoria=="Auto"?13:-1),p(),oe(t.riesgo.length>1?14:-1),p(),oe(t.riesgo.length===1?15:-1),p(4),K(" ",t.nroPoliza," ")}}function rue(i,e){if(i&1&&(c(0,"swiper-container",1)(1,"swiper-slide",3),L(2,Y2e,1,0,"ng-container",4),d(),Ot(3,iue,20,11,"swiper-slide",null,Bo),sr(5,"searchPipe"),d()),i&2){let t=M(),n=Ct(3);p(2),g("ngTemplateOutlet",n),p(),Tt(Ts(5,1,t.polizasCard,t.filtroSearch))}}function oue(i,e){i&1&&Ei(0)}function aue(i,e){if(i&1){let t=Y();c(0,"div",2),L(1,oue,1,0,"ng-container",4),c(2,"app-no-polizas-vigentes",15),I("changePolizas",function(r){O(t);let o=M();return T(o.changePolizas.emit(r))}),d()()}if(i&2){M();let t=Ct(3);p(),g("ngTemplateOutlet",t)}}function sue(i,e){if(i&1){let t=Y();c(0,"article",16),I("click",function(r){O(t);let o=M();return T(o.navigateToCrossSelling(r))}),c(1,"div",17),S(2,"img",18),d(),c(3,"div",19)(4,"h1",20),m(5," Seguro de"),S(6,"br"),m(7,"Vida Protecci\xF3n "),d(),c(8,"p",21),m(9," Un respaldo real para quienes m\xE1s quer\xE9s. "),d(),c(10,"button",22),m(11," Contratar "),S(12,"span",23),d()()()}}var W5=class i{polizaSeleccionadaEmitter=new X;changePolizas=new X;polizaSeleccionada=void 0;polizas=[];vigencia;currentIndex=0;actionResult;filtroSearch="";polizasCard=[];appService=C(Oi);infoPolizaService=C(sa);globalMainService=C(No);router=C(ot);eventsService=C(Do);ngOnInit(){this.polizaSeleccionada||(this.polizaSeleccionada=""),this.polizas&&this.polizas.length>0&&(this.polizasCard=this.polizas.slice(0,5))}setPolizaSeleccionada(e){if(e===0){this.polizaSeleccionada=this.polizas[0];return}this.polizaSeleccionada=e,this.globalMainService.setGlobalIsMisPolizas(!0),this.polizaSeleccionadaEmitter.emit(this.polizaSeleccionada),this.infoPolizaService.guardarSeleccionPoliza(this.polizaSeleccionada)}handleSearch(e){this.filtroSearch=e}getDetalleSecundarioEllipsis(e){return e.length>16?`${e.substring(0,16)}...`:e}navigateToCrossSelling(e){e.stopPropagation(),this.router.navigate(["/priv/cross-selling-vida-proteccion"])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-polizas-new"]],inputs:{polizaSeleccionada:"polizaSeleccionada",polizas:"polizas",vigencia:"vigencia"},outputs:{polizaSeleccionadaEmitter:"polizaSeleccionada",changePolizas:"changePolizas"},decls:4,vars:1,consts:[["vidaProteccionCard",""],["space-between","30","slides-per-view","auto","pagination","true",1,"mySwiper"],[1,"no-polizas-layout"],[1,"fixed-cross-selling-slide"],[4,"ngTemplateOutlet"],[1,"poliza-card-container",3,"click"],[3,"ngClass"],[1,"poliza-card-info-container"],[1,"poliza-card-info-icon-container"],[1,"poliza-card-info-icon",3,"name"],["src","../../../../assets/img/allianz-flota.svg",1,"poliza-card-info-icon",3,"alt"],[1,"poliza-card-info-text-container"],[1,"poliza-card-info-text-title"],[1,"poliza-card-info-text-subtitle-container"],[1,"poliza-card-info-text-subtitle"],[3,"changePolizas"],["aria-label","AAASeguro de Vida Protecci\xF3n",1,"cross-selling-card",3,"click"],[1,"cross-selling-card-illustration"],["src","../../../../assets/img/woman_and_man_in_front_of_house_under_umbrella.png","alt","Ilustraci\xF3n seguro de vida protecci\xF3n"],[1,"cross-selling-card-content"],[1,"cross-selling-card-title"],[1,"cross-selling-card-description"],["type","button",1,"cross-selling-card-cta"],["aria-hidden","true",1,"cross-selling-card-cta-icon"]],template:function(t,n){t&1&&(re(0,rue,6,4,"swiper-container",1)(1,aue,3,1,"div",2),L(2,sue,13,0,"ng-template",null,0,an)),t&2&&oe(n.polizas&&n.polizas.length>0?0:1)},dependencies:[me,Un,Ji,nt,mp,hp],styles:['body[_ngcontent-%COMP%]{font-family:Open Sans,Arial,sans-serif}.section[_ngcontent-%COMP%]{text-align:center}.colCard[_ngcontent-%COMP%]{min-width:fit-content}.myp[_ngcontent-%COMP%]{margin:0;padding:5px;width:331px}.anulada[_ngcontent-%COMP%]{background-color:#ced1da!important}.noBorder[_ngcontent-%COMP%]{background-color:#f5f5f5;border:0;outline:0}
802.hoverBackground[_ngcontent-%COMP%]:hover{background-color:#dce7f3;transition:all .3s ease-in-out}.tipo-poliza[_ngcontent-%COMP%]{padding-top:5px;float:left;width:150px;height:100px;text-align:center}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{position:relative;width:70px;height:70px;margin:0 auto}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .circle-1[_ngcontent-%COMP%], .tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .circle-2[_ngcontent-%COMP%]{position:absolute;box-sizing:border-box;width:76px;height:76px;top:-3px;left:-3px;border-width:1px;border-style:solid;border-color:#3c4d6e #3c4d6e #3c4d6e transparent;border-radius:50%;transition:all 1.5s ease-in-out}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .circle-2[_ngcontent-%COMP%]{width:82px;height:82px;top:-6px;left:-6px;border-color:#3c4d6e transparent #3c4d6e #3c4d6e}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;border-radius:50%;background:#4a91e2}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]:hover{cursor:pointer}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]:hover   .circle-1[_ngcontent-%COMP%], .tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]:hover   .image[_ngcontent-%COMP%]   .circle-2[_ngcontent-%COMP%], .tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]:hover   .circle-2[_ngcontent-%COMP%]{transform:rotate(360deg)}.tipo-poliza[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]:hover   .circle-2[_ngcontent-%COMP%]{transform:rotate(-360deg)}.tipo-poliza[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:15px;font-weight:600;margin-top:10px}.tipo-poliza[_ngcontent-%COMP%]   .vigencia[_ngcontent-%COMP%]{margin-top:15px;min-height:fit-content;min-width:fit-content}.tipo-poliza[_ngcontent-%COMP%]   .vigencia[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{display:block;width:120px;height:30px;margin:0 auto 10px;background:none;border:1px solid #3e89c7;border-radius:15px;font-size:12px;font-weight:600;box-sizing:border-box;transition:all .3s ease-in-out;color:#006192}.tipo-poliza[_ngcontent-%COMP%]   .vigencia[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover{background:#006192;color:#fff}.card-header[_ngcontent-%COMP%]{display:flex}.caja[_ngcontent-%COMP%]{float:left;margin-left:auto;margin-right:16px}.caja[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{box-sizing:border-box;width:120px;height:75px;background:#006192;color:#fff;text-align:center;padding-top:18px;transition:all .4s ease-in-out}.caja[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]:hover{background:#3e89c7;cursor:pointer}.caja[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]:nth-child(2){margin:1px 0}.caja[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:block}.caja[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{font-size:18px;font-weight:600}.caja[_ngcontent-%COMP%]   .numeroPoliza[_ngcontent-%COMP%]{font-size:16px;font-weight:600}.caja[_ngcontent-%COMP%]   .parameter[_ngcontent-%COMP%]{font-size:11px}.modal[_ngcontent-%COMP%]{height:250px;width:250px}.active[_ngcontent-%COMP%]{background-color:#e4efff}.responsiveCard[_ngcontent-%COMP%], .respCard[_ngcontent-%COMP%]{text-align:center}.polizas-viewport[_ngcontent-%COMP%]{height:650px;width:300px}.polizas-viewport2[_ngcontent-%COMP%]{height:350px;width:200px}cdk-virtual-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}cdk-virtual-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#ced1da}cdk-virtual-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#006192;border-radius:100px;border:2px solid rgb(206,209,218)}.bottom-fade[_ngcontent-%COMP%]{width:500px;height:200px;position:absolute;z-index:99;bottom:-5px;background-image:url("./media/bottom-fade-236NTJ64.png")}.flexy[_ngcontent-%COMP%]{margin-top:10px;display:flex;justify-content:center}.elemento-final[_ngcontent-%COMP%]{margin-bottom:75px;padding-bottom:75px}.busqueda[_ngcontent-%COMP%]{margin-top:10px;width:290px;margin-left:auto;margin-right:auto}.noPadding[_ngcontent-%COMP%]{padding:0}swiper-container[_ngcontent-%COMP%]{width:100%;height:226px}swiper-slide[_ngcontent-%COMP%]{display:flex;background-color:transparent;width:331px!important;height:165px;border-radius:8px}swiper-slide[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{display:block;width:100%;height:100%;object-fit:cover}.fixed-cross-selling-slide[_ngcontent-%COMP%]{background-color:transparent}.cross-selling-card[_ngcontent-%COMP%]{width:331px;height:165px;background:#fff3c5;border-radius:4px;overflow:hidden;border:1px solid #f4cb73;padding:0 12px 0 18px;display:flex;gap:16px;align-items:center;flex-shrink:0;cursor:pointer}.cross-selling-card-illustration[_ngcontent-%COMP%]{flex-shrink:0;width:40%;align-self:center}.cross-selling-card-illustration[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:contain}.cross-selling-card-content[_ngcontent-%COMP%]{min-width:0;display:flex;flex-direction:column;justify-content:center}.cross-selling-card-title[_ngcontent-%COMP%]{margin:0 0 6px;font-family:Allianz Neo,sans-serif;font-weight:300;font-size:18px;line-height:normal;letter-spacing:0;color:#414141}.cross-selling-card-description[_ngcontent-%COMP%]{margin:0 0 8px;font-family:Allianz Neo,sans-serif;font-weight:400;font-size:15px;line-height:normal;letter-spacing:0;color:#414141}.cross-selling-card-cta[_ngcontent-%COMP%]{align-self:flex-start;display:inline-flex;align-items:center;gap:11px;border:0;background:transparent;padding:0;font-family:AllianzNeoSB,sans-serif!important;font-weight:600!important;font-size:14px;line-height:24px;letter-spacing:.19px;color:#006192;cursor:pointer}.cross-selling-card-cta-icon[_ngcontent-%COMP%]{width:8px;height:8px;border-top:2px solid #006192;border-right:2px solid #006192;transform:rotate(45deg);margin-right:2px}.no-polizas-layout[_ngcontent-%COMP%]{display:flex;align-items:center;gap:30px;flex-wrap:wrap}[_ngcontent-%COMP%]::part(pagination){left:-50px!important}.poliza-card-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:331px;height:165px;border-radius:5px;background-color:#fff;border:1px solid #d9d9d9;padding:20px 12px;cursor:pointer}.poliza-card-container[_ngcontent-%COMP%]:hover{background-color:#ececec}.poliza-card-estado[_ngcontent-%COMP%]{width:auto;padding:0 10px;height:24px;border-radius:100px;background-color:#1d8927;align-self:flex-end;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;color:#fff;display:flex;justify-content:center;align-items:center}.estado-anulado[_ngcontent-%COMP%]{background-color:#d9d9d9;color:#000;width:auto;padding:0 10px;height:24px;border-radius:100px;align-self:flex-end;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;display:flex;justify-content:center;align-items:center}.estado-no-vigente[_ngcontent-%COMP%]{background-color:#dc3149;
802color:#fff;width:auto;padding:0 10px;height:24px;border-radius:100px;align-self:flex-end;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;display:flex;justify-content:center;align-items:center}.poliza-card-info-container[_ngcontent-%COMP%]{display:flex;gap:14px}.poliza-card-info-icon-container[_ngcontent-%COMP%]{flex-shrink:0;width:57px;height:57px;background:#ecf0f8;border-radius:50%;display:flex;justify-content:center;align-items:center;margin-top:8px;position:relative}.circle-test-one[_ngcontent-%COMP%]{position:absolute;top:-3px;left:-3px;width:63px;height:63px;border-width:1px;border-style:solid;border-radius:50%;border-color:#3c4d6e #3c4d6e #3c4d6e transparent;transition:all 1.5s ease-in-out}.circle-test-two[_ngcontent-%COMP%]{position:absolute;top:-6px;left:-6px;width:69px;height:69px;border-width:1px;border-style:solid;border-radius:50%;border-color:#3c4d6e transparent #3c4d6e #3c4d6e;transition:all 1.5s ease-in-out}.poliza-card-container[_ngcontent-%COMP%]:hover   .circle-test-one[_ngcontent-%COMP%]{transform:rotate(360deg)}.poliza-card-container[_ngcontent-%COMP%]:hover   .circle-test-two[_ngcontent-%COMP%]{transform:rotate(-360deg)}.poliza-card-info-icon[_ngcontent-%COMP%]{font-size:32px!important;color:#006192}.poliza-card-info-text-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.poliza-card-info-text-title[_ngcontent-%COMP%]{font-weight:700;font-size:17px;line-height:21.11px;letter-spacing:0px;color:#006192}.poliza-card-info-text-subtitle-container[_ngcontent-%COMP%]{display:flex;gap:5px}.poliza-card-info-text-subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:19.87px;letter-spacing:0px;margin-bottom:5px}@media (max-width: 767px){[_ngcontent-%COMP%]::part(pagination){left:-20px!important}.no-polizas-layout[_ngcontent-%COMP%]{gap:16px}}@media (max-width: 1137px){.webCard[_ngcontent-%COMP%]{display:none}.respCard[_ngcontent-%COMP%]{height:150px;min-width:150px}.polizas-viewport[_ngcontent-%COMP%]{height:650px;width:50px}.polizas-viewport2[_ngcontent-%COMP%]{height:350px;width:50px}}@media (min-width: 1138px){.responsiveCard[_ngcontent-%COMP%]{display:none}}']})};var Y5=class i{gestion=null;router=C(ot);globalMainService=C(No);viewportScroller=C(Pc);ngOnInit(){}gestionAction(e,t,n,r){if(e.preventDefault(),r?.oid==="7"&&(this.globalMainService.setGlobalIsMisPolizas(!0),this.viewportScroller.scrollToPosition([0,0])),t)if(t==="/login")this.router.navigate(["/login"]);else if(t==="/contacto")window.open("https://www.allianz.com.ar/servicios/informacion-util/telefonos-asistencia.html","_blank","noopener,noreferrer");else{let o=`/priv${t}`;this.router.navigate([o])}n&&window.open(n,"_blank","noopener,noreferrer")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-gestion-new"]],inputs:{gestion:"gestion"},decls:4,vars:3,consts:[[1,"gestion-card",3,"click"],["alt","",1,"gestion-image",3,"src"],[1,"gestion-title"]],template:function(t,n){t&1&&(at(0,"a",0),uo("click",function(o){return n.gestionAction(o,n.gestion.redirect,n.gestion.link,n.gestion)}),wn(1,"img",1),at(2,"h5",2),m(3),pt()()),t&2&&(p(),gi("src",Vi(n.gestion.urlImg),An),p(2),Pe(n.gestion.descripcion))},dependencies:[me],styles:["*[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.3px}.gestion-card[_ngcontent-%COMP%]{width:auto;height:165px;border-width:1px;border-radius:5px;border:1px solid #d9d9d9;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 23px;cursor:pointer}.gestion-card[_ngcontent-%COMP%]:hover{background-color:#ececec}.gestion-image[_ngcontent-%COMP%]{width:80px;height:44px;margin-bottom:16px;object-fit:contain}.gestion-title[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:24px;letter-spacing:0px;text-align:center}"]})};var Q5=class i{search=new it("");searchEmitter=new X;ngOnInit(){this.search.valueChanges.subscribe(e=>this.searchEmitter.emit(e))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-busqueda-new"]],outputs:{searchEmitter:"search"},decls:5,vars:1,consts:[["buscar",""],["id","divshow",1,"c-search-box"],[1,"c-searchbar__input-holder"],["type","text","placeholder","Buscar","aria-label","Search",1,"c-searchbar__input",3,"formControl"],["alt","search","src","assets/img/search_light.svg","alt","",1,"c-search-img"]],template:function(t,n){t&1&&(c(0,"div",1)(1,"div",2),S(2,"input",3,0)(4,"img",4),d()()),t&2&&(p(2),g("formControl",n.search))},dependencies:[Sa,Rt,wt,Tc],styles:[".c-search-box[_ngcontent-%COMP%]{width:100%;display:flex;height:32px;border-bottom:1px solid #000000}.c-searchbar__input-holder[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-left:0}.c-searchbar__input[_ngcontent-%COMP%]{outline:0;border:0;color:#006192;background:none;width:100%;font-family:Allianz Neo,sans-serif;font-weight:400;font-size:17px;line-height:21.11px;letter-spacing:-1%}.c-search-img[_ngcontent-%COMP%]{width:28px;height:28px;object-fit:contain}"]})};function lue(i,e){if(i&1&&(c(0,"tr",6)(1,"td",9),m(2),d(),c(3,"td",9),m(4),d(),c(5,"td",9),m(6),sr(7,"date"),d(),c(8,"td",9),m(9),sr(10,"currency"),d()()),i&2){let t=e.$implicit;p(2),Pe(t.nroCuota),p(2),Pe(t.descEstado),p(2),Pe(Ts(7,4,t.fechaVtoCuota,"dd/LL/y")),p(3),Pe(Ts(10,7,t.impCuota,"$ "))}}function cue(i,e){if(i&1&&(c(0,"div",1)(1,"div")(2,"h2",2),m(3,"Mis Cuotas"),d(),c(4,"div",3)(5,"table",4)(6,"caption",5),m(7," Listado de cuotas del asegurado "),d(),c(8,"thead")(9,"tr",6)(10,"th",7),m(11,"Cuota"),d(),c(12,"th",7),m(13,"Estado"),d(),c(14,"th",7),m(15,"Vencimiento"),d(),c(16,"th",7),m(17,"Importe"),d()()(),c(18,"tbody"),L(19,lue,11,10,"tr",8),d()()()()()),i&2){let t=M();p(19),g("ngForOf",t.cuotas)}}var K5=class i{cuotas=[];deuda=!1;mostrar=!1;constructor(){}ngOnInit(){this.mostrar=!0,this.deuda=this.cuotas.some(e=>e.descEstado=="Venc.e Imp.")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["popup-cuotas"]],inputs:{cuotas:"cuotas"},decls:1,vars:1,consts:[["class","hoverPlan",4,"ngIf"],[1,"hoverPlan"],[1,"popup-cuotas-title"],[1,"tab__content","scroll-container"],["nxTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableRow","",4,"ngFor","ngForOf"],["nxTableCell",""]],template:function(t,n){t&1&&L(0,cue,20,1,"div",0),t&2&&g("ngIf",n.mostrar)},dependencies:[me,Kn,ni,si,ii,Ut,et,fC,Ur],styles:["table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:sticky;top:0;z-index:2}.scroll-container[_ngcontent-%COMP%]{overflow-y:auto;position:relative}.popup-cuotas-title[_ngcontent-%COMP%]{padding-bottom:16px}"]})};var due=["cuotasModal"];function uue(i,e){if(i&1){let t=Y();c(0,"nx-icon",5),I("click",function(){O(t);let r=M();return T(r.mouseEnter())}),d()}}function pue(i,e){if(i&1){let t=Y();c(0,"nx-icon",6),I("click",function(){O(t);let r=M();return T(r.mouseEnter())}),d()}}function fue(i,e){if(i&1&&S(0,"popup-cuotas",7),i&2){let t=M();g("cuotas",t.cuotas)}}var X5=class i{cuotasModal=null;dialogRef;actionResult;cuotas=[];deuda=!1;dialogService=C(Qn);ngOnInit(){this.deuda=this.cuotas.some(e=>e.descEstado=="Venc.e Imp.")}mouseEnter(){this.dialogRef=this.dialogService.open(this.cuotasModal,{ariaLabel:"Cuotas Modal",showCloseIcon:!0,height:"60%",width:"1400px"}),this.dialogRef.afterClosed().subscribe(e=>{this.actionResult=e})}closeTemplateDialog(){this.dialogRef.close()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-detalle-cuotas"]],viewQuery:function(t,n){if(t&1&&pe(due,5),t&2){let r;te(r=ne())&&(n.cuotasModal=r.first)}},inputs:{cuotas:"cuotas"},decls:6,vars:2,consts:[["cuotasModal",""],[1,"container-cuota"],[1,"planSection"],["name","password-show-o","size","s","style","color: #006192; cursor: pointer;",3,"click",4,"ngIf"],["name","password-show-o","size","s","style","color: red; cursor: pointer;",3,"click",4,"ngIf"],["name","password-show-o","size","s",2,"color","#006192","cursor","pointer",3,"click"],["name","password-show-o","size","s",2,"color","red","cursor","pointer",3,"click"],[3,"cuotas"]],template:function(t,n){t&1&&(c(0,"div",1)(1,"div",2),L(2,uue,1,0,"nx-icon",3)(3,pue,1,0,"nx-icon",4),d()(),L(4,fue,1,1,"ng-template",null,0,an)),t&2&&(p(2),g("ngIf",!n.deuda),p(),g("ngIf",n.deuda))},dependencies:[me,et,nt,K5],styles:[".hoverPlan[_ngcontent-%COMP%]{display:flex;transition:opacity 1s ease-out;opacity:0;transform:scale(0);border:1px solid rgb(203,203,203);border-radius:10px}.planSection[_ngcontent-%COMP%]:hover + .hoverPlan[_ngcontent-%COMP%]{display:flex;transform:scale(1);opacity:1}.hoverPlan[_ngcontent-%COMP%]{background-color:#ececec;padding:20px;height:fit-content;width:fit-content;position:fixed;bottom:5vh;right:16vw;z-index:100;pointer-events:auto;cursor:pointer}"]})};var mue=["template"];function hue(i,e){if(i&1){let t=Y();c(0,"div",2)(1,"h3",3),m(2," Tel\xE9fonos de asistencia "),d(),c(3,"p",4),m(4," Prestador: "),c(5,"span",5),m(6),d(),S(7,"br"),m(8," Tel\xE9fono: "),c(9,"span",5),m(10),d(),S(11,"br"),d(),c(12,"div",6)(13,"button",7),I("click",function(){O(t);let r=M();return T(r.closeTemplateDialog())}),m(14,"Continuar"),d()()()}if(i&2){let t=M();p(6),Pe(t.asistencia.GuiaServicioOut[0].guiaServicio.prestador),p(4),Pe(t.asistencia.GuiaServicioOut[0].guiaServicio.telefono)}}var Z5=class i{templateRef;servicio=null;asistencia;templateDialogRef;router=C(ot);dialogService=C(Qn);infoPolizaService=C(sa);servicioAction(e,t,n){if(e.preventDefault(),this.asistencia=this.infoPolizaService.getGuiaDeAsistenicia(),t)if(t=="/login")this.router.navigate(["/login"]);else if(n==="https://www.allianz.com.ar/servicios/informacion-util/telefonos-asistencia.html"&&this.infoPolizaService.getGuiaDeAsistenicia().GuiaServicioOut[0].respuesta==="POLIZA CON ASISTENCIA")this.templateDialogRef=this.dialogService.open(this.templateRef,{width:"600",ariaLabel:"A simple dialog"});else{let r="/priv"+t;this.router.navigate([r])}else n&&window.open(n,"_blank")}closeTemplateDialog(){this.templateDialogRef?.close()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-servicios-new"]],viewQuery:function(t,n){if(t&1&&pe(mue,5),t&2){let r;te(r=ne())&&(n.templateRef=r.first)}},inputs:{servicio:"servicio"},decls:4,vars:1,consts:[["template",""],["nxContextMenuItem","","type","button",3,"click"],[1,"centered-content"],["nxHeadline","subsection-medium",1,"nx-margin-bottom-3m"],[1,"nx-margin-bottom-2m"],[2,"font-weight","bold"],[1,"two-button-container"],["nxButton","",3,"click"]],template:function(t,n){if(t&1){let r=Y();c(0,"button",1),I("click",function(a){return O(r),T(n.servicioAction(a,n.servicio.redirect,n.servicio.link))}),m(1),d(),L(2,hue,15,2,"ng-template",null,0,an)}t&2&&(p(),K(" ",n.servicio.descripcion,`
803`))},dependencies:[me,_t,Xt,is],styles:['*[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.3px}.c-tile[_ngcontent-%COMP%]{text-align:center;margin-bottom:50px;padding:0 30px}
803.c-tile--benefit[_ngcontent-%COMP%]{margin-bottom:0;padding-bottom:0;display:flex;flex-direction:column;align-items:center}.c-image[_ngcontent-%COMP%]{display:block;position:relative;line-height:0;margin-bottom:12px}.c-tile__image[_ngcontent-%COMP%]{width:auto;height:auto;max-width:90px;max-height:59px;display:flex;align-items:center;justify-content:space-around;margin-bottom:32px;overflow:hidden}.c-heading[_ngcontent-%COMP%]{font-weight:300}.c-tile--benefit[_ngcontent-%COMP%]   .c-tile__heading-sub-section[_ngcontent-%COMP%]{flex-grow:1;margin-bottom:16px;font-weight:400;font-size:24px}.c-heading--subsection-large[_ngcontent-%COMP%]{font-size:25px;line-height:36px;letter-spacing:.3px}.c-heading--subsection-large[_ngcontent-%COMP%]{margin:0 0 25px}.c-copy[_ngcontent-%COMP%]{margin:0 0 25px;font-weight:400;font-size:16px;line-height:24px;letter-spacing:0;font-family:Allianz Neo,sans-serif}.u-margin-bottom-none[_ngcontent-%COMP%]{margin-bottom:0!important}.c-link[_ngcontent-%COMP%]{font-size:16px;cursor:pointer;color:#006192;font-weight:600;text-transform:uppercase;letter-spacing:1px;line-height:24px;transition:color .2s ease,box-shadow .2s ease}.c-link[_ngcontent-%COMP%]:hover{color:#007ab3}.c-icon[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.c-link__text[_ngcontent-%COMP%]{display:flex;flex-direction:column;word-break:break-word;word-wrap:break-word;overflow-wrap:break-word}.c-link[_ngcontent-%COMP%]   .c-link__icon[_ngcontent-%COMP%]{vertical-align:top;line-height:inherit;float:left;height:24px}.c-icon--arrow-right[_ngcontent-%COMP%]:before{content:"\\e903"}.c-link[_ngcontent-%COMP%]   .c-link__icon[_ngcontent-%COMP%]:before{line-height:inherit;margin:0 5px 0 0;font-size:24px;width:24px;height:24px;display:inline-block}.c-icon[_ngcontent-%COMP%]:before{font-family:Allianz-Icons,sans-serif}.c-link--block[_ngcontent-%COMP%]{display:inline-block}.pointer[_ngcontent-%COMP%]{cursor:pointer;height:90.99px;width:90px}.letras-grises[_ngcontent-%COMP%]{color:gray}.ok-width[_ngcontent-%COMP%]{width:180px}.servicio-card[_ngcontent-%COMP%]{width:auto;height:165px;border-width:1px;border-radius:5px;border:1px solid #d9d9d9;background-color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 23px;cursor:pointer}.servicio-card[_ngcontent-%COMP%]:hover{background-color:#ececec}.servicio-img[_ngcontent-%COMP%]{width:80px;height:44px;margin-bottom:8px;object-fit:contain}.servicio-title[_ngcontent-%COMP%]{font-family:Poppins,sans-serif;font-weight:400;font-size:16px;line-height:24px;letter-spacing:0px;text-align:center}.td-servicios[_ngcontent-%COMP%]{margin-left:24px;font-size:24px!important;margin-right:8px}']})};function gue(i,e){if(i&1){let t=Y();c(0,"div",6)(1,"div",7),S(2,"nx-icon",8),d(),c(3,"div",9)(4,"h3",10),m(5,"Solicitud enviada con \xE9xito."),d(),c(6,"p",11),m(7," Ya estamos procesando la informaci\xF3n. "),S(8,"br",12),m(9," Vas a recibir la documentaci\xF3n en los pr\xF3ximos minutos. "),d(),c(10,"p",11),m(11," Si no la encontr\xE1s en la bandeja de entrada, revis\xE1 la casilla de spam/correo no deseado. "),d()(),S(12,"div",13),c(13,"div",14)(14,"button",15),I("click",function(){O(t);let r=M(2);return T(r.onCancel())}),m(15," Aceptar "),d()()()}}function _ue(i,e){if(i&1){let t=Y();c(0,"div",6)(1,"div",16),S(2,"nx-icon",17),d(),c(3,"div",18)(4,"h3",10),m(5,"No pudimos procesar tu solicitud"),d(),c(6,"p",11),m(7," Lo sentimos, ocurri\xF3 un inconveniente al procesar la informaci\xF3n. Por favor, intent\xE1 nuevamente. "),d()(),S(8,"div",13),c(9,"div",14)(10,"button",15),I("click",function(){O(t);let r=M(2);return T(r.onCancel())}),m(11," Aceptar "),d()()()}}function vue(i,e){i&1&&(c(0,"nx-error",30),m(1," Ingres\xE1 un correo electr\xF3nico v\xE1lido. "),d())}function xue(i,e){i&1&&S(0,"nx-spinner",31),i&2&&g("negative",!0)}function bue(i,e){i&1&&(c(0,"span"),m(1,"Solicitar"),d())}function Cue(i,e){if(i&1){let t=Y();c(0,"div",6)(1,"div",9)(2,"h3",10),m(3,"Env\xEDo de certificados por email"),d(),c(4,"p",11),m(5," Los certificados de cobertura se enviar\xE1n al email que tenemos registrado en Mi Allianz. El proceso puede demorar unos minutos. "),d()(),c(6,"div",19)(7,"nx-formfield",20)(8,"input",21),I("blur",function(){O(t);let r=M(2);return T(r.onEmailBlur())}),d()(),L(9,vue,2,0,"nx-error",22),d(),c(10,"div",23),S(11,"nx-icon",24),c(12,"p",25),m(13," Si lo necesit\xE1s, pod\xE9s modificar el email para este env\xEDo puntual. El cambio no afectar\xE1 tus datos registrados. "),d()(),S(14,"div",13),c(15,"div",14)(16,"button",26),I("click",function(){O(t);let r=M(2);return T(r.onCancel())}),m(17," Cancelar "),d(),c(18,"button",27),I("click",function(){O(t);let r=M(2);return T(r.onSubmit())}),L(19,xue,1,1,"nx-spinner",28)(20,bue,2,0,"span",29),d()()()}if(i&2){let t=M(2);p(8),g("formControl",t.emailControl),p(),g("ngIf",t.showEmailError),p(9),g("disabled",t.isSubmitting),p(),g("ngIf",t.isSubmitting),p(),g("ngIf",!t.isSubmitting)}}function yue(i,e){if(i&1){let t=Y();c(0,"div",1),I("click",function(){O(t);let r=M();return T(r.onCancel())}),c(1,"div",2),I("click",function(r){return O(t),T(r.stopPropagation())}),c(2,"button",3),I("click",function(){O(t);let r=M();return T(r.onCancel())}),S(3,"nx-icon",4),d(),L(4,gue,16,0,"div",5)(5,_ue,12,0,"div",5)(6,Cue,21,5,"div",5),d()()}if(i&2){let t=M();p(4),g("ngIf",t.success),p(),g("ngIf",t.error),p(),g("ngIf",!t.success&&!t.error)}}var J5=class i{destroyRef=C(hr);static STRICT_EMAIL_REGEX=/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/;emailValidators=[ee.required,ee.pattern(i.STRICT_EMAIL_REGEX)];open=!1;success=!1;error=!1;nroPoliza=null;set defaultEmail(e){this.emailControl.setValue(e??""),this.resetEmailValidationUI()}
803cancel=new X;submitEmail=new X;showEmailError=!1;isSubmitting=!1;emailControl=new it("",{nonNullable:!0});constructor(){if(this.resetEmailValidationUI(),!this.emailControl.value?.trim()){let t=this.getUserEmail();t&&(this.emailControl.setValue(t,{emitEvent:!1}),this.resetEmailValidationUI())}this.emailControl.valueChanges.pipe(S2(this.destroyRef)).subscribe(()=>{this.showEmailError&&this.resetEmailValidationUI()})}ngOnChanges(e){e.open?.currentValue===!1&&(this.isSubmitting=!1),(e.success?.currentValue||e.error?.currentValue)&&(this.isSubmitting=!1)}onCancel(){this.isSubmitting=!1,this.cancel.emit()}onSubmit(){if(this.enableEmailValidation(),this.emailControl.markAsTouched(),this.emailControl.markAsDirty(),this.emailControl.invalid){this.showEmailError=!0;return}this.showEmailError=!1,this.isSubmitting=!0,this.submitEmail.emit(this.emailControl.value)}onEmailBlur(){this.showEmailError}enableEmailValidation(){this.emailControl.setValidators(this.emailValidators),this.emailControl.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}resetEmailValidationUI(){this.showEmailError=!1,this.emailControl.clearValidators(),this.emailControl.setErrors(null),this.emailControl.markAsPristine({onlySelf:!0,emitEvent:!1}),this.emailControl.markAsUntouched({onlySelf:!0,emitEvent:!1}),this.emailControl.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}getUserEmail(){return Se?.user?.details?.email??Se?.user?.csmUserName??ht?.email??""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-modal-certificado"]],inputs:{open:"open",success:"success",error:"error",nroPoliza:"nroPoliza",defaultEmail:"defaultEmail"},outputs:{cancel:"cancel",submitEmail:"submitEmail"},features:[on],decls:1,vars:1,consts:[["class","modal-certificado-backdrop",3,"click",4,"ngIf"],[1,"modal-certificado-backdrop",3,"click"],["role","dialog","aria-modal","true","aria-label","Env\xEDo de certificados por email",1,"modal-certificado",3,"click"],["type","button","aria-label","Cerrar",1,"modal-certificado-close",3,"click"],["name","close","size","s","aria-hidden","true",2,"color","#414141"],["class","modal-certificado-content",4,"ngIf"],[1,"modal-certificado-content"],["aria-hidden","true",1,"modal-certificado-success-icon"],["name","check-circle","aria-hidden","true"],[1,"modal-certificado-header"],[1,"modal-certificado-title"],[1,"modal-certificado-message"],["aria-hidden","true"],["aria-hidden","true",1,"modal-certificado-divider"],[1,"modal-certificado-actions"],["nxButton","small primary","type","button",1,"modal-certificado-button-solicitar",3,"click"],["aria-hidden","true",1,"modal-certificado-error-icon"],["name","exclamation-triangle","aria-hidden","true"],[1,"modal-certificado-header","modal-certificado-notification-text"],[1,"modal-certificado-field"],["appearance","outline","label","Correo electr\xF3nico de env\xEDo","floatLabel","always",1,"modal-certificado-formfield"],["nxInput","","type","email",3,"blur","formControl"],["nxFormfieldError","","appearance","text","class","modal-certificado-email-error",4,"ngIf"],[1,"modal-certificado-info"],["name","info-circle","size","s","aria-hidden","true",1,"modal-certificado-info-icon"],[1,"modal-certificado-info-text"],["type","button",1,"modal-certificado-button-cancelar",3,"click"],["nxButton","small primary","type","button",1,"modal-certificado-button-solicitar",3,"click","disabled"],["size","small","aria-hidden","true",3,"negative",4,"ngIf"],[4,"ngIf"],["nxFormfieldError","","appearance","text",1,"modal-certificado-email-error"],["size","small","aria-hidden","true",3,"negative"]],template:function(t,n){t&1&&L(0,yue,7,3,"div",0),t&2&&g("ngIf",n.open)},dependencies:[_e,et,Sa,Rt,wt,Tc,me,jt,St,sn,sF,_t,nt,Yt],styles:["[_nghost-%COMP%]{display:block}.modal-certificado-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0000006b;display:flex;align-items:center;justify-content:center;z-index:1200;padding:24px}.modal-certificado[_ngcontent-%COMP%]{width:654px;max-width:calc(100vw - 48px);background:#fff;border:1px solid #d9d9d9;border-radius:8px;overflow:hidden;padding:24px 24px 32px;display:flex;flex-direction:column;align-items:flex-end;
803gap:16px}.modal-certificado-close[_ngcontent-%COMP%]{appearance:none;border:0;background:transparent;padding:0;margin:0;cursor:pointer;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.modal-certificado-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;align-items:center;width:100%}.modal-certificado-success-icon[_ngcontent-%COMP%]{width:64px;height:64px;display:flex;align-items:center;justify-content:center}.modal-certificado-success-icon[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:64px;color:#1e8927}.modal-certificado-error-icon[_ngcontent-%COMP%]{width:64px;height:64px;display:flex;align-items:center;justify-content:center}.modal-certificado-error-icon[_ngcontent-%COMP%]   nx-icon[_ngcontent-%COMP%]{font-size:64px;color:#dc3149}.modal-certificado-notification-text[_ngcontent-%COMP%]{width:464px;max-width:100%}.modal-certificado-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;align-items:center}.modal-certificado-title[_ngcontent-%COMP%]{margin:0;font-weight:300;font-size:26px;line-height:normal;letter-spacing:0;text-align:center;color:#414141}.modal-certificado-message[_ngcontent-%COMP%]{margin:0;font-weight:400;font-size:16px;line-height:normal;letter-spacing:0;text-align:center;color:#414141;max-width:478px}.modal-certificado-field[_ngcontent-%COMP%]{width:334px;max-width:100%}.modal-certificado-info[_ngcontent-%COMP%]{width:478px;max-width:100%;display:flex;align-items:flex-start;gap:8px}.modal-certificado-info-icon[_ngcontent-%COMP%]{color:#496ebd;margin-top:2px}.modal-certificado-info-text[_ngcontent-%COMP%]{margin:0;font-weight:400;font-size:16px;line-height:normal;letter-spacing:0;color:#414141}.modal-certificado-divider[_ngcontent-%COMP%]{height:1px;background:#d9d9d9;width:calc(100% + 48px);margin:0 -24px}.modal-certificado-actions[_ngcontent-%COMP%]{display:flex;gap:16px;align-items:center;justify-content:flex-end;width:100%}.modal-certificado-button-cancelar[_ngcontent-%COMP%]{width:94px;min-height:32px!important;padding:8px 16px;gap:8px;display:flex;opacity:1;border-radius:4px;background-color:#fff;font-weight:600!important;font-size:14px!important;color:#006192;border:2px solid #007ab3;letter-spacing:1px}.modal-certificado-button-solicitar[_ngcontent-%COMP%]{width:91px;min-height:32px!important;padding:8px 16px;gap:8px;display:flex;align-items:center;justify-content:center;opacity:1;border-radius:4px;background-color:#007ab3;font-weight:600!important;font-size:14px!important;color:#fff}.modal-certificado-email-error[_ngcontent-%COMP%]{font-weight:400!important;font-size:15px!important;margin-top:-8px}.modal-certificado-formfield[_ngcontent-%COMP%]{padding-bottom:0!important}@media (max-width: 600px){.modal-certificado[_ngcontent-%COMP%]{width:100%;padding:24px 16px}.modal-certificado-divider[_ngcontent-%COMP%]{width:calc(100% + 32px);margin:0 -16px}.modal-certificado-content[_ngcontent-%COMP%]{gap:24px}.modal-certificado-header[_ngcontent-%COMP%]{width:100%}.modal-certificado-title[_ngcontent-%COMP%]{font-size:22px}.modal-certificado-message[_ngcontent-%COMP%]{max-width:100%;font-size:14px}.modal-certificado-field[_ngcontent-%COMP%]{width:90%}.modal-certificado-info[_ngcontent-%COMP%]{width:100%;gap:8px}.modal-certificado-info-text[_ngcontent-%COMP%]{font-size:14px}.modal-certificado-actions[_ngcontent-%COMP%]{flex-wrap:wrap;gap:12px;justify-content:flex-end}.modal-certificado-button-cancelar[_ngcontent-%COMP%]{flex:0 0 auto;width:94px;min-width:94px}.modal-certificado-button-solicitar[_ngcontent-%COMP%]{flex:0 0 auto;width:91px;min-width:91px}.modal-certificado-formfield[_ngcontent-%COMP%]{font-weight:600!important;font-size:14px!important;color:#414141!important;line-height:24px!important;letter-spacing:0px!important}}"]})};var e_=class i extends Ke{sendCertificateAsync(e,t){return this.postRequestTest("/pdf-generator/certificates/send-async",{},{policyNumber:e,mailAddress:t})}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var RR=[{seccion:"004",certificados:[{partePoliza:"TARJETA VEHICULAR",orden:4,parteRuta:"TARJETAVEHICULAR",label:"Tarjeta vehicular"},{partePoliza:"MERCOSUR",orden:5,parteRuta:"MERCOSUR",label:"Mercosur"},{partePoliza:"CERTIFICADO COBERTURA",orden:6,parteRuta:"CERTIFICADO_COBERTURA",label:"Certificado de cobertura"}]},{seccion:"017",certificados:[{partePoliza:"CERTIFICADO COBERTURA",orden:3,parteRuta:"CERTIFICADO_VIDA",label:"Certificado de cobertura"}]},{seccion:"018",certificados:[{partePoliza:"CERTIFICADO COBERTURA",orden:4,parteRuta:"CERTIFICADO_VIDA",label:"Certificado de cobertura"}]},{seccion:"020",certificados:[{partePoliza:"CERTIFICADO COBERTURA",orden:3,parteRuta:"CERTIFICADO_VIDA",label:"Certificado de cobertura"}]},{seccion:"029",certificados:[{partePoliza:"TARJETA VEHICULAR",orden:4,parteRuta:"TARJETAVEHICULAR",label:"Tarjeta vehicular"},{partePoliza:"MERCOSUR",orden:5,parteRuta:"MERCOSUR",label:"Mercosur"}]},{seccion:"210",certificados:[{partePoliza:"CERTIFICADO COBERTURA",orden:4,parteRuta:"CERTIFICADO_COBERTURA_AP",label:"Certificado de cobertura"}]}];var Mue={anio:"a\xF1o",anios:"a\xF1os",danio:"da\xF1o",danios:"da\xF1os",disminucion:"disminuci\xF3n",poliza:"p\xF3liza",polizas:"p\xF3lizas",rehabilitacion:"rehabilitaci\xF3n",pesificacion:"pesificaci\xF3n",refacturacion:"refacturaci\xF3n",prorroga:"pr\xF3rroga",liquidacion:"liquidaci\xF3n",comision:"comisi\xF3n",aclaracion:"aclaraci\xF3n",inclusion:"inclusi\xF3n",exclusion:"exclusi\xF3n",modificacion:"modificaci\xF3n",automatica:"autom\xE1tica",automatico:"autom\xE1tico",anulacion:"anulaci\xF3n",vehiculo:"veh\xEDculo",extension:"extensi\xF3n",estadia:"estad\xEDa",categoria:"categor\xEDa",ubicacion:"ubicaci\xF3n"};function wue(i){return i&&i.charAt(0).toUpperCase()+i.slice(1)}function Sue(i){let e=i;for(let[t,n]of Object.entries(Mue))e.includes(t)&&(e=e.replace(t,n));return e}function Zw(i){if(!i)return i;let e=i.toLowerCase(),t=Sue(e);return wue(t)}var Pue=(i,e)=>e.title,zR=(i,e)=>e.parteRuta;function Eue(i,e){if(i&1){let t=Y();c(0,"li",6)(1,"span",12),I("click",function(){let r=O(t).$implicit,o=M();return T(o.onHandlerBread(r))}),m(2),d(),S(3,"img",18),d()}if(i&2){let t=e.$implicit,n=e.$index,r=e.$count;p(),g("ngClass",n===r-1?"breadcrumb-title-none":"breadcrumb-title"),p(),K(" ",t.title," "),p(),g("ngClass",n===r-1?"breadcrumb-img-display-none":"breadcrumb-img-display-block")}}function Due(i,e){if(i&1&&S(0,"nx-icon",26),i&2){let t=M().$implicit;g("name",Vi(t.imgCard))}}function Oue(i,e){if(i&1&&S(0,"img",27),i&2){let t=M().$implicit;g("alt",Vi(t.categoria))}}function Tue(i,e){if(i&1&&(c(0,"h1",30),m(1),d()),i&2){let t=M().$implicit;p(),K(" ",(t==null?null:t.categoria)===" "?"--":t.categoria," ")}}function Iue(i,e){i&1&&(c(0,"h1",30),m(1,"Flota"),d())}function kue(i,e){i&1&&(c(0,"h2",33)(1,"b"),m(2,"Riesgo"),d()())}function Nue(i,e){i&1&&(c(0,"h2",33)(1,"b"),m(2,"Patente"),d()())}function Aue(i,e){i&1&&(c(0,"h2",33)(1,"b"),m(2,"Riesgos"),d()(),c(3,"h2",33),m(4,"Varios"),d())}function Vue(i,e){if(i&1&&(c(0,"h2",33),m(1),d()),i&2){let t=M().$implicit,n=M(2);p(),K(" ",n.getDetalleSecundarioEllipsis(t.riesgo[0].detalleSecundario)," ")}}function Fue(i,e){if(i&1){let t=Y();c(0,"button",12),I("click",function(r){O(t);let o=M().$implicit,a=M(2);return T(a.openModalCertificado(o.nroPoliza,r))}),S(1,"img",42),m(2," Obtener n\xF3mina completa "),d()}if(i&2){let t=M().$implicit;g("ngClass",t.seccion==="210"||t.seccion==="017"||t.seccion==="018"?"mis-polizas-accordion-btn":"mis-polizas-accordion-btn-trans
803parent")}}function Rue(i,e){if(i&1&&(c(0,"th",38),m(1),d()),i&2){let t=M().$implicit,n=M(2);p(),K(" ",n.getRiesgo(t.seccion)," ")}}function zue(i,e){if(i&1&&(c(0,"td",43),m(1),d()),i&2){let t=M().$implicit;p(),K(" ",t.detalleSecundario," ")}}function Lue(i,e){if(i&1){let t=Y();c(0,"button",62),I("click",function(){let r=O(t).$implicit,o=M().$implicit,a=M().$implicit,s=M(2);return T(s.selectEndoso(a.nroPoliza,o.item,r.endoso))}),m(1),d()}if(i&2){let t=e.$implicit,n=M(4);p(),Li(" ",t.endoso," - ",n.getCapitalizedFormat(t.tipo)," ")}}function Hue(i,e){i&1&&S(0,"img",51)}function Bue(i,e){if(i&1&&(m(0),S(1,"img",58)),i&2){let t=M().$implicit,n=M().$implicit,r=M(2);K(" ",r.getSelectedEndosoLabel(n.nroPoliza,t.item)," ")}}function jue(i,e){if(i&1){let t=Y();c(0,"button",62),I("click",function(r){let o=O(t).$implicit,a=M(2).$implicit,s=M(3);return T(s.descargarFacturaGenerica(r,a,o))}),m(1),d()}if(i&2){let t=e.$implicit;p(),K(" ",t.label," ")}}function que(i,e){if(i&1&&(c(0,"div",48),m(1,"Documentos"),d(),Ot(2,jue,2,1,"button",49,zR)),i&2){let t=M(2).$implicit,n=M(2);p(2),Tt(n.getPartesBySeccion(t.seccion))}}function Uue(i,e){if(i&1){let t=Y();c(0,"button",62),I("click",function(r){let o=O(t).$implicit,a=M(2).$implicit,s=M(3);return T(s.descargarFacturaGenerica(r,a,o))}),m(1),d()}if(i&2){let t=e.$implicit;p(),K(" ",t.label," ")}}function Gue(i,e){if(i&1&&(c(0,"div",48),m(1,"P\xF3liza"),d(),Ot(2,Uue,2,1,"button",49,zR)),i&2){let t=M().$implicit,n=M().$implicit,r=M(2);p(2),Tt(r.getPartesPolizaForKey(n.nroPoliza,t.item))}}function $ue(i,e){if(i&1&&S(0,"app-servicios-new",54),i&2){let t=e.$implicit;g("servicio",t)}}function Wue(i,e){i&1&&S(0,"img",59)}function Yue(i,e){if(i&1&&(c(0,"tr",41)(1,"td",43),m(2),d(),c(3,"td",43),S(4,"app-detalle-cuotas",44),d(),re(5,zue,2,1,"td",43),c(6,"td",45),m(7),d(),c(8,"td",46)(9,"nx-context-menu",47,0)(11,"div",48),m(12,"P\xF3liza - Endosos"),d(),Ot(13,Lue,2,2,"button",49,$n),d(),c(15,"button",50),re(16,Hue,1,0,"img",51)(17,Bue,2,1),d()(),c(18,"td",52)(19,"nx-context-menu",53,1),re(21,que,4,0),re(22,Gue,4,0),d(),c(23,"nx-context-menu",null,2),Ot(25,$ue,1,1,"app-servicios-new",54,$n),d(),c(27,"div",55)(28,"button",56),S(29,"img",57),m(30," Descargar "),S(31,"img",58),re(32,Wue,1,0,"img",59),d(),c(33,"button",60),S(34,"nx-icon",61),d()()()()),i&2){let t=e.$implicit,n=Ct(10),r=Ct(20),o=Ct(24),a=M().$implicit,s=M(2);p(2),K(" ",t.fechaVenc," "),p(2),g("cuotas",t.detalleCuota),p(),oe(t.detalleSecundario?5:-1),p(2),K(" ",t.detallePrincipal," "),p(6),Tt(a.polizasEndosos),p(2),g("disabled",s.isAnyLoading||s.isLoadingPolizaInfo)("nxContextMenuTriggerFor",n),p(),oe(s.isLoadingPolizaInfo?16:17),p(5),oe(s.getPartesBySeccion(a.seccion).length>0?21:-1),p(),oe(s.getPartesPolizaForKey(a.nroPoliza,t.item).length>0?22:-1),p(3),Tt(s.servicios),p(3),g("disabled",s.isAnyLoading||s.isLoadingPolizaInfo)("nxContextMenuTriggerFor",r),p(4),oe(s.isDownloadingRow(a.nroPoliza,t.item)||s.isLoadingPolizaInfo?32:-1),p(),g("nxContextMenuTriggerFor",o)}}function Que(i,e){if(i&1){let t=Y();c(0,"nx-expansion-panel",21),I("click",function(){let r=O(t).$implicit,o=M(2);return T(o.setPolizaSeleccionada(r))}),c(1,"nx-expansion-panel-header",22)(2,"nx-expansion-panel-title",23)(3,"div",24)(4,"div",25),re(5,Due,1,2,"nx-icon",26),re(6,Oue,1,2,"img",27),d(),c(7,"div",28)(8,"div",13),m(9),d(),c(10,"div",29),re(11,Tue,2,1,"h1",30),re(12,Iue,2,0,"h1",30),c(13,"div",13),m(14),d()(),c(15,"div",31)(16,"div",32),re(17,kue,3,0,"h2",33),re(18,Nue,3,0,"h2",33),re(19,Aue,5,0),re(20,Vue,2,1,"h2",33),d(),c(21,"h2")(22,"b"),m(23,"P\xF3liza N\xBA:"),d(),m(24),d(),re(25,Fue,3,1,"button",13),d()()()()(),S(26,"div",13),c(27,"div",34)(28,"table",35)(29,"caption",36),m(30," Listado de p\xF3lizas del asegurado "),d(),c(31,"thead")(32,"tr",37)(33,"th",38),m(34,"Vigencia hasta"),d(),c(35,"th",38),m(36,"Cuotas"),d(),re(37,Rue,2,1,"th",38),c(38,"th",39),m(39),d(),c(40,"th",40),m(41,"Documentos"),d(),S(42,"th",40),d()(),c(43,"tbody"),Ot(44,Yue,35,13,"tr",41,$n),d()()()()}if(i&2){let t=e.$implicit,n=e.$index,r=M(2);g("expanded",r.isExpandedPanel(n,t)),p(5),oe(t.riesgo.length==1||t.riesgo.length>1&&t.seccion!="004"?5:-1),p(),oe(t.riesgo.length>1&&t.seccion=="004"?6:-1),p(2),g("ngClass",t.estado=="Anulada"?"estado-anulado":r.vigencia!="S"?"estado-no-vigente":"poliza-card-estado"),p(),K(" ",r.vigencia=="S"?t.estado:"No vigente"," "),p(2),oe(t.riesgo.length==1||t.riesgo.length>1&&t.seccion!="004"?11:-1),p(),oe(t.riesgo.length>1&&t.seccion=="004"?12:-1),p(),g("ngClass",t.estado=="Anulada"?"estado-anulado-resp":r.vigencia!="S"?"estado-no-vigente-resp":"poliza-card-estado-resp"),p(),K(" ",r.vigencia=="S"?t.estado:"No vigente"," "),p(3),oe(t.categoria!="Auto"&&t.riesgo.length<=1?17:-1),p(),oe(t.categoria=="Auto"&&t.riesgo.length==1?18:-1),p(),oe(t.riesgo.length>1?19:-1),p(),oe(t.riesgo.length===1?20:-1),p(),Gi(r.enableDescargaMasiva?"mis-polizas-accordion-info-poliza-nomina":"mis-polizas-accordion-info-poliza"),p(3),K(" ",r.getNroPolizaEllipsis(t.nroPoliza)," "),p(),oe(r.enableDescargaMasiva?25:-1),p(),g("ngClass",r.isExpandedPanel(n,t)?"border-active":"border-no-active"),p(11),oe(t.detalleSecundario?37:-1),p(2),K(" ",r.getDescripcion(t.seccion)," "),p(5),Tt(t.riesgo)}}function Kue(i,e){if(i&1){let t=Y();c(0,"div",20)(1,"nx-pagination",63),I("goPrev",function(){O(t);let r=M(2);return T(r.prevPage())})("goNext",function(){O(t);let r=M(2);return T(r.nextPage())}),d()()}if(i&2){let t=M(2);p(),g("count",t.count)("page",t.page)("perPage",t.perPage)}}function Xue(i,e){if(i&1&&(c(0,"div")(1,"nx-accordion")(2,"div"),Ot(3,Que,46,20,"nx-expansion-panel",19,$n),sr(5,"searchPipe"),d()(),re(6,Kue,2,3,"div",20),d()),i&2){let t=M();p(3),Tt(Ts(5,1,t.polizasPagination,t.filtroSearch)),p(3),oe(t.polizas.length>0?6:-1)}}function Zue(i,e){if(i&1){let t=Y();c(0,"app-no-polizas-vigentes",64),I("changePolizas",function(r){O(t);let o=M();return T(o.changePolizas.emit(r))}),d()}i&2&&g("isMisPolizas",!0)}function Jue(i,e){i&1&&(c(0,"div",15),m(1," No encontramos resultados "),S(2,"br"),m(3," para tu b\xFAsqueda. "),d())}function e0e(i,e){i&1&&S(0,"div",16)}var t0e={previous:"ANTERIOR",next:"SIGUIENTE",ofLabel:"DE",ariaLabel:"Paginacion"},t_=class i{changePolizas=new X;setIsMisPolizasToggle=new X;
803polizaSeleccionadaEmitter=new X;pageChange=new X;polizaSeleccionada;polizas;vigencia;isVigente="Vigente";loaded;mostrarPolizas;servicios;totalRegistros=0;loadingKey=null;filtroSearch="";filtroSearchAux="";data;nroEndoso=null;page=1;count=1;perPage=50;polizasPagination=[];endosoSeleccionadoMap=new Map;documentosPartesMap=new Map;modalCertificadoOpen=!1;modalCertificadoPolizaNro=null;modalCertificadoSuccess=!1;modalCertificadoError=!1;isMobile=typeof window<"u"&&window.innerWidth<=688;items=[{title:"Inicio",link:""},{title:"Mis p\xF3lizas",link:""}];infoPolizaService=C(sa);downloadPdfService=C(fp);certificatesService=C(e_);_emittersService=C(Jt);globalMainService=C(No);viewportScroller=C(Pc);featureFlagService=C(pp);enableDescargaMasiva=!1;ngOnInit(){this.polizaSeleccionada||(this.polizaSeleccionada=""),this.featureFlagService.load().then(()=>{this.enableDescargaMasiva=this.featureFlagService.isEnabled("ENABLE_DESCARGA_MASIVA")})}ngOnChanges(){if(console.log("[MisPolizas] ngOnChanges() \u2192 polizas.length=",this.polizas?.length,"| polizaSeleccionada=",this.polizaSeleccionada?.nroPoliza??"(vac\xEDa)"),this.polizas?.length>0&&!this.polizaSeleccionada&&(console.log("[MisPolizas] ngOnChanges() \u2192 auto-seleccionando primera p\xF3liza:",this.polizas[0]?.nroPoliza),this.polizaSeleccionada=this.polizas[0]),this.polizas?.length>0){this.count=this.totalRegistros>0?this.totalRegistros:this.polizas.length,this.polizasPagination=[...this.polizas];for(let e of this.polizas)for(let t of e.riesgo??[]){let n=this.buildMapKey(e.nroPoliza,t.item);this.endosoSeleccionadoMap.has(n)||(this.endosoSeleccionadoMap.set(n,0),this.actualizarDocumentosPartesPoliza(e.nroPoliza,t.item,0))}this.filtroSearchAux!==""&&this.handleSearch(this.filtroSearchAux)}this.polizas?.length===0&&(this.polizasPagination=[])}onResize(){this.isMobile=window.innerWidth<=688}openModalCertificado(e,t){t?.stopPropagation(),this.modalCertificadoPolizaNro=`${e??""}`,this.modalCertificadoOpen=!0,this.modalCertificadoSuccess=!1,this.modalCertificadoError=!1}closeModalCertificado(){this.modalCertificadoOpen=!1,this.modalCertificadoSuccess=!1,this.modalCertificadoError=!1}handleSolicitarCertificado(e){let t=(this.modalCertificadoPolizaNro??"").trim(),n=(e??"").trim();if(!t||!n){this.modalCertificadoError=!0;return}this.certificatesService.sendCertificateAsync(t,n).toPromise().then(()=>{this.modalCertificadoSuccess=!0}).catch(()=>{this.modalCertificadoError=!0})}cambiarValorIsMisPolizas(e){this.globalMainService.setGlobalIsMisPolizas(e)}isExpandedPanel(e,t){return this.polizaSeleccionada&&Object.keys(this.polizaSeleccionada).length?this.polizaSeleccionada.nroPoliza===t.nroPoliza:e===0}enviarAlPadre(e){this.filtroSearchAux=this.filtroSearch,this.count=1,this.page=1,this.handleSearch(""),this.changePolizas.emit(e),this.setPolizaSeleccionada("")}onHandlerBread(e){e.title===this.items[0].title&&(this.enviarAlPadre("S"),this.cambiarValorIsMisPolizas(!1))}setPolizaSeleccionada(e){e===0?this.polizaSeleccionada={}:(console.log(`[MisPolizas] setPolizaSeleccionada() \u2192 nroPoliza="${e?.nroPoliza}"`),this.polizaSeleccionada=e)}getPartesBySeccion(e){let t=RR.find(n=>n.seccion===e);return t?t.certificados:[]}buildMapKey(e,t){return`${e}_${t}`}actualizarDocumentosPartesPoliza(e,t,n){let r=this.buildMapKey(e,t),a=this.polizas?.find(h=>h.nroPoliza===e)?.polizasEndosos?.find(h=>h.endoso===n);console.log(a);let s=a?.tieneFactura?.toLowerCase()==="s",l=a?.endoso===0?"P\xF3liza completa":"Endoso",u=s?[{partePoliza:"P\xF3liza completa",parteRuta:"TODO",label:l},{partePoliza:"Factura",parteRuta:"FACTURA",label:"Factura"}]:[{partePoliza:"P\xF3liza completa",parteRuta:"TODO",label:l}];this.documentosPartesMap.set(r,u)}getRiesgo(e){switch(e){case"004":case"029":return"Patente";case"210":case"017":return"Asegurado";case"015":case"023":return"Localidad";default:return"Riesgo"}}getDescripcion(e){return e==="015"||e==="023"?"Direccion":"Descripci\xF3n"}selectEndoso(e,t,n){let r=this.buildMapKey(e,t);this.endosoSeleccionadoMap.set(r,n),this.actualizarDocumentosPartesPoliza(e,t,n)}getSelectedEndosoLabel(e,t){let n=this.buildMapKey(e,t),r=this.endosoSeleccionadoMap.get(n)??
8030,a=this.polizas?.find(s=>s.nroPoliza===e)?.polizasEndosos?.find(s=>s.endoso===r);return a?`${a.endoso} - ${Zw(a.tipo)}`:"Seleccionar"}getPartesPolizaForKey(e,t){return this.documentosPartesMap.get(this.buildMapKey(e,t))??[]}descargarFacturaGenerica(e,t,n){e.preventDefault();let r=this.buildMapKey(t.nroPoliza,t.item);if(this.loadingKey=r,n.partePoliza!=="GU\xCDA DE ASISTENCIA"){let o={nroPoliza:t.nroPoliza,endoso:this.endosoSeleccionadoMap.get(this.buildMapKey(t.nroPoliza,t.item))??0,partePoliza:n.parteRuta,item:t.item};n.parteRuta==="CERTIFICADO_VIDA"&&(o.nroDocumento=t.detalleSecundario?.trim().split(" ")[1]||""),this.downloadPdfService.getdownloadPdf(o).toPromise().then(a=>{this._emittersService.emmiterToast(3,"El documento se descarg\xF3 correctamente");let s=new Blob([a],{type:"application/pdf"}),l=window.URL.createObjectURL(s);window.open(l),this.loadingKey=null}).catch(()=>{this._emittersService.emmiterToast(0,"Error al descargar el documento"),this.loadingKey=null})}else this._emittersService.emmiterToast(3,"El documento se descarg\xF3 correctamente"),window.open("https://files.allianz.com.ar/images/MiAllianz/docs/"+this.infoPolizaService.getGuiaDeAsistenicia().GuiaServicioOut[0].guiaServicio.pdf,"_blank"),this.loadingKey=null}isDownloadingRow(e,t){return this.loadingKey===this.buildMapKey(e,t)}get isAnyLoading(){return this.loadingKey!==null}handleSearch(e){this.filtroSearch=e,e?(this.count=this.getTotalProductosFiltrados(),this.page=1,this.polizasPagination=this.getProductosFiltrados()):(this.count=this.polizas?.length||0,this.page=1,this.changePage(this.page))}getProductosFiltrados(){let e=this.filtroSearch.toLowerCase();return this.polizas.filter(t=>t.nroPoliza.toLowerCase().includes(e)||t.detallePrincipal.toLowerCase().includes(e)||t.detalleSecundario.toLowerCase().includes(e))}getTotalProductosFiltrados(){return this.getProductosFiltrados().length}changePage(e){this.polizasPagination=this.polizas?[...this.polizas]:[]}get isLoadingPolizaInfo(){return!1}prevPage(){this.viewportScroller.scrollToPosition([0,0]),this.page--,this.changePage(this.page),this.pageChange.emit(this.page)}nextPage(){this.viewportScroller.scrollToPosition([0,0]),this.page++,this.changePage(this.page),this.pageChange.emit(this.page)}getDetalleSecundarioEllipsis(e){return e.length>16?`${e.substring(0,16)}...`:e}getNroPolizaEllipsis(e){if(!this.isMobile)return e;let t=13;return e.length>t?`${e.substring(0,t)}...`:e}getCapitalizedFormat=Zw;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-mis-polizas"]],hostBindings:function(t,n){t&1&&I("resize",function(){return n.onResize()},xc)},inputs:{polizaSeleccionada:"polizaSeleccionada",polizas:"polizas",vigencia:"vigencia",isVigente:"isVigente",loaded:"loaded",mostrarPolizas:"mostrarPolizas",servicios:"servicios",totalRegistros:"totalRegistros"},outputs:{changePolizas:"changePolizas",setIsMisPolizasToggle:"setIsMisPolizasToggle",polizaSeleccionadaEmitter:"polizaSeleccionada",pageChange:"pageChange"},features:[Mt([{provide:Aw,useValue:t0e}]),on],decls:23,vars:12,consts:[["endosoMenu","nxContextMenu"],["menu","nxContextMenu"],["menuServicios","nxContextMenu"],[1,"mis-polizas-container"],["aria-label","Breadcrumb"],["nxBreadcrumb","","appearance","link",1,"breadcrumb-ol"],[1,"breadcrumb-li"],[1,"mis-poliza-title"],[1,"mis-poliza-subtitle"],[1,"mis-polizas-busqueda-container"],[3,"search"],[1,"mis-polizas-busqueda-btns"],[3,"click","ngClass"],[3,"ngClass"],[3,"isMisPolizas"],[1,"n
803o-resultado-busqueda"],[1,"skeleton-box",2,"width","100%","height","500px"],[3,"cancel","submitEmail","open","success","error","nroPoliza"],["alt","expand","src","assets/img/expand_right_light_bread.svg",3,"ngClass"],[1,"nx-expansion-panel-styles",3,"expanded"],[1,"pagination-container"],[1,"nx-expansion-panel-styles",3,"click","expanded"],[1,"mis-polizas-expansion-header"],[2,"width","100%"],[1,"mis-polizas-accordion-container"],[1,"mis-polizas-accordion-icon-container"],[1,"mis-polizas-accordion-icon",3,"name"],["src","../../../../assets/img/allianz-flota.svg",1,"mis-polizas-accordion-icon",3,"alt"],[1,"mis-polizas-accordion-text-container"],[1,"mis-polizas-accordion-text-title-one"],[1,"mis-polizas-accordion-text-title"],[1,"mis-polizas-accordion-info-container"],[1,"mis-polizas-accordion-info-box-one"],[1,"mis-polizas-accordion-info-texts"],[1,"tab-container"],["nxTable","",1,"tab-class"],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell","",1,"tab-align-center"],["nxHeaderCell","",1,"tab-align-start"],["nxHeaderCell","",1,"tab-align-start","tab-col-shrink"],["nxTableRow","",2,"padding-top","10px !important","padding-bottom","10px"],["src","assets/img/downloadIcon.svg","alt","icon-download",1,"mis-polizas-accordion-icon-download"],["nxTableCell","",1,"tab-align-center"],[3,"cuotas"],["nxTableCell","",1,"tab-align-start"],["nxTableCell","",1,"tab-align-start","td-endoso-custom","tab-col-shrink"],["panelClass","endoso-menu-panel"],[1,"menu-subtitle"],["nxContextMenuItem","","type","button"],["scrollStrategy","close","type","button","aria-label","Seleccionar endoso",1,"tab-download-btn","endoso-trigger-btn",3,"disabled","nxContextMenuTriggerFor"],["alt","","src","../../../../../../assets/img/Spinner-2.svg",2,"width","18px","height","18px","margin-right","4px","vertical-align","middle"],["nxTableCell","",1,"td-download","tab-col-shrink"],["panelClass","descargas-menu-panel"],[3,"servicio"],[1,"td-download-inner"],["scrollStrategy","close","aria-label","Open menu","type","button",1,"tab-download-btn",3,"disabled","nxContextMenuTriggerFor"],["alt","","src","../../../../../../assets/icons/download-icon.png",1,"tab-download-icon-left"],["alt","","src","../../../../../../assets/icons/down-arrow-icon.png",1,"tab-arrow-down-icon"],["alt","","src","../../../../../../assets/img/Spinner-2.svg",2,"position","absolute","width","70px","height","70px"],["nxIconButton","tertiary small","aria-label","Open menu","type","button",1,"td-servicios",3,"nxContextMenuTriggerFor"],["aria-hidden","true","name","ellipsis-h"],["nxContextMenuItem","","type","button",3,"click"],[1,"pagination-styles",3,"goPrev","goNext","count","page","perPage"],[3,"changePolizas","isMisPolizas"]],template:function(t,n){t&1&&(c(0,"div",3)(1,"nav",4)(2,"ol",5),Ot(3,Eue,4,3,"li",6,Pue),d()(),c(5,"h1",7),m(6,"Mis P\xF3lizas"),d(),c(7,"h2",8),m(8,"Verific\xE1 tu cobertura, consult\xE1 pagos y descarg\xE1 documentos en un solo lugar."),d(),c(9,"div",9)(10,"app-busqueda-new",10),I("search",function(o){return n.handleSearch(o)}),d(),c(11,"div",11)(12,"button",12),I("click",function(){return n.enviarAlPadre("S")}),c(13,"span",13),m(14," Vigentes "),d()(),c(15,"button",12),I("click",function(){return n.enviarAlPadre("N")}),c(16,"span",13),m(17," No vigentes "),d()()()(),re(18,Xue,7,4,"div"),re(19,Zue,1,1,"app-no-polizas-vigentes",14),re(20,Jue,4,0,"div",15),re(21,e0e,1,0,"div",16),c(22,"app-modal-certificado",17),I("cancel",function(){return n.closeModalCertificado()})("submitEmail",function(o){return n.handleSolicitarCertificado(o)}),d()()),t&2&&(p(3),Tt(n.items),p(9),g("ngClass",n.vigencia=="S"?"btn-vigente":"btn-no-vigente"),p(),g("ngClass",n.vigencia=="S"?"btn-vigente-text":"btn-no-vigente-text"),p(2),g("ngClass",n.vigencia=="S"?"btn-no-vigente":"btn-vigente"),p(),g("ngClass",n.vigencia=="S"?"btn-no-vigente-text":"btn-vigente-text"),p(2),oe(n.loaded&&n.mostrarPolizas&&n.polizasPagination.length>0?18:-1),p(),oe(n.polizasPagination.length==0&&n.mostrarPolizas&&!n.filtroSearch?19:-1),p(),oe(n.polizasPagination.length==0&&n.mostrarPolizas&&n.filtroSearch?20:-1),p(),oe(n.mostrarPolizas?-1:21),p(),g("open",n.modalCertificadoOpen)("success",n.modalCertificadoSuccess)("error",n.modalCertificadoError)("nroPoliza",n.modalCertificadoPolizaNro))},dependencies:[_e,Un,me,Kn,ni,si,ii,bV,nt,Ol,es,zc,Bd,Kd,is,tp,q2,Q5,X5,Z5,mp,J5,hp],styles:["thead[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{text-align:center}.mis-polizas-container[_ngcontent-%COMP%]{padding:16px 96px 120px}.polizas-viewport[_ngcontent-%COMP%]{width:100%;overflow-y:auto;overflow-x:hidden}.nx-expansion-panel-styles[_ngcontent-%COMP%]{border:1px solid #d9d9d9!important;margin-bottom:20px;width:auto;position:relative}  .nx-expansion-panel__header-content{background-color:inherit!important;box-shadow:none!important;border:inherit!important;padding:24px!important}[_nghost-%COMP%]     .nx-expansion-panel-styles .nx-expansion-panel__chevron{align-self:flex-start!important}.mis-polizas-expansion-header[_ngcontent-%COMP%]{background-color:#fff!important}.border-active[_ngcontent-%COMP%]{display:block;position:absolute;top:0;left:0;background-color:#006192!important;height:100%;width:3px;z-index:1000;-webkit-animation:.4s ease 0s normal forwards 1 _ngcontent-%COMP%_fadein;animation:.4s ease 0s normal forwards 1 _ngcontent-%COMP%_fadein}@keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}
80366%{opacity:0}to{opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_fadein{0%{opacity:0}66%{opacity:0}to{opacity:1}}.border-no-active[_ngcontent-%COMP%]{display:block;position:absolute;top:0;left:0;background-color:transparent!important;height:216px;width:3px;z-index:1000;transition:.1s}.breadcrumb-ol[_ngcontent-%COMP%]{display:flex;gap:8px;align-items:center}.breadcrumb-li[_ngcontent-%COMP%]{align-items:center;list-style-type:none;display:flex;gap:8px}.breadcrumb-title[_ngcontent-%COMP%]{font-weight:400;font-size:12px;line-height:14.52px;letter-spacing:0px;color:#006192;cursor:pointer}.breadcrumb-title-none[_ngcontent-%COMP%]{font-weight:400;font-size:12px;line-height:14.52px;letter-spacing:0px;color:#006192;cursor:default}.breadcrumb-img-display-block[_ngcontent-%COMP%]{display:block;width:20px;height:20px;object-fit:contain}.breadcrumb-img-display-none[_ngcontent-%COMP%]{display:none}.mis-poliza-title[_ngcontent-%COMP%]{font-weight:400;font-size:32px;line-height:39.74px;letter-spacing:0px;text-align:center;margin-top:33px;margin-bottom:23px}.mis-poliza-subtitle[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:19.87px;letter-spacing:0px;text-align:center}.mis-polizas-busqueda-container[_ngcontent-%COMP%]{display:flex;gap:16px;margin-top:62px;margin-bottom:32px}.mis-polizas-busqueda-btns[_ngcontent-%COMP%]{display:flex;gap:16px}.mis-polizas-accordion-container[_ngcontent-%COMP%]{display:flex;gap:18px}.mis-polizas-accordion-icon-container[_ngcontent-%COMP%]{border-radius:50%;width:40px;height:40px;background-color:#ecf0f8;display:flex;justify-content:center;align-items:center}.mis-polizas-accordion-icon[_ngcontent-%COMP%]{font-size:20px!important;object-fit:contain;color:#006192;width:36px}.mis-polizas-accordion-text-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1}.mis-polizas-accordion-text-title[_ngcontent-%COMP%]{font-weight:700;font-size:17px;line-height:21.11px;letter-spacing:0px;color:#006192;margin-bottom:0}.mis-polizas-accordion-text-title-one[_ngcontent-%COMP%]{display:flex}.mis-polizas-accordion-info-container[_ngcontent-%COMP%]{height:32px;display:flex;align-items:center;gap:8px}.mis-polizas-accordion-info-box-one[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px;flex:1}.mis-polizas-accordion-info-texts[_ngcontent-%COMP%]{font-weight:400;font-size:17px;line-height:21.11px;letter-spacing:0px;margin-bottom:0}.mis-polizas-accordion-info-poliza[_ngcontent-%COMP%]{font-weight:400;font-size:17px;line-height:21.11px;letter-spacing:0px;margin-bottom:0;flex:none;margin-right:384px}.mis-polizas-accordion-info-poliza-nomina[_ngcontent-%COMP%]{font-weight:400;font-size:17px;line-height:21.11px;letter-spacing:0px;margin-bottom:0;flex:none;margin-right:133px}.mis-polizas-accordion-btn[_ngcontent-%COMP%]{border-radius:4px;border-width:2px;padding:8px 16px;background-color:transparent;font-weight:600!important;font-size:14px!important;letter-spacing:1px;border:2px solid #007AB3;color:#006192;align-items:center;display:flex;gap:8px}.mis-polizas-accordion-btn-transparent[_ngcontent-%COMP%]{height:32px;border-radius:4px;border-width:2px;padding-right:16px;padding-left:16px;background-color:transparent;font-weight:600!important;font-size:13px!important;letter-spacing:1px;border:2px solid transparent;color:#006192;align-items:center;display:flex;gap:8px;visibility:hidden;pointer-events:none}.mis-polizas-accordion-icon-download[_ngcontent-%COMP%]{width:16px;height:16px}.btn-vigente[_ngcontent-%COMP%]{width:auto;height:32px;gap:8px;border-radius:2px;background-color:#006292;border:1px solid #006192}.btn-vigente-text[_ngcontent-%COMP%]{margin:10px;font-weight:400;font-size:14px;line-height:17.39px;letter-spacing:0px;text-align:center;color:#fff}.btn-no-vigente[_ngcontent-%COMP%]{border:1px solid #006192;background-color:#fff;width:auto;height:32px;gap:8px;border-radius:2px}.btn-no-vigente-text[_ngcontent-%COMP%]{margin:10px;font-weight:400;font-size:14px;line-height:17.39px;letter-spacing:0px;text-align:center;color:#007ab3}.estado-anulado[_ngcontent-%COMP%]{background-color:#d9d9d9;color:#000;width:auto;padding:0 10px;height:24px;border-radius:100px;align-self:center;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;display:flex;justify-content:center;align-items:center}.estado-no-vigente[_ngcontent-%COMP%]{background-color:#dc3149;
803color:#fff;width:auto;padding:0 10px;height:24px;border-radius:100px;align-self:flex-start;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;display:flex;justify-content:center;align-items:center;margin-bottom:6px}.poliza-card-estado[_ngcontent-%COMP%]{width:auto;padding:0 10px;height:24px;border-radius:100px;background-color:#1d8927;align-self:flex-start;margin-bottom:6px;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;color:#fff;display:flex;justify-content:center;align-items:center}.estado-anulado-resp[_ngcontent-%COMP%], .estado-no-vigente-resp[_ngcontent-%COMP%], .poliza-card-estado-resp[_ngcontent-%COMP%]{display:none}.tab-container[_ngcontent-%COMP%]{overflow-x:auto;margin:-24px -32px -16px}.tab-class[_ngcontent-%COMP%]{border-bottom:1px solid #d9d9d9!important}.tab-download-btn[_ngcontent-%COMP%]{background-color:#f8f8f8;border:none;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;cursor:pointer;font-size:14px;color:#333;border-radius:4px;height:40px;width:auto;min-width:277px;position:relative}.tab-download-btn[_ngcontent-%COMP%]:hover{background-color:#efefef}.tab-download-btn[_ngcontent-%COMP%]:active, .tab-download-btn[_ngcontent-%COMP%]:focus{background-color:#e8e8e8;outline:none}.tab-download-btn[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.tab-download-icon-left[_ngcontent-%COMP%]{width:16px;height:16px;object-fit:contain}.tab-arrow-down-icon[_ngcontent-%COMP%]{width:16px;height:16px;object-fit:contain;margin-left:auto}.tab-align-center[_ngcontent-%COMP%]{text-align:center!important}.tab-align-start[_ngcontent-%COMP%]{text-align:start}.tab-align-right[_ngcontent-%COMP%]{text-align:right}.td-download[_ngcontent-%COMP%]{text-align:right;padding-left:0;white-space:nowrap;vertical-align:middle}.td-download-inner[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:4px;height:40px}.td-servicios[_ngcontent-%COMP%]{margin-left:8px;font-size:24px!important;margin-right:13px;vertical-align:middle;align-self:center;display:flex!important;align-items:center;justify-content:center}.pagination-styles[_ngcontent-%COMP%]{text-transform:none}.pagination-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:60px}.nx-pagination-compact__direction-label[_ngcontent-%COMP%]{text-transform:none}.no-resultado-busqueda[_ngcontent-%COMP%]{width:100%;height:400px;display:flex;justify-content:center;align-items:center;font-weight:400!important;font-size:24px!important;line-height:100%!important;letter-spacing:0px!important;text-align:center;vertical-align:middle;margin:40px 0!important}.td-endoso-custom[_ngcontent-%COMP%]{vertical-align:middle!important}.tab-col-shrink[_ngcontent-%COMP%]{width:1%;white-space:nowrap}.endoso-trigger-btn[_ngcontent-%COMP%]{min-width:277px;justify-content:space-between}@media (max-width: 1137px){.polizas-viewport[_ngcontent-%COMP%]{width:100%;overflow:hidden}.mis-polizas-container[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px;padding-top:16px}.mis-polizas-accordion-text-title-one[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:flex-start;gap:8px}.mis-polizas-accordion-text-title[_ngcontent-%COMP%]{font-size:16px;line-height:normal}.estado-anulado[_ngcontent-%COMP%]{display:none}.estado-anulado-resp[_ngcontent-%COMP%]{background-color:#d9d9d9;color:#000;width:auto;padding:0 10px;height:24px;border-radius:100px;align-self:flex-end;font-weight:400;font-size:15px;line-height:18.63px;letter-spacing:0px;display:flex;justify-content:center;align-items:center;white-space:nowrap}.estado-no-vigente[_ngcontent-%COMP%]{display:none}.estado-no-vigente-resp[_ngcontent-%COMP%]{background-color:#dc3149;color:#fff;width:auto;padding:2px 6px;height:auto;min-height:22px;border-radius:16px;align-self:flex-start;font-weight:400;font-size:14px;line-height:normal;letter-spacing:0px;display:flex;justify-content:center;align-items:center;white-space:nowrap}.poliza-card-estado[_ngcontent-%COMP%]{display:none}.poliza-card-estado-resp[_ngcontent-%COMP%]{width:auto;padding:2px 6px;height:auto;min-height:22px;border-radius:16px;background-color:#1d8927;align-self:flex-start;font-weight:400;font-size:14px;line-height:normal;letter-spacing:0px;color:#fff;display:flex;justify-content:center;align-items:center;white-space:nowrap}.mis-polizas-accordion-container[_ngcontent-%COMP%]{gap:16px;align-items:flex-start;margin-top:10px}.mis-polizas-accordion-text-container[_ngcontent-%COMP%]{gap:0px}.mis-polizas-accordion-info-box-one[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px}.mis-polizas-accordion-info-container[_ngcontent-%COMP%]{height:auto;display:flex;align-items:flex-start;flex-direction:column;gap:2px;margin-top:2px}
803.mis-polizas-accordion-btn-transparent[_ngcontent-%COMP%]{display:none}.mis-polizas-accordion-btn[_ngcontent-%COMP%]{font-size:13px!important;margin-top:8px}.mis-polizas-accordion-info-poliza[_ngcontent-%COMP%], .mis-polizas-accordion-info-poliza-nomina[_ngcontent-%COMP%]{margin-left:0;margin-right:0;flex:auto}.tab-container[_ngcontent-%COMP%]{overflow-x:scroll;margin:-24px -31px -32px}.td-servicios[_ngcontent-%COMP%]{margin-left:10px;margin-right:0}}@media (min-width: 689px) and (max-width: 900px){.tab-container[_ngcontent-%COMP%]{overflow-x:scroll;margin:-24px -29px -32px}}@media (max-width: 688px){.polizas-viewport[_ngcontent-%COMP%]{width:100%;overflow:hidden}.mis-polizas-container[_ngcontent-%COMP%]{padding-left:24px;padding-right:24px;padding-top:16px}.mis-polizas-busqueda-container[_ngcontent-%COMP%]{flex-direction:column;margin-top:16px;gap:31px}.btn-vigente[_ngcontent-%COMP%], .btn-no-vigente[_ngcontent-%COMP%]{width:50%}.mis-polizas-accordion-container[_ngcontent-%COMP%]{gap:16px;align-items:flex-start;margin-top:10px}.mis-polizas-accordion-text-container[_ngcontent-%COMP%]{gap:0px}.mis-polizas-accordion-btn[_ngcontent-%COMP%]{font-size:13px!important;margin-top:8px}  .nx-expansion-panel__header-content{padding:10px!important}.mis-polizas-accordion-btn-transparent[_ngcontent-%COMP%]{display:none}.mis-polizas-accordion-text-title-one[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:flex-start;gap:8px}.mis-polizas-accordion-text-title[_ngcontent-%COMP%]{font-size:16px;line-height:normal}.estado-anulado[_ngcontent-%COMP%]{display:none}.estado-anulado-resp[_ngcontent-%COMP%]{background-color:#d9d9d9;color:#000;width:auto;padding:2px 6px;height:auto;min-height:22px;border-radius:16px;align-self:flex-start;font-weight:400;font-size:14px;line-height:normal;letter-spacing:0px;display:flex;justify-content:center;align-items:center;white-space:nowrap}.estado-no-vigente[_ngcontent-%COMP%]{display:none}.estado-no-vigente-resp[_ngcontent-%COMP%]{background-color:#dc3149;color:#fff;width:auto;padding:2px 6px;height:auto;min-height:22px;border-radius:16px;align-self:flex-start;font-weight:400;font-size:14px;line-height:normal;letter-spacing:0px;display:flex;justify-content:center;align-items:center;white-space:nowrap}.poliza-card-estado[_ngcontent-%COMP%]{display:none}.poliza-card-estado-resp[_ngcontent-%COMP%]{width:auto;padding:2px 6px;height:auto;min-height:22px;border-radius:16px;background-color:#1d8927;align-self:flex-start;font-weight:400;font-size:14px;line-height:normal;letter-spacing:0px;color:#fff;display:flex;justify-content:center;align-items:center;white-space:nowrap}.mis-polizas-accordion-info-box-one[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:8px}.mis-polizas-accordion-info-container[_ngcontent-%COMP%]{height:auto;display:flex;align-items:flex-start;flex-direction:column;gap:2px;margin-top:2px}.mis-polizas-accordion-info-poliza[_ngcontent-%COMP%], .mis-polizas-accordion-info-poliza-nomina[_ngcontent-%COMP%]{margin-left:0;margin-right:0;flex:auto}.tab-container[_ngcontent-%COMP%]{overflow-x:scroll;margin:-24px -16px -32px}.td-servicios[_ngcontent-%COMP%]{margin-left:10px;margin-right:0}.no-resultado-busqueda[_ngcontent-%COMP%]{height:400px}}  .menu-subtitle{background-color:#ededed;padding:8px 16px;font-size:14px;font-weight:400;color:#333;margin:0;cursor:default;display:block;width:100%;box-sizing:border-box;text-align:left}  .nx-context-menu__content{padding-top:0!important}  .nx-context-menu .nx-context-menu-item{text-align:left!important;justify-content:flex-start!important;padding-left:16px!important;min-width:277px!important}"]})};var LR=i=>i&&i.replace(/á/g,"\xE1").replace(/é/g,"\xE9").replace(/í/g,"\xED").replace(/ó/g,"\xF3").replace(/ú/g,"\xFA").replace(/Á/g,"\xC1").replace(/É/g,"\xC9").replace(/Í/g,"\xCD").replace(/Ó/g,"\xD3").replace(/Ú/g,"\xDA").replace(/ñ/g,"\xF1").replace(/Ñ/g,"\xD1").replace(/�/g,"\xF1").replace(/ü/g,"\xFC").replace(/Ü/g,"\xDC").replace(/“/g,"\u201C").replace(/”/g,"\u201D").replace(/‘/g,"\u2018").replace(/’/g,"\u2019");var n0e=["template"];function i0e(i,e){if(i&1&&(c(0,"h5",6),m(1),d()),i&2){let t=M();p(),Li(" ",t.userDelegateType,": ",t.userDelegateMail," ")}}function r0e(i,e){if(i&1){let t=Y();c(0,"div")(1,"app-polizas-new",18),I("changePolizas",function(r){O(t);let o=M();return T(o.changePolizas(r))}
803)("polizaSeleccionada",function(r){O(t);let o=M();return T(o.handlePolizaSeleccionada(r))}),d()()}if(i&2){let t=M();p(),g("polizas",t.polizas)("vigencia",t.vigente)("polizaSeleccionada",t.polizaSeleccionada)}}function o0e(i,e){i&1&&S(0,"div",9)}function a0e(i,e){if(i&1&&S(0,"app-gestion-new",20),i&2){let t=e.$implicit;g("gestion",t)}}function s0e(i,e){if(i&1&&(c(0,"div")(1,"div",19),Ot(2,a0e,1,1,"app-gestion-new",20,Bo),d()()),i&2){let t=M();p(2),Tt(t.gestiones)}}function l0e(i,e){i&1&&S(0,"div",16)}function c0e(i,e){i&1&&S(0,"img",22)}function d0e(i,e){i&1&&S(0,"img",23)}function u0e(i,e){if(i&1){let t=Y();c(0,"div")(1,"button",25),I("click",function(){O(t);let r=M(2);return T(r.closeDialog("unirse"))}),m(2," Unirse al programa "),d(),c(3,"button",25),I("click",function(){O(t);let r=M(2);return T(r.closeDialog("cancelar"))}),m(4," Cancelar "),d()()}}function p0e(i,e){if(i&1){let t=Y();c(0,"div")(1,"button",25),I("click",function(){O(t);let r=M(2);return T(r.closeDialog("cancelar"))}),m(2," Cerrar "),d()()}}function f0e(i,e){if(i&1&&(c(0,"div",21),re(1,c0e,1,0,"img",22),re(2,d0e,1,0,"img",23),d(),c(3,"div",24),re(4,u0e,5,0,"div"),re(5,p0e,3,0,"div"),d()),i&2){let t=M();p(),oe(t.adhecionExitosa?-1:1),p(),oe(t.adhecionExitosa?2:-1),p(2),oe(t.adhecionExitosa?-1:4),p(),oe(t.adhecionExitosa?5:-1)}}var n_=class i{templateRef;dialogRef;loaded=!1;nombreUsuario="";mostrarServicios=!1;mostrarPolizas=!1;mostrarAsistencias=!1;mostrarGestiones=!1;polizas=[];polizaSeleccionada;totalRegistrosPolizas=0;paginaActualPolizas=1;POLIZAS_PER_PAGE=50;servicios=[];asistencias=[];gestiones=[];isUserDeleate=ht.active;userDelegateMail=ht.email;userDelegateType=ht.typeDelegate;isMisPolizas=!1;vigente="S";changePolizasForm=new bt().group({valueVigente:["S",ee.required]});templateDialogRef;adhecionExitosa=!1;baseService=C(_r);services=C(_i);_service=C(Tn);router=C(ot);dialogService=C(Qn);allianzServices=C(Hl);_infoPolizaService=C(sa);globalMainService=C(No);viewportScroller=C(Pc);ngOnInit(){this._infoPolizaService.guardarSeleccionPoliza(null),this.obtenerPolizasServicio(),this.obtenerServicios(),this.obtenerGestiones(),this.datosUsuario()}datosUsuario(){let e=`${Se.user.details.firstName??""} ${Se.user.details.lastName??""}`;this.nombreUsuario=LR(e.trim())}cambiarValorIsMisPolizas(e){this.viewportScroller.scrollToPosition([0,0]),this.globalMainService.setGlobalIsMisPolizas(e)}obtenerValorIsMisPolizas(){let e=this.globalMainService.getGlobalIsMisPolizas();return!e&&this.vigente==="N"&&this.changePolizas("S"),e}obtenerServicios(){this.loaded=!1,this.mostrarServicios=!1,this.services.getServicios().then(e=>{this.servicios=e,this.loaded=!0,this.mostrarServicios=!0}).catch(console.warn)}obtenerGestiones(){this.loaded=!1,this.mostrarGestiones=!1,this.services.getmostrarGestiones().then(e=>{this.gestiones=e,this.loaded=!0,this.mostrarGestiones=!0}).catch(console.warn)}obtenerPolizasServicio(){this.loaded=!1,this.mostrarPolizas=!1;let e=ht.active?ht.typeDocument:Se.user.details.identityDocuments[0].documentType.documentTypeCode,t=ht.active?ht.dni:Se.user.details.identityDocuments[0].documentNumber,n=e+t;this.paginaActualPolizas=1,this.allianzServices.getPolizas(n,this.vigente,this.POLIZAS_PER_PAGE,1).then(r=>{this.totalRegistrosPolizas=r.paginado?.cantreg??r.polizas?.length??0,this.transformPoliza(r.polizas??[]),this.loaded=!0,this.mostrarPolizas=!0,this.datosUsuario()}).catch(r=>{console.log(r),this.polizas=[],this.totalRegistrosPolizas=0,this.loaded=!0,this.mostrarPolizas=!0})}changePolizas(e){this.vigente=e??this.changePolizasForm.controls.valueVigente.value,this._infoPolizaService.setVigente(this.vigente==="S"),this.obtenerPolizasServicio()}handlePageChange(e){if(e===this.paginaActualPolizas)return;this.paginaActualPolizas=e,this.mostrarPolizas=!1;let t=ht.active?ht.typeDocument:Se.user.details.identityDocuments[0].documentType.documentTypeCode,n=ht.active?ht.dni:Se.user.details.identityDocuments[0].documentNumber,r=t+n;this.allianzServices.getPolizas(r,this.vigente,this.POLIZAS_PER_PAGE,e).then(o=>{this.transformPoliza(o.polizas??[]),this.mostrarPolizas=!0}).catch(()=>{this.mostrarPolizas=!0})}
803handlePolizaSeleccionada(e){this.polizaSeleccionada=e,this.setIsMisPolizasToggle()}setIsMisPolizasToggle(){this.isMisPolizas=!this.isMisPolizas}transformPoliza(e){let t=[];e.map(r=>{t.find(o=>o.nroPoliza===r.nroPoliza)||t.push({nroPoliza:r.nroPoliza,item:r.item})});let n=e.filter(r=>t.some(o=>o.nroPoliza===r.nroPoliza&&o.item===r.item));this.polizas=n.map((r,o)=>mt(ae({},r),{riesgo:e.filter(a=>a.nroPoliza===r.nroPoliza),estado:"Vigente",categoria:this.asignCat(r.seccion),imgCard:this.asignImg(r.seccion),idPoliza:o,detallePrincipal:r.detallePrincipal??""}))}asignCat(e){return{"001":"Incendio","002":"Transportes","003":"Aeronavegacion","004":"Auto","005":"Cristales","006":"Robo","007":"Responsabilidad civil","008":"Granizo","010":"Accidentes personales",210:"Accidentes personales","011":"Perdida de beneficio","012":"Riesgos varios","014":"Accidentes del trabajo","015":"Hogar","016":"Embarcaci\xF3n","017":"Vida colectivo","018":"Vida obligatorio","019":"Vida individual","020":"Vida protecci\xF3n","021":"Seguro t\xE9cnico","022":"Integral comercio","023":"Integral consorcios","024":"Cauci\xF3n","025":"Salud","026":"Salud colectivo","027":"Seguro de cr\xE9dito","028":"Integral de viajero","029":"Moto"}[e]??"Otros"}asignImg(e){return{"004":"product-car-front","029":"product-motorcycle","015":"product-house","017":"product-heart-employee-engagement","018":"product-heart-employee-engagement","020":"product-heart-employee-engagement",210:"product-injury-plaster","016":"product-sport-sailing-ship","007":"product-shield-hand"}[e]??"product-lock"}closeDialog(e){if(e==="unirse"){let t={MarketAltaIn:{suscripcionPromo:{dni:Se.user.details.identityDocuments[0].documentType.documentTypeCode+Se.user.details.identityDocuments[0].documentNumber,email:Se.user.details.email,proveedor:1},accion:"P"}};this._service.postAltaMarketing(t).then(()=>{this.adhecionExitosa=!0}).catch(()=>{this.adhecionExitosa=!1})}else this.templateDialogRef?.close()}mensajes(){this.router.navigate(["/priv/mensajes"])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-main"]],viewQuery:function(t,n){if(t&1&&pe(n0e,5),t&2){let r;te(r=ne())&&(n.templateRef=r.first)}},decls:29,vars:15,consts:[["template",""],[1,"contenedor"],[3,"ngClass"],[1,"container"],[1,"container-box"],[1,"title-name"],[1,"mt-2","mb-2","azulAZ"],[1,"box-styles"],["nxPlainButton","","type","button",1,"btn-polizas",3,"click"],[1,"skeleton-box",2,"width","90%","height","500px","margin","20px"],[1,"servicios-container"],[1,"servicios-box"],[1,"servicios-h1"],[1,"servicios-h2"],[1,"body-separator"],[1,"l-grid","l-grid--max-width","u-background-inherit"],[1,"skeleton-box",2,"width","100%","height","100px","margin","0 50px"],[3,"changePolizas","setIsMisPolizasToggle","polizaSeleccionada","pageChange","polizas","vigencia","loaded","mostrarPolizas","servicios","totalRegistros"],[1,"myp","top",3,"changePolizas","polizaSeleccionada","polizas","vigencia"],[1,"container-gestion"],[3,"gestion"],["nxModalContent","",2,"display","flex","justify-content","center"],["src","../../../../assets/img/adhecion.jpg","width","100%","alt","Adhesi\xF3n"],["src","../../../../assets/img/confirmacion.jpg","width","100%","alt","Confirmaci\xF3n"],["nxModalActions",""],["nxButton","small secondary","type","button",1,"nx-margin-bottom-0","nx-margin-right-xs",3,"click"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1)(1,"div")(2,"div",2)(3,"div",3)(4,"div",4)(5,"h1",5),m(6),d(),re(7,i0e,2,2,"h5",6),c(8,"div",7)(9,"button",8),I("click",function(){return O(r),T(n.cambiarValorIsMisPolizas(!0))}),m(10," Ver todas mis p\xF3lizas "),d(),re(11,r0e,2,3,"div"),re(12,o0e,1,0,"div",9),d()()(),c(13,"div",10)(14,"div",11)(15,"h1",12),m(16,"\xBFQu\xE9 necesit\xE1s hacer?"),d(),c(17,"h2",13),m(18," En esta secci\xF3n pod\xE9s ver y gestionar tus p\xF3lizas, hacer tr\xE1mites y acceder a beneficios exclusivos. "),d(),S(19,"div",14),c(20,"div",15),re(21,s0e,4,0,"div"),re(22,l0e,1,0,"div",16),d()()()(),c(23,"div",2)(24,"app-mis-polizas",17),I("changePolizas",function(a){return O(r),T(n.changePolizas(a))})("setIsMisPolizasToggle",function(){return O(r),T(n.setIsMisPolizasToggle(
803))})("polizaSeleccionada",function(a){return O(r),T(n.handlePolizaSeleccionada(a))})("pageChange",function(a){return O(r),T(n.handlePageChange(a))}),d()()(),S(25,"app-social-headline")(26,"app-intendencia-info"),L(27,f0e,6,4,"ng-template",null,0,an),d()}t&2&&(p(2),g("ngClass",n.obtenerValorIsMisPolizas()?"container-display-none":"container-display-block"),p(4),K("\xA1Hola ",n.nombreUsuario,"!"),p(),oe(n.isUserDeleate?7:-1),p(4),oe(n.loaded&&n.mostrarPolizas?11:-1),p(),oe(n.mostrarPolizas?-1:12),p(9),oe(n.loaded&&n.mostrarGestiones?21:-1),p(),oe(n.mostrarGestiones?-1:22),p(),g("ngClass",n.obtenerValorIsMisPolizas()?"container-display-block":"container-display-none"),p(),g("polizas",n.polizas)("vigencia",n.vigente)("polizaSeleccionada",n.polizaSeleccionada)("loaded",n.loaded)("mostrarPolizas",n.mostrarPolizas)("servicios",n.servicios)("totalRegistros",n.totalRegistrosPolizas))},dependencies:[me,Un,_t,_o,oa,ns,W5,Y5,t_,rp,ip],styles:["*[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.3px}.contenedor[_ngcontent-%COMP%]{max-width:100vw;overflow:hidden}.carousel[_ngcontent-%COMP%]{margin:50px 0;width:100%;display:flex;justify-content:center}.carousel-box[_ngcontent-%COMP%]{width:840px}.carousel-title[_ngcontent-%COMP%]{font-weight:400;font-size:32px;line-height:39.74px;letter-spacing:0px;text-align:center;margin-bottom:43px}
803.body-separator[_ngcontent-%COMP%]{width:100%;height:40px}.body-wrapper-headline[_ngcontent-%COMP%]{margin-bottom:48px;display:flex;justify-content:center;max-width:100%;text-align:center}.l-grid[_ngcontent-%COMP%]{position:relative;margin-left:auto;margin-right:auto;padding-right:10px;padding-left:10px}.u-background-inherit[_ngcontent-%COMP%]{background:inherit}.myp[_ngcontent-%COMP%]{margin:0!important;padding:0!important}.top[_ngcontent-%COMP%]{top:-25px}.pointer[_ngcontent-%COMP%]{cursor:pointer}.noPadding[_ngcontent-%COMP%]{padding:0}.radio-container[_ngcontent-%COMP%]{width:290px;margin:auto;justify-content:center}.email-button[_ngcontent-%COMP%]{display:flex;justify-content:end;padding:0!important}.container-display-block[_ngcontent-%COMP%]{display:block}.container-display-none[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]{height:353px;width:100%;margin:0;padding:0;max-width:none}.container-box[_ngcontent-%COMP%]{background:#daedec;width:100%;height:203px;margin-top:50px;padding-left:96px;padding-top:44px}
803.title-name[_ngcontent-%COMP%]{font-weight:400;font-size:32px;line-height:39.74px;letter-spacing:0px}.box-styles[_ngcontent-%COMP%]{position:relative;height:215px;margin:0;padding:0;display:flex;flex-direction:column}.btn-polizas[_ngcontent-%COMP%]{margin-left:auto;margin-right:78px!important;margin-bottom:24px!important;font-weight:700!important;font-size:17px!important;line-height:21.11px!important;letter-spacing:0px!important;text-align:center;color:#3379ae;font-family:Allianz Neo,sans-serif}.servicios-container[_ngcontent-%COMP%]{display:flex;width:100%;justify-content:center;margin-top:46px;margin-bottom:58px}.servicios-box[_ngcontent-%COMP%]{width:850px}.servicios-h1[_ngcontent-%COMP%]{font-weight:400;font-size:32px;line-height:39.74px;letter-spacing:0px;text-align:center}.servicios-h2[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:19.87px;letter-spacing:0px;text-align:center;margin-top:34px;margin-bottom:25px}.container-gestion[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:170px;width:100%;gap:32px}@media (min-width: 704px){.polizas-radio[_ngcontent-%COMP%]{margin:auto;width:90%}}@media (min-width: 1138px){.responsiveView[_ngcontent-%COMP%]{display:none}}@media (max-width: 1137px){.webView[_ngcontent-%COMP%]{display:none}.servicios-container[_ngcontent-%COMP%]{margin-top:106px;padding:0 50px}.container-gestion[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr);grid-auto-rows:165px;width:100%;gap:17px}}@media (max-width: 767px){.container-box[_ngcontent-%COMP%]{margin-top:0;padding-left:27px;padding-top:31px}
803.title-name[_ngcontent-%COMP%]{width:80%}.btn-polizas[_ngcontent-%COMP%]{margin-left:0;margin-right:auto!important;padding:0;margin-top:8px}.servicios-container[_ngcontent-%COMP%]{margin-top:106px;margin-bottom:40px;padding:0 50px}.container-gestion[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);grid-auto-rows:165px;width:100%;gap:17px}.carousel[_ngcontent-%COMP%]{display:none;padding:0 50px;margin:67px 0}}"]})};var i_=class i extends Ke{getdatosPoliza(e){let t={dni:e};return this.getRequestParams("/v1/siniestros/consulta-asegurados",t).pipe(B(this.errorHandler))}getDatosWorkflow(e,t){let n={cdSeccion:e,idExpediente:t};return this.getRequestParams("/v1/workflow/hitos-detalle",n).pipe(B(this.errorHandler))}getDatosProcesos(e){let t={idProceso:e,idHito:"1"};return this.getRequestParams("/v1/workflow/hitos-proceso",t).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var r_=class i extends Ke{constructor(t,n){super(t);this.eventsService=n}getTiposDeSiniestros(t){let n={idSeccion:t};
803return this.getRequestParams("/v1/siniestros/tipos-de-siniestros",n).pipe(B(this.errorHandler))}getProveedores(t,n,r,o,a,s){let l={idSeccion:t,idTipoSiniestro:n,idCausaSiniestro:r,cdCategoriaProveedor:o,idTipoRepuesto:a,poliza:s,nmOrigen:"MIALLIANZ"};return this.getRequestParams("/v1/siniestros/tipos-de-proveedores",l).pipe(B(this.errorHandler))}getTipoDirecciones(){return this.getRequest("/v1/siniestros/tipos-de-direcciones").pipe(B(this.errorHandler))}getTipoCuentaBancaria(){return this.getRequest("/v1/siniestros/tipos-de-cuentas-bancarias").pipe(B(this.errorHandler))}getTipoMomentoAccidente(){return this.getRequest("/v1/siniestros/tipos-de-momentos-de-accidentes").pipe(B(this.errorHandler))}getCompSeguro(){return this.getRequest("/v1/siniestros/companias/seguros").pipe(B(this.errorHandler))}getTipoEstadoDeLesiones(){return this.getRequest("/v1/siniestros/tipos-de-de-lesiones").pipe(B(this.errorHandler))}getTiposDeLesionados(){return this.getRequest("/v1/siniestros/tipos-de-lesionados").pipe(B(this.errorHandler))}getTiposLesiones(){return this.getRequest("/v1/siniestros/tipos-de-lesiones").pipe(B(this.errorHandler))}getTiposDeRelaciones(){return this.getRequest("/v1/siniestros/asegurados/tipos-de-relaciones").pipe(B(this.errorHandler))}getTipoEstadoDelTiempo(){return this.getRequest("/v1/siniestros/tipos-de-estados-de-tiempo").pipe(B(this.errorHandler))}getTiposDeCalzadas(){return this.getRequest("/v1/siniestros/tipos-de-calzadas").pipe(B(this.errorHandler))}getEstadoCalzada(){return this.getRequest("/v1/siniestros/tipos-de-estados-de-calzadas").pipe(B(this.errorHandler))}getTiposGradoDanios(){return this.getRequest("/v1/siniestros/tipos-de-grado-danio").pipe(B(this.errorHandler))}getTipoLugares(){return this.getRequest("/v1/siniestros/tipos-de-lugares").pipe(B(this.errorHandler))}getCausasDeSiniestros(t,n,r=null){let o={idSeccion:t,idTipoSiniestro:n};
803return r&&(o.idTipoOperacion=r),this.getRequestParams("/v1/siniestros/tipos-de-causas",o).pipe(B(this.errorHandler))}getCausasDeSiniestrosPolizas(t,n,r=null){let o={idSeccion:t,idTipoSiniestro:n};return r&&(o.indTipoOperacion=r),this.getRequestParams("/v1/polizas/siniestros/tipos-de-causas",o).pipe(B(this.errorHandler))}getTipoRepuestos(t,n,r){let o={idSeccion:t,idCausaSiniestro:n,idTipoSiniestro:r};return this.getRequestParams("/v1/siniestros/tipos-de-repuestos",o).pipe(B(this.errorHandler))}getValidarVoucher(t,n,r,o){let a={nroPoliza:t,nroCertificado:n,fecSiniestro:r,idTipoRepuesto:o};return this.getRequestParams("v1/siniestros/denuncias/validar-voucher",a).pipe(B(this.error400Handler))}getTipoProveedores(t,n,r,o){let a={idSeccion:t,idTipoSiniestro:n,idCausaSiniestro:r,idTipoRepuesto:o};return this.getRequestParams("v1/siniestros/tipos-de-proveedores",a).pipe(B(this.error400Handler))}getTipoInspectores(){return this.getRequest("/v1/siniestros/tipos-de-inspectores").pipe(B(this.errorHandler))}getCentroDeInspeccion(t){let n={idTipoCentroInspeccion:t};
803return this.getRequestParams("/v1/siniestros/inspecciones/centros",n).pipe(B(this.error400Handler))}getDomicilioInspector(t){let n={codInspector:t};return this.getRequestParams("/v1/siniestros/inspectores/domicilios",n).pipe(B(this.error400Handler))}getTiposDeDocumentosSiniestros(t,n,r){let o={idSeccion:t,idTipoSiniestro:n,idCausaSiniestro:r};return this.getRequestParams("/v1/siniestros/tipos-de-documentos",o).pipe(B(this.errorHandler))}getPredenuncia(t,n){let r={idDenuncia:t,nrDetalle:n,nmOrigen:"MIALLIANZ"};return this.getRequestParams("/v1/siniestros/denuncias",r).pipe(B(this.errorHandler))}getPredenunciaCrypt(t,n){let r={idDenunciaCrypt:t,nrDetalleCrypt:n,nmOrigen:"MIALLIANZ"};return this.getRequestParams("/v1/siniestros/denuncias",r).pipe(B(this.errorHandler))}getCargaExtemporanea(t,n,r,o,a){let s={idSeccion:t,idTipoSiniestro:n,idCausaSiniestro:r,fecRegistro:o,fecSiniestro:a};return this.getRequestParams("/v1/siniestros/denuncias/extemporanea",s).pipe(B(this.errorHandler))}getServicioCausa(t,n,r,o,a,s){let l={nroPoliza:t,nroCertificado:n,idSeccion:r,idTipoSiniestro:o,idCausaSiniestro:a,fecSiniestro:s};
803return this.getRequestParams("/v1/siniestro/variantes",l).pipe(B(this.errorHandler))}getDocumentos(t,n){let r={idDenuncia:t,nrDetalle:n};return this.getRequestParams("/v1/siniestros/denuncias/documentos",r).pipe(B(this.errorHandler))}getPdfPredenuncias(t,n,r){let o={idDenuncia:t,nroDetalle:n,codRamo:r};return this.getRequestParamsBlob("/mi-allianz/private/pdf/denuncia",o).pipe(B(this.errorHandler))}getBeneficiarios(t,n,r){let o={idSeccion:t,npoliza:n,nsuplemento:r};return this.getRequestParams("/v1/beneficiarios/polizas",o).pipe(B(this.errorHandler))}getTipoSenializacion(){return this.getRequest("/v1/siniestros/tipos-de-seniales").pipe(B(this.errorHandler))}getTipoTerceros(){return this.getRequest("/v1/siniestros/tipos-de-terceros").pipe(B(this.errorHandler))}postDenuncia(t){let n="/v1/siniestros/denuncias";return this.postRequest(n,t).pipe(Ii(r=>{this.eventsService.logEventInBackground(Ar.DENUNCIA_SINIESTRO.action,Ar.DENUNCIA_SINIESTRO.description,this.getFullUrl(n),null,t,r)}),B(async r=>(this.eventsService.logErrorInBackground(Ar.DENUNCIA_SINIESTRO.action,r.message,this.getFullUrl(n),null,t,r.error,r.status),this.error400Handler(r))))}getMonedas(t){let n=t?`/v1/siniestros/tipos-de-monedas?codMoneda=${t}`:"/v1/siniestros/tipos-de-monedas";return this.getRequest(n).pipe(B(this.error400Handler))}getTipoAsegurado(t,n,r){let o={idSeccion:t,idTipoSiniestro:n,idCausaSiniestro:r};
803return this.getRequestParams("/v1/siniestros/denuncias/id-digital/tipo-asegurado",o).pipe(B(this.errorHandler))}getGenerosPersona(){let t={codPadre:"I"};return this.getRequestParams("/v1/personas/generos",t).pipe(B(this.errorHandler))}fileUpload(t,n,r,o,a,s){let l=new FormData;return n.forEach(u=>{l.append("files",u)}),l.append("idDenuncia",t),l.append("nrDetalle",r),l.append("idDocumento","0"),l.append("cdUsuario",o),l.append("idSeccion",a),l.append("idTipoSiniestro",s),this.postRequest("/v1/siniestros/denuncias/documentos/files",l).pipe(B(this.error400Handler))}getMarcasVeh(t){let n;return t?n={codMarcaVeh:t}:n=null,this.getRequestParams("/v1/vehiculos/marcas",n).pipe(B(this.errorHandler))}getUsosVeh(t){let n;return t?n={codigo:t}:n=null,this.getRequestParams("/v1/vehiculos/tipos-de-usos",n).pipe(B(this.errorHandler))}getSegurosVeh(t){let n;return t?n={codCompania:t}:n=null,this.getRequestParams("/v1/siniestros/companias/seguros",n).pipe(B(this.errorHandler))}getUbicacionesPol(t){return this.getRequest("/v1/polizas/riesgos/ubicaciones?npoliza="+t).pipe(B(this.error400Handler))}getServicioPaises(){return this.getRequest("/v1/paises_mercosur").pipe(B(this.errorHandler))}getDispInsp(t,n,r,o){let a={codProvincia:t,codLocalidad:n,codPostal:r,fechaInsp:o};
803return this.getRequestParams("/v1/siniestros/inspeccion-disponibilidad",a).pipe(B(this.error400Handler))}getCheckHasPred(t,n,r,o){let a={npoliza:t,secuencia:n,idSeccion:r,fechaSiniestro:o,nmOrigen:"MIALLIANZ"};return this.getRequestParams("/v1/siniestros/obtener-siniestralidad",a).pipe(B(this.errorHandler))}getDownloadPdf(t,n){let r={idDenuncia:t,nrDetalle:n};return this.getRequestParams("/v1/siniestros/denuncias/documentos",r).pipe(B(this.errorHandler))}errorHandler(t){return Ve(t.message||"Server Error")}error400Handler(t){return Ve(t||"Server Error")}static \u0275fac=function(n){return new(n||i)(Le(er),Le(Do))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var o_=class i extends Ke{getTiposOperacion(){let e={codSeccion:"004"};return this.getRequestParams("/v1/polizas/tipos-de-operacion",e).pipe(B(this.errorHandler))}getTiposOperacionCotizador(e,t,n){let r={codSeccion:"004",codGrupo:e,codOrganizador:t,codProductor:n};return this.getRequestParams("/v1/polizas/tipos-de-operacion",r).pipe(B(this.errorHandler))}getBienesCubiertosSiniestrables(e,t,n,r,o,a){let s={npoliza:e,nsuplemento:t,nroRiesgo:n,idSeccion:r,idTipoSiniestro:o,idCausaSiniestro:a};
803return this.getRequestParams("/v1/polizas/bienes-cubiertos-siniestrables",s).pipe(B(this.errorHandler))}getRiesgosSiniestrables(e){return this.getRequestParams("/v1/polizas/riesgos-siniestrables",e.getParams()).pipe(B(this.error400Handler))}getTiposDeCausa(e,t,n){let r={npoliza:e,nroRiesgo:t,idSeccion:n};return this.getRequestParams("/v1/polizas/siniestros/tipos-de-causas",r).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}error400Handler(e){return Ve(e||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var fn=class i{uploadedFile=!1;predenunciasService=C(r_);polizasService=C(o_);_http=C(er);setUploadedFile(e){this.uploadedFile=e}getUploadedFile(){return this.uploadedFile}getProveedores(e,t,n,r,o,a){return this.predenunciasService.getProveedores(e,t,n,r,o,a).toPromise().then(s=>this.evaluarRespuesta(s.SinTipoRepuestosProvOut[0],"proveedoresRepuesto")).catch(s=>(this.logout(s),new Promise((l,u)=>u(s))))}getTiposDeSiniestros(e){return this.predenunciasService.getTiposDeSiniestros(e).toPromise().then(t=>this.evaluarRespuesta(t.TiposSiniestrosOut[0],"tiposSiniestros")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getTiposDeCausa(e,t,n){return this.polizasService.getTiposDeCausa(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.TiposCausasSinPolOut[0],"tiposCausasSinPol")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getTipoCalzada(){return this.predenunciasService.getTiposDeCalzadas().toPromise().then(e=>this.evaluarRespuesta(e.TipoCalzadaOut[0],"tipoCalzada")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getEstadoCalzada(){return this.predenunciasService.getEstadoCalzada().toPromise().then(e=>this.evaluarRespuesta(e.EstadoCalzadaOut[0],"estadoCalzada")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTiposGradoDanios(){return this.predenunciasService.getTiposGradoDanios().toPromise().then(e=>this.evaluarRespuesta(e.GradoDanioOut[0],"")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getGeneroPersona(){return this.predenunciasService.getGenerosPersona().toPromise().then(e=>this.evaluarRespuesta(e.CotGeneroOut[0],"generos")).catch(e=>(this.logout(e),new Promise((t,n)=>{n(e)})))}getTipoSenializacion(){return this.predenunciasService.getTipoSenializacion().toPromise().then(e=>this.evaluarRespuesta(e.TipoSenialOut[0],"tipoSenial")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getCausasDeSiniestros(e,t,n=null){return e=="002"?this.predenunciasService.getCausasDeSiniestrosPolizas(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.TiposCausasSinPolOut[0],"tiposCausasSinPol")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r)))):this.predenunciasService.getCausasDeSiniestros(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.TiposCausasSiniestrosOut[0],"tiposCausasSiniestros")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getTiposDeDocumentosSiniestros(e,t,n){return this.predenunciasService.getTiposDeDocumentosSiniestros(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.DocumentosSeccionOut[0],"documentosSeccion")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getCargaExtemporanea(e,t,n,r,o){return this.predenunciasService.getCargaExtemporanea(e,t,n,r,o).toPromise().then(a=>this.evaluarRespuesta(a.DaMaeConfiguracionOut[0],"indExtemporaneo")).catch(a=>(this.logout(a),new Promise((s,l)=>l(a))))}getDocumentos(e,t){return this.predenunciasService.getDocumentos(e,t).toPromise().then(n=>this.evaluarRespuesta(n.DenunciaFileManagerOut[0],"fileManager")).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}getDescargaPreDenuncia(e,t,n){return this.predenunciasService.getPdfPredenuncias(e,t,n).toPromise().then(r=>r).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getBeneficiarios(e,t,n){return this.predenunciasService.getBeneficiarios(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.PolizaBeneficiariosOut[0],"")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}postDenuncia(e){return new Promise((t,n)=>
803{this.predenunciasService.postDenuncia(e).toPromise().then(r=>{t(r)}).catch(r=>{r.status==400&&console.log(r),n(r)})})}getTipoDirecciones(){return this.predenunciasService.getTipoDirecciones().toPromise().then(e=>this.evaluarRespuesta(e.TipoDireccionOut[0],"tipoDireccion")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoLugares(){return this.predenunciasService.getTipoLugares().toPromise().then(e=>this.evaluarRespuesta(e.TipoLugarOut[0],"tipoLugar")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoEstadoDelTiempo(){return this.predenunciasService.getTipoEstadoDelTiempo().toPromise().then(e=>this.evaluarRespuesta(e.EstadoTiempoOut[0],"datosEstadoTiempo")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoInspector(){return this.predenunciasService.getTipoInspectores().toPromise().then(e=>this.evaluarRespuesta(e.TipoInspectorOut[0],"tipoInspector")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getCentrosInspeccion(e){return this.predenunciasService.getCentroDeInspeccion(e).toPromise().then(t=>this.evaluarRespuesta(t.CentroInspeccionOut[0],"centroInspeccion")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getDomicInspector(e){return this.predenunciasService.getDomicilioInspector(e).toPromise().then(t=>this.evaluarRespuesta(t.DomicilioInspectorOut[0],"domicilio")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getBienesCubiertosSiniestrables(e,t,n,r,o,a){return this.polizasService.getBienesCubiertosSiniestrables(e,t,n,r,o,a).toPromise().then(s=>this.evaluarRespuesta(s.ClausuladoBienesOut[0],"clausuladoBienes")).catch(s=>(this.logout(s),new Promise((l,u)=>u(s))))}getRiesgosSiniestrables(e){return this.polizasService.getRiesgosSiniestrables(e).toPromise().then(t=>this.evaluarRespuesta(t.ComposicionPolizaOut[0],"composicionpolizas")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getTipoTerceros(){return this.predenunciasService.getTipoTerceros().toPromise().then(e=>this.evaluarRespuesta(e.TipoTerceroOut[0],"tipoTercero")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoRepuestos(e,t,n){return this.predenunciasService.getTipoRepuestos(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.SinTipoRepuestosOut[0],"datosRepuestos")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getValidarVoucher(e,t,n,r){return this.predenunciasService.getValidarVoucher(e,t,n,r).toProm
803ise().then(o=>this.evaluarRespuesta(o.ValidaDatosVoucherOut[0],"datosVoucher")).catch(o=>(this.logout(o),new Promise((a,s)=>s(o))))}getCompaniasSeguros(){return this.predenunciasService.getCompSeguro().toPromise().then(e=>this.evaluarRespuesta(e.CompaniasSeguroOut[0],"companiasSeguro")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoCuentaBancaria(){return this.predenunciasService.getTipoCuentaBancaria().toPromise().then(e=>this.evaluarRespuesta(e.TipoCuentaOut[0],"tipoCuenta")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoMomentoAccidente(){return this.predenunciasService.getTipoMomentoAccidente().toPromise().then(e=>this.evaluarRespuesta(e.MomentoAccidenteOut[0],"momentoAccidente")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getMonedas(e){return this.predenunciasService.getMonedas(e).toPromise().then(t=>this.evaluarRespuesta(t.MonedaOut[0],"monedas")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getiTiposDeLesionados(){return this.predenunciasService.getTiposDeLesionados().toPromise().then(e=>this.evaluarRespuesta(e.TipoLesionadoOut[0],"tipoLesionado")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTiposLesiones(){return this.predenunciasService.getTiposLesiones().toPromise().then(e=>this.evaluarRespuesta(e.TipoLesionOut[0],"tipoLesion")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTiposDeRelaciones(){return this.predenunciasService.getTiposDeRelaciones().toPromise().then(e=>this.evaluarRespuesta(e.RelacionAseguradoOut[0],"relacionAsegurado")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getTipoAsegurado(e,t,n){return this.predenunciasService.getTipoAsegurado(e,t,n).toPromise().then(r=>this.evaluarRespuesta(r.DaMaeConfiguracionOut[0],"indTipoAsegurado")).catch(r=>(this.logout(r),new Promise((o,a)=>a(r))))}getPredenuncia(e,t){return this.predenunciasService.getPredenuncia(e,t).toPromise().then(n=>this.evaluarRespuesta(n.ConsultaDenunciaOut[0],null)).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}getPredenunciaCrypt(e,t){return this.predenunciasService.getPredenunciaCrypt(e,t).toProm
803ise().then(n=>this.evaluarRespuesta(n.ConsultaDenunciaOut[0],null)).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}fileUpload(e,t,n,r,o,a){return this.predenunciasService.fileUpload(e,t,n,r,o,a).toPromise().then(s=>this.evaluarRespuesta(s,null)).catch(s=>(this.logout(s),new Promise((l,u)=>u(s))))}getMarcasveh(e){return this.predenunciasService.getMarcasVeh(e).toPromise().then(t=>this.evaluarRespuesta(t.FabricaVehiculoOut[0],"fabricas")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getUsosVeh(e){return this.predenunciasService.getUsosVeh(e).toPromise().then(t=>this.evaluarRespuesta(t.CotUsoVehiculoOut[0],"vUso")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getSegurosVeh(e){return this.predenunciasService.getSegurosVeh(e).toPromise().then(t=>this.evaluarRespuesta(t.CompaniasSeguroOut[0],"companiasSeguro")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getUbicacionesPol(e){return this.predenunciasService.getUbicacionesPol(e).toPromise().then(t=>this.evaluarRespuesta(t.UbicacionRiesgoOut[0],"ubicacionRiesgo")).catch(t=>(this.logout(t),new Promise((n,r)=>r(t))))}getCheckHasPred(e,t,n,r){return this.predenunciasService.getCheckHasPred(e,t,n,r).toProm
803ise().then(o=>this.evaluarRespuesta(o.ObtieneSiniestralidadOut[0],"siniestralidad")).catch(o=>(this.logout(o),new Promise((a,s)=>s(o))))}getServicioCausa(e,t,n,r,o,a){return this.predenunciasService.getServicioCausa(e,t,n,r,o,a).toPromise().then(s=>this.evaluarRespuesta(s.VariantesOut[0],"variantes")).catch(s=>(this.logout(s),new Promise((l,u)=>u(s))))}getServicioPaises(){return this.predenunciasService.getServicioPaises().toPromise().then(e=>this.evaluarRespuesta(e.PaisOut[0],"paises")).catch(e=>(this.logout(e),new Promise((t,n)=>n(e))))}getDispInsp(e,t,n,r){return this.predenunciasService.getDispInsp(e,t,n,r).toPromise().then(o=>this.evaluarRespuesta(o.AsignaInspAutomaticaOut[0],"inspeccion")).catch(o=>(this.logout(o),new Promise((a,s)=>s(o))))}logout(e){typeof e=="string"&&e.split(": ")[1].split(" ")[0]=="401"&&(Se.hasSession=!1,this._http.post("/public/logout",{}).subscribe(t=>{window.location.href=Se.oauth2+"/logout?redirect_uri="+window.location.origin+"/"}))}evaluarRespuesta(e,t){return new Promise((n,r)=>{e.response.responseCode=="200"?t==null||t==""?n(e):n(e[t]):r(e.response)})}validarResponse(e){if(e.response.description)throw{codigo:e.response.responseCode,descripcion:e.response.description}}getDescargarPdf(e,t){return this.predenunciasService.getDownloadPdf(e,t).toProm
803ise().then(n=>n).catch(n=>(this.logout(n),new Promise((r,o)=>o(n))))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var un=i=>i?i.toISOString().split("-").map((e,t)=>t==2?e.slice(0,2):e).join("-"):"";var HR=i=>`${i.getDate().toString().padStart(2,"0")}/${(i.getMonth()+1).toString().padStart(2,"0")}/${i.getFullYear()}`;var h0e=["template"];function g0e(i,e){if(i&1&&(c(0,"h5",3),m(1),d()),i&2){let t=M();p(),Li("",t.userDelegateType,": ",t.userDelegateMail)}}function _0e(i,e){if(i&1){let t=Y();Ze(0),c(1,"tr",10)(2,"td",13)(3,"button",14),I("click",function(){let r=O(t).$implicit,o=M();return T(o.openFromTemplate(r))}),S(4,"nx-icon",15),d()(),c(5,"td",16),m(6),d(),c(7,"td",16),m(8),d(),c(9,"td",16),m(10),d(),c(11,"td",16),m(12),d(),c(13,"td",16),m(14),d(),c(15,"td",16)(16,"nx-badge",17),m(17),d()(),c(18,"td",16)(19,"button",18),I("click",function(r){let o=O(t).$implicit,a=M();return T(a.navigateDescargaPdf(r,o.numeropoliza,o.nroDenuncia,o.nroItem,o.numeropredenuncia,o.numerocarpeta))}),S(20,"img",19),m(21,"Descargar"),d()()(),Xe()}if(i&2){let t=e.$implicit,n=M();p(4),g("name","plus"),p(2),Pe(t.numeropoliza),p(2),Pe(n.fechaprobablePago(t.fechasiniestro)),p(2),Pe(t.numeropredenuncia),p(2),Pe(t.numerocarpeta),p(2),Pe(n.fechaprobablePago(t.fechaprobablepago)),p(2),g("type",n.colorBadge(t.estadoVigente)),p(),Pe(t.estadoVigente),p(2),g("id",Vi(t.numerocarpeta))("disabled",t.nroDenuncia==null),p(),g("id",Vi(t.numeropredenuncia))}}function v0e(i,e){if(i&1&&(c(0,"form",24)(1,"div",28)(2,"div",29)(3,"nx-formfield",30),S(4,"input",31),d()()(),c(5,"div",28)(6,"div",29)(7,"nx-formfield",32),S(8,"input",33),d()()(),c(9,"div",28)(10,"div",29)(11,"nx-formfield",34),S(12,"input",35),d()()(),c(13,"div",28)(14,"div",29)(15,"nx-formfield",36),S(16,"input",37),d()()(),c(17,"div",28)(18,"div",29)(19,"nx-formfield",38),S(20,"input",39),d()()(),c(21,"div",28)(22,"div",29)(23,"nx-formfield",40),S(24,"input",41),d()()(),c(25,"div",28)(26,"div",29)(27,"nx-formfield",42),S(28,"input",43),d()()(),c(29,"div",28)(30,"div",29)(31,"nx-formfield",44),S(32,"input",45),d()()(),c(33,"div",28)(34,"div",29)(35,"nx-formfield",46),S(36,"input",47),d()()()()),i&2){let t=M(2);g("formGroup",t.formDet)}}function x0e(i,e){if(i&1&&(c(0,"p",55),m(1),d()),i&2){let t=M().$implicit;p(),Li("Fecha real :",t.fecDesdeReal," - ",t.fecHastaReal)}}function b0e(i,e){if(i&1&&(c(0,"div",53)(1,"strong",54),m(2),d(),c(3,"p",55),m(4),d(),c(5,"p",55),m(6),d(),L(7,x0e,2,2,"p",56),d()),i&2){let t=e.$implicit,n=e.index,r=M(3);g("ngClass",r.procesarClaseCss(t.completed,r.multiSteps.length,n)),p(2),Pe(t.name),p(2),K("Fecha desde estimada: ",t.fecDesdeEstimada),p(2),K("Fecha hasta estimada: ",t.fecHastaEstimada),p(),g("ngIf",t.fecDesdeReal=="")}}function C0e(i,e){if(i&1&&(c(0,"div",48)(1,"h3",23),m(2,"Estado del siniestro"),d(),c(3,"div",49)(4,"div",50)(5,"ul",51),L(6,b0e,8,5,"div",52),d()()()()),i&2){let t=M(2);p(6),g("ngForOf",t.multiSteps)}}function y0e(i,e){if(i&1){let t=Y();c(0,"div",20)(1,"div",21)(2,"div",22)(3,"h3",23),m(4,"M\xE1s informaci\xF3n"),d(),c(5,"div"),re(6,v0e,37,1,"form",24),d()(),L(7,C0e,7,1,"div",25),d()(),c(8,"div",26)(9,"button",27),I("click",function(){O(t);let r=M();return T(r.closeDialog("Cancel"))}),m(10,"Cerrar"),d()()}if(i&2){let t=M();p(6),oe(t.formDet?6:-1),p(),g("ngIf",t.multiSteps.length>0)}}var a_=class i{templateRef;dialogRef;actionResult;loaded=!1;mostrarDenuncias=!1;denuncias=[];multiSteps=[];dni;itemModal;isUserDelegate=ht.active;userDelegateMail=ht.email;userDelegateType=ht.typeDelegate;isDownloading=!1;formDet;_Services=C(fn);workflow_service=C(i_);router=C(ot);dialogService=C(Qn);_formBuilder=C(bt);ngOnInit(){this.obtenerDenuncias()}obtenerDenuncias(){this.loaded=!1,this.mostrarDenuncias=!1,Se.user?.details?.identityDocuments.forEach(n=>{n.documentNumber&&(this.dni=n.documentType.documentTypeCode+n.documentNumber)});let t=ht.active==!1?this.dni:ht.typeDocument+ht.dni;this.workflow_service.getdatosPoliza(t).toPromise().then(n=>{n.MiazSiniestroOut[0].siniestros.sort((o,a)=>o.fechasiniestro-a.fechasiniestro).map(o=>{this.denuncias.push(o)}),this.loaded=!0,this.mostrarDenuncias=!0}).catch(n=>{console.log(n)})}colorBadge(e){return e==="Siniestro Cerrado"?"negative":e==="Apertura del siniestro"?"active":e==="Siniestro Aceptado"?"positive":e==="Siniestro Rechazado"?"critical":"positive"}denuncia(e){e.preventDefault(),this.router.navigate(["/priv/denuncia-siniestro"])}click(e){let t="/priv/siniestro-ruta/"+e;this.router.navigate([t])}fechaprobablePago(e){let t=new Ur("en-US").transform(e,"dd/MM/yyyy");return t??"-"}openFromTemplate(e){this.hitosWorrkflor(e.ramo,e.numerocarpeta.slice(1)),this.formDet=this._formBuilder.group({numpoliza:[{value:e.numeropoliza,disabled:!0}],fechasin:[{value:this.fechaprobablePago(e.fechasiniestro),disabled:!0}],numpredenuncia:[{value:e.numeropredenuncia,disabled:!0}],numcarpeta:[{value:e.numerocarpeta,disabled:!0}],fechapropago:[{value:this.fechaprobablePago(e.fechaprobablepago),disabled:!0}],descramo:[{value:e.descripcionramo,disabled:!0}],ramo:[{value:e.ramo,disabled:!0}],descasegurado:[{value:e.descasegurado,disabled:!0}],descproductor:[{value:e.descproductor,disabled:!0}],estado:[{value:e.estadoVigente,disabled:!0}]}),this.itemModal=e,this.dialogRef=this.dialogService.open(this.templateRef,{ariaLabel:"A simple modal",showCloseIcon:!0}),this.dialogRef.afterClosed().subscribe(t=>{this.multiSteps=[],this.actionResult=t})}closeDialog(e){this.multiSteps=[],this.dialogRef.close(e)}hitosWorrkflor(e,t){this.workflow_service.getDatosWorkflow(e,t).toProm
803ise().then(n=>{this.workflow_service.getDatosProcesos(n.WfHitosGrillaOut[0].hitosGrilla[0].idProceso).toPromise().then(r=>{r.WfProcesoHitoOut[0].hitos.map(o=>{this.multiSteps.push({name:this.ProcesarNombre(o.nmHito,o.indHitoActual),completed:this.procesarCompletado(o.indHitoActual),fecDesdeEstimada:un(new Date(o.fecDesdeEstimada)),fecHastaEstimada:un(new Date(o.fecHastaEstimada)),fecHastaReal:un(new Date(o.fecHastaReal))})})}).catch(r=>{console.log(r)})}).catch(n=>{console.log(n)})}procesarCompletado(e){return e=="S"}ProcesarNombre(e,t){let n;return t=="S"?n="(Actual)":n="",e+`${n}`}procesarClaseCss(e,t,n){return e==!0?"is-done":t-1==n?"is-last-child":"is-not-done"}navigateDescargaPdf(e,t,n,r,o,a){let s=document.getElementById(a),l=document.getElementById(o),u=t.slice(2,5);s?.setAttribute("disabled",""),l?.classList.remove("d-none"),this._Services.getDescargaPreDenuncia(n,"1",null).then(h=>{let _=new Blob([h],{type:"application/pdf"}),y=window.URL.createObjectURL(_);window.open(y)}).catch(h=>{console.error(h)}).finally(()=>{s?.removeAttribute("disabled"),l?.classList.add("d-none")})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-siniestros"]],viewQuery:function(t,n){if(t&1&&pe(h0e,5),t&2){let r;te(r=ne())&&(n.templateRef=r.first)}},decls:36,vars:2,consts:[["expandableTable","nxExpandableTable"],["template",""],[1,"m-5"],[1,"text-center"],["class","text-center",4,"ngIf"],[1,"text-center","m-3","p-3","background-grey"],["nxButton","primary small","type","button",3,"click"],["label","Gir\xE1 la ruedita para ver m\xE1s"],["nxTable","","nxExpandableTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],[4,"ngFor","ngForOf"],["nxTableCell","",1,"nx-table-cell--toggle"],[1,"m-0","border-0","bg-transparent",3,"click"],["size","s",1,"m-0",3,"name"],["nxTableCell",""],[3,"type"],["nxButton","tertiary small-medium","type","button",3,"click","id","disabled"],["alt","","src","../../../../../../assets/img/Spinner-2.svg",1,"d-none",2,"position","absolute","width","70px","height","70px",3,"id"],["nxModalContent",""],[1,"d-flex","justify-content-between"],[1,"nx-margin-bottom-3m",2,"width","50%"],["nxHeadline","subsection-medium",1,"nx-margin-bottom-3m"],[3,"formGroup"],["style","width:50% ;
803",4,"ngIf"],["nxModalActions",""],["nxButton","small secondary","type","button",1,"nx-margin-bottom-0","nx-margin-right-xs",3,"click"],["nxRow",""],["nxCol","12"],["label","Numero Poliza:"],["nxInput","","formControlName","numpoliza"],["label","Numero denuncia:"],["nxInput","","formControlName","numpredenuncia"],["label","Fecha Probable Pago:"],["nxInput","","formControlName","fechapropago"],["label","Fecha siniestro:"],["nxInput","","formControlName","fechasin"],["label","Numero siniestro:"],["nxInput","","formControlName","numcarpeta"],["label","Riesgo:"],["nxInput","","formControlName","descramo"],["label","Asegurado:"],["nxInput","","formControlName","descasegurado"],["label","Estado:"],["nxInput","","formControlName","estado"],["label","Productor:"],["nxInput","","formControlName","descproductor"],[2,"width","50%"],[2,"margin-left","10px"],[1,"wrapper"],[1,"StepProgress"],["class","StepProgress-item ",3,"ngClass",4,"ngFor","ngForOf"],[1,"StepProgress-item",3,"ngClass"],[1,"mb-2"],[1,"m-0"],["class","m-0",4,"ngIf"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",2)(1,"h1",3),m(2,"Denuncias y Siniestros"),d(),L(3,g0e,2,2,"h5",4),c(4,"div",5)(5,"h4"),m(6,"Hac\xE9 tu denuncia: "),d(),c(7,"button",6),I("click",function(a){return O(r),T(n.denuncia(a))}),m(8,"Denuncia"),d()(),c(9,"nx-swipebar",7)(10,"table",8,0)(12,"caption",9),m(13," Listado de p\xF3lizas del asegurado "),d(),c(14,"thead")(15,"tr",10),S(16,"th",11),c(17,"th",11),m(18," N\xFAmero p\xF3liza "),d(),c(19,"th",11),m(20," Fecha siniestro "),d(),c(21,"th",11),m(22," N\xFAmero predenuncia"),d(),c(23,"th",11),m(24," N\xFAmero carpeta "),d(),c(25,"th",11),m(26," Fecha Probable pago "),d(),c(27,"th",11),m(28," Estado "),d(),c(29,"th",11),m(30," Acciones "),d()()(),c(31,"tbody"),L(32,_0e,22,13,"ng-container",12),d()()()(),L(33,y0e,11,2,"ng-template",null,1,an),S(35,"div")}t&2&&(p(3),g("ngIf",n.isUserDelegate),p(29),g("ngForOf",n.denuncias))},dependencies:[me,ut,vt,z2,Kn,ni,si,ii,Gs,O0,St,Un,Ut,et,At,Rt,wt,Pt,st,qt,_t,Xt,nt,oa,ns,Yt],styles:['.background-grey[_ngcontent-%COMP%]{background-color:#f5f5f5}[_nghost-%COMP%]{overflow-x:scroll;display:block}.nx-table-cell--toggle[_ngcontent-%COMP%]{padding-right:0}[_ngcontent-%COMP%]:root{--circle-size: clamp(1.5rem, 5vw, 3rem);--spacing: clamp(.25rem, 2vw, .5rem)}.wrapper[_ngcontent-%COMP%]{width:330px;font-family:Helvetica,sans-serif;font-size:14px}.StepProgress[_ngcontent-%COMP%]{position:relative;padding-left:45px;list-style:none}.StepProgress[_ngcontent-%COMP%]:before{display:inline-block;content:"";position:absolute;top:0;left:15px;width:10px;height:100%}.StepProgress-item[_ngcontent-%COMP%]{position:relative;counter-increment:list}.StepProgress-item[_ngcontent-%COMP%]:not(:last-child){padding-bottom:20px}.StepProgress-item[_ngcontent-%COMP%]:before{display:inline-block;content:"";position:absolute;left:-23px;height:100%;width:20px}.StepProgress-item[_ngcontent-%COMP%]:after{content:"";display:inline-block;position:absolute;top:0;left:-35.5px;width:30px;height:30px;border:2px solid #CCC;border-radius:50%;background-color:#fff}.StepProgress-item.is-done[_ngcontent-%COMP%]:before{border-left:5px solid #007ab3}.StepProgress-item.is-done[_ngcontent-%COMP%]:after{font-size:13px;color:#fff;text-align:center;border:2px solid #007ab3;background-color:#007ab3}.StepProgress-item.is-not-done[_ngcontent-%COMP%]:after{font-size:13px;color:#fff;text-align:center;border:2px solid #c2c2c2;background-color:#c2c2c2}.StepProgress-item.is-last-child[_ngcontent-%COMP%]:after{font-size:13px;color:#fff;text-align:center;border:2px solid #c2c2c2;background-color:#c2c2c2}.StepProgress-item.is-last-child[_ngcontent-%COMP%]:before{border-left:0px solid #c2c2c2}.StepProgress-item.is-not-done[_ngcontent-%COMP%]:before{border-left:5px solid #c2c2c2}.StepProgress-item.current[_ngcontent-%COMP%]:before{border-left:2px solid #007ab3}.StepProgress-item.current[_ngcontent-%COMP%]:after{content:counter(list);padding-top:1px;width:25px;height:25px;top:-4px;left:-40px;font-size:25px;font-weight:700;text-align:center;color:#000;border:2px solid #007ab3;background-color:#007ab3}.StepProgress[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block}']})};function M0e(i,e){if(i&1&&(c(0,"tr",5)(1,"td",7),m(2),d(),c(3,"td",7),m(4),d(),c(5,"td",7)(6,"a",8),m(7," Descarga "),d()()()),i&2){let t=e.$implicit;p(2),Pe(t.desc),p(2),Pe(t.creado),p(2),g("href",t.link,An)}}var s_=class i{loaded=!1;mostrarPoliticas=!1;politicas=[];services=C(_i);router=C(ot);ngOnInit(){this.obtenerPoliticas()}obtenerPoliticas(){this.loaded=!1,this.mostrarPoliticas=!1,this.services.getPoliticas().then(e=>{this.politicas=e,this.loaded=!0,this.mostrarPoliticas=!0}).catch(e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-politicas"]],decls:18,vars:0,consts:[[1,"m-5"],[1,"text-center"],["label","Gir\xE1 la rueda del rat\xF3n para ver m\xE1s"],["nxTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableCell",""],["target","_blank","rel","noopener noreferrer",1,"azulAZ",3,"href"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"h1",1),m(2,"POLITICAS Y PROCEDIMIENTOS"),d(),c(3,"nx-swipebar",2)(4,"table",3)(5,"caption",4),m(6," Listado de politicas del asegurado "),d(),c(7,"thead")(8,"tr",5)(9,"th",6),m(10,"Descripci\xF3n"),d(),c(11,"th",6),m(12,"Creado en"),d(),c(13,"th",6),m(14,"Descarga"),d()()(),c(15,"tbody"),Ot(16,M0e,8,3,"tr",5,$n),d()()()()),t&2&&(p(16),Tt(n.politicas))},dependencies:[me,z2,Kn,ni,si,ii],styles:[".background-grey[_ngcontent-%COMP%]{background-color:#f5f5f5}[_nghost-%COMP%]{overflow-x:scroll;display:block}.nx-table-cell--toggle[_ngcontent-%COMP%]{padding-right:0}"]})};var BR=Aa(tS());var w0e=["fileInput"],S0e=i=>({color:i}),P0e=i=>({display:"flex","justify-content":i});function E0e(i,e){if(i&1&&(c(0,"th",14),m(1),d()),i&2){let t=e.$implicit;p(),Pe(t)}}function D0e(i,e){if(i&1&&(c(0,"tr",10)(1,"td",15),m(2),d(),c(3,"td",15),m(4),d(),c(5,"td",15),m(6),d(),c(7,"td",15),m(8),d(),c(9,"td",15),m(10),d(),c(11,"td",15),m(12),d(),c(13,"td",15),m(14),d()()),i&2){let t=e.$implicit,n=M(2);p(),g("ngStyle",n.getCellColor(t.polPoliza,11)),p(),K(" ",t.polPoliza),p(),g("ngStyle",n.getCellColor(t.cerApnom,1)),p(),K(" ",t.cerApnom," "),p(),g("ngStyle",n.getCellColor(t.cerNdo,8)),p(),K(" ",t.cerNdo),p(),g("ngStyle",n.getCellColor(t.cerCuil,11)),p(),K(" ",t.cerCuil),p(),g("ngStyle",n.getCellColor(t.cerFenac,2)),p(),K(" ",t.cerFenac),p(),g("ngStyle",Lt(14,S0e,t.cerSexo!=="M"&&t.cerSexo!=="F"&&"red")),p(),K(" ",t.cerSexo=="F"?"Femenino":"Masculino"),p(),g("ngStyle",n.getCellColor(t.cerEmail,11)),p(),K(" ",t.cerEmail)}}function O0e(i,e){if(i&1){let t=Y();c(0,"div",7)(1,"table",8)(2,"caption",9),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",10),L(6,E0e,2,1,"th",11),d()(),c(7,"tbody"),L(8,D0e,15,16,"tr",12),d()(),c(9,"nx-pagination",13),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(6),g("ngForOf",t.headers),p(2),g("ngForOf",t.erroresToShow),p(),g("count",t.errores.length)("page",t.page)("perPage",t.perpage)}}function T0e(i,e){if(i&1){let t=Y();c(0,"button",19),I("click",function(){O(t),M(2);let r=Ct(6);return T(r.click())}),c(1,"span",20),m(2,"Cargar nueva n\xF3mina"),d()()}}function I0e(i,e){if(i&1&&(c(0,"div",16)(1,"div",17),L(2,T0e,3,0,"button",18),d()()),i&2){let t=M();g("ngStyle",Lt(2,P0e,t.erroresToShow.length>0?"end":"center")),p(2),g("ngIf",!t.isValid||t.msg.type==="error")}}var l_=class i{fileInput;isLoadingData=!1;beneficiariosList=[];tutorial="Ver formato .csv";isCvsValid="";headers=["Nro. p\xF3liza","Nombre y Apellido","DNI","Cuil","Fecha de nacimiento","G\xE9nero","Direcci\xF3n de email"];isValid=!0;errores=[];msg={text:"",type:""};page=1;perpage=10;erroresToShow=[];_emitterService=C(Jt);_consultaBeneficiarioService=C(c1);_router=C(ot);ngAfterViewInit(){this.fileInput.nativeElement.click()}validateData(e){if(e.length>0)for(let t=0;t<e.length;t++){let n=e[t];(Number.isNaN(Number(n.polPoliza))||n.polPoliza.length!=12||Number.isNaN(Number(n.cerNdo))||n.cerNdo.length<7||n.cerNdo.length>8||Number.isNaN(Number(n.cerCuil))||n.cerCuil.length!=11)&&(this.isValid=!1,this.isCvsValid="Error al intentar cargar el archivo",this.errores.push(n)),(n.cerApnom.length<=2||!Number.isNaN(Number(n.cerApnom))||n.cerSexo!=="M"&&n.cerSexo!=="F"||n.cerEmail.length<=4||!Number.isNaN(Number(n.cerEmail))||n.cerFenac<=9)&&(this.isValid=!1,this.isCvsValid="Error al intentar cargar el archivo",this.errores.push(n))}else this.isValid=!1,this.isCvsValid="Error al intentar cargar el archivo, el archivo se encuentra vac\xEDo",this.msg={text:"El archivo se encuentra vac\xEDo, intente nuevamente",type:"error"};this.errores.length>0&&(this.msg={text:"Se han encontrado los siguientes errores *corrija los valores resaltados en rojo*",type:"error"}),this.updateTable()}uploadNomina(e){this.errores=[];let t=e.target?.files?.[0],n=event.target;n.value="",t&&BR.default.parse(t,{header:!0,skipEmptyLines:!0,complete:r=>{if(r?.data){let o=r.data.map(a=>({polPoliza:a[Object.keys(a)[0]],cerNdo:a[Object.keys(a)[1]],cerApnom:a[Object.keys(a)[2]],cerFenac:a[Object.keys(a)[3]],cerSexo:a[Object.keys(a)[4]],cerCuil:
803a[Object.keys(a)[5]],cerEmail:a[Object.keys(a)[6]]}));if(this.validateData(o),o=o.map(a=>mt(ae({},a),{cerNdo:Number(a.cerNdo),cerCuil:Number(a.cerCuil),cerSexo:a.cerSexo.toUpperCase()})),this.isValid=!0,this.beneficiariosList=o,this.isCvsValid.length>0){this._emitterService.emmiterToast(0,this.isCvsValid),this.isValid=!1;return}else{this.isValid=!0;let a=document.getElementById("file");a&&(a.value=""),this.saveNominas()}}else this.isValid=!1,this._emitterService.emmiterToast(0,"El archivo no pude ser cargado")},error:r=>{this.isValid=!1,this._emitterService.emmiterToast(0,"El archivo no pude ser cargado"),console.error("Error al procesar el archivo:",r)}}),this.isCvsValid=""}saveNominas(){this._consultaBeneficiarioService.setNominas(this.beneficiariosList).subscribe(e=>{this._emitterService.emmiterToast(3,"El archivo ha sido cargado con \xE9xito"),this.msg={text:"El archivo se carg\xF3 exitosamente",type:"success"}},e=>{this._emitterService.emmiterToast(0,"Error de servicio"),this.msg={text:"El archivo no pudo ser cargado, intente nuevamente",type:"error"}},()=>{})}prevPage(){this.page--,this.updateTable()}nextPage(){this.page++,this.updateTable()}goToPage(e){this.page=e,this.updateTable()}updateTable(){let e=(this.page-1)*this.perpage,t=e+this.perpage;this.erroresToShow=this.errores.slice(e,t)}getCellColor(e,t){return{color:e.length<t&&"red"}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-carga-nomina-beneficiarios"]],viewQuery:function(t,n){if(t&1&&pe(w0e,5),t&2){let r;te(r=ne())&&(n.fileInput=r.first)}},decls:9,vars:3,consts:[["fileInput",""],[1,"m-5"],[1,"text-center"],["nxHeadline","subsection-medium",2,"text-align","center","font-size","18px"],["type","file","accept",".csv",2,"display","none",3,"change"],["class","tab__content mt-5","style","overflow-x: scroll",4,"ngIf"],["class","mt-2",3,"ngStyle",4,"ngIf"],[1,"tab__content","mt-5",2,"overflow-x","scroll"],["nxTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell","",4,"ngFor","ngForOf"],["nxTableRow","",4,"ngFor","ngForOf"],["nxType","advanced",3,"goPrev","goNext","goPage","count","page","perPage"],["nxHeaderCell",""],["nxTableCell","",3,"ngStyle"],[1,"mt-2",3,"ngStyle"],["nxRow",""],["type","button","nxButton","",3,"click",4,"ngIf"],["type","button","nxButton","",3,"click"],["for","file"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1)(1,"h1",2),m(2,"Carga de N\xF3mina"),d(),c(3,"p",3),m(4),d(),c(5,"input",4,0),I("change",function(a){return O(r),T(n.uploadNomina(a))}),d(),L(7,O0e,10,5,"div",5)(8,I0e,3,4,"div",6),d()}t&2&&(p(4),Pe(n.msg.text),p(3),g("ngIf",!n.isValid&&n.erroresToShow.length>0),p(),g("ngIf",n.beneficiariosList))},dependencies:[me,ut,Kn,ni,si,ii,Ut,et,fo,_t,Xt,q2],styles:[".sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}"]})};var UR=Aa(_p());var GR=Aa(tS());var k2t=Aa(mm());var k0e=Aa(_p(),1),qR=Aa(_p(),1),Ys=qR.default||k0e;function N0e(i,e){let t=Array(i);for(let n=0;n<i;n++)t[n]=e(n);return t}var A0e=(()=>{let i=class extends Or{constructor(t){super(),this.setLocale(t||Ys.locale())}setLocale(t){super.setLocale(t);let n=Ys.localeData(t);this._localeData={firstDayOfWeek:n.firstDayOfWeek(),longMonths:n.months(),shortMonths:n.monthsShort(),dates:N0e(31,r=>this.createDate(2017,0,r+1).format("D")),longDaysOfWeek:n.weekdays(),shortDaysOfWeek:n.weekdaysShort(),narrowDaysOfWeek:n.weekdaysMin()}}toIso8601(t){return this.clone(t).format()}parse(t,n,r){return t&&typeof t=="string"?Ys.utc(t,n,this.locale,r):t?Ys.utc(t).locale(this.locale):null}format(t,n){if(t=this.clone(t),!this.isValid(t))throw Error("MomentDateAdapter: Cannot format invalid date.");return t.format(n)}isValid(t){return this.clone(t).isValid()}clone(t){return t.clone().locale(this.locale)}isDateInstance(t){return Ys.isMoment(t)}getYear(t){return this.clone(t).year()}getMonth(t){return this.clone(t).month()}getDate(t){return this.clone(t).date()}deserialize(t){let n;if(t instanceof Date&&(n=Ys.utc({year:t.getFullYear(),month:t.getMonth(),date:t.getDate()})),typeof t=="string"){if(!t)return null;n=Ys.utc(t,Ys.ISO_8601).locale(this.locale)}return n&&this.isValid(n)?n:super.deserialize(t)}invalid(){return Ys.invalid()}getYearName(t){return this.clone(t).format("YYYY")}createDate(t,n,r){if(n<0||n>11)throw Error(`Invalid month index "${n}". Month index has to be between 0 and 11.`);if(r<1)throw Error(`Invalid date "${r}". Date has to be greater than 0.`);let o=Ys.utc({year:t,month:n,date:r}).locale(this.locale);if(!o.isValid())throw Error(`Invalid date "${r}" for month with index "${n}".`);return o}getNumDaysInMonth(t){return this.clone(t).daysInMonth()}getDateNames(){return this._localeData.dates}getDayOfWeek(t){return this.clone(t).day()}getFirstDayOfWeek(){return this._localeData.firstDayOfWeek}getMonthNames(t){return t==="long"?this._localeData.longMonths:this._localeData.shortMonths}today(){return Ys.utc().locale(this.locale)}addCalendarMonths(t,n){return this.clone(t).add({months:n})}addCalendarDays(t,n){return this.clone(t).add({days:n})}getDayOfWeekNames(t){return t==="long"?this._localeData.longDaysOfWeek:t==="short"?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}addCalendarYears(t,n){return this.clone(t).add({years:n})}};return i=uE([U7(0,ja()),U7(0,D3(Qo))],i),i})(),V0e={parse:{dateInput:"L"},display:{dateInput:"L",monthYearLabel:"MMM YYYY",dateA11yLabel:"LL",monthYearA11yLabel:"MMMM YYYY"}},F0e=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[W6,{provide:Or,useClass:A0e,deps:[Qo]}]});let i=e;return i})(),d1=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({providers:[{provide:E2,useValue:V0e}],imports:[F0e]});let i=e;return i})();function R0e(i,e){i&1&&S(0,"img",26)}function z0e(i,e){if(i&1){let t=Y();c(0,"div",24)(1,"span",27),I("click",function(){O(t);let r=M();return T(r.downloadList())}),d()()}}function L0e(i,e){if(i&1&&(c(0,"th",33),m(1),d()),i&2){let t=e.$implicit;p(),Pe(t)}}function H0e(i,e){if(i&1&&(c(0,"tr",30)(1,"td",34),m(2),d(),c(3,"td",34),m(4),d(),c(5,"td",34),m(6),d(),c(7,"td",34),m(8),d(),c(9,"td",34),m(10),sr(11,"date"),d(),c(12,"td",34),m(13),d(),c(14,"td",34),m(15),d(),c(16,"td",34),m(17),d(),c(18,"td",34),m(19),sr(20,"date"),d(),c(21,"td",34),m(22),d()()),i&2){let t=e.$implicit;p(2),K(" ",t!=null&&t.polPoliza?t==null?null:t.polPoliza:"-"),p(2),K(" ",t!=null&&t.cerApnom?t.cerApnom:"-"," "),p(2),K(" ",t!=null&&t.cerNdo?t.cerNdo:"-"),p(2),K(" ",t!=null&&t.cerCuil?t.cerCuil:"-"),p(2),K(" ",t!=null&&t.cerFenac?Ts(11,11,t.cerFenac,"dd/MM/yyyy"):"-"),p(3),K(" ",t!=null&&t.cerSexo?t.cerSexo==="M"?"Masculino":"Femenino":"-"," "),p(2),K(" ",t!=null&&t.cerEmail?t.cerEmail:"-"),p(2),Li(" ",t!=null&&t.modulo?t.modulo:"-"," ",t!=null&&t.modulos&&t.modulos=="1"?" 12 Sueldos":t.modulos=="2"?"24 Sueldos":"Capital Uniforme"," "),p(2),K(" ",t!=null&&t.cerFealta?Ts(20,14,t.cerFealta,"dd/MM/yyyy"):"-"),p(3),K(" ",t!=null&&t.estado?t.estado:"-")}}function B0e(i,e){if(i&1&&(c(0,"div",25)(1,"table",28)(2,"caption",29),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",30),L(6,L0e,2,1,"th",31),d()(),c(7,"tbody"),L(8,H0e,23,17,"tr",32),d()()()),i&2){let t=M();p(6),g("ngForOf",t.headers),p(2),g("ngForOf",t.beneficiariosList)}}var c_=class i{constructor(e,t){this.nxDateLocale=e;this.nxDateAdapter=t}isLoadingData=!1;beneficiariosList=[];headers=["Nro. p\xF3liza","Nombre y Apellido","DNI","Cuil","Fecha de nacimiento","G\xE9nero","Direcci\xF3n de email","M\xF3dulos","Fecha de carga","Estado"];maxDate=(0,UR.default)(new Date);polizasVida=[];fechaDesde;fechaHasta;page=1;perpage=10;fb=C(bt);_emitterService=C(Jt);_consultaBeneficiarioService=C(c1);_allianzService=C(Hl);_router=C(ot);nominaForm=this.fb.group({nroPoliza:[null],fechaDesde:[null],fechaHasta:[null],dni:[null]});ngOnInit(){this.polizasVida.length==0&&this.filtrarPolizasVida(),this.nxDateAdapter.setLocale("es")}filtrarPolizasVida(){if(this._allianzService?.polizas){let e=this._allianzService.polizas.filter(t=>t.seccion==="017"||t.seccion==="018");this.polizasVida=[...new Set(e.map(t=>t.nroPoliza))]}else this._router.navigate(["/priv"])}
803searchBeneficiarios(){this.isLoadingData=!0,this.fechaDesde=this.nominaForm.controls.fechaDesde.value&&un(this.nominaForm.controls.fechaDesde.value),this.fechaHasta=this.nominaForm.controls.fechaHasta.value&&un(this.nominaForm.controls.fechaHasta.value),this._consultaBeneficiarioService.getNominas(this.nominaForm.controls.nroPoliza.value,this.nominaForm.controls.dni.value,this.fechaDesde,this.fechaHasta,this.perpage,this.page).pipe(Zo(()=>{this.isLoadingData=!1})).subscribe(e=>{this.beneficiariosList=e.DatosBenefNominaOut[0].nomina,this.beneficiariosList.length===0&&this._emitterService.emmiterToast(0,"La p\xF3liza seleccionada no cuenta con n\xF3minas")},e=>{this._emitterService.emmiterToast(0,"Error al intentar obtener los beneficiarios"),console.log(e)})}downloadList(){this._consultaBeneficiarioService.downloadNominas(this.nominaForm.controls.nroPoliza.value,this.fechaDesde,this.fechaHasta,this.nominaForm.controls.dni.value).subscribe(e=>{let t=GR.default.unparse(e.DatosBenefNominaOut[0].nomina,{header:!0,delimiter:";"}),n=new Blob([t],{type:"text/csv;charset=utf-8;"}),r=window.URL.createObjectURL(n),o=document.createElement("a");o.href=r,o.download=`nominas-allianz-${HR(new Date)}.csv`,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(r)})}cleanForm(){this.nominaForm.reset(),this.beneficiariosList=[]}prevPage(){this.page--,this.searchBeneficiarios()}nextPage(){this.page++,this.searchBeneficiarios()}goToPage(e){this.page=e,this.searchBeneficiarios()}static \u0275fac=function(t){return new(t||i)(D(Qo),D(Or))};static \u0275cmp=z({type:i,selectors:[["app-consulta-nomina-beneficiarios"]],decls:42,vars:12,consts:[["fechaDesdePick",""],["focusThis",""],["fechaHastaPick",""],[1,"m-5"],[1,"text-center"],[1,"m-5",3,"submit","formGroup"],["nxLayout","grid"],["nxRow",""],["nxCol","4"],["label","N\xFAmero de P\xF3liza"],["nxInput","","type","number","formControlName","nroPoliza"],["label","Fecha de carga desde"],["nxDatefield","","nxInput","","formControlName","fechaDesde","format","DD/MM/YYYY",3,"datepicker","max"],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["label","Fecha de carga hasta"],["formControlName","fechaHasta","nxDatefield","","nxInput","",3,"datepicker","max"],["label","Nro. DNI"],["nxInput","","type","text","formControlName","dni"],[2,"display","flex","justify-content","end"],["nxCol","6"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","style","position: absolute; width: 70px; height: 70px","alt","",4,"ngIf"],["nxButton","secondary","type","button",3,"click","disabled"],["nxrow","",1,"mt-5",2,"display","flex","justify-content","end","width","100%","cursor","pointer"],[1,"tab__content",2,"overflow-x","scroll"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[1,"c-link__icon","c-icon","c-icon--download",3,"click"],["nxTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell","",4,"ngFor","ngForOf"],["nxTableRow","",4,"ngFor","ngForOf"],["nxHeaderCell",""],["nxTableCell",""]],template:function(t,n){if(t&1){let r=Y();c(0,"div",3)(1,"h1",4),m(2,"Consulta de N\xF3mina"),d(),c(3,"form",5),I("submit",function(){return O(r),T(n.searchBeneficiarios())}),c(4,"div",6)(5,"div",7)(6,"div",8)(7,"nx-formfield",9),S(8,"input",10),d()(),c(9,"div",8)(10,"nx-formfield",11),S(11,"input",12),c(12,"span",13),m(13,"DD/MM/AAAA"),d(),S(14,"nx-datepicker-toggle",14)(15,"nx-datepicker",null,0),d()(),c(17,"div",8)(18,"nx-formfield",15),S(19,"input",16,1),c(21,"span",13),m(22,"DD/MM/AAAA"),d(),S(23,"nx-datepicker-toggle",14)(24,"nx-datepicker",null,2),d()()(),c(26,"div",7)(27,"div",8)(28,"nx-formfield",17),S(29,"input",18),d()()()(),c(30,"div",19)(31,"div",6)(32,"div",7)(33,"div",20)(34,"button",21),m(35," Buscar "),L(36,R0e,1,0,"img",22),d()(),c(37,"div",20)(38,"button",23),I("click",function(){return O(r),T(n.cleanForm())}),m(39," Limpiar "),d()()()()()(),re(40,z0e,2,0,"div",24),re(41,B0e,9,2,"div",25),d()}if(t&2){let r=Ct(16),o=Ct(25);p(3),g("formGroup",n.nominaForm),p(8),g("datepicker",r)("max",n.maxDate),p(3),g("for",r),p(5),g("datepicker",o)("max",n.maxDate),p(4),g("for",o),p(11),g("disabled",n.isLoadingData),p(2),g("ngIf",n.isLoadingData),p(2),g("disabled",n.isLoadingData),p(2),oe(n.beneficiariosList.length>0?40:-1),p(),oe(n.beneficiariosList.length>0?41:-1)}},dependencies:[me,Et,ut,vt,Kn,ni,si,ii,St,Yr,ui,Ut,et,At,Rt,Of,wt,Pt,st,qt,_t,Nl,Io,vo,Yt,_e,qs,js,d1,Ur],styles:[".sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}"]})};var d_=class i extends Ke{getdatosPoliza(e,t){let n={doc:e,nroPoliza:t};
803return this.getRequestParams("/v1/personas/productor",n).pipe(B(this.errorHandler))}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var j0e=["template"];function q0e(i,e){if(i&1){let t=Y();Ze(0),c(1,"tr",7)(2,"td",10)(3,"button",11),I("click",function(){let r=O(t).$implicit,o=M();return T(o.openFromTemplate(r))}),S(4,"nx-icon",12),d()(),c(5,"td",13),m(6),d(),c(7,"td",13),m(8),d(),c(9,"td",13),m(10),d()(),Xe()}if(i&2){let t=e.$implicit;p(4),g("name","plus"),p(2),Pe(t.nombre),p(2),Pe(t.descProvincia),p(2),Pe(t.telefono)}}function U0e(i,e){if(i&1){let t=Y();c(0,"div",14)(1,"div",15)(2,"div")(3,"form",16)(4,"h3"),m(5,"INFORMACI\xD3N DEL PRODUCTOR"),d(),S(6,"hr"),c(7,"div",17)(8,"div",18)(9,"div",19)(10,"nx-formfield",20),S(11,"input",21,2),c(13,"nx-error",22)(14,"strong"),m(15,"Importante"),d(),m(16," este campo es requerido "),d()()(),c(17,"div",19)(18,"nx-formfield",23),S(19,"input",24),c(20,"nx-error",22),m(21," Este campo es obligatorio "),d()()()(),c(22,"div",18)(23,"div",25)(24,"nx-formfield",26),S(25,"input",27),c(26,"nx-error",22)(27,"strong"),m(28,"Importante"),d(),m(29," este campo es requerido "),d()()(),c(30,"div",25)(31,"nx-formfield",28),S(32,"input",29),c(33,"nx-error",22)(34,"strong"),m(35,"Importante"),d(),m(36," este campo es requerido "),d()()(),c(37,"div",25)(38,"nx-formfield",30),S(39,"input",31),c(40,"nx-error",22),m(41," Este campo es obligatorio "),d()()(),c(42,"div",25)(43,"nx-formfield",32),S(44,"input",33),c(45,"nx-error",22)(46,"strong"),m(47,"Importante"),d(),m(48," este campo es requerido "),d()()()(),c(49,"div",18)(50,"div",34)(51,"nx-formfield",35),S(52,"input",36),c(53,"nx-error",22),m(54," Este campo es obligatorio "),d()()(),c(55,"div",34)(56,"nx-formfield",37),S(57,"input",38),c(58,"nx-error",22)(59,"strong"),m(60,"Importante"),d(),m(61," este campo es requerido "),d()()(),c(62,"div",34)(63,"nx-formfield",39),S(64,"input",40),c(65,"nx-error",22),m(66," Este campo es obligatorio "),d()()(),c(67,"div",34)(68,"nx-formfield",41),S(69,"input",42),c(70,"nx-error",22),m(71," Este campo es obligatorio "),d()()()()()()()()(),c(72,"div",43)(73,"button",44),I("click",function(){O(t);let r=M();return T(r.closeDialog("Cancel"))}),m(74,"Cerrar"),d()()}if(i&2){let t=M();p(3),g("formGroup",t.perfilForm)}}var u_=class i{templateRef;dialogRef;perfilForm=new bt().group({nombre:[{value:"",disabled:!0}],telefono:[{value:"",disabled:!0}],calle:[{value:"",disabled:!0}],numeroCalle:[{value:"",disabled:!0}],piso:[{value:"",disabled:!0}],puerta:[{value:"",disabled:!0}],localidad:[{value:"",disabled:!0}],provincia:[{value:"",disabled:!0}],codMunicipio:[{value:"",disabled:!0}],codPostal:[{value:"",disabled:!0}],codProvincia:[{value:"",disabled:!0}]});dni="";productoresList=[];productoresService=C(d_);dialogService=C(Qn);_infoPolizaService=C(sa);ngOnInit(){this.dni=ht.active==!1?this.getDoc():ht.typeDocument+ht.dni,this.getDate()}getDate(){this.productoresService.getdatosPoliza(this.dni,this._infoPolizaService.getPolizaSeleccionada().nroPoliza).toPromise().then(e=>{this.productoresList=e.PersonaProductorOut[0].personasProductor}).catch(e=>{console.log(e)})}getDoc(){let e=Se.user?.details?.identityDocuments[0],t="",n="";return t=e.documentNumber,n=e.documentType.documentTypeCode,n+t}openFromTemplate(e){this.perfilForm=new bt().group({nombre:[{value:e.nombre,disabled:!0}],telefono:[{value:e.telefono,disabled:!0}],calle:[{value:e.calle,disabled:!0}],numeroCalle:[{value:e.numero,disabled:!0}],piso:[{value:e.piso,disabled:!0}],puerta:[{value:e.puerta,disabled:!0}],localidad:[{value:e.localidad,disabled:!0}],provincia:[{value:e.descProvincia,disabled:!0}],codMunicipio:[{value:e.codMunicipio,disabled:!0}],codPostal:[{value:e.codPostal,disabled:!0}],codProvincia:[{value:e.codProvincia,disabled:!0}]}),this.dialogRef=this.dialogService.open(this.templateRef,{ariaLabel:"A simple modal",showCloseIcon:!0})}closeDialog(e){this.dialogRef.close(e)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-productor"]],viewQuery:function(t,n){if(t&1&&pe(j0e,5),t&2){let r;te(r=ne())&&(n.templateRef=r.first)}},decls:21,vars:1,consts:[["expandableTable","nxExpandableTable"],["template",""],["focusThis",""],[1,"m-5"],[1,"text-center"],["nxTable","","nxExpandableTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],[4,"ngFor","ngForOf"],["nxTableCell","",1,"nx-table-cell--toggle"],[1,"m-0","border-0","bg-transparent",3,"click"],["size","s",1,"m-0",3,"name"],["nxTableCell",""],["nxM
803odalContent",""],[1,"d-flex","justify-content-between"],[3,"formGroup"],["nxLayout","grid"],["nxRow",""],["nxCol","12,6"],["label","Nombre"],["nxInput","","formControlName","nombre","minlength","2","maxlength","50"],["nxFormfieldError","","appearance","text"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","formControlName","telefono","type","number","minlength","10","maxlength","12"],["nxCol","3"],["label","Calle"],["nxInput","","formControlName","calle"],["label","N\xBA "],["nxInput","","formControlName","numeroCalle"],["label","Piso"],["nxInput","","formControlName","piso","type","number","maxlength","5"],["label","Puerta"],["nxInput","","formControlName","puerta"],["nxCol","12,6,3"],["label","Provincia"],["nxInput","","formControlName","provincia"],["label","Localidad"],["nxInput","","formControlName","localidad"],["label","C\xF3digo Postal"],["nxInput","","formControlName","codPostal"],["label","C\xF3digo Municipio"],["nxInput","","formControlName","codMunicipio"],["nxModalActions",""],["nxButton","small secondary","type","button",1,"nx-margin-bottom-0","nx-margin-right-xs",3,"click"]],template:function(t,n){t&1&&(c(0,"div",3)(1,"h1",4),m(2,"PRODUCTORES"),d(),S(3,"br"),c(4,"table",5,0)(6,"caption",6),m(7," Listado de productores del asegurado "),d(),c(8,"thead")(9,"tr",7),S(10,"th",8),c(11,"th",8),m(12," Nombre "),d(),c(13,"th",8),m(14," Provincia "),d(),c(15,"th",8),m(16," Tel\xE9fono"),d()()(),c(17,"tbody"),L(18,q0e,11,4,"ng-container",9),d()(),L(19,U0e,75,1,"ng-template",null,1,an),d()),t&2&&(p(18),g("ngForOf",n.productoresList))},dependencies:[me,Et,ut,vt,Kn,ni,si,ii,Gs,jt,St,sn,Ut,At,Rt,Of,wt,Pt,Dn,kn,st,qt,_t,nt,oa,ns,Yt],styles:[".tab__content[_ngcontent-%COMP%]{padding-top:16px}"]})};var p_=class i{ngOnInit(){}navigateAsistencia(){window.open("https://www.allianz.com.ar/servicios/informacion-util/telefonos-asistencia.html","_blank","noopener,noreferrer")}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-telefonos-utiles"]],decls:16,vars:0,consts:[[1,"contacto"],[1,"row","contacto"],[1,"col-sm"],[2,"font-size","1.25rem"],["href","https://www.allianz.com.ar/servicios/informacion-util/telefonos-asistencia.html","target","_blank","rel","noopener noreferrer",2,"font-weight","bold","color","blue"]],template:function(t,n){t&1&&(at(0,"div",0)(1,"h1")(2,"b"),m(3,"Tel\xE9fonos \xFAtiles Allianz "),pt()(),at(4,"div",1)(5,"div",2)(6,"p",3),m(7,"0810-222-2243 / 011-4320-3800 opci\xF3n 2 \u201CAsegurados\u201D "),pt(),wn(8,"br"),at(9,"p",3),m(10," El horario de atenci\xF3n es de lunes a jueves de 9 a 18hs y viernes de 8 a 18hs."),pt(),wn(11,"br"),at(12,"p",3),m(13,"En caso de requerir asistencia, ingres\xE1 "),at(14,"a",4),m(15," ac\xE1."),pt()()()()())},styles:[".backcolor[_ngcontent-%COMP%]{background-color:#7fffd4}.contacto[_ngcontent-%COMP%]{align-content:center;text-align:center;margin:50px}"]})};var Bl=class i{userDelegate=new mi(null);userDelegate$=this.userDelegate.asObservable();constructor(){}setUserDelegate(e){this.userDelegate.next(e)}getUserDelegate(){return this.userDelegate.getValue()}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var G0e=["templateCreatePerfil"],$0e=["teplanteResultPerfil"],W0e=["agregarDelegadoFormRef"];function Y0e(i,e){if(i&1){let t=Y();Ze(0),c(1,"nx-dropdown-item",11),I("click",function(){let r=O(t).$implicit,o=M();return T(o.selectDelegado(r))}),m(2),d(),Xe()}if(i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.grantor.userName," ")}}function Q0e(i,e){if(i&1){let t=Y();Ze(0),c(1,"tr",18)(2,"td",31),m(3),d(),c(4,"td",32)(5,"button",33),I("click",function(){let r=O(t).$implicit,o=M();return T(o.eliminarDelegado(r))}),S(6,"nx-icon",34),d()()(),Xe()}if(i&2){let t=e.$implicit;p(3),Pe(t.grantee.userName),p(3),g("name","close")}}function K0e(i,e){i&1&&(c(0,"tr",35)(1,"td",36),m(2,"No hay delegados asignados."),d()())}function X0e(i,e){i&1&&(Ze(0),c(1,"strong"),m(2,"Importante"),d(),m(3," este campo es requerido "),Xe())}function Z0e(i,e){i&1&&(Ze(0),c(1,"strong"),m(2,"Importante"),d(),m(3," ingres\xE1 un correo electr\xF3nico v\xE1lido "),Xe())}function J0e(i,e){if(i&1&&(c(0,"nx-error",13),L(1,X0e,4,0,"ng-container",37)(2,Z0e,4,0,"ng-container",37),d()),i&2){let t=M();p(),g("ngIf",t.correoElectronicoControl==null?null:t.correoElectronicoControl.hasError("required")),p(),g("ngIf",!(t.correoElectronicoControl!=null&&t.correoElectronicoControl.hasError("required"))&&(t.correoElectronicoControl==null?null:t.correoElectronicoControl.hasError("email")))}}function epe(i,e){i&1&&S(0,"img",38)}function tpe(i,e){if(i&1){let t=Y();c(0,"div",39)(1,"h3",40),m(2),d(),c(3,"p",41),m(4),d(),c(5,"div",42)(6,"button",43),I("click",function(){O(t);let r=M();return T(r.closeModalResult())}),m(7," Cerrar "),d()()()}if(i&2){let t=M();p(2),K(" ",t.titleResultProfile," "),p(2),K(" ",t.textResultProfile," ")}}function npe(i,e){i&1&&S(0,"img",38)}function ipe(i,e){if(i&1){let t=Y();c(0,"div",44)(1,"h5",45),m(2," Usuario "),c(3,"b"),m(4),d(),m(5," no existente, \xBFdeseas crearlo? "),d(),c(6,"div",46)(7,"button",43),I("click",function(){O(t);let r=M();return T(r.closeModalCreateMailToDel())}),m(8," Cerrar "),d(),c(9,"button",47),I("click",function(){O(t);let r=M();return T(r.createPerfilDelegate())}),L(10,npe,1,0,"img",30),m(11,"Crear usuario "),d()()()}if(i&2){let t=M();p(4),Pe(t.userDelegateMessage),p(5),g("disabled",t.isLoadingCreateUser),p(),g("ngIf",t.isLoadingCreateUser)}}var f_=class i{_services=C(Tn);_emitters=C(Jt);_delegadosService=C(lp);_userDelegateService=C(Bl);dialogService=C(Qn);templateCreatePerfil;teplanteResultPerfil;agregarDelegadoFormDirective;templateCreatePerfilRef;teplateRsultPerfilRef;delegate=new X;delegadoForm=new bt().group({perfiles:["",ee.required]});agregarDelegado=new bt().group({correoElectronico:["",[ee.required,ee.email,ee.minLength(5),ee.maxLength(50)]]});userDeleateList=[];userRolesList=[];delegados=[];authRole=Se.user;createPerfilDel=!1;isLoading=!1;isLoadingCreateUser=!1;agregarDelegadoSubmitted=!1;userDelegateMessage="";titleResultProfile="";textResultProfile="";get correoElectronicoControl(){return this.agregarDelegado.get("correoElectronico")}shouldShowCorreoElectronicoError(){let e=this.correoElectronicoControl;
803return!!e&&e.invalid&&(e.touched||e.dirty||this.agregarDelegadoSubmitted)}ngOnInit(){this.obtenerDelegadosTabla()}async obtenerDelegadosTabla(){this.userDeleateList=[],this.userRolesList=[];try{(await this._delegadosService.listUserGrants(Se.user.csmUserName,Se.user.csmUserType).toPromise()).result.forEach(t=>{t.grantee.userName===Se.user.csmUserName?(this.userRolesList.push(t),ht.active&&t.grantor.userName===ht.email&&this.delegadoForm.get("perfiles").setValue(t)):this.userDeleateList.push(t)}),ht.active||this.delegadoForm.get("perfiles").setValue(Se.user)}catch(e){console.error("Error cargando delegados:",e)}}selectAuthRole(e){ht.active=!1,ht.dni=null,ht.email=null,ht.userType=null,ht.userId=null,this._userDelegateService.setUserDelegate(ht),this.delegate.emit(ht)}async selectDelegado(e){try{let n=(await this._services.findUser(e.grantor.userName)).CsmUserMailOut[0];n.documentNumber&&(ht.active=!0,ht.dni=n.documentNumber,ht.typeDocument=n.documentTypeCode,ht.email=e.grantor.userName,ht.userType=e.grantor.userType,ht.userId=n.userId,ht.typeDelegate="Delegado",this._userDelegateService.setUserDelegate(ht),this.delegate.emit(ht))}catch(t){console.error("Error selectDelegado",t)}}async eliminarDelegado(e){let t=Se.user.csmUserName,n=e.grantee.userName,r="2",o=e.grantee.userType;try{(await this._delegadosService.deleteRoles(t,n,r,o).toPromise()).result?(this._emitters.emmiterToast(3,"Delegado eliminado correctamente"),this.obtenerDelegadosTabla()):this._emitters.emmiterToast(0,"Error al eliminar el delegado")}catch(a){console.error("Error deleting",a),this._emitters.emmiterToast(0,"Error al eliminar el delegado")}}async agregarDelegados(){if(this.agregarDelegadoSubmitted=!0,this.agregarDelegado.invalid){this.agregarDelegado.markAllAsTouched();return}let e=(this.agregarDelegado.value.correoElectronico??"").trim();this.correoElectronicoControl?.setValue(e,{emitEvent:!1}),this.isLoading=!0;try{let t=await this._delegadosService.grantRoles(e).toPromise();t.result==="Error"?t.error?.includes("Usuario inexistente")?(this.userDelegateMessage=e,this.openModalCreateMailToDel()):this._emitters.emmiterToast(0,"Ocurri\xF3 un error creando el usuario."):(this._emitters.emmiterToast(3,"Delegado agregado correctamente"),this.obtenerDelegadosTabla())}catch{this._emitters.emmiterToast(0,"Error en el servicio")}finally{this.resetAgregarDelegadoForm(),this.isLoading=!1}}openModalCreateMailToDel(){this.templateCreatePerfilRef=this.dialogService.open(this.templateCreatePerfil,{ariaLabel:"Crear delegado",width:"500px",maxWidth:"calc(100vw - 32px)"})}closeModalCreateMailToDel(){this.templateCreatePerfilRef?.close()}async createPerfilDelegate(){this.isLoadingCreateUser=!0;try{let e=await this._services.postSendNewDelegate(this.userDelegateMessage);e.result==="Error"?(this.titleResultProfile=e.result,this.textResultProfile=e.error):(this.titleResultProfile="\xC9xito al enviar el mail",this.textResultProfile=e.result.message),this.openModalResultNewDelegate()}catch{this._emitters.emmiterToast(0,"Error en el servicio")}finally{this.isLoadingCreateUser=!1,this.closeModalCreateMailToDel()}}openModalResultNewDelegate(){this.teplateRsultPerfilRef=this.dialogService.open(this.teplanteResultPerfil,{ariaLabel:"Resultado",width:"420px",maxWidth:"calc(100vw - 32px)"})}closeModalResult(){this.teplateRsultPerfilRef?.close()}resetAgregarDelegadoForm(){this.agregarDelegadoSubmitted=!1,this.agregarDelegadoFormDirective?.resetForm({correoElectronico:""}),this.agregarDelegado.reset({correoElectronico:""}),this.agregarDelegado.markAsPristine(),this.agregarDelegado.markAsUntouched(),this.correoElectronicoControl?.markAsPristine(),this.correoElectronicoControl?.markAsUntouched()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-perfil-delegados"]],viewQuery:function(t,n){if(t&1&&(pe(G0e,5),pe($0e,5),pe(W0e,5)),t&2){let r;te(r=ne())&&(n.templateCreatePerfil=r.first),te(r=ne())&&(n.teplanteResultPerfil=r.first),te(r=ne())&&(n.agregarDelegadoFormDirective=r.first)}},outputs:{delegate:"delegate"},decls:54,vars:10,consts:[["expandableTable","nxExpandableTable"],["agregarDelegadoFormRef","ngForm"],["teplanteResultPerfil",""],["templateCreatePerfil",""],[1,"perfil-delegados"],[1,"perfil-delegados__section","perfil-delegados__section--selector",3,"formGroup"],["nxLayout","grid",1,"p-0"],["nxRow",""],["nxCol","12",1,"perfil-delegados__field-col"],["label","Perfiles"],["formControlName","perfiles"],[3,"click","value"],[4,"ngFor","ngForOf"],["nxFormfieldError","","appearance","text"],["nxLayout","grid",1,"perfil-delegados__section","perfil-delegados__section--table","p-0"],[1,"perfil-delegados__separator"],["nxTable","","nxExpandableTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableRow","","class","perfil-delegados__empty-row",4,"ngIf"],[1,"perfil-delegados__section","perfil-delegados__section--form"],[3,"ngSubmit","formGroup"],[1,"m-0","p-0"],["label","Ingresar Correo electr\xF3nico"],["type","email","nxInput","","formControlName","correoElectronico","minlength","5","maxlength","50"],["nxFormfieldError","","appearance","text",4,"ngIf"],["nxCol","12",1,"perfil-delegados__field-col","perfil-delegados__actions"],[1,"perfil-delegados__button-wrap"],["nxButton","","type","submit",3,"disabled"],["alt","","src","../../../../../../assets/img/Spinner-2.svg","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["nxTableCell",""],["nxTableCell","",1,"nx-table-cell--toggle"],[1,"m-0","border-0","bg-transparent",3,"click"],["size","s",1,"m-0",3,"name"],["nxTableRow","",1,"perfil-delegados__empty-row"],["nxTableCell","","colspan","2"],[4,"ngIf"],["alt","","src","../../../../../../assets/img/Spinner-2.svg",2,"position","absolute","width","70px","height","70px"],[1,"perfil-delegados-modal","perfil-delegados-modal--result"],[1,"perfil-delegados-modal__title"],[1,"perfil-delegados-modal__text"],[1,"perfil-delegados-modal__actions","perfil-delegados-modal__actions--single"],["nxButton","secondary","type","button",3,"click"],[1,"perfil-delegados-modal"],[1,"perfil-delegados-modal__title","perfil-delegados-modal__title--small"],["nxM
803odalActions","",1,"perfil-delegados-modal__actions"],["nxButton","primary","type","button",3,"click","disabled"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",4)(1,"form",5)(2,"h5"),m(3,"Seleccionar perfil activo"),d(),c(4,"div",6)(5,"div",7)(6,"div",8)(7,"nx-formfield",9)(8,"nx-dropdown",10)(9,"nx-dropdown-item",11),I("click",function(){return O(r),T(n.selectAuthRole(n.authRole))}),m(10),d(),L(11,Y0e,3,2,"ng-container",12),d(),c(12,"nx-error",13)(13,"strong"),m(14,"Importante"),d(),m(15," este campo es requerido "),d()()()()()(),c(16,"div",14)(17,"div",7)(18,"div",8),S(19,"hr",15),c(20,"table",16,0)(22,"caption",17),m(23," Listado de delegados del asegurado "),d(),c(24,"thead")(25,"tr",18)(26,"th",19),m(27,"Delegados"),d(),S(28,"th",19),d()(),c(29,"tbody"),L(30,Q0e,7,2,"ng-container",12)(31,K0e,3,0,"tr",20),d()(),S(32,"hr",15),d()()(),c(33,"div",21)(34,"form",22,1),I("ngSubmit",function(){return O(r),T(n.agregarDelegados())}),c(36,"h5",23),m(37,"Agregar Delegado"),d(),c(38,"div",6)(39,"div",7)(40,"div",8)(41,"nx-formfield",24),S(42,"input",25),L(43,J0e,3,2,"nx-error",26),d()()(),c(44,"div",7)(45,"div",27)(46,"div",28)(47,"button",29),L(48,epe,1,0,"img",30),m(49,"Guardar "),d()()()()()()()(),L(50,tpe,8,2,"ng-template",null,2,an)(52,ipe,12,3,"ng-template",null,3,an)}t&2&&(p(),g("formGroup",n.delegadoForm),p(8),g("value",n.authRole),p(),K(" ",n.authRole.csmUserName," "),p(),g("ngForOf",n.userRolesList),p(19),g("ngForOf",n.userDeleateList),p(),g("ngIf",n.userDeleateList.length===0),p(3),g("formGroup",n.agregarDelegado),p(9),g("ngIf",n.shouldShowCorreoElectronicoError()),p(4),g("disabled",!n.agregarDelegado.valid||n.isLoading),p(),g("ngIf",n.isLoading))},dependencies:[_e,Ut,et,me,Et,ut,vt,Kn,ni,si,ii,Gs,jt,St,sn,At,Rt,wt,Pt,Dn,kn,st,qt,_t,ri,Yn,nt,oa,Yt],styles:[".perfil-delegados[_ngcontent-%COMP%]{max-width:920px;margin:0 auto;padding:24px 24px 8px}.perfil-delegados__section[_ngcontent-%COMP%] + .perfil-delegados__section[_ngcontent-%COMP%]{margin-top:28px}.perfil-delegados__section--selector[_ngcontent-%COMP%]{margin-bottom:8px}.perfil-delegados__section--table[_ngcontent-%COMP%]{margin-bottom:10px}.perfil-delegados__section--form[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin-bottom:18px!important}.perfil-delegados__field-col[_ngcontent-%COMP%]{padding-right:0}
803.perfil-delegados__separator[_ngcontent-%COMP%]{margin:0 0 14px}.perfil-delegados__empty-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{color:#6b7280;font-style:italic;padding-top:14px;padding-bottom:14px;border-bottom:0}.perfil-delegados__actions[_ngcontent-%COMP%]{margin-top:10px;justify-content:flex-start}.perfil-delegados__button-wrap[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;width:100%}.perfil-delegados-modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px;padding:12px 8px 4px;text-align:center;align-items:center}.perfil-delegados-modal__title[_ngcontent-%COMP%]{margin:0;color:#414141;font-size:20px;font-weight:400;line-height:1.35}.perfil-delegados-modal__title--small[_ngcontent-%COMP%]{font-size:18px}.perfil-delegados-modal__text[_ngcontent-%COMP%]{margin:0;color:#414141;font-size:16px;line-height:1.5}.perfil-delegados-modal__actions[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:12px;padding-top:8px;border-top:1px solid #d9d9d9;width:100%}.perfil-delegados-modal__actions--single[_ngcontent-%COMP%]{justify-content:center;border-top:0;padding-top:0}.centered-button[_ngcontent-%COMP%]{display:flex;justify-content:center}@media (max-width: 767px){.perfil-delegados[_ngcontent-%COMP%]{padding:16px 0 8px}.perfil-delegados__section[_ngcontent-%COMP%] + .perfil-delegados__section[_ngcontent-%COMP%]{margin-top:20px}.perfil-delegados__actions[_ngcontent-%COMP%], .perfil-delegados__button-wrap[_ngcontent-%COMP%]{justify-content:center}.perfil-delegados-modal[_ngcontent-%COMP%]{gap:20px;padding:8px 0 0}.perfil-delegados-modal__actions[_ngcontent-%COMP%]{flex-direction:column-reverse;align-items:center}.perfil-delegados-modal__actions--single[_ngcontent-%COMP%]{align-items:center}}"]})};var rpe=["template2"];function ope(i,e){if(i&1){let t=Y();c(0,"div",10)(1,"div",11),S(2,"img",12),d(),c(3,"div",13)(4,"button",14),I("click",function(){O(t);let r=M();return T(r.closeDialog("cancelarmkt"))}),m(5," Seguir con el programa "),d(),c(6,"button",14),I("click",function(){O(t);let r=M();return T(r.closeDialog("aceptarmkt"))}),m(7," Abandonar el programa "),d()()()}}var m_=class i{_emittersService=C(Jt);dialogService=C(Qn);_service=C(Tn);templateRef2;templateDialogRef;dialogRef;checkedRaw=!1;checkForm=new bt().group({checkbox:[!1]});ngOnInit(){this.getAdherencia()}getAdherencia(){let e=ht.active?ht.typeDocument+ht.dni:Se.user.details.identityDocuments[0].documentType.documentTypeCode+Se.user.details.identityDocuments[0].documentNumber;this._service.checkAdherido(e).then(t=>{this.checkForm.get("checkbox").setValue(t.MarketAdhOut[0].estado==1)}).catch(t=>{})}saveMkt(){this.checkForm.value.checkbox===!1?this.getBajaFunction():this.getAltaFunction()}check_mkt(){this.checkForm.get("checkbox").value==!0&&(this.templateDialogRef=this.dialogService.open(this.templateRef2,{ariaLabel:"A simple dialog",width:"760px",maxWidth:"calc(100vw - 32px)"}))}closeDialog(e){e=="aceptarmkt"?(this.getBajaFunction(),this.templateDialogRef?.close()):(this.checkForm.get("checkbox").setValue(!0),this.templateDialogRef?.close())}getBajaFunction(){let e={MarketBajaIn:{suscripcionPromo:{dni:ht.active?ht.typeDocument+ht.dni:Se.user.details.identityDocuments[0].documentType.documentTypeCode+Se.user.details.identityDocuments[0].documentNumber,email:Se.user.details.email,proveedor:1},accion:"P"}};this._service.getBajaMarketing(e).then(t=>{this._emittersService.emmiterToast(3,"Adhesion cancelada correctamente")}).catch(t=>{this._emittersService.emmiterToast(0,"Error al cancelar la adhesion")})}getAltaFunction(){let e={MarketAltaIn:{suscripcionPromo:{dni:ht.active?ht.typeDocument+ht.dni:Se.user.details.identityDocuments[0].documentType.documentTypeCode+Se.user.details.identityDocuments[0].documentNumber,email:Se.user.details.email,proveedor:1},accion:"P"}};this._service.postAltaMarketing(e).then(t=>{this._emittersService.emmiterToast(3,"Adhesion actualizada correctamente")}).catch(t=>{this._emittersService.emmiterToast(0,"Error al actualizar la adhesion")})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-perfil-adhesion"]],viewQuery:function(t,n){if(t&1&&pe(rpe,5),t&2){let r;te(r=ne())&&(n.templateRef2=r.first)}},decls:14,vars:2,consts:[["template2",""],[1,"perfil-adhesion"],[3,"submit","formGroup"],["nxLayout","grid",1,"p-0"],["nxRow",""],["nxCol","12",1,"perfil-adhesion__field-col"],["formControlName","checkbox",1,"nx-margin-bottom-s",3,"checkedChange","click","checked"],["nxCol","12",1,"perfil-adhesion__actions"],[1,"perfil-adhesion__button-wrap"],["nxButton","","type","submit"],[1,"perfil-adhesion-modal"],["nxM
803odalContent","",1,"perfil-adhesion-modal__image-wrap"],["src","../../../../../../assets/img/Alerta destilde.png","alt","","width","700px"],["nxModalActions","",1,"perfil-adhesion-modal__actions"],["nxButton","small secondary","type","button",3,"click"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1)(1,"form",2),I("submit",function(){return O(r),T(n.saveMkt())}),c(2,"div",3)(3,"div",4)(4,"div",5)(5,"nx-checkbox",6),jr("checkedChange",function(a){return O(r),ro(n.checkedRaw,a)||(n.checkedRaw=a),T(a)}),I("click",function(){return O(r),T(n.check_mkt())}),m(6," Quiero recibir de ALLIANZ campa\xF1as publicitarias, de marketing, encuestas y/o comunicados publicitarios sobre productos y servicios de la marca ALLIANZ. Para ello, presto mi consentimiento para ser contactado por ALLIANZ por los canales utilizados por la Compa\xF1\xEDa. "),d()()(),c(7,"div",4)(8,"div",7)(9,"div",8)(10,"button",9),m(11,"Actualizar"),d()()()()()()(),L(12,ope,8,0,"ng-template",null,0,an)}t&2&&(p(),g("formGroup",n.checkForm),p(4),Br("checked",n.checkedRaw))},dependencies:[me,Et,ut,vt,At,wt,Pt,st,qt,_t,Yo,oa,ns,_e],styles:[".perfil-adhesion[_ngcontent-%COMP%]{max-width:920px;margin:0 auto;padding:24px 24px 8px}.perfil-adhesion__field-col[_ngcontent-%COMP%]{padding-right:0}.perfil-adhesion__actions[_ngcontent-%COMP%]{margin-top:24px}.perfil-adhesion__button-wrap[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.perfil-adhesion-modal[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:20px;padding:8px 8px 4px;text-align:center}.perfil-adhesion-modal__image-wrap[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.perfil-adhesion-modal__image-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;height:auto}.perfil-adhesion-modal__actions[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:12px;width:100%}@media (max-width: 767px){.perfil-adhesion[_ngcontent-%COMP%]{padding:16px 0 8px}.perfil-adhesion-modal__actions[_ngcontent-%COMP%]{flex-direction:column-reverse;align-items:center}}"]})};var vp=class i extends Ke{postActualizarPersona(e){return this.postRequest("/v1/personas/asegurados/editar-perfil-datos",e)}getCsmPersonas(e){let t={userId:e};
803return this.getRequestParams("/v1/siniestros-documentos/csm-personas",t)}postCsmPersonas(e){let t=ae({},e);return this.postRequest("/v1/siniestros-documentos/csm-personas-set",t)}deleteCsmPersonas(e){let t=ae({},e);return this.postRequest("/v1/siniestros-documentos/csm-personas-delete",t)}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};function ape(i,e){if(i&1&&(c(0,"h5",18),m(1),S(2,"br"),m(3),d()),i&2){let t=M();p(),K(" ",t.userDelegateType,":"),p(2),K(" ",t.userDelegateMail," ")}}function spe(i,e){if(i&1){let t=Y();c(0,"td",21)(1,"button",22),I("click",function(){O(t);let r=M().$implicit,o=M();return T(o.eliminarComponente(r))}),S(2,"nx-icon",23),d()()}i&2&&(p(2),g("name","close"))}function lpe(i,e){if(i&1&&(Ze(0),c(1,"tr",6)(2,"td",19),m(3),d(),L(4,spe,3,1,"td",20),d(),Xe()),i&2){let t=e.$implicit;p(3),Li(" ",t.documentTypeDes," ",t.documentNumber," "),p(),g("ngIf",t.principal!=1)}}function cpe(i,e){i&1&&(c(0,"tr",24)(1,"td",25),m(2,"No hay documentos adicionales cargados."),d()())}var h_=class i{documentosService=C(vp);_emittersService=C(Jt);_userDelegateService=C(Bl);subscription;documentoForm=new bt().group({documento:["",ee.required]});documentos=[];isUserDelegate=!1;userDelegateMail="";userDelegateType="";userId=null;ngOnInit(){this.subscription=this._userDelegateService.userDelegate$.subscribe(e=>{this.setDelegate(),this.obtenerCsmDocumentos()})}setDelegate(){this.isUserDelegate=this._userDelegateService.getUserDelegate()?.active,this.userDelegateMail=this.isUserDelegate?this._userDelegateService.getUserDelegate()?.email:Se.user.details.email,this.userDelegateType=this._userDelegateService.getUserDelegate()?.typeDelegate,this.userId=this.isUserDelegate?this._userDelegateService.getUserDelegate()?.userId:Se.user.details.userId}obtenerCsmDocumentos(){this.documentosService.getCsmPersonas(this.userId).toPromise().then(e=>{this.documentos=e.CsmPersDocOut[0].registros}).catch(e=>{console.log(e)})}agregarDocumentos(){let e={CsmPersDocAddIn:{userId:this.userId,documentNumber:this.isUserDelegate?this._userDelegateService.getUserDelegate()?.documentNumber:this.documentoForm.value.documento.numeroDocumento,documentType:this.isUserDelegate?this._userDelegateService.getUserDelegate()?.typeDocument:this.documentoForm.value.documento.tipoDocumento.id}};this.documentosService.postCsmPersonas(e).toPromise().then(t=>{t.CsmPersDocAddOut[0].agrego=="SI"?this._emittersService.emmiterToast(3,"Documento actualizado correctamente"):this._emittersService.emmiterToast(0,t.CsmPersDocAddOut[0].mensaje),this.obtenerCsmDocumentos()}).catch(t=>{console.log(t)}).finally(()=>{this.documentoForm.reset()})}eliminarComponente(e){let t={CsmPersDocAddIn:{userId:e.userId,documentNumber:e.documentNumber,documentType:e.documentType}};this.documentosService.deleteCsmPersonas(t).toPromise().then(n=>{n.CsmPersDocAddOut[0].agrego=="SI"?(this._emittersService.emmiterToast(3,"Documento eliminado correctamente"),this.obtenerCsmDocumentos()):this._emittersService.emmiterToast(0,"Error al eliminar el documento"),this.obtenerCsmDocumentos()}).catch(n=>{})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-perfil-documentos"]],decls:28,vars:6,consts:[["expandableTable","nxExpandableTable"],[1,"perfil-documentos"],["class","titulo text-align-center",4,"ngIf"],[1,"perfil-documentos__section"],["nxTable","","nxExpandableTable","",1,"perfil-documentos__table"],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],[4,"ngFor","ngForOf"],["nxTableRow","","class","perfil-documentos__empty-row",4,"ngIf"],[3,"ngSubmit","formGroup"],["nxLayout","grid",1,"p-0"],["nxRow",""],["nxCol","12",1,"perfil-documentos__field-col"],["formControlName","documento","columnType","2","columnNum","6",3,"centerContent"],["nxCol","12",1,"perfil-documentos__actions"],[1,"perfil-documentos__button-wrap"],["nxButton","","type","submit",3,"disabled"],[1,"titulo","text-align-center"],["nxTableCell",""],["nxTableCell","","class","nx-table-cell--toggle",4,"ngIf"],["nxTableCell","",1,"nx-table-cell--toggle"],[1,"m-0","border-0","bg-transparent",3,"click"],["size","s",1,"m-0",3,"name"],["nxTableRow","",1,"perfil-documentos__empty-row"],["nxTableCell","","colspan","2"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1),L(1,ape,4,2,"h5",2),c(2,"div",3)(3,"table",4,0)(5,"caption",5),m(6," Listado de docs del asegurado "),d(),c(7,"thead")(8,"tr",6)(9,"th",7),m(10,"Tipo y n\xFAmero de documento"),d(),S(11,"th",7),d()(),c(12,"tbody"),L(13,lpe,5,3,"ng-container",8)(14,cpe,3,0,"tr",9),d()()(),c(15,"div",3)(16,"form",10),I("ngSubmit",function(){return O(r),T(n.agregarDocumentos())}),c(17,"h5"),m(18,"Agregar Documento"),d(),c(19,"div",11)(20,"div",12)(21,"div",13),S(22,"app-document-form",14),d()(),c(23,"div",12)(24,"div",15)(25,"div",16)(26,"button",17),m(27," Guardar "),d()()()()()()()()}t&2&&(p(),g("ngIf",n.isUserDelegate),p(12),g("ngForOf",n.documentos),p(),g("ngIf",n.documentos.length===0),p(2),g("formGroup",n.documentoForm),p(6),g("centerContent",!1),p(4),g("disabled",!n.documentoForm.valid))},dependencies:[me,Et,ut,vt,Kn,ni,si,ii,Gs,Ut,et,At,wt,Pt,st,qt,_t,nt,_e,l1],styles:[".perfil-documentos[_ngcontent-%COMP%]{max-width:920px;margin:0 auto;padding:24px 24px 8px}.perfil-documentos__section[_ngcontent-%COMP%] + .perfil-documentos__section[_ngcontent-%COMP%]{margin-top:28px}.perfil-documentos__table[_ngcontent-%COMP%]{width:100%}.perfil-documentos__field-col[_ngcontent-%COMP%]{padding-right:0}.perfil-documentos__actions[_ngcontent-%COMP%]{margin-top:18px}.perfil-documentos__button-wrap[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}.perfil-documentos__empty-row[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{color:#6b7280;font-style:italic;padding-top:14px;padding-bottom:14px;border-bottom:0}@media (max-width: 767px){.perfil-documentos[_ngcontent-%COMP%]{padding:16px 0 8px}.perfil-documentos__section[_ngcontent-%COMP%] + .perfil-documentos__section[_ngcontent-%COMP%]{margin-top:20px}}"]})};function dpe(i,e){if(i&1&&(c(0,"h5",2),m(1),S(2,"br"),m(3),d()),i&2){let t=M();p(),K(" ",t.userDelegateType,":"),p(2),K(" ",t.userDelegateMail,`
804`)}}function upe(i,e){i&1&&S(0,"img",32)}var g_=class i{documentosService=C(vp);_services=C(Tn);_emittersService=C(Jt);router=C(ot);_userDelegateService=C(Bl);dialogService=C(Qn);subscription;dni_perfil="";isUserDelegate=ht.active;userDelegateMail=ht.email;userDelegateType=ht.typeDelegate;isLoading=!1;perfilForm=new bt().group({documento:[{value:"",disabled:!0},ee.required],nickname:[""],nombre:["",ee.required],telefono:["",ee.required],email:[{value:"",disabled:!0},ee.required],calle:["",ee.required],nmcasa:[""],nmpiso:[""],nmpuerta:[""],nmescalera:[""],localidad:["",ee.required],provincia:["",ee.required],celular:[""],laboral:[""]});ngOnInit(){this.subscription=this._userDelegateService.userDelegate$.subscribe(()=>{this.getData()})}getData(){let e=this._userDelegateService.getUserDelegate()==null&&!this._userDelegateService.getUserDelegate()?.active?Se.user.details.identityDocuments[0].documentType.documentTypeCode:this._userDelegateService.getUserDelegate().typeDocument,t=this._userDelegateService.getUserDelegate()==null&&!this._userDelegateService.getUserDelegate()?.active?Se.user.details.identityDocuments[0].documentNumber:this._userDelegateService.getUserDelegate().dni;return this.isUserDelegate=this._userDelegateService.getUserDelegate()?.active,this.userDelegateMail=this._userDelegateService.getUserDelegate()?.email,this.userDelegateType=this._userDelegateService.getUserDelegate()?.typeDelegate,new Promise((n,r)=>{this._services.getProfileData(`${e}${t}`).then(o=>{this.dni_perfil=o.dni,this.perfilForm.get("documento").setValue(o.dni),this.perfilForm.get("nickname").setValue(o.nickname||""),this.perfilForm.get("nombre").setValue(o.nombre||""),this.perfilForm.get("email").setValue(o.emailMiaz||""),this.perfilForm.get("telefono").setValue(o.telefonopart||""),this.perfilForm.get("celular").setValue(o.telefonoCelMiaz||""),this.perfilForm.get("laboral").setValue(o.telefonotrab||""),this.perfilForm.get("calle").setValue(o.domicilio||""),this.perfilForm.get("nmcasa").setValue(o.nmcasa||""),this.perfilForm.get("nmpiso").setValue(o.nmpiso||""),this.perfilForm.get("nmpuerta").setValue(o.nmpuerta||""),this.perfilForm.get("nmescalera").setValue(o.nmescalera||""),this.perfilForm.get("localidad").setValue(o.localidad||"-"),this.perfilForm.get("provincia").setValue(o.provincia||"-"),this.verifyAllNull(o),n(o)}).catch(o=>{console.error(o),r(o)})})}verifyAllNull(e){e.dni==null&&e.nickname==null&&e.nombre==null&&e.emailMiaz==null&&e.telefonopart==null&&e.telefonoCelMiaz==null&&e.telefonotrab==null&&e.domicilio==null&&e.nmcasa==null&&e.nmpiso==null&&e.nmpuerta==null&&e.nmescalera==null&&e.localidad==null&&e.provincia==null&&(this.perfilForm.controls.documento.disable(),this.perfilForm.controls.nickname.disable(),this.perfilForm.controls.nombre.disable(),this.perfilForm.controls.email.disable(),this.perfilForm.controls.telefono.disable(),this.perfilForm.controls.celular.disable(),this.perfilForm.controls.laboral.disable(),this.perfilForm.controls.calle.disable(),this.perfilForm.controls.nmcasa.disable(),this.perfilForm.controls.nmpiso.disable(),this.perfilForm.controls.nmpuerta.disable(),this.perfilForm.controls.nmescalera.disable(),this.perfilForm.controls.localidad.disable(),this.perfilForm.controls.provincia.disable())}saveProfile(){this.isLoading=!0;let e={PersonaPerfilIn:{personaPerfil:{dni:this._userDelegateService.getUserDelegate()?.active?this._userDelegateService.getUserDelegate().dni:this.dni_perfil,nombre:this.perfilForm.value.nombre,emailMiaz:this.perfilForm.value.email,telefonopart:this.perfilForm.value.telefono,telefonoCelMiaz:this.perfilForm.value.celular,telefonotrab:this.perfilForm.value.laboral,domicilio:this.perfilForm.value.calle,nmcasa:this.perfilForm.value.nmcasa,nmpiso:this.perfilForm.value.nmpiso,nmpuerta:this.perfilForm.value.nmpuerta,nmescalera:this.perfilForm.value.nmescalera,localidad:this.perfilForm.value.localidad,provincia:this.perfilForm.value.provincia}}};this.perfilForm.valid&&this.documentosService.postActualizarPersona(e).toProm
804ise().then(()=>{this._emittersService.emmiterToast(3,"Los cambios se actualizaron correctamente"),this.router.navigate(["/priv/perfil"])}).catch(()=>{this._emittersService.emmiterToast(0,"Error al actualizar los cambios")}).finally(()=>{this.isLoading=!1})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-perfil-mis-datos"]],decls:80,vars:5,consts:[["focusPerfilDatos",""],["popoverEmail",""],[1,"titulo","text-align-center"],[3,"submit","formGroup"],["nxLayout","grid"],["nxRow",""],["nxCol","12"],["label","Apellido y Nombre"],["nxInput","","formControlName","nombre","onlyLetters","","minlength","2","maxlength","100"],["nxFormfieldError","","appearance","text"],["nxCol","12 6"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","formControlName","telefono","type","text","numbersOnly","","minlength","10","maxlength","13"],["label","E-Mail"],["nxInput","","formControlName","email","minlength","5","maxlength","50"],["nxFormfieldAppendix","","name","info-circle-o","nxPopoverTrigger","hover",3,"nxPopoverTriggerFor"],["nxInput","","formControlName","celular","type","text","numbersOnly","","minlength","10","maxlength","13"],["label","Documento"],["nxInput","","formControlName","documento","noEspecialCharacters","","minlength","7","maxlength","12"],["label","Calle"],["nxInput","","formControlName","calle","noEspecialCharacters","","minlength","1","maxlength","50"],["nxCol","3"],["label","N\xBA"],["nxInput","","formControlName","nmcasa","noEspecialCharacters","","maxlength","5"],["label","Piso"],["nxInput","","numbersOnly","","formControlName","nmpiso","noEspecialCharacters","","maxlength","2"],["label","Puerta"],["nxInput","","formControlName","nmpuerta","noEspecialCharacters","","maxlength","10"],["label","Escalera"],["nxInput","","formControlName","nmescalera","noEspecialCharacters","","maxlength","10"],["nxRow","",1,"d-flex","justify-content-center"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[2,"max-width","200px"]],template:function(t,n){if(t&1){let r=Y();re(0,dpe,4,2,"h5",2),c(1,"form",3),I("submit",function(){return O(r),T(n.saveProfile())}),c(2,"div",4)(3,"div",5)(4,"div",6)(5,"nx-formfield",7),S(6,"input",8,0),c(8,"nx-error",9)(9,"strong"),m(10,"Importante"),d(),m(11," este campo es requerido "),d()()()(),c(12,"div",5)(13,"div",10)(14,"nx-formfield",11),S(15,"input",12),c(16,"nx-error",9),m(17," Este campo es obligatorio "),d()()(),c(18,"div",10)(19,"nx-formfield",13),S(20,"input",14)(21,"nx-icon",15),c(22,"nx-error",9),m(23," Este campo es obligatorio "),d()()()(),c(24,"div",5)(25,"div",10)(26,"nx-formfield",11),S(27,"input",16),c(28,"nx-error",9),m(29," Este campo es obligatorio "),d()()(),c(30,"div",10)(31,"nx-formfield",17),S(32,"input",18),c(33,"nx-error",9)(34,"strong"),m(35,"Importante"),d(),m(36," este campo es requerido "),d()()()(),c(37,"div",5)(38,"div",6)(39,"nx-formfield",19),S(40,"input",20),c(41,"nx-error",9)(42,"strong"),m(43,"Importante"),d(),m(44," este campo es requerido "),d()()()(),c(45,"div",5)(46,"div",21)(47,"nx-formfield",22),S(48,"input",23),c(49,"nx-error",9)(50,"strong"),m(51,"Importante"),d(),m(52," este campo es requerido "),d()()(),c(53,"div",21)(54,"nx-formfield",24),S(55,"input",25),c(56,"nx-error",9),m(57," Este campo es obligatorio "),d()()(),c(58,"div",21)(59,"nx-formfield",26),S(60,"input",27),c(61,"nx-error",9)(62,"strong"),m(63,"Importante"),d(),m(64," este campo es requerido "),d()()(),c(65,"div",21)(66,"nx-formfield",28),S(67,"input",29),c(68,"nx-error",9),m(69," Este campo es obligatorio "),d()()()(),S(70,"br"),c(71,"div",30)(72,"div")(73,"button",31),m(74," Actualizar "),re(75,upe,1,0,"img",32),d()()()()(),c(76,"nx-popover",null,1)(78,"div",33),m(79," El mail debe tener el siguiente formato [email protected] "),d()()}if(t&2){let r=Ct(77);oe(n.isUserDelegate?0:-1),p(),g("formGroup",n.perfilForm),p(20),g("nxPopoverTriggerFor",r),p(52),g("disabled",!n.perfilForm.valid||n.isLoading),p(2),oe(n.isLoading?75:-1)}},dependencies:[_e,me,Et,ut,vt,jt,St,sn,vM,At,Rt,wt,Pt,Dn,kn,st,qt,_t,nt,nF,Qf,Yt],encapsulation:2})};function ppe(i,e){if(i&1&&(c(0,"h5",22),m(1),S(2,"br"),m(3),d()),i&2){let t=M();p(),K(" ",t.userDelegateType,":"),p(2),K(" ",t.userDelegateMail," ")}}function fpe(i,e){i&1&&S(0,"img",23)}var __=class i{_service=C(Tn);_emittersService=C(Jt);_userDelegateService=C(Bl);passwordForm=new bt().group({passwordActual:new it("",[ee.required]),passwordNueva1:new it("",[ee.required,ee.minLength(8)]),passwordNueva2:new it("",[ee.required])},{validator:[this.checkIfMatchingEmail("passwordNueva1","passwordNueva2"),this.checkisNotSamePass("passwordActual","passwordNueva1")]});IsLoading=!1;passLeng=!1;isUserDelegate=!1;userDelegateMail="";userDelegateType="";subscription;ngOnInit(){this.subscription=this._userDelegateService.userDelegate$.subscribe(e=>{this.setDelegate()})}checkisNotSamePass(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return e.length<8?n.controls[e].setErrors({notEquivalent:!0}):r.value!==o.value?o.setErrors(null):o.setErrors({notEquivalent:!0})}}checkIfMatchingEmail(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return r.value!==o.value?o.setErrors({notEquivalent:!0}):o.setErrors(null)}}setDelegate(){this.isUserDelegate=this._userDelegateService.getUserDelegate()?.active,this.userDelegateMail=this.isUserDelegate?this._userDelegateService.getUserDelegate()?.email:Se.user.details.email,this.userDelegateType=this._userDelegateService.getUserDelegate()?.typeDelegate}saveSecurity(){this.IsLoading=!0,this._service.postchangepassword(this.userDelegateMail,this.passwordForm.value.passwordActual,this.passwordForm.value.passwordNueva1).then(e=>{this._emittersService.emmiterToast(3,"Contrase\xF1a guardada conrrectamente")}).catch(e=>{this._emittersService.emmiterToast(0,e)}).finally(()=>{this.IsLoading=!1})}formCheckSecurity(){return this.passwordForm.controls.passwordNueva1.value.length<8?this.passLeng=!0:this.passLeng=!1,this.passwordForm.status=="INVALID"||this.passwordForm.controls.passwordNueva1.value==""||this.passwordForm.controls.passwordNueva1.value.length<8}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-perfil-seguridad"]],decls:38,vars:7,consts:[["passwordActual",""],["passwordNueva1",""],["passwordNueva2",""],[1,"perfil-seguridad"],["class","titulo text-align-center",4,"ngIf"],[3,"submit","formGroup"],["nxLayout","grid",1,"p-0"],["nxRow",""],["nxCol","12",1,"perfil-seguridad__field-col"],["label","Contrase\xF1a Actual"],["required","","nxInput","","type","password","formControlName","passwordActual","maxlength","50"],["ariaLabel","password","nxFormfieldSuffix","",3,"control"],["nxFormfieldError","","appearance","text"],["nxCol","12",1,"perfil-seguridad__field-col","perfil-seguridad__field-col--spaced"],["label","Contrase\xF1a Nueva"],["required","","nxInput","","type","password","formControlName","passwordNueva1","minlength","8","maxlength","50"],["label","Repite la Contrase\xF1a Nueva"],["required","","nxInput","","type","password","formControlName","passwordNueva2","minlength","8","maxlength","50"],["nxCol","12",1,"perfil-seguridad__actions"],[1,"perfil-seguridad__button-wrap"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],[1,"titulo","text-align-center"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",3),L(1,ppe,4,2,"h5",4),c(2,"form",5),I("submit",function(){return O(r),T(n.saveSecurity())}),c(3,"div",6)(4,"div",7)(5,"div",8)(6,"nx-formfield",9),S(7,"input",10,0)(9,"nx-password-toggle",11),c(10,"nx-error",12)(11,"strong"),m(12,"Importante"),d(),m(13," este campo es requerido "),d()()()(),c(14,"div",7)(1
8045,"div",13)(16,"nx-formfield",14),S(17,"input",15,1)(19,"nx-password-toggle",11),c(20,"nx-error",12)(21,"strong"),m(22,"Importante"),d(),m(23," La contrase\xF1a nueva no puede ser igual que la contrase\xF1a actual "),d()()()(),c(24,"div",7)(25,"div",8)(26,"nx-formfield",16),S(27,"input",17,2)(29,"nx-password-toggle",11),c(30,"nx-error",12),m(31," Las contrase\xF1as deben coincidir "),d()()()(),c(32,"div",7)(33,"div",18)(34,"div",19)(35,"button",20),L(36,fpe,1,0,"img",21),m(37,"Cambiar contrase\xF1a "),d()()()()()()()}if(t&2){let r=Ct(8),o=Ct(18),a=Ct(28);p(),g("ngIf",n.isUserDelegate),p(),g("formGroup",n.passwordForm),p(7),g("control",r),p(10),g("control",o),p(10),g("control",a),p(6),g("disabled",n.formCheckSecurity()||n.IsLoading),p(),g("ngIf",n.IsLoading)}},dependencies:[_e,et,me,Et,ut,vt,jt,St,sn,ui,At,Rt,wt,Pt,Er,Dn,kn,st,qt,_t,Yt,Bs],styles:[".perfil-seguridad[_ngcontent-%COMP%]{max-width:920px;margin:0 auto;padding:24px 24px 8px}.perfil-seguridad__field-col[_ngcontent-%COMP%]{padding-right:0}.perfil-seguridad__field-col--spaced[_ngcontent-%COMP%]{margin:14px 0}.perfil-seguridad__actions[_ngcontent-%COMP%]{margin-top:18px}.perfil-seguridad__button-wrap[_ngcontent-%COMP%]{display:flex;justify-content:center;width:100%}@media (max-width: 767px){.perfil-seguridad[_ngcontent-%COMP%]{padding:16px 0 8px}}"]})};var v_=class i{currentIndex=0;delegado=null;ngOnInit(){}pruebaDelegado(e){this.delegado=e}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-perfil"]],decls:28,vars:1,consts:[[1,"m-2","m-sm-5"],[1,"text-center"],["appearance","expert",3,"selectedIndexChange","selectedIndex"],["label","Mis Datos"],["label","Seguridad"],["label","Adhesi\xF3n"],["label","Documentos"],["label","Delegados"],[3,"delegate"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"h1",1),m(2,"Mi Perfil"),d(),c(3,"nx-tab-group",2),jr("selectedIndexChange",function(o){return ro(n.currentIndex,o)||(n.currentIndex=o),o}),c(4,"nx-tab",3),S(5,"br")(6,"app-perfil-mis-datos"),d(),c(7,"nx-tab",4),S(8,"br")(9,"app-perfil-seguridad"),d(),c(10,"nx-tab",5),S(11,"br")(12,"app-perfil-adhesion"),d(),c(13,"nx-tab",6),S(14,"br")(15,"app-perfil-documentos"),d(),c(16,"nx-tab",7),S(17,"br"),c(18,"app-perfil-delegados",8),I("delegate",function(o){return n.pruebaDelegado(o)}),d()()(),c(19,"div",0),S(20,"br")(21,"hr"),c(22,"span"),m(23," La actualizaci\xF3n de los datos no implica el cambio de la informaci\xF3n dentro de la p\xF3liza de seguro contratada. En caso que necesites modificar la p\xF3liza, contactate con tu Productor de Seguros o con nuestro Centro de Atenci\xF3n al Cliente. "),d(),S(24,"br")(25,"hr"),c(26,"span"),m(27," El titular de los datos personales tiene la facultad de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no inferiores a seis meses, salvo que se acredite un inter\xE9s leg\xEDtimo al efecto conforme lo establecido en el art\xEDculo 13, inciso 3 de la Ley N\xB0 25.326. La Direcci\xF3n Nacional de Protecci\xF3n de Datos Personales, \xD3rgano de Control de la Ley N\xB0 25.326, tiene la atribuci\xF3n de atender las denuncias y reclamos que se interpongan con relaci\xF3n al incumplimiento de las normas sobre protecci\xF3n de datos personales. "),d()()()),t&2&&(p(3),Br("selectedIndex",n.currentIndex))},dependencies:[_e,me,um,pm,f_,m_,h_,g_,__],styles:[".tab__content[_ngcontent-%COMP%]{padding-top:16px}"]})};function mpe(i,e){if(i&1&&(c(0,"nx-dropdown-item",50),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.descDocumento," ")}}function hpe(i,e){if(i&1&&(c(0,"nx-dropdown-item",50),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.descMotivo," ")}}function gpe(i,e){if(i&1){let t=Y();c(0,"tr")(1,"td")(2,"strong"),m(3),d()(),c(4,"td")(5,"button",51),I("click",function(){let r=O(t),o=r.$implicit,a=r.index,s=M();return T(s.removeFile(a,o==null?null:o.name))}),S(6,"span",52),m(7," Remover "),d()()()}if(i&2){let t=e.$implicit;p(3),Pe(t==null?null:t.name)}}function _pe(i,e){i&1&&S(0,"img",53)}var x_=class i{motivos=[{descMotivo:"Solicitud de Baja"},{descMotivo:"Sobre siniestros"},{descMotivo:"Sobre cobranzas"},{descMotivo:"Sobre productos"},{descMotivo:"Sobre asistencia"},{descMotivo:"Otros"}];mensajeForm=new bt().group({documento:[{value:"",disabled:!0}],fcDocType:[{value:"",disabled:!0}],fcMotivo:["",[ee.required]],nombre:[{value:"",disabled:!0}],telefono:["",ee.required],email:[{value:"",disabled:!0}],docsSeleccionados:[""],comentario:[""],marketing:[!1],consentimiento:[!1]});passwordForm=new bt().group({passwordActual:["",ee.required],passwordNueva1:["",ee.required],passwordNueva2:["",ee.required]});checkForm=new bt().group({checkbox:[!1]});checkedRaw=!1;formSubmited=!1;currentIndex=0;listPoliza=null;_documentos=[];_motivos=[];_data=[];documentoSiniestros=[];fileList=[];AuxAttachments=[];attachments=[];isLoading=!1;_services=C(Tn);_emittersService=C(Jt);router=C(ot);mkservice=C(dp);allianzServices=C(Hl);_appService=C(Oi);async ngOnInit(){await Fa(this._appService.user()),await this.getTipoDocumento(),this.getMotivos(),await this.getData()}validarBoton(){return!(this.mensajeForm.dirty&&this.mensajeForm.valid&&this.mensajeForm.value.consentimiento!=""&&this.mensajeForm.value.comentario!="")}saveMensaje(){this.sendEmail()}sendEmail(){let e=this.mensajeForm.getRawValue(),t=e.nombre,n=e.fcDocType.descDocumento,r=e.documento,o=e.telefono,a=e.email,s=e.fcMotivo.descMotivo,l=e.comentario||"-",u=this.listPoliza,h=`
805        Nombre: ${t}<br>
806        Tipo de documento: ${n}<br>
807        Documento: ${r}<br>
808        Telefono: ${o}<br>
809        Mail: ${a}<br>
810        Motivo de consulta: ${s}<br>
811        Comentarios:<br> ${l}<br>
812        Lista de polizas vigentes: ${u}
813        `;if(this.AuxAttachments.map(_=>{this.attachments.push(_[1])}),this.mensajeForm.dirty&&this.mensajeForm.valid&&this.mensajeForm.value.consentimiento){if(this.mensajeForm.value.marketing){let y={MarketAltaIn:{suscripcionPromo:{dni:this.mensajeForm.get("documento").value,email:this.mensajeForm.get("email").value,proveedor:1},accion:"P"}};this.mkservice.postAltaMarketing(y).toPromise().then(b=>{this._emittersService.emmiterToast(3,"Adhesion actualizada correctamente")}).catch(b=>{console.log(b)})}let _=e.fcMotivo.descMotivo;this.isLoading=!0,this._services.postEnviarMensaje(h,e.documento,_,this.fileList).then(y=>{y.result=="Error"?this._emittersService.emmiterToast(0,"Ocurri\xF3 un error. Vuelva a intentar."):(this._emittersService.emmiterToast(3,"Mensaje enviado correctamente."),this.router.navigate(["/priv"]))}).catch(()=>{this._emittersService.emmiterToast(0,"Ocurri\xF3 un error. Vuelva a intentar.")}).finally(()=>{this.isLoading=!1})}}convetirBase64(e,t){let n=t,r=new FileReader;
813r.readAsDataURL(n),r.onload=()=>{r.result,this.AuxAttachments.push([e,r.result])}}getTipoDocumento(){return new Promise((e,t)=>{this._services.getTiposDoc().then(n=>{let r=n.findIndex(o=>o.tipoDocumento==Se.user?.details?.identityDocuments[0].documentType.documentTypeCode);this._documentos=[...n],this.mensajeForm.get("fcDocType").setValue(this._documentos[r]),e(n)}).catch(n=>{console.error(n),t(n)})})}async getData(){let e=Se.user?.details?.identityDocuments?.[0];if(!e)return;let t=e.documentType?.documentTypeCode,n=e.documentNumber;if(!(!t||!n)){this.obtenerPolizasServicio(t,n);try{let r=await this._services.getProfileData(`${t}${n}`);return this.mensajeForm.get("nombre").setValue(r.nombre),this.mensajeForm.get("email").setValue(r.emailMiaz),this.mensajeForm.get("documento").setValue(n),this.mensajeForm.get("telefono").setValue(r.telefonopart??"-"),r}catch(r){throw console.error(r),r}}}getMotivos(){this._motivos=[...this.motivos]}changeMotivos(e){e=="Solicitud de Baja"&&this.goToBaja()}goToBaja(){window.location.href="https://boton-baja-front.allianz.com.ar/"}get Documentos(){return this._documentos}get Motivos(){return this._motivos}obtenerPolizasServicio(e,t){let n=ht.active==!1?e:ht.typeDocument,r=ht.active==!1?t:ht.dni,o=n+r;this.allianzServices.getPolizas(o,"S",2e3,1).then(a=>{this.createList(a?.polizas??[])}).catch(a=>{console.log(a)})}createList(e){let t=[];e.map(r=>{t.find(o=>r.nroPoliza==o.nroPoliza)||t.push(r)});let n="";t.map(r=>{let o=`
814                <div>
815               <li> N\xFAmero de poliza: ${r.nroPoliza}</li> 
816               <li> Cod Pass: ${r.codPas}</li> 
817               <li> Nombre Pass: ${r.nombrePas}</li> 
818               </div>
819                <br>
820                `;n+=o}),this.listPoliza="<ul>"+n+"</ul>"}onFileSelected(e){let t=e.target.files;Array.from(t).forEach(n=>{if(this.calculateFileListTotalSize()+n.size>495e4){this._emittersService.emmiterToast(1,"No se permite cargar m\xE1s de 5MB");return}if(!(n.type==="application/pdf"||n.type==="image/jpeg"||n.type==="image/png"||n.type==="application/msword"||n.type==="application/vnd.openxmlformats-officedocument.wordprocessingml.document"||n.type==="application/vnd.ms-excel"||n.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")){this._emittersService.emmiterToast(1,"Se permite solo archivos pdf, jpg, png, doc, docx, xls, xlsx.");return}if(n.size<5e6)if(!this.fileList.reduce((a,s)=>(s&&s.name==n.name&&(a=!0),a),!1))this.fileList.push(n),this.convetirBase64(n.name,n);else{this._emittersService.emmiterToast(1,`El archivo," ${n.name} ",ya fu\xE9 seleccionado`);return}else this._emittersService.emmiterToast(1,"El tama\xF1o del archivo debe ser menor a 5MB")}),this.mensajeForm.controls.docsSeleccionados.setValue(this.fileList)}calculateFileListTotalSize(){return this.fileList.reduce((e,t)=>(t&&(e+=t.size),e),0)}removeFile(e,t){if(this.fileList.splice(e,1),this.AuxAttachments.map((n,r)=>{if(n[0]==t){this.AuxAttachments.splice(r,1);return}}),this.fileList.length==0){this.mensajeForm.controls.docsSeleccionados.setValue(null,{emitEvent:!1});return}this.mensajeForm.controls.docsSeleccionados.setValue(this.fileList,{emitEvent:!1})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-mensajes"]],decls:97,vars:7,consts:[["focusThis",""],["fileInput",""],["popoverEmail",""],[1,"m-5"],[1,"text-center"],["appearance","expert",3,"selectedIndexChange","selectedIndex"],[3,"submit","formGroup"],["nxLayout","grid"],["nxRow",""],["nxCol","12"],["label","Nombre y Apellido"],["nxInput","","formControlName","nombre","readonly","readonly","minlength","2","maxlength","50","onlyLetters",""],["nxFormfieldError","","appearance","text"],["nxCol","12,6"],["label","Tipo de documento"],["formControlName","fcDocType"],[3,"value",4,"ngFor","ngForOf"],["label","Documento"],["nxInput","","formControlName","documento","numbersOnly",""],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","formControlName","telefono","numbersOnly","","minlength","10","maxlength","13"],["label","E-Mail"],["nxInput","","formControlName","email"],["label","Motivo de Consulta"],["formControlName","fc
820Motivo",3,"selectionChange"],["label","Comentarios"],["formControlName","comentario","nxInput","","cdkTextareaAutosize","","noEspecialCharacters","","minlength","30","maxlength","500"],["nxRow","",1,"my-4"],[1,"title"],[1,"m-0",2,"font-size","18px"],[1,"m-0",2,"font-size","14px"],[1,"m-0","mb-3"],["nxRow","",2,"justify-content","start"],["nxCol","8"],["stlye","height:400px",1,"table"],[1,"sr-only"],["nxHeaderCell","","width","50%"],[4,"ngFor","ngForOf"],["nxCol","4",2,"justify-content","start"],[1,"col-md-6"],["type","button","nxButton","primary medium",2,"padding","0px !important","border","0px solid transparent"],["for","file",2,"cursor","pointer","margin","0px !important","padding","14px"],["type","file","id","file","accept",".pdf,.jpg,.pdf,.doc,.docx,.xls,.xlsx ","multiple","",2,"display","none",3,"change"],["nxCol","12",2,"padding","12px"],["formControlName","marketing"],["formControlName","consentimiento"],["nxCol","12,6",2,"padding","12px"],["type","submit","nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],[2,"max-width","200px"],[3,"value"],["type","button",1,"btn","btn-danger",3,"click"],[1,"glyphicon","glyphicon-trash"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",3)(1,"h1",4),m(2,"Formulario de Consultas"),d(),S(3,"app-loading"),c(4,"nx-tab-group",5),jr("selectedIndexChange",function(a){return O(r),ro(n.currentIndex,a)||(n.currentIndex=a),T(a)}),c(5,"nx-tab"),S(6,"br"),c(7,"form",6),I("submit",function(){return O(r),T(n.saveMensaje())}),c(8,"div",7)(9,"div",8)(10,"div",9)(11,"nx-formfield",10),S(12,"input",11,0),c(14,"nx-error",12)(15,"strong"),m(16,"Importante"),d(),m(17," este campo es requerido "),d()()()(),c(18,"div",8)(19,"div",13)(20,"nx-formfield",14)(21,"nx-dropdown",15),L(22,mpe,2,2,"nx-dropdown-item",16),d()()(),c(23,"div",13)(24,"nx-formfield",17),S(25,"input",18),c(26,"nx-error",12),m(27," Este campo es obligatorio "),d()()()(),c(28,"div",8)(29,"div",13)(30,"nx-formfield",19),S(31,"input",20),c(32,"nx-error",12),m(33," Este campo es obligatorio "),d()()(),c(34,"div",13)(35,"nx-formfield",21),S(36,"input",22),c(37,"nx-error",12),m(38," Este campo es obligatorio "),d()()()(),c(39,"div",8)(40,"div",9)(41,"nx-formfield",23)(42,"nx-dropdown",24),I("selectionChange",function(){return O(r),T(n.changeMotivos(n.mensajeForm.controls.fcMotivo.value.descMotivo))}),L(43,hpe,2,2,"nx-dropdown-item",16),d()()()(),c(44,"div",8)(45,"div",9)(46,"nx-formfield",25),S(47,"textarea",26),d()()(),c(48,"div",27)(49,"div",9)(50,"div",28)(51,"p",29),m(52,"Archivos adjuntos"),d(),c(53,"p",30),m(54,'Los formatos de archivo permitidos son ".jpg", ".png", ".pdf", ".doc", ".docx", ".xls" y ".xlsx"'),d(),c(55,"p",30),m(56,"El tama\xF1o m\xE1ximo de los archivos debe ser de 5mb "),d(),S(57,"hr",31),d(),c(58,"div",32)(59,"div",33)(60,"table",34)(61,"caption",35),m(62," Listado de archivos del asegurado "),d(),c(63,"thead")(64,"tr")(65,"th",36),m(66,"Nombre de los Archivos"),d(),S(67,"th"),d()(),c(68,"tbody"),L(69,gpe,8,1,"tr",37),d()()()(),c(70,"div",8)(71,"div",38)(72,"div",39)(73,"button",40)(74,"label",41),m(75," Examinar "),d()(),c(76,"input",42,1),I("change",function(a){return O(r),T(n.onFileSelected(a))}),d()()()()()(),c(78,"div",8)(79,"div",43)(80,"div")(81,"nx-checkbox",44),m(82," Quiero recibir de ALLIANZ campa\xF1as publicitarias, de marketing, encuestas y/o comunicados publicitarios sobre productos y servicios de la marca ALLIANZ. Para ello, presto mi consentimiento para ser contactado por ALLIANZ por los canales utilizados por la Compa\xF1\xEDa "),d()()()(),c(83,"div",8)(84,"div",43)(85,"div")(86,"nx-checkbox",45),m(87," El titular de los datos personales tiene la facultad de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no inferiores a seis meses, salvo que se acredite un inter\xE9s leg\xEDtimo al efecto conforme lo establecido en el art\xEDculo 13, inciso 3 de la Ley N\xB0 25.326. La Direcci\xF3n Nacional de Protecci\xF3n de Datos Personales, \xD3rgano de Control de la Ley N\xB0 25.326, tiene la atribuci\xF3n de atender las denuncias y reclamos que se interpongan con relaci\xF3n al incumplimiento de las normas sobre protecci\xF3n de datos personales. "),d()()()(),c(88,"div",8)(89,"div",46)(90,"button",47),L(91,_pe,1,0,"img",48),m(92,"
820Enviar"),d()()()()()()(),c(93,"nx-popover",null,2)(95,"div",49),m(96," El mail debe tener el siguiente formato [email protected] "),d()()()}t&2&&(p(4),Br("selectedIndex",n.currentIndex),p(3),g("formGroup",n.mensajeForm),p(15),g("ngForOf",n.Documentos),p(21),g("ngForOf",n.Motivos),p(26),g("ngForOf",n.fileList),p(21),g("disabled",n.validarBoton()||n.isLoading),p(),g("ngIf",n.isLoading))},dependencies:[me,Et,ut,vt,Kn,jt,St,sn,Ut,et,At,Rt,wt,Pt,Dn,kn,st,qt,_t,Yo,ri,Yn,Qf,Yt,um,pm,Jd],encapsulation:2})};var b_=class i extends Ke{getPagos(e,t,n){let r={codAsegurado:e,fechaDesde:t,fechaHasta:n};return this.getRequestParams("/v1/finanzas/pago-cuotas",r).toPromise()}errorHandler(e){return Ve(e.message||"Server Error")}static \u0275fac=(()=>{let e;return function(n){return(e||(e=De(i)))(n||i)}})();static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};function vpe(i,e){if(i&1&&(c(0,"h5",2),m(1),d()),i&2){let t=M();p(),Li("",t.userDelegateType,": ",t.userDelegateMail)}}function xpe(i,e){if(i&1){let t=Y();c(0,"nx-dropdown-item",20),I("click",function(){O(t);let r=M();return T(r.cleanTable())}),d()}if(i&2){let t=e.$implicit;g("value",t)}}function bpe(i,e){i&1&&S(0,"img",21)}function Cpe(i,e){if(i&1&&(Ze(0),c(1,"tr",17)(2,"td",22),m(3),d(),c(4,"td",22),m(5),d(),c(6,"td",22),m(7),d(),c(8,"td",22),m(9),sr(10,"number"),d(),c(11,"td",22),m(12),d()(),Xe()),i&2){let t=e.$implicit,n=M();p(3),Pe(t.nroPoliza),p(2),Pe(t.nroEndoso),p(2),Pe(n.formatearFecha(t.fechaPago)),p(2),Li("",t.codMoneda," ",Os(10,6,t.monto)),p(3),Pe(t.formaPago)}}var C_=class i{pagos=[];opciones=["\xDAltimos 3 meses","\xDAltimos 6 meses","\xDAltimos 9 meses","\xDAltimos 12 meses"];pagosForm=new bt().group({fechaPagos:["",ee.required]});dni;isUserDelegate=ht.active;userDelegateMail=ht.email;userDelegateType=ht.typeDelegate;isLoading=!1;servicePagos=C(b_);_emittersService=C(Jt);ngOnInit(){this.dni=ht.active==!1?this.getDoc():ht.typeDocument+ht.dni;var e=new Date;e.setMonth(e.getMonth()-3),this.obtenerPagos(this.dni,e.getFullYear()+"-"+(e.getMonth()+1)+"-01",un(new Date))}obtenerPagos(e,t,n){this.servicePagos.getPagos(e,t,n).then(r=>{r.PagoCuotaOut[0].pagoCuotas.length==0?this._emittersService.emmiterToast(1,"No hay informaci\xF3n de pagos en este periodo"):(this._emittersService.emmiterToast(3,"Se encontr\xF3 informaci\xF3n de pagos para el periodo seleccionado"),this.pagos=r.PagoCuotaOut[0].pagoCuotas)}).catch(r=>{console.log(r),this._emittersService.emmiterToast(0,"Error al buscar")}).finally(()=>{this.isLoading=!1})}getDoc(){let e=Se.user?.details?.identityDocuments[0],t="",n="";return t=e.documentNumber,n=e.documentType.documentTypeCode,n+t}formatearFecha(e){let t=new Ur("en-US").transform(e,"dd/MM/yyyy");return t??"-"}cleanTable(){this.pagos=[]}obtenerPagosTabla(){this.isLoading=!0;var e=new Date;this.pagosForm.value.fechaPagos==="Ultimos 3 meses"?(e.setMonth(e.getMonth()-3),this.obtenerPagos(this.dni,e.getFullYear()+"-"+(e.getMonth()+1)+"-01",un(new Date))):this.pagosForm.value.fechaPagos==="Ultimos 6 meses"?(e.setMonth(e.getMonth()-6),this.obtenerPagos(this.dni,e.getFullYear()+"-"+(e.getMonth()+1)+"-01",un(new Date))):this.pagosForm.value.fechaPagos==="Ultimos 9 meses"?(e.setMonth(e.getMonth()-9),this.obtenerPagos(this.dni,e.getFullYear()+"-"+(e.getMonth()+1)+"-01",un(new Date))):(e.setFullYear(e.getFullYear()-1),this.obtenerPagos(this.dni,e.getFullYear()+"-"+(e.getMonth()+1)+"-01",un(new Date)))}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-pagos"]],decls:34,vars:6,consts:[["expandableTable","nxExpandableTable"],[1,"m-5"],[1,"text-center"],["class","text-center",4,"ngIf"],[1,"text-start","my-5","background-grey",2,"width","350px"],[3,"ngSubmit","formGroup"],["nxRow",""],["nxCol","12,8"],["label","Elegir una opci\xF3n"],["formControlName","fechaPagos","value","Ultimos 3 meses"],[3,"value","click",4,"ngFor","ngForOf"],["nxCol","12,4"],["nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["label","Gir\xE1 la ruedita para ver m\xE1s"],["nxTable","","nxExpandableTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],[4,"ngFor","ngForOf"],[3,"click","value"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],["nxTableCell",""]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1)(1,"h1",2),m(2,"Pagos"),d(),L(3,vpe,2,2,"h5",3),c(4,"div",4)(5,"form",5),I("ngSubmit",function(){return O(r),T(n.obtenerPagosTabla())}),c(6,"div",6)(7,"div",7)(8,"nx-formfield",8)(9,"nx-dropdown",9),L(10,xpe,1,1,"nx-dropdown-item",10),d()()(),c(11,"div",11)(12,"button",12),m(13," BUSCAR "),L(14,bpe,1,0,"img",13),d()()()()(),c(15,"nx-swipebar",14)(16,"table",15,0)(18,"caption",16),m(19," Listado de p\xF3lizas del asegurado "),d(),c(20,"thead")(21,"tr",17)(22,"th",18),m(23," N\xFAmero p\xF3liza "),d(),c(24,"th",18),m(25," Endoso "),d(),c(26,"th",18),m(27," Fecha"),d(),c(28,"th",18),m(29," Monto "),d(),c(30,"th",18),m(31," Forma de pago"),d()()(),c(32,"tbody"),L(33,Cpe,13,8,"ng-container",19),d()()()()}t&2&&(p(3),g("ngIf",n.isUserDelegate),p(2),g("formGroup",n.pagosForm),p(5),g("ngForOf",n.opciones),p(2),g("disabled",n.isLoading),p(2),g("ngIf",n.isLoading),p(19),g("ngForOf",n.pagos))},dependencies:[me,ut,vt,z2,Kn,ni,si,ii,Gs,St,Ut,et,At,wt,Pt,st,qt,_t,ri,Yn,pC],encapsulation:2})};function ype(i,e){if(i&1){let t=Y();c(0,"button",6),I("click",function(){O(t);let r=M().$implicit,o=M();return T(o.click(r.route))}),m(1," Realizar tr\xE1mite "),d()}}function Mpe(i,e){if(i&1&&(c(0,"nx-expansion-panel")(1,"nx-expansion-panel-header")(2,"nx-expansion-panel-title"),m(3),d()(),c(4,"h4",3),m(5),d(),S(6,"p",4),L(7,ype,2,0,"button",5),d()),i&2){let t=e.$implicit;p(3),Pe(t.titulo),p(2),K(" ",t.subtitulo," "),p(),g("innerHTML",t.text,Jo),p(),g("ngIf",t.route!=null)}}var y_=class i{loaded=!1;mostrarPreguntas=!1;preguntas;services=C(_i);router=C(ot);ngOnInit(){this.obtenerFAQ()}obtenerFAQ(){this.loaded=!1,this.mostrarPreguntas=!1,this.services.getPreguntas().then(e=>{this.formatearHTML(e),this.preguntas=e,this.loaded=!0,this.mostrarPreguntas=!0}).catch(e=>{console.log(e)})}formatearHTML(e){e.map(t=>{let n="<p>"})}click(e){let t="/priv"+e;this.router.navigate([t])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-preguntas-frecuentes"]],decls:4,vars:1,consts:[[1,"container","d-flex","justify-content-center","align-items-center"],[1,"m-5","p-5"],[4,"ngFor","ngForOf"],["nxHeadline","subsection-medium",1,"nx-margin-bottom-2m"],["nxCopytext","normal",3,"innerHTML"],["class","d-block",3,"click",4,"ngIf"],[1,"d-block",3,"click"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"div",1)(2,"nx-accordion"),L(3,Mpe,8,4,"nx-expansion-panel",2),d()()()),t&2&&(p(3),g("ngForOf",n.preguntas))},dependencies:[me,Ut,et,Xt,Ol,es,zc,Bd],styles:["div[_ngcontent-%COMP%]{white-space:pre-line}"]})};var xp=Aa(_p()),i3t=Aa(mm());var M_=class i{_predenunciasService=C(fn);_emittersService=C(Jt);async validarPredenuncia(e,t,n,r){return this._predenunciasService.getCheckHasPred(e,t,n,r).then(o=>
820{if(o[0].indTara=="S")throw this._emittersService.emmiterToast(2,o[0].mensaje),o[0].mensaje;return o}).catch(o=>{throw o})}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var rs=class{idCarpeta;idCausaReserva;idCobertura;idDenuncia;idExpediente;idOwner;idTipoCobertura;nrDetalle;constructor(e){this.setIdCarpeta(e.idCarpeta),this.setIdCausaReserva(e.idCausaReserva),this.setIdCobertura(e.idCobertura),this.setIdDenuncia(e.idDenuncia),this.setIdExpediente(e.idExpediente),this.setIdOwner(e.idOwner),this.setIdTipoCobertura(e.idTipoCobertura),this.setNrDetalle(e.nrDetalle)}toString(){return this.getIdCarpeta()}equals(e){return this.getIdDenuncia()==e.getIdDenuncia()}getIdCarpeta(){return this.idCarpeta}getIdCausaReserva(){return this.idCausaReserva}getIdCobertura(){return this.idCobertura}getIdDenuncia(){return this.idDenuncia}getIdExpediente(){return this.idExpediente}getIdOwner(){return this.idOwner}getdITipoCobertura(){return this.idTipoCobertura}getNrDetalle(){return this.nrDetalle}setIdCarpeta(e){this.idCarpeta=e}setIdCausaReserva(e){this.idCausaReserva=e}setIdCobertura(e){this.idCobertura=e}setIdDenuncia(e){this.idDenuncia=e}setIdExpediente(e){this.idExpediente=e}setIdOwner(e){this.idOwner=e}setIdTipoCobertura(e){this.idTipoCobertura=e}setNrDetalle(e){this.nrDetalle=e}};var Ti=class i{_stepper;vFrentePol=null;riesgo=null;causas=[];fechaSiniestro=null;stepInspeccion=!1;stepReparacion=!1;posibleFraude=!1;step1FormValue=null;step2FormValue;step3FormValue=null;step4FormValue=null;step5FormValue=null;step6FormValue=[];step7FormValue=[];step8FormValue=null;step9FormValue=[];step10FormValue=[];completedStep1=!1;completedStep2=!1;completedStep3=!1;completedStep4=!1;completedStep5=!1;completedStep6=!1;completedStep7=!1;completedStep9=!1;completedStep10=!1;validStep1=!1;validStep2=!1;validStep3=!1;validStep4=!1;validStep5=!1;validStep6=!1;validStep7=!1;validStep8=!1;validStep9=!1;validStep10=!1;tipoSiniestro;causaSiniestro;coberturas;sinBienes;predenuncia=null;errorMessage=null;postRespmessage=null;_predServices=C(fn);getCodNroDocAsegurado=()=>{let e=this.vFrentePol.getCodAsegurado().split("")[0],t=this.vFrentePol.getCodAsegurado().slice(1);return{codDoc:e,nroDoc:t}};getRequestDataStepDocumentacion=()=>{let e=this.step1FormValue?.tipoCausa,t=e?.tipo?.getIdTipoSiniestro?.()??"",n=e?.causa?.getIdCausaSiniestro?.()??"";return{idTipoSiniestro:t,idCausaSiniestro:n,idSeccion:this.vFrentePol?.getCodRamo?.()??""}};async crearDenuncia(){return new Promise((e,t)=>{try{if(!this.step1FormValue||!this.step1FormValue.tipoCausa)throw new Error("Faltan datos del paso 1 (tipo de causa del siniestro).");let n={DenunciaIn:{datoDenuncia:{nmOrigen:"MIALLIANZ",datoPoliza:{vFrentepol:this.vFrentePol,vRiesgoMotor:[this.riesgo]},causas:this.causas,datoMaestro:{idDenuncia:null,idSeccion:this.vFrentePol.getCodRamo(),deSeccion:this.vFrentePol.getCodRamo(),nroPoliza:this.vFrentePol.getNpoliza(),nroCertificado:this.riesgo.nroItem,nroEndoso:this.vFrentePol.getNsuplemento(),fecSiniestro:un(new Date(this.fechaSiniestro)),hrSiniestro:un(new Date(this.fechaSiniestro))+" "+this.step1FormValue.horaSiniestro.split(":").map(r=>r||"00").join(":")+":00",fecDenuncia:un(new Date),cdStatus:"A",cdUsuario:Se.user.details.userId},datoDetalle:{idDenuncia:null,nrDetalle:null,idTipoSiniestro:this.step1FormValue.tipoCausa.tipo.getIdTipoSiniestro(),deTipoSiniestro:this.step1FormValue.tipoCausa.tipo.getDeTipoSiniestro(),idCausaSiniestro:this.step1FormValue.tipoCausa.causa.getIdCausaSiniestro(),deCausaSiniestro:this.step1FormValue.tipoCausa.causa.getDeCausaSiniestro(),deHechos:this.step1FormValue.detalleDelHecho,indExtemporaneo:this.step1FormValue.cargaExt?"S":"N",deExtemporaneo:this.step1FormValue.cargaExt,nroCertificadoUbicacion:1,fecRegistro:un(new Date),cdStatus:"A",cdUsuario:Se.user.details.userId,idSeccion:this.vFrentePol.getCodRamo(),idProvinciaOcurr:this.step1FormValue.ubicacionSiniestro!=null?this.step1FormValue.ubicacionSiniestro.provincia.codProvincia:null,idLocalidadOcurr:this.step1FormValue.ubicacionSiniestro!=null?this.step1FormValue.ubicacionSiniestro.localidad.codLocalidad:null,idZpOcurr:this.step1FormValue.ubicacionSiniestro!=null?this.step1FormValue.ubicacionSiniestro.codigoPostal:null,deDirCalleOcurr:this.step1FormValue.direccion,nroTerceros:this.step1FormValue.cantTerceros?parseInt(this.step1FormValue.cantTerceros):0,indDatosTerceros:this.step1FormValue.tieneDatosTer?"S":"N",nroLesionados:this.step1FormValue.cantLesionados?parseInt(this.step1FormValue.cantLesionados):0,indDatosLesionados:this.step1FormValue.tieneDatosLes?"S":"N",deInspLugar:this.step8FormValue!=null?this.step8FormValue.calle?this.step8FormValue.calle:this.step8FormValue.domicilioSeteado!=null?this.step8FormValue.domicilioSeteado.domicilio:"":"",deDirNroAdic:this.step8FormValue!=null&&this.step8FormValue!=null?this.step8FormValue.ubicacionInspeccion?this.step8FormValue.calleNum:null:"",idProvinciaAdic:this.step8FormValue!=null&&this.step8FormValue.ubicacionInspeccion!=null?this.step8FormValue.ubicacionInspeccion.provincia.codProvincia:"",idLocalidadAdic:this.step8FormValue!=null?this.step8FormValue.ubicacionInspeccion!=null?this.step8FormValue.ubicacionInspeccion.localidad.codLocalidad:this.step8FormValue.domicilioSeteado!=null?this.step8FormValue.domicilioSeteado.codLocalidad:"":"",idZpAdic:this.step8FormValue!=null?this.step8FormValue.ubicacionInspeccion!=null?this.step8FormValue.ubicacionInspeccion.codigoPostal:this.step8FormValue.domicilioSeteado!=null?this.step8FormValue.domicilioSeteado.codPostal:"":"",fecInspeccion:this.step8FormValue!=null&&this.step8FormValue.fechaInspeccion!=null?un(this.step8FormValue.fechaInspeccion._d):"",idTipoInspector:this.step8FormValue!=null&&this.step8FormValue.tipoInspec!=null?this.step8FormValue.tipoInspec.idTipoInspector:"",cdInspector:this.step8FormValue!=null&&this.step8FormValue.centros!=null?this.step8FormValue.centros.codInspector:"",deInspTelefono:this.step8FormValue!=null&&this.step8FormValue!=null?this.step8FormValue.telefono:"",deInspCorreo:this.step8FormValue!=null&&this.step8FormValue!=null?this.step8FormValue.correo:"",colorVehiculo:this.step3FormValue.color,nroActaPolicial:Number(this.step1FormValue.nroActa),deComisaria:this.step1FormValue.comisaria,deSecretaria:this.step1FormValue.secretaria,indAsegConductor:this.step2FormValue.esConductor?"S":"N",indAsegDenunciante:this.step2FormValue.esDenunciante?"S":"N",deEmailAsegurado:this.step2FormValue.asegurado.getdescEmail(),deTelefAsegurado:this.step2FormValue.asegurado.getnroTelefonoCel(),ind
820DestTotal:this.step1FormValue.destruccionTotal,deDanos:this.step1FormValue.descripcionDanios,idLugarOcurr:this.step1FormValue.tipoLugar.cdValor,idDireccionOcurr:this.step1FormValue.tipoDireccion.cdValor,idEstadoTiempo:this.step1FormValue.tipoEstadoTiempo.cdValor,idTipoSenial:this.step1FormValue.tipoSenializacion.cdValor,deEdoTipoSenial:this.step1FormValue.estadoSenializacion,idTipoCalzada:this.step1FormValue.tipoCalzada.cdValor,deEdoTipoCalzada:this.step1FormValue.estadoCalzada.cdValor,dePaisOcurr:this.step1FormValue.paisMercosur.descPais,indCondicionCircular:this.step1FormValue.indCondicionCircular,idGradoDanio:this.step1FormValue.magnitudDanio?this.step1FormValue.magnitudDanio.idGrado:null},datoTerceros:this.step6FormValue?this.step6FormValue.map(r=>r?{idDenuncia:null,nrDetalle:null,idTipoTercero:r.tipoTer&&r.tipoTer.cdValor?r.tipoTer.cdValor:null,idTipoDocumento:r.tipoDoc&&r.tipoDoc.getTipoDocumento()?r.tipoDoc.getTipoDocumento():null,nrDocumento:r.nroDoc,deNombre:r.nomApel,deSexo:r.sexo&&r.sexo.getCodGenero()?r.sexo.getCodGenero():null,idProvincia:r.ubicacionConductor&&r.ubicacionConductor.provincia&&r.ubicacionConductor.provincia.codProvincia?r.ubicacionConductor.provincia.codProvincia:null,idLocalidad:r.ubicacionConductor&&r.ubicacionConductor.localidad&&r.ubicacionConductor.localidad.codLocalidad?r.ubicacionConductor.localidad.codLocalidad:null,idZp:r.ubicacionConductor&&r.ubicacionConductor.codigoPostal?r.ubicacionConductor.codigoPostal:null,deTelefono:r.telefono,deEmail:r.correo,indLesionado:r.esLesionado=="SI"?"S":"N",deBien:r.detalleSiniestro,fecRegistro:un(new Date),cdUsuario:Se.user.details.userId,idMarcaVehiculo:r.marca?r.marca.codMarcaVeh:null,deMarcaVehiculo:r.marca?r.marca.descMarcaVeh:null,nrAnio:r.anio,idTipoVehiculo:null,deTipoVehiculo:r.tipo,idUsoVehiculo:r.uso?r.uso.codigo:null,deUsoVehiculo:r.uso?r.uso.descripcion:null,dePatente:r.patente,deChassis:r.nroChasis,deMotor:r.nroMotor,deColor:r.color,idCompania:r.compania?r.compania.codCompania:null,deCompania:r.compania?r.compania.desCompania:null}:null):[],datoLesionados:this.step7FormValue?this.step7FormValue.map(r=>r?{idDenuncia:null,nrDetalle:null,idTipoLesionado:r&&r.tipoLesionado?r.tipoLesionado.cdValor:null,cdTipoLesion:r&&r.tipoLesion?r.tipoLesion.cdValor:null,idTipoDocumento:r&&r.tipoDoc?r.tipoDoc.getTipoDocumento():null,nrDocumento:r?r.nroDoc:null,deNombre:r?r.nomApel:null,deSexo:r&&r.sexo?r.sexo.getCodGenero():null,idProvincia:r&&r.ubicacionLesionado&&r.ubicacionLesionado.provincia?r.ubicacionLesionado.provincia.codProvincia:null,idLocalidad:r&&r.ubicacionLesionado&&r.ubicacionLesionado.localidad?r.ubicacionLesionado.localidad.codLocalidad:null,idZp:r&&r.ubicacionLesionado?r.ubicacionLesionado.codigoPostal:null,deTelefono:r?r.telefono:null,deEmail:r?r.correo:null,nrEdad:r?r.edadAprox:null,idRelAseg:r&&r.relConAseg?r.relConAseg.cdValor:null,fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}:null):[],datoConductor:this.getDatosConductor(),datoDenunciante:this.getDatoDenunciante(),datoPartes:this.getPartesAfectadas(),datoProveedores:this.getListaProveedores()}}};this._predServices.postDenuncia(n).then(r=>{let o=new rs(r.DenunciaOut[0].datoSiniestro[0]);this.predenuncia=o,this.postRespmessage=r.DenunciaOut[0].response.description,this.step10FormValue.length>0?this._predServices.fileUpload(o.getIdDenuncia(),this.step10FormValue,o.getNrDetalle(),Se.user.details.userId,this.vFrentePol.getCodRamo(),this.step1FormValue.tipoCausa.tipo.getIdTipoSiniestro()).then(a=>{e(a)}).catch(a=>{console.warn(a),console.log(a),t(a),setTimeout(()=>{this._stepper.next()},300)}):e(r)}).catch(r=>{console.error(r.DenunciaOut[0].response.description),t(r),setTimeout(()=>{this._stepper.next()},300)})}catch(n){let r=n;this.errorMessage="Error: "+r.message,console.log(r.message),t(r.message)}})}getFechaInspeccion(){return this.step8FormValue.fechaInspeccion!=null?un(this.step8FormValue.fechaInspeccion.toDate())+" 00:00":null}getListaProveedores(){if(this.step9FormValue!=null){let e=[];return this.step9FormValue.forEach(t=>{e.push({idDenuncia:null,nrDetalle:null,idProveedor:t.idProveedor})}),e.length>0?e:[]}else return[]}getPartesAfectadas(){if(this.step1FormValue.destruccionTotal==="S")return[];let e=this.step1FormValue.partesAfectadas;return Object.keys(e).reduce((t,n)=>{let r=e[n];return r&&n!=="otros"&&t.push({idDenuncia:null,nrDetalle:null,idParte:r.idParte,fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}),t},[])}getDatosConductor(){if(console.log(this.step2FormValue.esConductor),console.log(this.step2FormValue),console.log(this.step2FormValue.asegurado.getLocalidad().codPostal),this.step2FormValue.esConductor){let t=this.step2FormValue.asegurado?.getdomicilio()?.codPostal??null;return{idTipoDocumento:this.getCodNroDocAsegurado()?this.getCodNroDocAsegurado().codDoc:null,nrDocumento:this.step2FormValue.asegurado.getnroDni(),deNombre:this.step2FormValue.asegurado.getdescAsegurado(),deSexo:this.step2FormValue&&this.step2FormValue.asegurado&&this.step2FormValue.asegurado.getGenero()?this.step2FormValue.asegurado.getGenero().getCodGenero():null,idPais:this.step2FormValue.asegurado?.getdomicilio()?.pais?.codigo??null,dePais:this.step2FormValue.asegurado?.getdomicilio()?.pais?.descripcion??null,idProvincia:this.step2FormValue.asegurado?.getdomicilio()?.provincia?.codigo??null,deProvincia:this.step2FormValue.asegurado?.getdomicilio()?.provincia?.descripcion??null,idLocalidad:this.step2FormValue.asegurado.getLocalidad().codLocalidad,deLocalidad:this.step2FormValue.asegurado.getLocalidad().descLocalidad,idZp:t,deZp:t,deTelefono:this.step2FormValue.asegurado.getnroTelefonoCel(),deEmail:this.step2FormValue.asegurado.getdescEmail(),idRelAseg:" ",indDenunciante:this.step2FormValue.esDenunciante?"S":"N",indHabitual:"S",fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}}
820else return{idTipoDocumento:this.step4FormValue&&this.step4FormValue.tipoDoc?this.step4FormValue.tipoDoc.getTipoDocumento():null,nrDocumento:this.step4FormValue?this.step4FormValue.nroDoc:null,deNombre:this.step4FormValue&&this.step4FormValue.nombre?this.step4FormValue.nombre.trim()+" "+this.step4FormValue.apellido.trim():null,deSexo:this.step4FormValue&&this.step4FormValue.sexo?this.step4FormValue.sexo.getCodGenero():null,idPais:this.step4FormValue&&this.step4FormValue.ubicacionConductor&&this.step4FormValue.ubicacionConductor.provincia?this.step4FormValue.ubicacionConductor.provincia.codPais:null,dePais:" ",idProvincia:this.step4FormValue&&this.step4FormValue.ubicacionConductor&&this.step4FormValue.ubicacionConductor.provincia?this.step4FormValue.ubicacionConductor.provincia.codProvincia:null,deProvincia:this.step4FormValue&&this.step4FormValue.ubicacionConductor&&this.step4FormValue.ubicacionConductor.provincia?this.step4FormValue.ubicacionConductor.provincia.descProvincia:null,idLocalidad:this.step4FormValue&&this.step4FormValue.ubicacionConductor&&this.step4FormValue.ubicacionConductor.localidad?this.step4FormValue.ubicacionConductor.localidad.codLocalidad:null,deLocalidad:this.step4FormValue&&this.step4FormValue.ubicacionConductor&&this.step4FormValue.ubicacionConductor.localidad?this.step4FormValue.ubicacionConductor.localidad.descLocalidad:null,idZp:this.step4FormValue&&this.step4FormValue.ubicacionConductor?this.step4FormValue.ubicacionConductor.codigoPostal:null,deZp:" ",deTelefono:this.step4FormValue?this.step4FormValue.telefono:null,deEmail:this.step4FormValue?this.step4FormValue.correo:null,idRelAseg:this.step4FormValue?this.step4FormValue.relConAseg.cdValor:null,indDenunciante:this.step4FormValue?this.step4FormValue.esDenunciante?"S":"N":null,indHabitual:this.step4FormValue?this.step4FormValue.indHabitual:null,fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}}getDatoDenunciante(){return this.step2FormValue.esDenunciante?{idTipoDocumento:this.getCodNroDocAsegurado().codDoc,nrDocumento:this.step2FormValue.asegurado.getnroDni(),deNombre:this.step2FormValue.asegurado.getdescAsegurado(),deTelefono:this.step2FormValue.asegurado.getnroTelefonoCel(),deEmail:this.step2FormValue.asegurado.getdescEmail(),idRelAseg:" ",fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}:this.step4FormValue!=null&&this.step4FormValue.esDenunciante?{idTipoDocumento:this.step4FormValue.tipoDoc.getTipoDocumento(),nrDocumento:this.step4FormValue.nroDoc,deNombre:this.step4FormValue.nombre.trim()+" "+this.step4FormValue.apellido.trim(),deTelefono:this.step4FormValue.telefono,deEmail:this.step4FormValue.correo,idRelAseg:this.step4FormValue.relConAseg.cdValor,fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}:{idTipoDocumento:this.step5FormValue.tipoDoc.tipoDocumento,nrDocumento:this.step5FormValue.nroDoc,deNombre:this.step5FormValue.nombre.trim()+" "+this.step5FormValue.apellido.trim(),deTelefono:this.step5FormValue.telefono,deEmail:this.step5FormValue.correo,idRelAseg:this.step5FormValue.relConAseg.cdValor,fecRegistro:un(new Date),cdUsuario:Se.user.details.userId}}clearData(){Object.keys(this).forEach(e=>{e!="codSeccion"&&e!="_predServices"&&typeof this[e]!="function"&&(typeof this[e]=="boolean"?this[e]=!1:this[e]=null)})}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var la=class i{constructor(e){this._predServices=e}vFrentePol;riesgo;codSeccion="999";fechaSiniestro;nroCertificado="";step1FormValue;step2FormValue;step3FormValue;completedStep1=!1;completedStep2=!1;completedStep3=!1;validStep1=!1;validStep2=!1;validStep3=!1;stepDatosSiniestroOtros=!1;stepDatosAseguradoOtros=!1;predenuncia=null;errorMessage=null;postRespmessage=null;getCodNroDocAsegurado=()=>{let e=this.vFrentePol.getCodAsegurado().split("")[0],t=this.vFrentePol.getCodAsegurado().slice(1);return{codDoc:e,nroDoc:t}};getRequestDataStepDocumentacion=()=>{let e=this.step1FormValue?.tipoCausa,t=e?.tipo?.getIdTipoSiniestro?.()??"",n=e?.causa?.getIdCausaSiniestro?.()??"";return{idTipoSiniestro:t,idCausaSiniestro:n,idSeccion:this.vFrentePol?.getCodRamo?.()??""}};getSelectedSecc=()=>this.vFrentePol?.getCodRamo()??"";formatFecha(e){if(!e)return null;let t,n,r;if(e?.year&&e?.month&&e?.date)t=e.year(),n=e.month()+1,r=e.date();else if(e instanceof Date)t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();else if(typeof e=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(e)){let s=e.split("-").map(Number);t=s[0],n=s[1],r=s[2]}else if(typeof e=="string"&&/^\d{2}\/\d{2}\/\d{4}$/.test(e)){let s=e.split("/").map(Number);r=s[0],n=s[1],t=s[2]}else return console.error("Formato de fecha no soportado:",e),null;let o=r<10?"0"+r:r.toString(),a=n<10?"0"+n:n.toString();return`${t}-${a}-${o}`}async crearDenuncia(){return new Promise((e,t)=>
820{try{let n={DenunciaIn:{datoDenuncia:{datoPoliza:{vFrentepol:this.vFrentePol},datoMaestro:{idDenuncia:null,idSeccion:this.vFrentePol?.getCodRamo(),deSeccion:null,nroPoliza:this.vFrentePol?.getNpoliza(),nroCertificado:this.riesgo.nroRiesgo?this.riesgo.nroRiesgo:"1",nroEndoso:this.vFrentePol?.getNsuplemento(),fecSiniestro:this.formatFecha(this.fechaSiniestro.toDate()),hrSiniestro:this.formatFecha(this.fechaSiniestro.toDate())+" "+this.step1FormValue.horaSini.split(":").map(r=>r||"00").join(":")+":00",fecDenuncia:this.formatFecha(new Date),cdStatus:"A",cdUsuario:Se.user.details.userId},datoDetalle:{idDenuncia:null,nrDetalle:this.riesgo.nroRiesgo,idTipoSiniestro:this.step1FormValue.tipoCausa.tipo.getIdTipoSiniestro(),deTipoSiniestro:this.step1FormValue.tipoCausa.tipo.getDeTipoSiniestro(),idCausaSiniestro:this.step1FormValue.tipoCausa.causa.getIdCausaSiniestro(),deCausaSiniestro:this.step1FormValue.tipoCausa.causa.getDeCausaSiniestro(),deHechos:this.step1FormValue.detalle,indExtemporaneo:this.step1FormValue.motivoExtemporanea?"S":"N",deExtemporaneo:this.step1FormValue.motivoExtemporanea,nroCertificadoUbicacion:1,fecRegistro:un(new Date),cdStatus:"A",cdUsuario:Se.user.details.userId,idSeccion:this.vFrentePol?.getCodRamo(),idProvinciaOcurr:this.step1FormValue.lugarOcurrencia.provincia.codProvincia,idLocalidadOcurr:this.step1FormValue.lugarOcurrencia.localidad.codLocalidad,idZpOcurr:this.step1FormValue.lugarOcurrencia.codigoPostal,deDirCalleOcurr:this.step1FormValue.direccion,deEmailAsegurado:this.step2FormValue?.asegurado.getdescEmail(),deTelefAsegurado:this.step2FormValue?.asegurado.getnroTelefonoCel()},datoDocumento:[]}}};this._predServices.postDenuncia(n).then(r=>{let o=new rs(r.DenunciaOut[0].datoSiniestro[0]);this.predenuncia=o,this.postRespmessage=r.DenunciaOut[0].response.description,this.step3FormValue.length>0?this._predServices.fileUpload(o.getIdDenuncia(),this.step3FormValue,o.getNrDetalle(),h0.userName,this.vFrentePol?.getCodRamo(),this.step1FormValue.tipoCausa.tipo.getIdTipoSiniestro()).then(a=>{e(a)}).catch(a=>{console.warn(a),t(a)}):e(r)}).catch(r=>{this.errorMessage=r.error.DenunciaOut[0].response.description,t(r)})}catch(n){let r=n;this.errorMessage="Error: "+r.message,console.log(r.message),t(r.message)}})}clearData(){this.vFrentePol=null,this.riesgo=null,this.step1FormValue=null,this.step2FormValue=null,this.step3FormValue=null,this.completedStep1=!1,this.completedStep2=!1,this.completedStep3=!1,this.validStep1=!1,this.validStep2=!1,this.validStep3=!1,this.errorMessage=null,this.predenuncia=null}static \u0275fac=function(t){return new(t||i)(Le(fn))};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};var hm=class{codActividad;codCausaRebaja;codCausaRecargo;codGuarderia;codLocalidad;codMotivoEndoso;codPeligrosidadAct;codPlan;codPostal;codProvincia;codRamo;codRefDepto;codRefPiso;codRiesgoAct;codTextoGralPoliza;codTipoCasco;codTipoOcupacionViv;codTipoSeguro;codVivenda;codZonaHogar;codZonaRiesgo;descActividad;descGpsLatitud;descGpsLongitud;descMarca;descMatricula;descMetrosCuadrados;descModelo;descSerie;descTextoGralPoliza;descTipoMotor;idProceso;impPriPps;impPriRpp;impPrimaCalcRiesgo;impPrimaComercialRiesgo;impRebaja;impRecargo;impSumaAsegRiesgo;impSumaHogar;impTasaHogar;impValorDeRobo;indicEscala;indicExclusion;indicNoInspeccion;indicPlanSeleccionado;nmCountry;nomCalle;npoliza;nroAlturaCalle;nroAnioFabricacion;nroInspeccion;nroLote;nroReInspeccion;nroRiesgo;nsuplemento;porcAjuste;porcRpp;constructor(e){this.setCodActividad(e.codActividad),this.setCodCausaRebaja(e.codCausaRebaja),this.setCodCausaRecargo(e.codCausaRecargo),this.setCodGuarderia(e.codGuarderia),this.setCodLocalidad(e.codLocalidad),this.setCodMotivoEndoso(e.codMotivoEndoso),this.setCodPeligrosidadAct(e.codPeligrosidadAct),this.setCodPlan(e.codPlan),this.setCodPostal(e.codPostal),this.setCodProvincia(e.codProvincia),this.setCodRamo(e.codRamo),this.setCodRefDepto(e.codRefDepto),this.setCodRefPiso(e.codRefPiso),this.setCodRiesgoAct(e.codRiesgoAct),this.setCodTextoGralPolizad(e.codTextoGralPoliza),this.setCodTipoCasco(e.codTipoCasco),this.setCodTipoOcupacionViv(e.codTipoOcupacionViv),this.setCodTipoSeguro(e.codTipoSeguro),this.setCodVivenda(e.codVivenda),this.setCodZonaHogar(e.codZonaHogar),this.setCodZonaRiesgo(e.codZonaRiesgo),this.setDescActividad(e.descActividad),this.setDescGpsLatitud(e.descGpsLatitud),this.setDescGpsLongitud(e.descGpsLongitud),this.setDescMarca(e.descMarca),this.setDescMatricula(e.descMatricula),this.setDescMetrosCuadrados(e.descMetrosCuadrados),this.setDescModelo(e.descModelo),this.setDescSerie(e.descSerie),this.setDescTextoGralPoliza(e.descTextoGralPoliza),this.setDescTipoMotor(e.descTipoMotor),this.setIdProceso(e.getIdProceso),this.setImpPriPps(e.getImpPriPps),this.setImpPriRpp(e.getImpPriRpp),this.setImpPrimaCalcRiesgo(e.getImpPrimaCalcRiesgo),this.setImpPrimaComercialRie
820sgo(e.getImpPrimaCalcRiesgo),this.setImpRebaja(e.getImpRebaja),this.setImpRecargo(e.getImpRecargo),this.setImpSumaAsegRiesgo(e.getimpSumaAsegRiesgo),this.setImpSumaHogar(e.getImpSumaHogar),this.setImpTasaHogar(e.getImpTasaHogar),this.setImpValorDeRobo(e.impValorDeRobo),this.setIndicEscala(e.indicEscala),this.setIndicExclusion(e.indicExclusion),this.setIndicNoInspeccion(e.indicNoInspeccion),this.setIndicPlanSeleccionado(e.indicPlanSeleccionado),this.setNmCountry(e.nmCountry),this.setNomCalle(e.nomCalle),this.setNpoliza(e.npoliza),this.setNroAlturaCalle(e.nroAlturaCalle),this.setNroAnioFabricacion(e.nroAnioFabricacion),this.setNroInspeccion(e.nroInspeccion),this.setNroLote(e.nroLote),this.setNroReInspeccion(e.nroReInspeccion),this.setNroRiesgo(e.nroRiesgo),this.setNsuplemento(e.nsuplemento),this.setPorcAjuste(e.porcAjuste),this.setPorcRpp(e.porcRpp)}getCodActividad(){return this.codActividad}setCodActividad(e){this.codActividad=e}getCodCausaRebaja(){return this.codCausaRebaja}setCodCausaRebaja(e){this.codCausaRebaja=e}getCodCausaRecargo(){return this.codCausaRecargo}setCodCausaRecargo(e){this.codCausaRecargo=e}getCodGuarderia(){return this.codGuarderia}setCodGuarderia(e){this.codGuarderia=e}getCodLocalidad(){return this.codLocalidad}setCodLocalidad(e){this.codLocalidad=e}getCodMotivoEndoso(){return this.codMotivoEndoso}setCodMotivoEndoso(e){this.codMotivoEndoso=e}getCodPeligrosidadAct(){return this.codPeligrosidadAct}setCodPeligrosidadAct(e){this.codPeligrosidadAct=e}getCodPlan(){return this.codPlan}setCodPlan(e){this.codPlan=e}getCodPostal(){return this.codPostal}setCodPostal(e){this.codPostal=e}getCodProvincia(){return this.codProvincia}setCodProvincia(e){this.codProvincia=e}getCodRamo(){return this.codRamo}setCodRamo(e){this.codRamo=e}getCodRefDepto(){return this.codRefDepto}setCodRefDepto(e){this.codRefDepto=e}getCodRefPiso(){return this.codRefPiso}setCodRefPiso(e){this.codRefPiso=e}getCodRiesgoAct(){return this.codRiesgoAct}setCodRiesgoAct(e){this.codRiesgoAct=e}getCodTextoGralPoliza(){return this.codTextoGralPoliza}setCodTextoGralPolizad(e){this.codTextoGralPoliza=e}getCodTipoCasco(){return this.codTipoCasco}setCodTipoCasco(e){this.codTipoCasco=e}getCodTipoOcupacionViv(){return this.codTipoOcupacionViv}setCodTipoOcupacionViv(e){this.codTipoOcupacionViv=e}getCodTipoSeguro(){return this.codTipoSeguro}setCodTipoSeguro(e){this.codTipoSeguro=e}getCodVivenda(){return this.codVivenda}setCodVivenda(e){this.codVivenda=e}getCodZonaHogar(){return this.codZonaHogar}setCodZonaHogar(e){this.codZonaHogar=e}getCodZonaRiesgo(){return this.codZonaRiesgo}setCodZonaRiesgo(e){this.codZonaRiesgo=e}getDescActividad(){return this.descActividad}setDescActividad(e){this.descActividad=e}getDescGpsLatitud(){return this.descGpsLatitud}setDescGpsLatitud(e){this.descGpsLatitud=e}getDescGpsLongitud(){return this.descGpsLongitud}setDescGpsLongitud(e){this.descGpsLongitud=e}getDescMarca(){return this.descMarca}setDescMarca(e){this.descMarca=e}getDescMatricula(){return this.descMatricula}setDescMatricula(e){this.descMatricula=e}getDescMetrosCuadrados(){return this.descMetrosCuadrados}setDescMetrosCuadrados(e){this.descMetrosCuadrados=e}getDescModelo(){return this.descModelo}setDescModelo(e){this.descModelo=e}getDescSerie(){return this.descSerie}setDescSerie(e){this.descSerie=e}getDescTextoGralPoliza(){return this.descTextoGralPoliza}setDescTextoGralPoliza(e){this.descTextoGralPoliza=e}getDescTipoMotor(){return this.descTipoMotor}setDescTipoMotor(e){this.descTipoMotor=e}getIdProceso(){return this.idProceso}setIdProceso(e){this.idProceso=e}getImpPriPps(){return this.impPriPps}setImpPriPps(e){this.impPriPps=e}getImpPriRpp(){return this.impPriRpp}setImpPriRpp(e){this.impPriRpp=e}getImpPrimaCalcRiesgo(){return this.impPrimaCalcRiesgo}setImpPrimaCalcRiesgo(e){this.impPrimaCalcRiesgo=e}getImpPrimaComercialRiesgo(){return this.impPrimaComercialRiesgo}setImpPrimaComercialRiesgo(e){this.impPrimaComercialRiesgo=e}getImpRebaja(){return this.impRebaja}setImpRebaja(e){this.impRebaja=e}getImpRecargo(){return this.impRecargo}setImpRecargo(e){this.impRecargo=e}getimpSumaAsegRiesgo(){return this.impSumaAsegRiesgo}setImpSumaAsegRiesgo(e){this.impSumaAsegRiesgo=e}
820getImpSumaHogar(){return this.impSumaHogar}setImpSumaHogar(e){this.impSumaHogar=e}getImpTasaHogar(){return this.impTasaHogar}setImpTasaHogar(e){this.impTasaHogar=e}getImpValorDeRobo(){return this.impValorDeRobo}setImpValorDeRobo(e){this.impValorDeRobo=e}getIndicEscala(){return this.indicEscala}setIndicEscala(e){this.indicEscala=e}getIndicExclusion(){return this.indicExclusion}setIndicExclusion(e){this.indicExclusion=e}getIndicNoInspeccion(){return this.indicNoInspeccion}setIndicNoInspeccion(e){this.indicNoInspeccion=e}getIndicPlanSeleccionado(){return this.indicPlanSeleccionado}setIndicPlanSeleccionado(e){this.indicPlanSeleccionado=e}getNmCountry(){return this.nmCountry}setNmCountry(e){this.nmCountry=e}getNomCalle(){return this.nomCalle}setNomCalle(e){this.nomCalle=e}getNpoliza(){return this.npoliza}setNpoliza(e){this.npoliza=e}getNroAlturaCalle(){return this.nroAlturaCalle}setNroAlturaCalle(e){this.nroAlturaCalle=e}getNroAnioFabricacion(){return this.nroAnioFabricacion}setNroAnioFabricacion(e){this.nroAnioFabricacion=e}getNroInspeccion(){return this.nroInspeccion}setNroInspeccion(e){this.nroInspeccion=e}getNroLote(){return this.nroLote}setNroLote(e){this.nroLote=e}getNroReInspeccion(){return this.nroReInspeccion}setNroReInspeccion(e){this.nroReInspeccion=e}getNroRiesgo(){return this.nroRiesgo}setNroRiesgo(e){this.nroRiesgo=e}getNsuplemento(){return this.nsuplemento}setNsuplemento(e){this.nsuplemento=e}getPorcAjuste(){return this.porcAjuste}setPorcAjuste(e){this.porcAjuste=e}getPorcRpp(){return this.porcRpp}setPorcRpp(e){this.porcRpp=e}toString(e){throw new Error("Method not implemented.")}equals(e){throw new Error("Method not implemented.")}};var u1=class{cantCuotas;cantDuracionPoliza;codAgencia;codAsegurado;codCanalVenta;codClaseEndoso;codCoaseguro;codCompania;codCoseguro;codFormaCalculo;codFormaRenovacion;codGrupo;codIdCalculo;codLineaEmision;codMoneda;codMotivoEndoso;codNegocio;codNup;codOficinaEmite;codOrganizador;codPlan;codPlanPagos;codProd;codProducto;codRamo;codRamoSellado;codRebajaGeneral;codRefExterna;codRv1;codSistema;codTipoActSellado;codTipoDuracionPoliza;codTipoEndoso;codTipoOperacion;codTomador;codUsuarioEmite;condIvaFacturado;descClaseEndoso;descCoaseguro;descCodRebajaGeneral;descCoseguro;descMoneda;descMotivoEndoso;descRamo;descTextoLibre;descTipoActividad;descTipoEndoso;descTipoOperacion;expediente;feEmisionP05;feFinVigPoliza;feGeneracion;feIniVigPoliza;idProceso;impComOrg;impComProd;impComTecOrg;impComTecProd;impDerechoDeEmision;impDerechoDeEmisionBis;impGastosExplotacion;impImpuestosInternos;impImpuestosSuper;impIngresosBrutos;impIva;impIvaGranContr;impIvaInscripto;impIvaNoInscripto;impPremio;impPriPps;impPriRpp;impPrimaComercial;impPrimaSuscripcion;impRebCasc;impRebajaGeneral;impRecFinanciero;impRecPrim;impRecargoAdministrativo;impRecargoGeneral;impSellados;impSsn26363;impSss;impSubtotal;impSumaAsegTotalPoliza;impSumaLi;impSumaPml;impSumatEndPriComAcc;impSumatEndPriComCasco;impSumatEndPriComRc;impSumatEndPriComSf;impSumatEndPriTec;impSumatPriAnualAcc;impSumatPriAnualCasco;impSumatPriAnualRc;impSumatPriAnualSf;impSumatPrimaAcc;impSumatPrimaCasco;impSumatPrimaRc;impSumatPrimaSf;impSumatSumaAsegAcc;impTipoCambioMoneda;impTotalImpuestos;impTotalIva;indicAnulReemplazo;indicImprime;liTerremoto;nomAsegurado;nomOrg;nomProd;nomTomador;npoliza;npolizaRenueva;nroRecibo;nroSolicitudGenerado;nsuplemento;nsuplementoAnulado;porcComOrg;porcComOrgBis;porcComOrgLibre;porcComProd;porcComProdBis;porcComProdLibre;porcIvaGranContr;porcIvaInscripto;porcIvaNoInscripto;porcPrimerCuota;porcRebajaGeneral;porcRecAdministrativo;porcRecFinanciero;porcRecargoGeneral;porcRpp;tipoFacturacion;tipoFacturacion1;tipoFacturacion2;constructor(e){this.setCantCuotas(e.cantCuotas),this.setCantDuracionPoliza(e.cantDuracionPoliza),this.setCodAgencia(e.codAgencia),this.setCodAsegurado(e.codAsegurado),this.setCodCanalVenta(e.codCanalVenta),this.setCodClaseEndoso(e.codClaseEndoso),this.setCodCoaseguro(e.codCoaseguro),this.setCodCompania(e.codCompania),this.setCodCoseguro(e.codCoseguro),this.setCodFormaCalculo(e.codFormaCalculo),this.setCodFormaRenovacion(e.codFormaRenovacion),this.setCodGrupo(e.codGrupo),this.setCodIdCalculo(e.codIdCalculo),this.setCodLineaEmision(e.codLineaEmision),this.setCodMoneda(e.codMoneda),this.setCodMotivoEndoso(e.codMotivoEndoso),this.setCodNegocio(e.codNegocio),this.setCodNup(e.codNup),this.setCodOficinaEmite(e.codOficinaEmite),this.setCodOrganizador(e.codOrganizador),this.setCodPlan(e.codPlan),this.setCodPlanPagos(e.codPlanPagos),this.setCodProd(e.codProd),this.setCodProducto(e.codProducto),this.setCodRamo(e.codRamo),this.setCodRamoSellado(e.cod
820RamoSellado),this.setCodRebajaGeneral(e.codRebajaGeneral),this.setCodRefExterna(e.codRefExterna),this.setCodRv1(e.codRv1),this.setCodSistema(e.codSistema),this.setCodTipoActSellado(e.codTipoActSellado),this.setCodTipoDuracionPoliza(e.codTipoDuracionPoliza),this.setCodTipoEndoso(e.codTipoEndoso),this.setCodTipoOperacion(e.codTipoOperacion),this.setCodTomador(e.codTomador),this.setCodUsuarioEmite(e.codUsuarioEmite),this.setCondIvaFacturado(e.condIvaFacturado),this.setDescClaseEndoso(e.descClaseEndoso),this.setDescCoaseguro(e.descCoaseguro),this.setDescCodRebajaGeneral(e.descCodRebajaGeneral),this.setDescCoseguro(e.descCoseguro),this.setDescMoneda(e.descMoneda),this.setDescMotivoEndoso(e.descMotivoEndoso),this.setDescRamo(e.descRamo),this.setDescTextoLibre(e.descTextoLibre),this.setDescTipoActividad(e.descTipoActividad),this.setDescTipoEndoso(e.descTipoEndoso),this.setDescTipoOperacion(e.descTipoOperacion),this.setExpediente(e.expediente),this.setFeEmisionP05(e.feEmisionP05),this.setFeFinVigPoliza(e.feFinVigPoliza),this.setFeGeneracion(e.feGeneracion),this.setFeIniVigPoliza(e.feIniVigPoliza),this.setIdProceso(e.idProceso),this.setImpComOrg(e.impComOrg),this.setImpComProd(e.impComProd),this.setImpComTecOrg(e.impComTecOrg),this.setImpComTecProd(e.impComTecProd),this.setImpDerechoDeEmision(e.impDerechoDeEmision),this.setImpDerechoDeEmisionBis(e.impDerechoDeEmisionBis),this.setImpGastosExplotacion(e.impGastosExplotacion),this.setImpImpuestosInternos(e.impImpuestosInternos),this.setImpImpuestosSuper(e.impImpuestosSuper),this.setImpIngresosBrutos(e.impIngresosBrutos),this.setImpIva(e.impIva),this.setImpIvaGranContr(e.impIvaGranContr),this.setImpIvaInscripto(e.impIvaInscripto),this.setImpIvaNoInscripto(e.impIvaNoInscripto),this.setImpPremio(e.impPrimaComercial),this.setImpPriPps(e.impPriPps),this.setImpPriRpp(e.impPriRpp),this.setImpPrimaComercial(e.impPrimaComercial),this.setImpPrimaSuscripcion(e.impPrimaSuscripcion),this.setImpRebCasc(e.impRebCasc),this.setImpRebajaGeneral(e.impRebajaGeneral),this.setImpRecFinanciero(e.impRecFinanciero),this.setImpRecPrim(e.impRecPrim),this.setImpRecargoAdministrativo(e.impRecargoAdministrativo),this.setImpRecargoGeneral(e.impRecargoGeneral),this.setImpSellados(e.impSellados),this.setImpSsn26363(e.impSsn26363),this.setImpSss(e.impSss),this.setImpSubtotal(e.impSubtotal),this.setImpSumaAsegTotalPoliza(e.impSumaAsegTotalPoliza),this.setImpSumaLi(e.impSumaLi),this.setImpSumaPml(e.impSumaPml),this.setImpSumatEndPriComAcc(e.impSumatEndPriComAcc),this.setImpSumatEndPriComRc(e.impSumatEndPriComRc),this.setImpSumatEndPriComSf(e.impSumatEndPriComSf),this.setImpSumatEndPriTec(e.impSumatEndPriTec),this.setImpSumatPriAnualAcc(e.impSumatPriAnualAcc),this.setImpSumatPriAnualCasco(e.impSumatPriAnualCasco),this.setImpSumatPriAnualRc(e.impSumatPriAnualRc),this.setImpSumatPriAnualSf(e.impSumatPriAnualSf),this.setImpSumatPrimaAcc(e.impSumatPrimaAcc),this.setImpSumatPrimaCasco(e.impSumatPrimaCasco),this.setImpSumatPrimaRc(e.impSumatPrimaRc),this.setImpSumatPrimaSf(e.impSumatPrimaSf),this.setImpSumatSumaAsegAcc(e.impSumatSumaAsegAcc),this.setImpTipoCambioMoneda(e.impTipoCambioMoneda),this.setImpTotalImpuestos(e.impTotalImpuestos),this.setImpTotalIva(e.impTotalIva),this.setIndicAnulReemplazo(e.indicAnulReemplazo),this.setIndicImprime(e.indicImprime),this.setLiTerremoto(e.liTerremoto),this.setNomAsegurado(e.nomAsegurado),this.setNomOrg(e.nomOrg),this.setNomProd(e.nomProd),this.setNomTomador(e.nomTomador),this.setNpoliza(e.npoliza),this.setNpolizaRenueva(e.npolizaRenueva),this.setNroRecibo(e.nroRecibo),this.setNroSolicitudGenerado(e.nroSolicitudGenerado),this.setNsuplemento(e.nsuplemento),this.setNsuplementoAnulado(e.nsuplementoAnulado),this.setPorcComOrg(e.porcComOrg),this.setPorcComOrgBis(e.porcComOrgBis),this.setPorcComOrgLibre(e.porcComOrgLibre),this.setPorcIvaGranContr(e.porcIvaGranContr),this.setPorcIvaInscripto(e.porcIvaInscripto),this.setPorcIvaNoInscripto(e.porcIvaNoInscripto),this.setPorcPrimerCuota(e.porcPrimerCuota),this.setPorcRebajaGeneral(e.porcRebajaGeneral),this.setPorcRecAdministrativo(e.porcRecAdministrativo),this.setPorc
820RecFinanciero(e.porcRecFinanciero),this.setPorcRecargoGeneral(e.porcRecargoGeneral),this.setPorcRpp(e.porcRpp),this.setTipoFacturacion(e.tipoFacturacion),this.setTipoFacturacion1(e.tipoFacturacion1),this.setTipoFacturacion2(e.tipoFacturacion2)}getCantCuotas(){return this.cantCuotas}setCantCuotas(e){this.cantCuotas=e}getCantDuracionPoliza(){return this.cantDuracionPoliza}setCantDuracionPoliza(e){this.cantDuracionPoliza=e}getCodAgencia(){return this.codAgencia}setCodAgencia(e){this.codAgencia=e}getCodAsegurado(){return this.codAsegurado}setCodAsegurado(e){this.codAsegurado=e}getCodCanalVenta(){return this.codCanalVenta}setCodCanalVenta(e){this.codCanalVenta=e}getCodClaseEndoso(){return this.codClaseEndoso}setCodClaseEndoso(e){this.codClaseEndoso=e}getCodCoaseguro(){return this.codCoaseguro}setCodCoaseguro(e){this.codCoaseguro=e}getCodCompania(){return this.codCompania}setCodCompania(e){this.codCompania=e}getCodCoseguro(){return this.codCoseguro}setCodCoseguro(e){this.codCoseguro=e}getCodFormaCalculo(){return this.codFormaCalculo}setCodFormaCalculo(e){this.codFormaCalculo=e}getCodFormaRenovacion(){return this.codFormaRenovacion}setCodFormaRenovacion(e){this.codFormaRenovacion=e}getCodGrupo(){return this.codGrupo}setCodGrupo(e){this.codGrupo=e}getCodIdCalculo(){return this.codIdCalculo}setCodIdCalculo(e){this.codIdCalculo=e}getCodLineaEmision(){return this.codLineaEmision}setCodLineaEmision(e){this.codLineaEmision=e}getCodMoneda(){return this.codMoneda}setCodMoneda(e){this.codMoneda=e}getCodMotivoEndoso(){return this.codMotivoEndoso}setCodMotivoEndoso(e){this.codMotivoEndoso=e}getCodNegocio(){return this.codNegocio}setCodNegocio(e){this.codNegocio=e}getCodNup(){return this.codNup}setCodNup(e){this.codNup=e}getCodOficinaEmite(){return this.codOficinaEmite}setCodOficinaEmite(e){this.codOficinaEmite=e}getCodOrganizador(){return this.codOrganizador}setCodOrganizador(e){this.codOrganizador=e}getCodPlan(){return this.codPlan}setCodPlan(e){this.codPlan=e}getCodPlanPagos(){return this.codPlanPagos}setCodPlanPagos(e){this.codPlanPagos=e}getCodProd(){return this.codProd}setCodProd(e){this.codProd=e}getCodProducto(){return this.codProducto}setCodProducto(e){this.codProducto=e}getCodRamo(){return this.codRamo}setCodRamo(e){this.codRamo=e}getCodRamoSellado(){return this.codRamoSellado}setCodRamoSellado(e){this.codRamoSellado=e}getCodRebajaGeneral(){return this.codRebajaGeneral}setCodRebajaGeneral(e){this.codRebajaGeneral=e}getCodRefExterna(){return this.codRefExterna}setCodRefExterna(e){this.codRefExterna=e}getCodRv1(){return this.codRv1}setCodRv1(e){this.codRv1=e}getCodSistema(){return this.codSistema}setCodSistema(e){this.codSistema=e}getCodTipoActSellado(){return this.codTipoActSellado}setCodTipoActSellado(e){this.codTipoActSellado=e}getCodTipoDuracionPoliza(){return this.codTipoDuracionPoliza}setCodTipoDuracionPoliza(e){this.codTipoDuracionPoliza=e}getCodTipoEndoso(){return this.codTipoEndoso}setCodTipoEndoso(e){this.codTipoEndoso=e}getCodTipoOperacion(){return this.codTipoOperacion}setCodTipoOperacion(e){this.codTipoOperacion=e}getCodTomador(){return this.codTomador}setCodTomador(e){this.codTomador=e}getCodUsuarioEmite(){return this.codUsuarioEmite}setCodUsuarioEmite(e){this.codUsuarioEmite=e}getCondIvaFacturado(){return this.condIvaFacturado}setCondIvaFacturado(e){this.condIvaFacturado=e}getDescClaseEndoso(){return this.descClaseEndoso}setDescClaseEndoso(e){this.descClaseEndoso=e}getDescCoaseguro(){return this.descCoaseguro}setDescCoaseguro(e){this.descCoaseguro=e}getDescCodRebajaGeneral(){return this.descCodRebajaGeneral}setDescCodRebajaGeneral(e){this.descCodRebajaGeneral=e}getDescCoseguro(){return this.descCoseguro}setDescCoseguro(e){this.descCoseguro=e}getDescMoneda(){return this.descMoneda}setDescMoneda(e){this.descMoneda=e}getDescMotivoEndoso(){return this.descMotivoEndoso}setDescMotivoEndoso(e){this.descMotivoEndoso=e}getDescRamo(){return this.descRamo}setDescRamo(e){this.descRamo=e}getDescTextoLibre(){return this.descTextoLibre}setDescTextoLibre(e){this.descTextoLibre=e}getDescTipoActividad(){return this.descTipoActividad}setDescTipoActividad(e){this.descTipoActividad=e}getDescTipoEndoso(){return this.descTipoEndoso}setDescTipoEndoso(e){this.descTipoEndoso=e}getDescTipoOperacion(){return this.descTipoOperacion}setDescTipoOperacion(e){this.descTipoOperacion=e}getExpediente(){return this.expediente}setExpediente(e){this.expediente=e}
820getFeEmisionP05(){return this.feEmisionP05}setFeEmisionP05(e){this.feEmisionP05=e}getFeFinVigPoliza(){return this.feFinVigPoliza}setFeFinVigPoliza(e){this.feFinVigPoliza=e}getFeGeneracion(){return this.feGeneracion}setFeGeneracion(e){this.feGeneracion=e}getFeIniVigPoliza(){return this.feIniVigPoliza}setFeIniVigPoliza(e){this.feIniVigPoliza=e}getIdProceso(){return this.idProceso}setIdProceso(e){this.idProceso=e}getImpComOrg(){return this.impComOrg}setImpComOrg(e){this.impComOrg=e}getImpComProd(){return this.impComProd}setImpComProd(e){this.impComProd=e}getImpComTecOrg(){return this.impComTecOrg}setImpComTecOrg(e){this.impComTecOrg=e}getImpComTecProd(){return this.impComTecProd}setImpComTecProd(e){this.impComTecProd=e}getImpDerechoDeEmision(){return this.impDerechoDeEmision}setImpDerechoDeEmision(e){this.impDerechoDeEmision=e}getImpDerechoDeEmisionBis(){return this.impDerechoDeEmisionBis}setImpDerechoDeEmisionBis(e){this.impDerechoDeEmisionBis=e}getImpGastosExplotacion(){return this.impGastosExplotacion}setImpGastosExplotacion(e){this.impGastosExplotacion=e}getImpImpuestosInternos(){return this.impImpuestosInternos}setImpImpuestosInternos(e){this.impImpuestosInternos=e}getImpImpuestosSuper(){return this.impImpuestosSuper}setImpImpuestosSuper(e){this.impImpuestosSuper=e}getImpIngresosBrutos(){return this.impIngresosBrutos}setImpIngresosBrutos(e){this.impIngresosBrutos=e}getImpIva(){return this.impIva}setImpIva(e){this.impIva=e}getImpIvaGranContr(){return this.impIvaGranContr}setImpIvaGranContr(e){this.impIvaGranContr=e}getImpIvaInscripto(){return this.impIvaInscripto}setImpIvaInscripto(e){this.impIvaInscripto=e}getImpIvaNoInscripto(){return this.impIvaNoInscripto}setImpIvaNoInscripto(e){this.impIvaNoInscripto=e}getImpPremio(){return this.impPremio}setImpPremio(e){this.impPremio=e}getImpPriPps(){return this.impPriPps}setImpPriPps(e){this.impPriPps=e}getImpPriRpp(){return this.impPriRpp}setImpPriRpp(e){this.impPriRpp=e}getImpPrimaComercial(){return this.impPrimaComercial}setImpPrimaComercial(e){this.impPrimaComercial=e}getImpPrimaSuscripcion(){return this.impPrimaSuscripcion}setImpPrimaSuscripcion(e){this.impPrimaSuscripcion=e}getImpRebCasc(){return this.impRebCasc}setImpRebCasc(e){this.impRebCasc=e}getImpRebajaGeneral(){return this.impRebajaGeneral}setImpRebajaGeneral(e){this.impRebajaGeneral=e}getImpRecFinanciero(){return this.impRecFinanciero}setImpRecFinanciero(e){this.impRecFinanciero=e}getImpRecPrim(){return this.impRecPrim}setImpRecPrim(e){this.impRecPrim=e}getImpRecargoAdministrativo(){return this.impRecargoAdministrativo}setImpRecargoAdministrativo(e){this.impRecargoAdministrativo=e}getImpRecargoGeneral(){return this.impRecargoGeneral}setImpRecargoGeneral(e){this.impRecargoGeneral=e}getImpSellados(){return this.impSellados}setImpSellados(e){this.impSellados=e}getImpSsn26363(){return this.impSsn26363}setImpSsn26363(e){this.impSsn26363=e}getImpSss(){return this.impSss}setImpSss(e){this.impSss=e}getImpSubtotal(){return this.impSubtotal}setImpSubtotal(e){this.impSubtotal=e}getImpSumaAsegTotalPoliza(){return this.impSumaAsegTotalPoliza}setImpSumaAsegTotalPoliza(e){this.impSumaAsegTotalPoliza=e}getImpSumaLi(){return this.impSumaLi}setImpSumaLi(e){this.impSumaLi=e}getImpSumaPml(){return this.impSumaPml}setImpSumaPml(e){this.impSumaPml=e}getImpSumatEndPriComAcc(){return this.impSumatEndPriComAcc}setImpSumatEndPriComAcc(e){this.impSumatEndPriComAcc=e}getImpSumatEndPriComCasco(){return this.impSumatEndPriComCasco}setImpSumatEndPriComCasco(e){this.impSumatEndPriComCasco=e}getImpSumatEndPriComRc(){return this.impSumatEndPriComRc}setImpSumatEndPriComRc(e){this.impSumatEndPriComRc=e}getImpSumatEndPriComSf(){return this.impSumatEndPriComSf}setImpSumatEndPriComSf(e){this.impSumatEndPriComSf=e}getImpSumatEndPriTec(){return this.impSumatEndPriTec}setImpSumatEndPriTec(e){this.impSumatEndPriTec=e}getImpSumatPriAnualAcc(){return this.impSumatPriAnualAcc}setImpSumatPriAnualAcc(e){this.impSumatPriAnualAcc=e}getImpSumatPriAnualCasco(){return this.impSumatPriAnualCasco}setImpSumatPriAnualCasco(e){this.impSumatPriAnualCasco=e}getImpSumatPriAnualRc(){return this.impSumatPriAnualRc}setImpSumatPriAnualRc(e){this.impSumatPriAnualRc=e}getImpSumatPriAnualSf(){return this.impSumatPriAnualSf}setImpSumatPriAnualSf(e){this.impSumatPriAnualSf=e}getImpSumatPrimaAcc(){return this.impSumatPrimaAcc}setImpSumatPrimaAcc(e){this.impSumatPrimaAcc=e}getImpSumatPrimaCasco(){return this.impSumatPrimaCasco}setImpSumatPrimaCasco(e){this.impSumatPrimaCasco=e}getImpSumatPrimaRc(){return this.impSumatPrimaRc}setImpSumatPrimaRc(e){this.impSumatPrimaRc=e}getImpSumatPrimaSf(){return this.impSumatPrimaSf}setImpSumatPrimaSf(e){this.impSumatPrimaSf=e}getImpSumatSumaAsegAcc(){return this.impSumatSumaAsegAcc}setImpSumatSumaAsegAcc(e){this.impSumatSumaAsegAcc=e}getImpTipoCambioMoneda(){return this.impTipoCambioMoneda}setImpTipoCambioMoneda(e){this.impTipoCambioMoneda=e}getImpTotalImpuestos(){return this.impTotalImpuestos}setImpTotalImpuestos(e){this.impTotalImpuestos=e}getImpTotalIva(){return this.impTotalIva}setImpTotalIva(e){this.impTotalIva=e}getIndicAnulReemplazo(){return this.indicAnulReemplazo}setIndicAnulReemplazo(e){this.indicAnulReemplazo=e}getIndicImprime(){return this.indicImprime}setIndicImprime(e){this.indicImprime=e}getLiTerremoto(){return this.liTerremoto}setLiTerremoto(e){this.liTerremoto=e}getNomAsegurado(){return this.nomAsegurado}setNomAsegurado(e){this.nomAsegurado=e}getNomOrg(){return this.nomOrg}setNomOrg(e){this.nomOrg=e}getNomProd(){return this.nomProd}setNomProd(e){this.nomProd=e}getNomTomador(){return this.nomTomador}setNomTomador(e){this.nomTomador=e}getNpoliza(){return this.npoliza}setNpoliza(e){this.npoliza=e}getNpolizaRenueva(){return this.npolizaRenueva}setNpolizaRenueva(e){this.npolizaRenueva=e}getNroRecibo(){return this.nroRecibo}setNroRecibo(e){this.nroRecibo=e}getNroSolicitudGenerado(){return this.nroSolicitudGenerado}setNroSolicitudGenerado(e){this.nroSolicitudGenerado=e}getNsuplemento(){return this.nsuplemento}setNsuplemento(e){this.nsuplemento=e}getNsuplementoAnulado(){return this.nsuplementoAnulado}setNsuplementoAnulado(e){this.nsuplementoAnulado=e}getPorcComOrg(){return this.porcComOrg}setPorcComOrg(e){this.porcComOrg=e}getPorcComOrgBis(){return this.porcComOrgBis}setPorcComOrgBis(e){this.porcComOrgBis=e}getPorcComOrgLibre(){return this.porcComOrgLibre}setPorcComOrgLibre(e){this.porcComOrgLibre=e}getPorcComProd(){return this.porcComProd}setPorcComProd(e){this.porcComProd=e}getPorcComProdBis(){return this.porcComProdBis}setPorcComProdBis(e){this.porcComProdBis=e}getPorcComProdLibre(){return this.porcComProdLibre}setPorcComProdLibre(e){this.porcComProdLibre=e}getPorcIvaGranContr(){return this.porcIvaGranContr}setPorcIvaGranContr(e){this.porcIvaGranContr=e}getPorcIvaInscripto(){return this.porcIvaInscripto}setPorcIvaInscripto(e){this.porcIvaInscripto=e}getPorcIvaNoInscripto(){return this.porcIvaNoInscripto}setPorcIvaNoInscripto(e){this.porcIvaNoInscripto=e}getPorcPrimerCuota(){return this.porcPrimerCuota}setPorcPrimerCuota(e){this.porcPrimerCuota=e}getPorcRebajaGeneral(){return this.porcRebajaGeneral}setPorcRebajaGeneral(e){this.porcRebajaGeneral=e}getPorcRecAdministrativo(){return this.porcRecAdministrativo}setPorcRecAdministrativo(e){this.porcRecAdministrativo=e}getPorcRecFinanciero(){return this.porcRecFinanciero}setPorcRecFinanciero(e){this.porcRecFinanciero=e}getPorcRecargoGeneral(){return this.porcRecargoGeneral}setPorcRecargoGeneral(e){this.porcRecargoGeneral=e}getPorcRpp(){return this.porcRpp}setPorcRpp(e){this.porcRpp=e}getTipoFacturacion(){return this.tipoFacturacion}setTipoFacturacion(e){this.tipoFacturacion=e}getTipoFacturacion1(){return this.tipoFacturacion1}setTipoFacturacion1(e){this.tipoFacturacion1=e}getTipoFacturacion2(){return this.tipoFacturacion2}setTipoFacturacion2(e){this.tipoFacturacion2=e}toString(e){throw new Error("Method not implemented.")}equals(e){throw new Error("Method not implemented.")}};var w_=class{descTipoPersona="";tipoPersona="";constructor(e){this.setDescPersona(e.descTipoPersona),this.setTipoPersona(e.codTipoPersona)}toString(){return this.getDescTipoPersona()}equals(e){return this.getTipoPersona()==e.getTipoPersona()}getDescTipoPersona(){return this.descTipoPersona}setDescPersona(e){this.descTipoPersona=e}getTipoPersona(){return this.tipoPersona}setTipoPersona(e){this.tipoPersona=e}};var os=class{codGenero="";codPadre="";descGenero="";constructor(e){this.setCodGenero(e.codGenero),this.setCodPadre(e.codPadre),this.setDescGenero(e.descGenero)}toString(){return this.getDescGenero()}equals(e){return this.getCodGenero()==e.getCodGenero()}getDescGenero(){return this.descGenero}setDescGenero(e){this.descGenero=e}
820getCodGenero(){return this.codGenero}setCodGenero(e){this.codGenero=e}getCodPadre(){return this.codPadre}setCodPadre(e){this.codPadre=e}};var S_=class{codigo="";descripcion="";constructor(e){this.setcodigo(e.codigo),this.setdescripcion(e.descripcion)}toString(){return this.getdescripcion()}equals(e){return this.getcodigo()==e.getcodigo()}getcodigo(){return this.codigo}setcodigo(e){this.codigo=e}getdescripcion(){return this.descripcion}setdescripcion(e){this.descripcion=e}};var P_=class{codigo="";descripcion="";constructor(e){this.setcodigo(e.codigo),this.setdescripcion(e.descripcion)}toString(){return this.getdescripcion()}equals(e){return this.getcodigo()==e.getcodigo()}getcodigo(){return this.codigo}setcodigo(e){this.codigo=e}getdescripcion(){return this.descripcion}setdescripcion(e){this.descripcion=e}};var Ir=class{actividad="";descAsegurado="";descEmail="";domicilio=null;feNacimiento="";genero=null;iibb=null;indicMerlin="";iva=null;nroDni="";nroTelefono;nroTelefonoCel;nacionalidad;paisDeOrigen;tipoDni=null;tipoPersona=null;pais;nombre="";apellido="";constructor(e){e&&(this.setactividad(e.actividad),this.setdescAsegurado(e.descAsegurado),this.settipoPersona(e.tipoPersona),e.descEmail&&this.setdescEmail(e.descEmail),this.setdomicilio(e.domicilio),this.setfeNacimiento(e.feNacimiento),this.setgenero(e.genero),this.setiibb(e.iibb),this.setindicMerlin(e.indicMerlin),this.setiva(e.iva),this.setnroDni(e.nroDni),e.nroTelefono&&this.setnroTelefono(e.nroTelefono),e.nroTelefonoCel&&this.setnroTelefonoCel(e.nroTelefonoCel),e.nacionalidad&&this.setNacionalidad(e.nacionalidad),e.paisDeOrigen&&this.setpaisDeOrigen(e.paisDeOrigen),this.settipoDni(e.tipoDni),e.pais&&this.setPais(e.pais))}gettipoDni(){return this.tipoDni}settipoDni(e){this.tipoDni=e}getPais(){return this.pais}setPais(e){this.pais=e}gettipoPersona(){return this.tipoPersona}getTipoPersona(){return new w_({codTipoPersona:this.tipoPersona?.codigo,descTipoPersona:this.tipoPersona?.descripcion})}settipoPersona(e){this.tipoPersona=e}getactividad(){return this.actividad}setactividad(e){this.actividad=e}getdescAsegurado(){return this.descAsegurado}setdescAsegurado(e){this.descAsegurado=e}getdescEmail(){return this.descEmail}setdescEmail(e){this.descEmail=e}getdomicilio(){return this.domicilio}setdomicilio(e){this.domicilio=e}getProvincia(){return{codProvincia:this.domicilio?.provincia.codigo,codPostal:this.domicilio?.codPostal,descProvincia:this.domicilio?.provincia.descripcion}}getLocalidad(){return{codLocalidad:this.domicilio?.localidad.codigo,codPostal:this.domicilio?.codPostal,codProv:this.domicilio?.provincia.codigo,descLocalidad:this.domicilio?.localidad.descripcion}}getfeNacimiento(){return this.feNacimiento}getFechaNacimiento(){return new Date(this.feNacimiento)}setfeNacimiento(e){this.feNacimiento=e}getgenero(){return this.genero}getGenero(){return new os({codGenero:this.genero?.codigo??"",codPadre:"",descGenero:this.genero?.descripcion??""})}setgenero(e){this.genero=e}getiibb(){return this.iibb}getIIBB(){return new P_(this.getiibb())}setiibb(e){this.iibb=e}getindicMerlin(){return this.indicMerlin}setindicMerlin(e){this.indicMerlin=e}getiva(){return this.iva}getIVA(){return new S_(this.getiva())}setiva(e){this.iva=e}getnroDni(){return this.nroDni}setnroDni(e){this.nroDni=e}getnroTelefono(){return this.nroTelefono}setnroTelefono(e){this.nroTelefono=e}getnroTelefonoCel(){return this.nroTelefonoCel}setnroTelefonoCel(e){this.nroTelefonoCel=e}setNacionalidad(e){this.nacionalidad=e}getNacionalidad(){return this.nacionalidad}setpaisDeOrigen(e){this.paisDeOrigen=e}getpaisDeOrigen(){return this.paisDeOrigen}getNombre(){return this.nombre}setNombre(e){this.nombre=e}getApellido(){return this.apellido}setApellido(e){this.apellido=e}provieneDeMerlin(){return this.getindicMerlin()!="N"}toString(e){return e.descripcion}equals(e){throw new Error("Method not implemented.")}};var $R={actividad:"",descAsegurado:"",descEmail:"",domicilio:{codPostal:"",descCalle:"",descDepartamento:"",localidad:{codigo:"",descripcion:""},nroCalle:"",nroPiso:"",provincia:{codigo:"",descripcion:""}},feNacimiento:"",genero:{codigo:"",descripcion:""},iibb:{codigo:"",descripcion:""},indicMerlin:"",iva:{codigo:"",descripcion:""},nroDni:"",nroTelefono:"",tipoDni:{codigo:"",descripcion:""},tipoPersona:{codigo:"",descripcion:""}},WR={fechaCarga:"",deCausaSiniestro:"",fechaRegistro:"",fechaSiniestro:"",horaSiniestro:"",tipoSiniestro:"",causaSiniestro:"",isExtemporal:"",detalleSinie
820stro:"",detalleExtemporal:"",bienes:[],deTipoSiniestro:"",tomador:""},Upt={deTipoSiniestro:"",deCausaSiniestro:"",fechaCarga:"",fechaSiniestro:new Date(2019,11,17),horaSiniestro:"",tipoSiniestro:"",causaSiniestro:"",isExtemporal:"",detalleSiniestro:"",detalleExtemporal:"",bienes:[],tomador:""},Re=class{static error={status:!1,message:""};static successMessage=null;static siniestro=WR;static asegurado=new Ir($R);static riesgo;static vFrentePol;static stepDatosSiniestro=!1;static stepDatosDoc=!1;static predenuncia;static completed1=!1;static completed2=!1;static completed3=!1;static completed4=!1;static sinBienes=!1;static documentos=!1;static MensajeError=null;static clearPred(){this.siniestro=WR,this.asegurado=new Ir($R),this.stepDatosSiniestro=!1,this.stepDatosDoc=!1,this.error={status:!1,message:""},this.completed1=!1,this.completed2=!1,this.completed3=!1,this.completed4=!1}};var YR={actividad:"",descAsegurado:"",descEmail:"",domicilio:{codPostal:"",descCalle:"",descDepartamento:"",localidad:{codigo:"",descripcion:""},nroCalle:"",nroPiso:"",provincia:{codigo:"",descripcion:""}},feNacimiento:"",genero:{codigo:"",descripcion:""},iibb:{codigo:"",descripcion:""},indicMerlin:"",iva:{codigo:"",descripcion:""},nroDni:"",nroTelefono:"",tipoDni:{codigo:"",descripcion:""},tipoPersona:{codigo:"",descripcion:""}},QR={fechaCarga:"",deCausaSiniestro:"",fechaRegistro:"",fechaSiniestro:"",horaSiniestro:"",tipoSiniestro:"",causaSiniestro:"",isExtemporal:"",detalleSiniestro:"",detalleExtemporal:"",bienes:[],deTipoSiniestro:"",tomador:""},qe=class{static error={status:!1,message:""};static successMessage=null;static siniestro=QR;static asegurado=new Ir(YR);static riesgo;static certificado;static vFrentePol;static stepDatosSiniestro=!1;static stepDatosAsegurado=!1;static stepDatosDoc=!1;static predenuncia;static completed1=!1;static completed2=!1;static completed3=!1;static completed4=!1;static documentos=!1;static tipoAsegurado="";static mensajeError=null;static clearPred(){this.siniestro=QR,this.asegurado=new Ir(YR),this.stepDatosSiniestro=!1,this.stepDatosDoc=!1,this.error={status:!1,message:""},this.completed1=!1,this.completed2=!1,this.completed3=!1,this.completed4=!1}};var KR={actividad:"",descAsegurado:"",descEmail:"",domicilio:{codPostal:"",descCalle:"",descDepartamento:"",localidad:{codigo:"",descripcion:""},nroCalle:"",nroPiso:"",provincia:{codigo:"",descripcion:""}},feNacimiento:"",genero:{codigo:"",descripcion:""},iibb:{codigo:"",descripcion:""},indicMerlin:"",iva:{codigo:"",descripcion:""},nroDni:"",nroTelefono:"",tipoDni:{codigo:"",descripcion:""},tipoPersona:{codigo:"",descripcion:""}},XR={fechaCarga:"",deCausaSiniestro:"",fechaRegistro:"",fechaSiniestro:"",horaSiniestro:"",tipoSiniestro:"",causaSiniestro:"",isExtemporal:"",detalleSiniestro:"",detalleExtemporal:"",bienes:[],deTipoSiniestro:"",tomador:"",ubicacionSiniestro:""},Te=class{static error={status:!1,message:""};static successMessage=null;static pruebaActivacion=!1;static siniestro=XR;static asegurado=new Ir(KR);static riesgo;static certificado=null;static vFrentePol;static stepDatosSiniestro=!1;static stepDatosDoc=!1;static predenuncia;static completed1=!1;static completed2=!1;static completed3=!1;static completed4=!1;static tieneDatosTerceros=!1;static tieneDatosLesionados=!1;static ubicacionLaboral;static detalleUbicacionlaboral;static inicioJornadaLaboral;static finJornadaLaboral;static momentoSiniestro;static detalleLaboral;static indLugarTrabajo;static indTareasSiniestro;static tipoAsegurado;static mensajeError="";static clearPred(){this.siniestro=XR,this.asegurado=new Ir(KR),this.ubicacionLaboral="",this.detalleUbicacionlaboral="",this.inicioJornadaLaboral="",this.finJornadaLaboral="",this.stepDatosSiniestro=!1,this.stepDatosDoc=!1,this.momentoSiniestro="",this.detalleLaboral="",this.indLugarTrabajo="",this.indTareasSiniestro="",this.error={status:!1,message:""},this.completed1=!1,this.completed2=!1,this.completed3=!1,this.completed4=!1}};function wpe(i,e){if(i&1&&(c(0,"h5",42),m(1),S(2,"br"),m(3),d()),i&2){let t=M();p(),K(" ",t.userDelegateType,":"),p(2),K(" ",t.userDelegateMail," ")}}function Spe(i,e){i&1&&(c(0,"div",24)(1,"h4",25),m(2," Documento "),d()())}function Ppe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",43),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.nroPoliza," ")}}function Epe(i,e){i&1&&(c(0,"div",24)(1,"nx-formfield",44),S(2,"input",45),c(3,"nx-error",32)(4,"strong"),m(5,"Importante"),d(),m(6," este campo es requerido "),d()()())}function Dpe(i,e){i&1&&S(0,"img",46)}function Ope(i,e){i&1&&(c(0,"nx-message",47),m(1," Declaro, en mi car\xE1cter de asegurado/a y/o denunciante del presente siniestro, que toda la informaci\xF3n proporcionada en este documento reviste el "),c(2,"span",14),m(3,"car\xE1cter de declaraci\xF3n jurada"),d(),m(4,", comprometi\xE9ndome a que los datos ingresados son veraces, completos y exactos, y que reflejan la realidad al momento de su firma. "),d())}function Tpe(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M().$implicit;
820p(),K(", ",t.codRefPiso)}}function Ipe(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M().$implicit;p(),K(" ,",t.codRefDpto)}}function kpe(i,e){if(i&1){let t=Y();c(0,"tbody")(1,"tr",50)(2,"td",53),m(3),d(),c(4,"td",53),m(5),d(),c(6,"td",53),m(7),d(),c(8,"td",53),m(9),d(),c(10,"td",53),m(11),L(12,Tpe,2,1,"span",41)(13,Ipe,2,1,"span",41),d(),c(14,"td",53)(15,"button",54),I("click",function(r){let o=O(t).$implicit,a=M(2);return T(a.cargarDenuncia(r,o.nroRiesgo))}),S(16,"span",55),m(17," Cargar Denuncia "),d()()()()}if(i&2){let t=e.$implicit,n=M(2);p(3),K(" ",n.asignarNombre(t.npoliza,t.nroRiesgo,n.riesgos)," "),p(2),K(" ",n.fechaformatcomponent(t.feDesdeVigencia)," "),p(2),K(" ",n.fechaformatcomponent(t.feHastaVigencia)," "),p(2),Li(" ",t.descProvincia," - (",t.descLocalidad,") "),p(2),Li(" ",t.nomCalle," ",t.nroAlturaCalle," "),p(),g("ngIf",t.codRefPiso!=null),p(),g("ngIf",t.codRefDpto!=null)}}function Npe(i,e){if(i&1){let t=Y();c(0,"div")(1,"table",48)(2,"caption",49),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",50)(6,"th",51),m(7,"Nro. de P\xF3liza"),d(),c(8,"th",51),m(9,"Inicio de Vigencia"),d(),c(10,"th",51),m(11,"Fin de Vigencia"),d(),c(12,"th",51),m(13,"Localidad"),d(),c(14,"th",51),m(15,"Ubicaci\xF3n"),d(),c(16,"th",51),m(17,"Acciones"),d()()(),L(18,kpe,18,9,"tbody",31),d(),c(19,"nx-pagination",52),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(18),g("ngForOf",t.currentlyShownPageElements),p(),g("count",t.riesgos.length)("page",t.page)("perPage",t.elementsPerPage)}}function Ape(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M().$implicit;p(),K(", ",t.codRefPiso)}}function Vpe(i,e){if(i&1&&(c(0,"span"),m(1),d()),i&2){let t=M().$implicit;p(),K(" ,",t.codRefDpto)}}function Fpe(i,e){if(i&1){let t=Y();c(0,"tbody")(1,"tr",50)(2,"td",53),m(3),d(),c(4,"td",53),m(5),d(),c(6,"td",53),m(7),d(),c(8,"td",53),m(9),d(),c(10,"td",53),m(11),L(12,Ape,2,1,"span",41)(13,Vpe,2,1,"span",41),d(),c(14,"td",53)(15,"button",54),I("click",function(r){let o=O(t).$implicit,a=M(2);return T(a.cargarDenuncia(r,o.nroRiesgo))}),S(16,"span",55),m(17," Cargar Denuncia "),d()()()()}if(i&2){let t=e.$implicit,n=M(2);p(3),K(" ",t.npoliza," "),p(2),K(" ",n.fechaformatcomponent(t.feDesdeVigencia)," "),p(2),K(" ",n.fechaformatcomponent(t.feHastaVigencia)," "),p(2),Li(" ",t.descProvincia," - (",t.descLocalidad,") "),p(2),Li(" ",t.nomCalle," ",t.nroAlturaCalle," "),p(),g("ngIf",t.codRefPiso!=null),p(),g("ngIf",t.codRefDpto!=null)}}function Rpe(i,e){if(i&1){let t=Y();c(0,"div")(1,"table",48)(2,"caption",49),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",50)(6,"th",51),m(7,"Nro. de P\xF3liza"),d(),c(8,"th",51),m(9,"Inicio de Vigencia"),d(),c(10,"th",51),m(11,"Fin de Vigencia"),d(),c(12,"th",51),m(13,"Localidad"),d(),c(14,"th",51),m(15,"Ubicaci\xF3n"),d(),c(16,"th",51),m(17,"Acciones"),d()()(),L(18,Fpe,18,9,"tbody",31),d(),c(19,"nx-pagination",52),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(18),g("ngForOf",t.currentlyShownPageElements),p(),g("count",t.riesgos.length)("page",t.page)("perPage",t.elementsPerPage)}}function zpe(i,e){if(i&1){let t=Y();c(0,"tbody")(1,"tr",50)(2,"td",53),m(3),d(),c(4,"td",53),m(5),d(),c(6,"td",53),m(7),d(),c(8,"td",53),m(9),d(),c(10,"td",53),m(11),d(),c(12,"td",53),m(13),d(),c(14,"td",53)(15,"button",54),I("click",function(r){let o=O(t).$implicit,a=M(2);return T(a.cargarDenuncia(r,o.nroItem))}),S(16,"span",55),m(17," Cargar Denuncia "),d()()()()}if(i&2){let t=e.$implicit,n=M(2);p(3),Li(" ",t.npoliza," - ",t.nroItem," "),p(2),Pe(n.asegurado),p(2),Pe(n.vigencia),p(2),Pe(t.patente),p(2),Pe(t.descMarcaVehiculo),p(2),Pe(t.chassis)}}function Lpe(i,e){if(i&1){let t=Y();c(0,"div")(1,"table",48)(2,"caption",49),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",50)(6,"th",51),m(7,"Nro. de P\xF3liza"),d(),c(8,"th",51),m(9,"Asegurado"),d(),c(10,"th",51),m(11,"Vigencia"),d(),c(12,"th",51),m(13,"Patente"),d(),c(14,"th",51),m(15,"Marca - Modelo"),d(),c(16,"th",51),m(17,"Chasis"),d(),c(18,"th",51),m(19,"Acciones"),d()()(),L(20,zpe,18,7,"tbody",31),d(),c(21,"nx-pagination",52),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(20),g("ngForOf",t.currentlyShownPageElements),p(),g("count",t.riesgos.length)("page",t.page)("perPage",t.elementsPerPage)}}function Hpe(i,e){if(i&1){let t=Y();c(0,"tbody")(1,"tr",50)(2,"td",53),m(3),d(),c(4,"td",53),m(5),d(),c(6,"td",53),m(7),d(),c(8,"td",53),m(9),d(),c(10,"td",53),m(11),d(),c(12,"td",53)(13,"button",54),I("click",function(r){let o=O(t).$implicit,a=M(2);return T(a.cargarDenuncia(r,o.nroCertificado))}),S(14,"span",55),m(15," Cargar Denuncia "),d()()()()}if(i&2){let t=e.$implicit,n=M(2);p(3),K(" ",t.npoliza," "),p(2),Pe(t.descNombre),p(2),K(" ",n.fechaformatcomponent(t.feAlta)," "),p(2),K(" ",n.fechaformatcomponent(t.feBaja)," "),p(2),Pe(n.riesgosNombOrgVida)}}function Bpe(i,e){if(i&1){let t=Y();c(0,"div")(1,"table",48)(2,"caption",49),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",50)(6,"th",51),m(7,"Nro. de P\xF3liza"),d(),c(8,"th",51),m(9,"Asegurado"),d(),c(10,"th",51),m(11,"Fecha Alta"),d(),c(12,"th",51),m(13,"Fecha Baja"),d(),c(14,"th",51),m(15,"Contratante"),d(),c(16,"th",51),m(17,"Acciones"),d()()(),L(18,Hpe,16,5,"tbody",31),d(),c(19,"nx-pagination",52),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(18),g("ngForOf",t.currentlyShownPageElements),p(),g("count",t.riesgos.length)("page",t.page)("perPage",t.elementsPerPage)}}function jpe(i,e){if(i&1){let t=Y();c(0,"tbody")(1,"tr",50)(2,"td",53),m(3),d(),c(4,"td",53),m(5),d(),c(6,"td",53),m(7),d(),c(8,"td",53),m(9),d(),c(10,"td",53),m(11),d(),c(12,"td",53)(13,"button",54),I("click",function(r){let o=O(t).$implicit,a=M(2);return T(a.cargarDenuncia(r,o.nroCertificado))}),S(14,"span",55),m(15," Cargar Denuncia "),d()()()()}if(i&2){let t=e.$implicit,n=M(2);p(3),K(" ",t.npoliza," "),p(2),Pe(t.descNombre),p(2),K(" ",n.fechaformatcomponent(t.feAlta)," "),p(2),K(" ",n.fechaformatcomponent(t.feBaja)," "),p(2),Pe(t.impSumaAsegurada)}}function qpe(i,e){if(i&1){let t=Y();c(0,"div")(1,"table",48)(2,"caption",49),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",50)(6,"th",51),m(7,"Nro. de P\xF3liza"),d(),c(8,"th",51),m(9,"Asegurado"),d(),c(10,"th",51),m(11,"Fecha Alta"),d(),c(12,"th",51),m(13,"Fecha Baja"),d(),c(14,"th",51),m(15,"Capital Asegurado"),d(),c(16,"th",51),m(17,"Acciones"),d()()(),L(18,jpe,16,5,"tbody",31),d(),c(19,"nx-pagination",52),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(18),g("ngForOf",t.currentlyShownPageElements),p(),g("count",t.riesgos.length)("page",t.page)("perPage",t.elementsPerPage)}}function Upe(i,e){if(i&1){let t=Y();c(0,"tbody")(1,"tr",50)(2,"td",53),m(3),d(),c(4,"td",53),m(5),d(),c(6,"td",53),m(7),d(),c(8,"td",53),m(9),d(),c(10,"td",53),m(11),d(),c(12,"td",53)(13,"button",54),I("click",function(r){let o=O(t).$implicit,a=M(2);return T(a.cargarDenuncia(r,o.nroCertificado))}),S(14,"span",55),m(15," Cargar Denuncia "),d()()()()}if(i&2){let t=e.$implicit,n=M(2);p(3),K(" ",t.npoliza," "),p(2),Pe(t.descNombre),p(2),K(" ",n.fechaformatcomponent(t.feAlta)," "),p(2),K(" ",n.fechaformatcomponent(t.feBaja)," "),p(2),K(" ",n.responseRiesgos.vFrentepol.nomAsegurado," ")}}function Gpe(i,e){if(i&1){let t=Y();c(0,"div")(1,"table",48)(2,"caption",49),m(3," Listado de p\xF3lizas del asegurado "),d(),c(4,"thead")(5,"tr",50)(6,"th",51),m(7,"Nro. de P\xF3liza"),d(),c(8,"th",51),m(9,"Asegurado"),d(),c(10,"th",51),m(11,"Fecha Alta"),d(),c(12,"th",51),m(13,"Fecha Baja "),d(),c(14,"th",51),m(15,"Contratante"),d(),c(16,"th",51),m(17,"Acciones"),d()()(),L(18,Upe,16,5,"tbody",31),d(),c(19,"nx-pagination",52),I("goPrev",function(){O(t);let r=M();return T(r.prevPage())})("goNext",function(){O(t);let r=M();return T(r.nextPage())})("goPage",function(r){O(t);let o=M();return T(o.goToPage(r))}),d()()}if(i&2){let t=M();p(18),g("ngForOf",t.currentlyShownPageElements),p(),g("count",t.riesgos.length)("page",t.page)("perPage",t.elementsPerPage)}}var E_=class i{constructor(e,t){this.nxDateLocale=e;this.nxDateAdapter=t}fb=C(bt);infoPolizaService=C(sa);router=C(ot);allianzServices=C(Hl);validarPredenunciaService=C(M_);dataHandlerAutos=C(Ti);routerOtrosRamos=C(ot);toastr=C(e1);emittersService=C(Jt);otrosRamosService=C(la);cd=C(Ye);changePolizasForm;denunciaForm;
820polizaSeleccionada;polizas=[];riesgos=[];responseRiesgos;currentIndex=0;actionResult="";filtroSearch="";loaded=!1;loadingData=!1;mostrarServicios=!1;mostrarPolizas=!1;mostrarTablaRiesgos=!1;asegurado="";vigencia="";riesgosNombOrgVida="";page=1;elementsPerPage=5;currentlyShownPageElements=[];currentlyAvailableElements=[];tableColSettings=[];datosPolizas=[];npoliza="";fechaSiniestroSiniestroPred="";fechasinisetro;idseccionPoliza;isUserDelegate=ht.active;userDelegateMail=ht.email;userDelegateType=ht.typeDelegate;vigenciaPoliza=this.infoPolizaService.getIsVigente()?"S":"N";currentDate=null;ngOnInit(){this.changePolizasForm=this.fb.group({valueVigente:["S",ee.required]}),this.denunciaForm=this.fb.group({nroPoliza:["",ee.required],fechaSiniestro:[new Date,ee.required],dni:[""]}),this.nxDateAdapter.setLocale("es"),Re.clearPred();let e=this.infoPolizaService.getPolizaSeleccionada();if(e==null)this.polizaSeleccionada="";else{let t=e.nroPoliza||"";t.includes("210")||t.includes("018")||t.includes("015")||t.includes("004")||t.includes("017")||t.includes("230")||t.includes("220")||t.includes("029")?this.polizaSeleccionada=t:this.polizaSeleccionada=""}this.changePolizasForm.controls.valueVigente.setValue(this.infoPolizaService.getIsVigente()?"S":"N"),this.vigenciaPoliza=this.infoPolizaService.getIsVigente()?"S":"N",this.obtenerPolizasServicio()}fechaformatcomponent(e){let t=new Ur("en-US").transform(e,"dd/MM/yyyy");return t??"-"}formatearfechatabla(e){return un(new Date(e))}getPolizaCode(){let e=this.denunciaForm?.value?.nroPoliza?.nroPoliza;return e?e.slice(2,5):null}obtenerPolizasServicio(){this.loaded=!1,this.loadingData=!0,this.mostrarPolizas=!1;let e=ht.active?ht.typeDocument:Se.user.details.identityDocuments[0].documentType.documentTypeCode,t=ht.active?ht.dni:Se.user.details.identityDocuments[0].documentNumber,n=e+t;this.allianzServices.getPolizas(n,this.vigenciaPoliza,2e3,1).then(r=>{if(this.filtrarPolizasSinRepetir(r?.polizas??[]),this.polizaSeleccionada!==""&&this.polizas.length){let o=this.polizas.find(a=>a.nroPoliza===this.polizaSeleccionada);o&&this.denunciaForm.get("nroPoliza")?.setValue(o)}this.loadingData=!1,this.loaded=!0,this.mostrarPolizas=!0}).catch(r=>{console.log(r),this.loadingData=!1,this.loaded=!0})}filtrarPolizasSinRepetir(e){let t=[];e.filter((r,o)=>o===e.findIndex(a=>r.nroPoliza===a.nroPoliza)).forEach(r=>{(r.seccion==="210"||r.seccion==="018"||r.seccion==="015"||r.seccion==="004"||r.seccion==="017"||r.seccion==="029"||r.seccion==="022"||r.seccion==="023")&&t.push(r)}),this.polizas=t}isSiniestro(){return this.idseccionPoliza}obtenerRiesgosSiniestrables(){let e=this.denunciaForm.value.fechaSiniestro;if(e>Date.now()){this.emittersService.emmiterToast(0,"No se puede seleccionar una fecha futura");return}this.loaded=!1,this.loadingData=!0;let t=(0,xp.default)(e).format("YYYY-MM-DD"),r=this.denunciaForm.value.nroPoliza?.nroPoliza;if(!r){this.loadingData=!1,this.loaded=!0;return}let o=r.slice(2,5);this.idseccionPoliza=o;let a=this.denunciaForm.value.dni;this.mostrarTablaRiesgos=!1,this.allianzServices.getRiesgosSiniestrables(t,o,r,a).then(s=>{s&&this.emittersService.emmiterToast(3,"Se encontr\xF3 con \xE9xito la p\xF3liza seleccionada"),this.responseRiesgos=s[0],this.idseccionPoliza==="015"?this.riesgos=s[0].vRiesgos:this.idseccionPoliza==="210"?this.riesgos=s[0].vCobvidcer:this.idseccionPoliza==="017"?this.riesgos=this.responseRiesgos.vCobvidcer:this.idseccionPoliza==="018"?(this.riesgosNombOrgVida=s[0].vFrentepol.nomOrg,this.riesgos=s[0].vCobvidcer):this.idseccionPoliza==="022"||this.idseccionPoliza==="023"?this.riesgos=s[0].vRiesgos:this.riesgos=s[0].vRiesgoMotor,this.asegurado=s[0].vFrentepol.nomAsegurado;let l=(0,xp.default)(s[0].vFrentepol.feIniVigPoliza).format("DD/MM/YYYY"),u=(0,xp.default)(s[0].vFrentepol.feFinVigPoliza).format("DD/MM/YYYY");this.vigencia=l.replace(/ 00:00:00/i,"")+" - "+u.replace(/ 00:00:00/i,""),this.loadingData=!1,this.loaded=!0,this.mostrarTablaRiesgos=!0,this.updatePage()}).catch(()=>{this.errorVigencia(),this.loadingData=!1,this.loaded=!0})}errorVigencia(){this.toastr.error("Fecha del siniestro fuera de la vigencia de la p\xF3liza")}cargarDenuncia(e,t){e.preventDefault();let n=this.denunciaForm.value.nroPoliza.nroPoliza,r=(0,xp.default)(this.denunciaForm.value.fechaSiniestro).format("YYYY-MM-DD");this.idseccionPoliza==="004"||this.idseccionPoliza==="029"?this.validarPredenunciaService.validarPredenuncia(n,t,this.idseccionPoliza,r).then(o=>{this.dataHandlerAutos.vFrentePol=new u1(this.responseRiesgos.vFrentepol),this.dataHandlerAutos.fechaSiniestro=r,this.dataHandlerAutos.riesgo=this.riesgos.find(a=>a.nroItem===t)||null,this.router.navigate(["/priv/predenuncias/autos"])}):this.idseccionPoliza==="015"?this.validarPredenunciaService.validarPredenuncia(n,t,this.idseccionPoliza,r).then(o=>{Re.riesgo=new hm(this.responseRiesgos.vRiesgos[0]),Re.vFrentePol=new u1(this.responseRiesgos.vFrentepol),Re.siniestro.fechaSiniestro=r,Re.asegurado.setnroDni(this.responseRiesgos.vFrentepol.codAsegurado.slice(1,this.responseRiesgos.vFrentepol.codAsegurado.length));let a={codigo:this.responseRiesgos.vFrentepol.codAsegurado.slice(0,1),descripcion:""};Re.asegurado.settipoDni(a),this.router.navigate(["/priv/predenuncias/combinado-familiar"])}):this.idseccionPoliza==="017"||this.idseccionPoliza==="018"?this.validarPredenunciaService.validarPredenuncia(n,t,this.idseccionPoliza,r).then(o=>{qe.vFrentePol=new u1(this.responseRiesgos.vFrentepol),qe.certificado=this.responseRiesgos.vCobvidcer?.find(s=>
820s.nroCertificado===t)||null,qe.siniestro.fechaSiniestro=r,qe.asegurado.setnroDni(this.responseRiesgos.vFrentepol.codAsegurado.slice(1,this.responseRiesgos.vFrentepol.codAsegurado.length));let a={codigo:this.responseRiesgos.vFrentepol.codAsegurado.slice(0,1),descripcion:""};qe.asegurado.settipoDni(a),this.router.navigate(["/priv/predenuncias/vida"])}):this.idseccionPoliza==="210"?this.validarPredenunciaService.validarPredenuncia(n,t,this.idseccionPoliza,r).then(o=>{Te.riesgo=new hm(this.responseRiesgos.vRiesgos),Te.vFrentePol=new u1(this.responseRiesgos.vFrentepol),Te.certificado=this.responseRiesgos.vCobvidcer?.find(s=>s.nroCertificado===t)||null,Te.siniestro.fechaSiniestro=r,Te.asegurado.setnroDni(this.responseRiesgos.vFrentepol.codAsegurado.slice(1,this.responseRiesgos.vFrentepol.codAsegurado.length));let a={codigo:this.responseRiesgos.vFrentepol.codAsegurado.slice(0,1),descripcion:""};Te.asegurado.settipoDni(a),this.router.navigate(["/priv/predenuncias/accidentes-personales"])}):(this.idseccionPoliza==="023"||this.idseccionPoliza==="022")&&this.validarPredenunciaService.validarPredenuncia(n,t,"999",r).then(o=>{this.otrosRamosService.fechaSiniestro,this.otrosRamosService.vFrentePol=new u1(this.responseRiesgos.vFrentepol),this.otrosRamosService.fechaSiniestro=(0,xp.default)(r),this.otrosRamosService.riesgo=this.responseRiesgos.vRiesgos[0],this.router.navigate(["priv/predenuncias/otros-ramos"])})}updatePage(){let e=(this.page-1)*this.elementsPerPage,t=e+this.elementsPerPage;this.currentlyShownPageElements=this.riesgos.slice(e,t)}prevPage(){this.page>1&&(this.page--,this.updatePage())}nextPage(){this.page&&(this.page++,this.updatePage())}goToPage(e){let t=Math.ceil(this.riesgos.length/this.elementsPerPage);e>=1&&e<=t&&(this.page=e,this.updatePage())}handleSearch(e){this.filtroSearch=e}changePolizas(){this.vigenciaPoliza=this.changePolizasForm.controls.valueVigente.value,this.obtenerPolizasServicio()}asignarNombre(e,t,n){return!n||n.length<=1?e:`${e} - ${t}`}static \u0275fac=function(t){return new(t||i)(D(Qo),D(Or))};static \u0275cmp=z({type:i,selectors:[["app-denuncia"]],features:[Mt([{provide:Qo,useValue:"es"}])],decls:110,vars:18,consts:[["fechaSiniestroPick",""],[3,"formGroup"],[1,"titulo"],["class","titulo text-align-center",4,"ngIf"],[2,"margin-top","69px!important"],["nxLayout","grid"],["nxRow",""],["nxCol","12"],[2,"margin-bottom","16px","font-weight","700","font-size","16px"],[1,"containerInfo"],[1,"d-flex","align-items-center"],[1,"icon"],["name","location-o",1,"containerInfo-icon"],[1,"text",2,"font-size","16px","font-weight","400"],[2,"font-weight","bold"],["name","product-calendar",1,"containerInfo-icon"],[1,"text",2,"font-size","16px"],["name","product-pages-documents",1,"containerInfo-icon"],[1,"containerInfo-br"],["name","product-camera",1,"containerInfo-icon"],[2,"margin-right","40px"],["nxLayout","grid",2,"margin-top","28px"],["nxCol","12",2,"margin-bottom","16px"],[2,"font-size","20px","font-weight","200"],["nxCol","12,6,3"],["nxHeadline","subsection-xsmall",2,"margin-bottom","10px","margin-left","10px"],["nxCol","12,6,3",4,"ngIf"],["formControlName","valueVigente","nxFilterPlaceholder","Seleccionar","value","S",3,"selectionChange"],["value","S"],["value","N"],["formControlName","nroPoliza","nxFilterPlaceholder","Buscar",3,"showFilter"],[4,"ngFor","ngForOf"],["nxFormfieldError","","appearance","text"],["nxD
820atefield","","nxInput","","formControlName","fechaSiniestro","format","DD/MM/YYYY",3,"datepicker"],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["nxCol","12,6"],["nxButton","","type","button",3,"click","disabled"],["src","../../../../../../assets/img/Spinner-2.svg","style","position: absolute; width: 70px; height: 70px","alt","",4,"ngIf"],[1,"d-flex","align-items-center",2,"margin","28px 0px"],["context","info","showIcon","true",4,"ngIf"],[4,"ngIf"],[1,"titulo","text-align-center"],[3,"value"],["label","Documento"],["nxInput","","formControlName","dni","numbersOnly",""],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],["context","info","showIcon","true"],["nxTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxType","advanced",1,"pagination",3,"goPrev","goNext","goPage","count","page","perPage"],["nxTableCell",""],["nxButton","secondary small","scrollStrategy","close","aria-label","Open menu","type","button",3,"click"],[1,"c-link__icon","c-icon","c-icon--arrow-right","action-icon"]],template:function(t,n){if(t&1){let r=Y();c(0,"form",1)(1,"h1",2),m(2,"Denunciar un Siniestro"),d(),L(3,wpe,4,2,"h5",3),c(4,"div",4),Ze(5),c(6,"div",5)(7,"div",6)(8,"div",7)(9,"h5",8),m(10," Para realizar la denuncia necesit\xE1s: "),d()()(),c(11,"div",9)(12,"div",10)(13,"div",11),S(14,"nx-icon",12),d(),c(15,"div",13)(16,"span",14),m(17,"Lugar"),d(),m(18," del siniestro "),d()(),c(19,"div",10)(20,"div",11),S(21,"nx-icon",15),d(),c(22,"div",16)(23,"span",14),m(24,"Fecha y hora"),d(),m(25," del hecho "),d()(),c(26,"div",10)(27,"div",11),S(28,"nx-icon",17),d(),c(29,"div",16)(30,"span",14),m(31,"Datos"),d(),m(32," de personas, veh\xEDculos "),S(33,"br",18),m(34,"o bienes "),c(35,"span",14),m(36,"involucrados"),d()()(),c(37,"div",10)(38,"div",11),S(39,"nx-icon",19),d(),c(40,"div",16)(41,"span",14),m(42,"Fotos o documentos"),d(),S(43,"br",18),m(44," relacionados (si ten\xE9s) "),d()()()(),Xe(),d(),c(45,"div"),Ze(46,20),c(47,"div",21),S(48,"br"),c(49,"div",6)(50,"div",22)(51,"p",23),m(52," Seleccion\xE1 la p\xF3liza correspondiente para iniciar la denuncia. "),d()(),c(53,"div",24)(54,"h4",25),m(55," Vigencia "),d()(),c(56,"div",24)(57,"h4",25),m(58," N\xFAmero de P\xF3liza "),d()(),c(59,"div",24)(60,"h4",25),m(61," Fecha del Siniestro "),d()(),L(62,Spe,3,0,"div",26),d(),c(63,"div",6)(64,"div",24)(65,"form",1)(66,"nx-formfield")(67,"nx-dropdown",27),I("selectionChange",function(){return O(r),T(n.changePolizas())}),Ze(68),c(69,"nx-dropdown-item",28),m(70," P\xF3lizas vigentes "),d(),c(71,"nx-dropdown-item",29),m(72," P\xF3lizas no vigentes "),d(),Xe(),d()()()(),c(73,"div",24)(74,"nx-formfield")(75,"nx-dropdown",30),L(76,Ppe,3,2,"ng-container",31),d(),c(77,"nx-error",32)(78,"strong"),m(79,"Importante"),d(),m(80," este campo es requerido "),d()()(),c(81,"div",24)(82,"nx-formfield"),S(83,"input",33),c(84,"span",34),m(85,"DD/MM/AAAA"),d(),S(86,"nx-datepicker-toggle",35)(87,"nx-datepicker",null,0),c(89,"nx-error",32)(90,"strong"),m(91,"Importante"),d(),m(92," este campo es requerido "),d()()(),L(93,Epe,7,0,"div",26),d(),S(94,"br"),c(95,"div",6)(96,"div",36)(97,"button",37),I("click",function(){return O(r),T(n.obtenerRiesgosSiniestrables())}),m(98," BUSCAR "),L(99,Dpe,1,0,"img",38),d()()(),c(100,"div",39),L(101,Ope,5,0,"nx-message",40),d(),c(102,"div"),L(103,Npe,20,4,"div",41)(104,Rpe,20,4,"div",41)(105,Lpe,22,4,"div",41)(106,Bpe,20,4,"div",41)(107,qpe,20,4,"div",41)(108,Gpe,20,4,"div",41),d()(),S(109,"br"),Xe(),d()()}if(t&2){let r=Ct(88);g("formGroup",n.denunciaForm),p(3),g("ngIf",n.isUserDelegate),p(59),g("ngIf",n.getPolizaCode()=="210"||n.getPolizaCode()=="018"),p(3),g("formGroup",n.changePolizasForm),p(10),g("showFilter",!0),p(),g("ngForOf",n.polizas),p(7),g("datepicker",r),p(3),g("for",r),p(7),g("ngIf",n.getPolizaCode()=="210"||n.getPolizaCode()=="018"),p(4),g("disabled",!n.denunciaForm.valid||n.loadingData),p(2),g("ngIf",n.loadingData),p(2),g("ngIf",n.mostrarTablaRiesgos),p(2),g("ngIf",n.isSiniestro()=="015"&&n.mostrarTablaRiesgos),p(),g("ngIf",(n.isSiniestro()=="022"||n.isSiniestro()=="023")&&n.mostrarTablaRiesgos),p(),g("ngIf",(n.isSiniestro()=="004"||n.isSiniestro()=="029")&&n.mostrarTablaRiesgos),p(),g("ngIf",n.isSiniestro()=="018"&&n.mostrarTablaRiesgos),p(),g("ngIf",n.isSiniestro()=="017"&&n.mostrarTablaRiesgos),p(),g("ngIf",n.isSiniestro()=="210"&&n.mostrarTablaRiesgos)}},dependencies:[me,Et,ut,vt,Kn,ni,si,ii,jt,St,Yr,sn,ui,Ut,et,At,Rt,wt,Pt,st,qt,_t,ri,Yn,Xt,nt,$r,Nl,Io,vo,Yt,q2,qs,js,d1],styles:["th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:center!important}.pagination[_ngcontent-%COMP%]{margin-top:24px;align-self:flex-end}.titulo[_ngcontent-%COMP%]{align-content:center;text-align:center;margin:50px}.polizas-viewport[_ngcontent-%COMP%]{min-height:100%;width:100%}table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{position:sticky;top:0;z-index:10}.containerInfo[_ngcontent-%COMP%]{padding:20px 32px;border:1px solid #d9d9d9;border-radius:8px;display:grid;grid-template-columns:repeat(4,auto);gap:32px;max-width:1200px}.containerInfo-icon[_ngcontent-%COMP%]{color:#006192;font-size:34px!important;margin-right:16px}.containerInfo-br[_ngcontent-%COMP%]{display:inline}.action-icon[_ngcontent-%COMP%]{height:24px;margin:4px 0}@media (max-width: 1200px){.containerInfo[_ngcontent-%COMP%]{width:98%}.containerInfo-br[_ngcontent-%COMP%]{display:none}}@media (max-width: 991px){.containerInfo[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:595px}.containerInfo-br[_ngcontent-%COMP%]{display:none}}@media (max-width: 767px){.containerInfo[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:595px}.containerInfo-br[_ngcontent-%COMP%]{display:none}}@media (max-width: 575px){.containerInfo[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:98%}.containerInfo-br[_ngcontent-%COMP%]{display:none}}.sr-only[_ngcontent-%COMP%]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}"]})};var ZR=()=>{let i=C(Oi),e=C(ot);return i.conf().pipe(ct(()=>Se.hasSession?!0:(i.redirectToLogin("/"),!1)),B(()=>(i.redirectToLogin("/"),Dt(!1))))};var D_=class i{loaded=!1;mostrarDenuncias=!1;denuncias=[];comp={completed1:!0,completed2:!0,completed3:!0,completed4:!1,completed5:!1,completed6:!1};services=C(_i);router=C(ot);
820ngOnInit(){this.obtenerDenuncias()}obtenerDenuncias(){this.loaded=!1,this.mostrarDenuncias=!1,this.services.getDenuncias().then(e=>{this.denuncias=e,this.loaded=!0,this.mostrarDenuncias=!0}).catch(e=>{console.log(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-siniestro-ruta"]],decls:57,vars:13,consts:[["stepper",""],["step1",""],["id","predenuncias","currentStepLabel","step1",3,"linear"],["label","Datos del Siniestro",3,"stepControl","completed"],[1,"nx-margin-top-s"],["nxList",""],["label","Datos del Asegurado",3,"stepControl","completed"],["label","Documentaci\xF3n",3,"stepControl","completed"],["label","Finalizado",3,"stepControl","completed"],[1,"text-align-center"],["label","Finalizado1",3,"stepControl","completed"],["label","Finalizado2",3,"stepControl","completed"]],template:function(t,n){t&1&&(c(0,"nx-multi-stepper",2,0)(2,"nx-step",3,1)(4,"div",4)(5,"ul",5)(6,"li"),m(7,"fecDesdeEstimada"),d(),c(8,"li"),m(9,"fecHastaEstimada"),d(),c(10,"li"),m(11,"fecHastaReal"),d()()()(),c(12,"nx-step",6)(13,"div",4)(14,"ul",5)(15,"li"),m(16,"fecDesdeEstimada"),d(),c(17,"li"),m(18,"fecHastaEstimada"),d(),c(19,"li"),m(20,"fecHastaReal"),d()()()(),c(21,"nx-step",7)(22,"div",4)(23,"ul",5)(24,"li"),m(25,"fecDesdeEstimada"),d(),c(26,"li"),m(27,"fecHastaEstimada"),d(),c(28,"li"),m(29,"fecHastaReal"),d()()()(),c(30,"nx-step",8)(31,"div",9)(32,"ul",5)(33,"li"),m(34,"fecDesdeEstimada"),d(),c(35,"li"),m(36,"fecHastaEstimada"),d(),c(37,"li"),m(38,"fecHastaReal"),d()()()(),c(39,"nx-step",10)(40,"div",4)(41,"ul",5)(42,"li"),m(43,"fecDesdeEstimada"),d(),c(44,"li"),m(45,"fecHastaEstimada"),d(),c(46,"li"),m(47,"fecHastaReal"),d()()()(),c(48,"nx-step",11)(49,"div",4)(50,"ul",5)(51,"li"),m(52,"fecDesdeEstimada"),d(),c(53,"li"),m(54,"fecHastaEstimada"),d(),c(55,"li"),m(56,"fecHastaReal"),d()()()()()),t&2&&(g("linear",!0),p(2),g("stepControl",n.comp.completed1)("completed",n.comp.completed1),p(10),g("stepControl",n.comp.completed2)("completed",n.comp.completed2),p(9),g("stepControl",n.comp.completed3)("completed",n.comp.completed3),p(9),g("stepControl",n.comp.completed4)("completed",n.comp.completed4),p(9),g("stepControl",n.comp.completed5)("completed",n.comp.completed5),p(9),g("stepControl",n.comp.completed6)("completed",n.comp.completed6))},dependencies:[me,Oa,aa],styles:[".background-grey[_ngcontent-%COMP%]{background-color:#f5f5f5}[_nghost-%COMP%]{overflow-x:scroll;display:block}.nx-table-cell--toggle[_ngcontent-%COMP%]{padding-right:0}"]})};var O_=class i{service=C(Oi);canActivate(){return this.service.conf().pipe(Bn(1),ct(()=>(this.service.redirectToLogin("/priv"),!1)),B(()=>(this.service.redirectToLogin("/priv"),Dt(!1))))}static \u0275fac=function(t){return new(t||i)};static \u0275prov=W({token:i,factory:i.\u0275fac,providedIn:"root"})};function $pe(i,e){if(i&1){let t=Y();c(0,"button",6),I("click",function(){O(t);let r=M();return T(r.handleVolver())}),m(1),d()}if(i&2){let t=M();p(),K(" ",t.volverlabel," ")}}function Wpe(i,e){i&1&&S(0,"img",7)}function Ype(i,e){if(i&1){let t=Y();c(0,"button",6),I("click",function(){O(t);let r=M();return T(r.handleGuardar())}),m(1),d()}if(i&2){let t=M();p(),K(" ",t.guardarLabel," ")}}var qn=class i{volver;guardar;loading=!1;disableSubmit=!1;noRefreshedPerson=!0;aceptadasCondiciones;volverEvent=new X;continuarEvent=new X;guardarEvent=new X;volverlabel="Volver";continuarLaber="Continuar";guardarLabel="Guardar";constructor(){}ngAfterViewInit(){}ngOnInit(){this.noRefreshedPerson=!0,this.aceptadasCondiciones=!0}handleVolver(){this.volverEvent.emit(!0)}handleContinuar(){this.continuarEvent.emit(!0)}handleGuardar(){this.guardarEvent.emit()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-buttons"]],inputs:{volver:"volver",guardar:"guardar",loading:"loading",disableSubmit:"disableSubmit",noRefreshedPerson:"noRefreshedPerson",aceptadasCondiciones:"aceptadasCondiciones",volverlabel:"volverlabel",continuarLaber:"continuarLaber",guardarLabel:"guardarLabel"},outputs:{volverEvent:"volverEvent",continuarEvent:"continuarEvent",guardarEvent:"guardarEvent"},decls:10,vars:5,consts:[["nxLayout","grid",2,"padding-top","40px"],["nxRow","",2,"justify-content","center","align-items","center"],["nxCol","12,12,3",2,"text-align","center"],["type","button","nxButton","tert
820iary small-medium",3,"click",4,"ngIf"],["type","submit","nxButton","primary medium",3,"click","disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute;width: 70px; height: 70px;",4,"ngIf"],["type","button","nxButton","tertiary small-medium",3,"click"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"]],template:function(t,n){t&1&&(c(0,"div",0)(1,"div",1)(2,"div",2),L(3,$pe,2,1,"button",3),d(),c(4,"div",2)(5,"button",4),I("click",function(){return n.handleContinuar()}),m(6),L(7,Wpe,1,0,"img",5),d()(),c(8,"div",2),L(9,Ype,2,1,"button",3),d()()()),t&2&&(p(3),g("ngIf",n.volver),p(2),g("disabled",n.loading||n.disableSubmit||!n.noRefreshedPerson||!n.aceptadasCondiciones),p(),K(" ",n.continuarLaber," "),p(),g("ngIf",n.loading),p(2),g("ngIf",n.guardar))},dependencies:[me,Et,ut,vt,et,_t,_e],encapsulation:2})};function Qpe(i,e){i&1&&S(0,"img",20)}function Kpe(i,e){if(i&1&&(c(0,"nx-link",21)(1,"a",22),S(2,"nx-icon",23),m(3),d(),S(4,"br"),d()),i&2){let t=e.$implicit;p(),g("href",Vi(t.url),An),p(2),K("",t.name," ")}}function Xpe(i,e){if(i&1){let t=Y();c(0,"div")(1,"div"),Ze(2,4),c(3,"h2",5),m(4," Tu denuncia fue generada con \xE9xito "),d(),c(5,"div",6)(6,"div",7)(7,"div",8)(8,"p",9),S(9,"span",10),d()(),c(10,"cdk-virtual-scroll-viewport",11)(11,"table",12)(12,"caption",13),m(13," Listado de siniestros "),d(),c(14,"thead")(15,"tr",14)(16,"th",15),m(17,"Nro. de Siniestro"),d(),c(18,"th",15),m(19,"Formulario de Denuncia"),d(),c(20,"th",15),m(21,"Documentos Presentados"),d()()(),c(22,"tbody")(23,"tr",14)(24,"td",16),m(25),d(),c(26,"td",16)(27,"button",17),I("click",function(){O(t);let r=M();return T(r.navigateDescargaPdf())}),L(28,Qpe,1,0,"img",18),m(29,"Descargar "),d()(),c(30,"td",16)(31,"p"),m(32),d(),L(33,Kpe,5,3,"nx-link",19),d()()()()()()(),Xe(),d()()}if(i&2){let t=M();p(9),g("innerHTML",t.safeModalText,Jo),p(16),Pe(t.nroSiniestro),p(2),g("disabled",t.isDownloading),p(),g("ngIf",t.isDownloading),p(4),Pe(t.messageError),p(),g("ngForOf",t.documentos)}}function Zpe(i,e){if(i&1&&(c(0,"div",24)(1,"nx-message",25)(2,"p"),m(3),d()()()),i&2){let t=M();p(3),K(" ",t.respMessage," ")}}function Jpe(i,e){if(i&1&&(c(0,"div",26)(1,"h2",27),m(2," Ocurrio un error generando el siniestro "),d(),c(3,"div",6)(4,"div",28)(5,"h4",29),m(6),d()()()()),i&2){let t=M();p(6),Pe(t.errorMessage)}}var bp=class i{_Services=C(fn);_router=C(ot);predenuncia;respMessage=null;rutaFinal;nPoliza;error;cargoDocumentos;modalText=null;get safeModalText(){return this.modalText??""}messageError=null;documentos=[];nroDetalle;nroPoliza;nroPredenuncia;errorMessage;nroSiniestro="";uploadedFile;isDownloading=!1;ngOnInit(){this.nroPoliza=this.nPoliza,this.errorMessage=this.error,this.errorMessage||(this.nroPredenuncia=this.predenuncia.getIdDenuncia(),this.nroSiniestro=this.predenuncia.getIdCarpeta(),this.nroDetalle=this.predenuncia.getNrDetalle())}ngAfterViewInit(){!this.errorMessage&&this.cargoDocumentos&&setTimeout(()=>{this.obtenerDocs()},1e3)}handleFinalizar(){this._router.navigate([this.rutaFinal])}obtenerDocs(){let e=this._Services.getUploadedFile();this._Services.getDocumentos(this.nroPredenuncia,this.nroDetalle).then(t=>{t.length==0&&e?this.messageError="Se produjo un error al enviar los archivos, ya que el tama\xF1o excede lo permitido. Por favor, contact\xE1 a tu Productor Asesor de Seguros o al Centro de Atenci\xF3n al Cliente de Allianz para enviarlos por otro medio.":this.documentos=t[0].archivo}).catch(t=>{console.error(t),this.messageError="Se produjo un error al enviar los archivos, ya que el tama\xF1o excede lo permitido. Por favor, contact\xE1 a tu Productor Asesor de Seguros o al Centro de Atenci\xF3n al Cliente de Allianz para enviarlos por otro medio."}).finally(()=>{})}navigateDescargaPdf(){this.isDownloading=!1;let e=this.nroPoliza.slice(2,5);this._Services.getDescargaPreDenuncia(this.nroPredenuncia,this.nroDetalle,e).then(t=>{let n=new Blob([t],{type:"application/pdf"}),r=window.URL.createObjectURL(n);window.open(r)}).catch(t=>{console.error(t)}).finally(()=>{this.isDownloading=!1})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-datos-predenuncia"]],inputs:{predenuncia:"predenuncia",respMessage:"respMessage",rutaFinal:"rutaFinal",nPoliza:"nPoliza",error:"error",cargoDocumentos:"cargoDocumentos",modalText:"modalText"},decls:5,vars:6,consts:[[4,"ngIf"],["nxRow","","style","padding: 20px",4,"ngIf"],["class","mt-4",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","guardar","continuarLaber","volver"],[1,"myF-5"],["nxHeadline","subsection-medium","autofocus","",1,"nx-margin-top-3m","nx-margin-bot-3m",2,"justify-content","center","text-align","center","margin-top","20px","margin-bottom","15px"],["nxRow","",2,"justify-content","center"],["nxCol","12,12 sm-12,8"],[1,"centered-content"],[1,"nx-modal-margin-bottom"],[1,"modal-text",3,"innerHTML"],["appendOnly","","itemSize","1",1,"polizas-viewport"],["nxTable","","zebra",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableCell",""],["nxButton","tert
820iary small-medium","type","button",3,"click","disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["nxStyle","icon-left","style","display: block",4,"ngFor","ngForOf"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],["nxStyle","icon-left",2,"display","block"],["target","_blank","rel","noopener noreferrer",3,"href"],["name","product-paper-document"],["nxRow","",2,"padding","20px"],["context","info","showIcon","true"],[1,"mt-4"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-bot-3m",2,"justify-content","center","text-align","center"],["nxCol","8"],["nxHeadline","subsection-xsmall"]],template:function(t,n){t&1&&(L(0,Xpe,34,6,"div",0)(1,Zpe,4,1,"div",1)(2,Jpe,7,1,"div",2),c(3,"div")(4,"app-step-buttons",3),I("continuarEvent",function(){return n.handleFinalizar()}),d()()),t&2&&(g("ngIf",!n.errorMessage),p(),g("ngIf",n.respMessage),p(),g("ngIf",n.errorMessage),p(2),g("guardar",!1)("continuarLaber","Finalizar")("volver",!1))},dependencies:[me,ut,vt,Kn,ni,si,ii,Ut,et,_t,Xt,nt,vr,$r,Hc,Bc,_e,qn],styles:[".polizas-viewport[_ngcontent-%COMP%]{height:150px;width:100%}"]})};var T_=class i{dialogService=C(Qn);_dataHandler=C(Ti);COD_ALLIANZ="143";get modalText(){let e=(this._dataHandler.step6FormValue??[]).some(n=>n.compania?.codCompania===this.COD_ALLIANZ),t="<strong>[email protected]</strong>";return e?`N\xFAmero de denuncia: ${this._dataHandler.predenuncia?.getIdCarpeta()}.<br> Hemos detectado que se trata de un siniestro entre asegurados Allianz.<br> Para continuar con la gesti\xF3n, comunicate con nuestro Centro de Atenci\xF3n al Cliente, de lunes a jueves de 9 a 18 h y viernes de 8 a 18 h, llamando al <strong>0810-222-2243</strong> o <strong>4320-3800</strong>, o escribinos a ${t}.`:`Tu denuncia ha sido cargada exitosamente bajo el n\xFAmero ${this._dataHandler.predenuncia?.getIdCarpeta()}. A la brevedad te enviaremos un email con los pasos a seguir a la direcci\xF3n ${Se.user.csmUserName}. Record\xE1 revisar el buz\xF3n de correo no deseado. Ante cualquier consulta, o en caso de que no recibas el email dentro de las 24hs, pod\xE9s comunicarte con tu Productor Asesor o escribirnos a ${t}.`}constructor(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-resumen-autos"]],decls:1,vars:7,consts:[[2,"margin-top","20px","margin-bottom","20px",3,"modalText","predenuncia","respMessage","rutaFinal","nPoliza","error","cargoDocumentos"]],template:function(t,n){t&1&&S(0,"app-datos-predenuncia",0),t&2&&g("modalText",n.modalText)("predenuncia",n._dataHandler.predenuncia)("respMessage",n._dataHandler.postRespmessage)("rutaFinal","/priv")("nPoliza",n._dataHandler.vFrentePol==null?null:n._dataHandler.vFrentePol.getNpoliza())("error",n._dataHandler.errorMessage)("cargoDocumentos",n._dataHandler.step10FormValue.length>0)},dependencies:[bp],encapsulation:2})};var jl=class i{unloadNotification(e){this.canDeactivate()||(e.returnValue=!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["ng-component"]],hostBindings:function(t,n){t&1&&I("beforeunload",function(o){return n.unloadNotification(o)},xc)},decls:0,vars:0,template:function(t,n){},encapsulation:2})};var zn=class extends jl{form;isLoading=!1;formSubmitted=!1;getForm(){return this.form}setForm(e){this.form=e}getIsLoading(){return this.isLoading}getFormSubmitted(){return this.formSubmitted}setFormSubmitted(e){this.formSubmitted=e}getControl(e,t){let n="";return t?n=this.getForm()?.get(t)?.get(e):n=this.getForm()?.get(e),n}enableForm(){this.getForm()?.enable(),this.isLoading=!1}disableForm(){this.getForm()?.disable(),this.isLoading=!0}handelCatch(){this.enableForm()}removerValidaciones(e){e.clearValidators(),e.updateValueAndValidity()}setRequiredInputs(e){Object.keys(e.controls).forEach(t=>{e.get(t)?.setValidators(ee.required),e.get(t)?.updateValueAndValidity()})}clearValidations(e){let t=e.controls;Object.keys(e.controls).forEach(n=>{e.get(n)?.clearValidators(),e.get(n)?.updateValueAndValidity()})}};var JR=()=>({str:"SI",val:!0}),ez=()=>({str:"NO",val:!1}),tz=(i,e)=>[i,e];function e3e(i,e){i&1&&(c(0,"h2",29),m(1," Datos del Tomador "),d())}function t3e(i,e){i&1&&(c(0,"h2",29),m(1," Datos del Asegurado "),d())}function n3e(i,e){i&1&&(c(0,"div",5)(1,"nx-formfield",30),S(2,"input",31),d()())}function i3e(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",36),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K(" ",t.str," ")}}function r3e(i,e){i&1&&(c(0,"div",37)(1,"nx-error",25)(2,"strong"),m(3,"Importante"),d(),m(4," este campo es requerido "),d()())}function o3e(i,e){if(i&1&&(c(0,"div",5)(1,"nx-radio-toggle",32)(2,"h5",33),m(3," \xBFEs el conductor? "),d(),L(4,i3e,2,2,"nx-radio-toggle-button",34),d(),L(5,r3e,5,0,"div",35),d()),i&2){let t=M();p(4),g("ngForOf",qr(4,tz,In(2,JR),In(3,ez))),p(),g("ngIf",t.getControl("esConductor").errors&&t.formSubmitted)}}function a3e(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",36),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K(" ",t.str," ")}}function s3e(i,e){i&1&&(c(0,"div",37)(1,"nx-error",25)(2,"strong"),m(3,"Importante"),d(),m(4," este campo es requerido "),d()())}function l3e(i,e){if(i&1&&(c(0,"div",5)(1,"nx-radio-toggle",38)(2,"h5",39),m(3," \xBFEs el denunciante? "),d(),L(4,a3e,2,2,"nx-radio-toggle-button",34),d(),L(5,s3e,5,0,"div",35),d()),i&2){let t=M();p(4),g("ngForOf",qr(4,tz,In(2,JR),In(3,ez))),p(),g("ngIf",t.getControl("esDenunciante").errors&&t.formSubmitted)}}var as=class i extends zn{submitOutput=new X;volverOutput=new X;esConductor=new X;esDenunciante=new X;set _datosAsegurado(e){e&&(this.datosPersona=e)}set _vFrentePol(e){e&&(this.datosVFrentePol=e)}switcherConductor=!1;
820switcherDenunciante=!1;router=C(ot);_formBuilder=C(bt);_Services=C(Tn);_PersonaService=C(sp);emittersService=C(Jt);formLoading=!1;datosPersona;datosVFrentePol;ispersonaFisica=!1;formSubmited=!1;invalidTel;invalidEmail;validMailTel=!1;canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnInit(){this.setForm(this._formBuilder.group({nombyapell:[{value:"",disabled:!0}],documento:[{value:"",disabled:!0}],sexo:[{value:"",disabled:!0}],nacimiento:[{value:"",disabled:!0}],estCivil:[{value:"",disabled:!0}],pais:[{value:"",disabled:!0}],provincia:[{value:"",disabled:!0}],localidad:[{value:"",disabled:!0}],codPostal:[{value:"",disabled:!0}],email:[null,{validators:[ee.required,ee.maxLength(50)]}],telefono:[null,{validators:[ee.required,ee.maxLength(13),ee.pattern("^[0-9]+$")]}],esConductor:[],esDenunciante:[],asegurado:[null]})),this.isAutos(),this.setSuscribers()}ngAfterViewInit(){this.obtenerAsegurado().then(()=>this.setearCampos())}isAutos(){this.router.url.includes("autos")?(this.switcherConductor&&this.getControl("esConductor").setValidators([ee.required]),this.switcherDenunciante&&this.getControl("esDenunciante").setValidators([ee.required])):(this.getForm()?.removeControl("esConductor"),this.getForm()?.removeControl("esDenunciante"))}isValid(){return this.getForm().valid!=null?this.getForm().valid:!1}getErrorMessageControl(e){return e&&e.errors&&e.errors.required?"El campo es requerido":""}setSuscribers(){this.switcherConductor&&this.getControl("esConductor").valueChanges.subscribe(e=>{this.esConductor.emit(e)}),this.switcherDenunciante&&this.getControl("esDenunciante").valueChanges.subscribe(e=>{this.esDenunciante.emit(e)}),this.getControl("telefono").valueChanges.subscribe(e=>{this.validMailTel=!1}),this.getControl("email").valueChanges.subscribe(e=>{this.validMailTel=!1})}validateTel=e=>(this.formLoading=!0,new Promise((n,r)=>{if(!e.value)return this.formLoading=!1,n(null);this._Services.getValidacionTel(e.value).then(o=>{this.formLoading=!1,o.response.description==null?(this.formLoading=!1,n(null)):(this.emittersService.emmiterToast(0,o.response.description),this.formLoading=!1,this.invalidTel=o.response.description,e.setErrors({invalidTel:!0}),n({invalidTel:!0}))})}));validateEmail=e=>(this.formLoading=!0,new Promise((n,r)=>{if(!e.value)return this.formLoading=!1,n(null);this._Services.getValidacionMail(e.value).then(o=>{this.formLoading=!1,o.response.description==null?(this.formLoading=!1,n(null)):(this.formLoading=!1,this.emittersService.emmiterToast(0,o.response.description),this.invalidEmail=o.response.description,e.setErrors({invalidEmail:!0}),n({invalidEmail:!0}))})}));numberOnly(e){let t=e.which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}obtenerAsegurado(){this.formLoading=!1;let e=this.datosVFrentePol.getCodLineaEmision();return new Promise((t,n)=>{this._Services.getDatosPersona(this.datosPersona.gettipoDni().codigo,this.datosPersona.getnroDni()).then(r=>{this.formLoading=!1,r&&(this.datosPersona=new Ir(r[0]),this.ispersonaFisica=this.datosPersona.tipoPersona.codigo=="I",e!=3&&this.ispersonaFisica&&!this.router.url.includes("tr-operativo")&&!this.router.url.includes("otros-ramos")&&!this.router.url.includes("responsabilidad-civil")&&!this.router.url.includes("construccion")&&!this.router.url.includes("transportes")&&(this.getControl("telefono").setValidators([ee.required]),this.getControl("telefono").updateValueAndValidity(),this.getControl("email").setValidators([ee.required]),this.getControl("email").updateValueAndValidity())),t(null)}).catch(r=>{this.formLoading=!1})})}setearCampos(){let e=this.datosPersona.domicilio??{};this.getControl("documento").setValue((this.datosPersona.tipoDni?.codigo??"")+(this.datosPersona.nroDni??"")),this.getControl("nombyapell").setValue(this.datosPersona.descAsegurado??""),this.getControl("sexo").setValue(this.datosPersona.genero?.descripcion??""),this.getControl("nacimiento").setValue(this.formatearFecha(this.datosPersona.feNacimiento)),this.getControl("estCivil").setValue(this.datosPersona.estadoCivil??""),this.getControl("pais").setValue(e.pais?.descripcion??""),this.getControl("provincia").setValue(e.provincia?.descripcion??""),this.getControl("localidad").setValue(e.localidad?.descripcion??""),this.getControl("co
820dPostal").setValue(e.codPostal??""),this.datosPersona.descEmail&&this.getControl("email").setValue(this.datosPersona.descEmail),this.datosPersona.nroTelefonoCel&&this.getControl("telefono").setValue(this.datosPersona.nroTelefonoCel),this.getControl("asegurado").setValue(this.datosPersona)}handleSubmit(){this.resetFormErrors(1),this.formSubmitted=!0;let e=this.getControl("email"),t=this.getControl("telefono");if(this.getForm().invalid){this.emittersService.emmiterToast(0,"Falta completar datos obligatorios");return}this.validarMailTelAsyc(e,t).then(()=>{this.submitIfValidForm()})}getCodPoliza(){return this.datosVFrentePol.getNpoliza().slice(2,5)}submitIfValidForm(){let e=this.getControl("email"),t=this.getControl("telefono");this.getForm().valid&&!e.pending&&!t.pending&&setTimeout(()=>{this.validMailTel=!0,this.datosPersona.setnroTelefonoCel(this.getControl("telefono").value),this.datosPersona.setdescEmail(this.getControl("email").value);let n=this.splitNomApell(this.datosPersona.getdescAsegurado());n?(this.datosPersona.setApellido(n[0]),this.datosPersona.setNombre(n[1])):(this.datosPersona.setApellido(" "),this.datosPersona.setNombre(" "));let r={PersonaIn:{persona:this.datosPersona}};this.getControl("asegurado").setValue(this.datosPersona),this._PersonaService.putPersona(r).then(()=>{this.submitOutput.emit(this.getForm().value)}).catch(()=>{this.submitOutput.emit(this.getForm().value)})},0)}splitNomApell(e){return e?e.includes(",")?e.split(", ").reduce((t,n)=>(n&&t.push(n),t),[]):e.split(" ").reduce((t,n)=>(n&&t.push(n),t),[]):null}async validarMailTelAsyc(e,t){try{await this.validateEmail(e),this.ispersonaFisica&&await this.validateTel(t)}catch(n){throw n}}volver(){this.formSubmitted=!1,this.resetFormErrors(0),this.volverOutput.emit()}resetFormErrors(e){Object.keys(this.getForm().controls).forEach(t=>{let n=this.getForm().controls[t];n.status!="DISABLED"&&(e==0?n.clearValidators():n.addValidators(ee.required),n.updateValueAndValidity())})}getErrorsMessage(e){let t=this.getForm().get(e);return t&&t.errors&&(t.touched||this.formSubmitted)?t.errors.required?"El campo es requerido":t.errors.invalidTel?this.invalidTel:t.errors.invalidEmail?this.invalidEmail:"":""}formatearFecha(e,t="dd/LL/y",n,r="es-AR"){if(e==null)return"";let o=e;return typeof e=="string"&&(o=Date.parse(e)),new Ur(r).transform(o,t,n,r)??""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-datos-del-asegurado"]
820],inputs:{_datosAsegurado:"_datosAsegurado",_vFrentePol:"_vFrentePol",switcherConductor:"switcherConductor",switcherDenunciante:"switcherDenunciante"},outputs:{submitOutput:"submitOutput",volverOutput:"volverOutput",esConductor:"esConductor",esDenunciante:"esDenunciante"},features:[tt],decls:53,vars:9,consts:[["email",""],["telefono",""],["class","text-secondary text-left nx-margin-m margin-box","nxheadline","section",4,"ngIf"],[3,"formGroup"],["nxRow",""],["nxCol","6"],["label","Nombre y Apellido:"],["nxInput","","formControlName","nombyapell","maxlength","101","minlength","5","onlyLetters","","autofocus",""],["label","Tipo/Nro. Doc.:"],["nxInput","","formControlName","documento","maxlength","12","minlength","7"],["nxCol","6",4,"ngIf"],["label","Fecha de Nacimiento:"],["nxInput","","formControlName","nacimiento","maxlength","10","minlength","10"],["label","Estado Civil:"],["nxInput","","formControlName","estCivil","maxlength","10","minlength","10","onlyLetters",""],["label","Pa\xEDs:"],["nxInput","","formControlName","pais","maxlength","20","minlength","4","onlyLetters",""],["label","Provincia:"],["nxInput","","formControlName","provincia","maxlength","20","minlength","4","onlyLetters",""],["label","Localidad:"],["nxInput","","formControlName","localidad","maxlength","20","minlength","4","onlyLetters",""],["label","C\xF3digo Postal:"],["nxInput","","formControlName","codPostal","maxlength","20","minlength","4","numbersOnly",""],["label","E-mail*"],["nxInput","","required","","formControlName","email","minlength","10","maxlength","50"],["nxFormfieldError","","appearance","text"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","required","","formControlName","telefono","type","text","numbersOnly","","minlength","10","maxlength","13"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],["nxheadline","section",1,"text-secondary","text-left","nx-margin-m","margin-box"],["label","Sexo:"],["nxInput","","formControlName","sexo"],["IDselector","DP_generoDNI","formControlName","esConductor"],["nxHeadline","subsection-xsmall",1,"h5-radio-toggle","upPadding",2,"padding-right","20px"],[3,"value",4,"ngFor","ngForOf"],["class","error-messge-forms-hints",4,"ngIf"],[3,"value"],[1,"error-messge-forms-hints"],["IDselector","DP_generoDNI","formControlName","esDenunciante"],["nxHeadline","subsection-xsmall",1,"h5-radio-toggle",2,"padding-right","20px"]],template:function(t,n){if(t&1){let r=Y();L(0,e3e,2,0,"h2",2)(1,t3e,2,0,"h2",2),c(2,"form",3)(3,"div",4)(4,"div",5)(5,"nx-formfield",6),S(6,"input",7),d()(),c(7,"div",5)(8,"nx-formfield",8),S(9,"input",9),d()()(),L(10,n3e,3,0,"div",10),c(11,"div",4)(12,"div",5)(13,"nx-formfield",11),S(14,"input",12),d()(),c(15,"div",5)(16,"nx-formfield",13),S(17,"input",14),d()()(),c(18,"div",4)(19,"div",5)(20,"nx-formfield",15),S(21,"input",16),d()(),c(22,"div",5)(23,"nx-formfield",17),S(24,"input",18),d()()(),c(25,"div",4)(26,"div",5)(27,"nx-formfield",19),S(28,"input",20),d()(),c(29,"div",5)(30,"nx-formfield",21),S(31,"input",22),d()()(),c(32,"div",4)(33,"div",5)(34,"nx-formfield",23),S(35,"input",24,0),c(37,"nx-error",25)(38,"strong"),m(39,"Importante"),d(),m(40," este campo es requerido "),d()()(),c(41,"div",5)(42,"nx-formfield",26),S(43,"input",27,1),c(45,"nx-error",25)(46,"strong"),m(47,"Importante"),d(),m(48," este campo es requerido "),d()()()(),c(49,"div",4),L(50,o3e,6,7,"div",10)(51,l3e,6,7,"div",10),d(),c(52,"app-step-buttons",28),I("continuarEvent",function(){return O(r),T(n.handleSubmit())})("volverEvent",function(){return O(r),T(n.volver())}),d()()}t&2&&(g("ngIf",n.getCodPoliza()=="210"&&n.getCodPoliza()=="018"),p(),g("ngIf",n.getCodPoliza()!="210"&&n.getCodPoliza()!="018"),p(),g("formGroup",n.getForm()),p(8),g("ngIf",!1),p(40),g("ngIf",n.switcherConductor),p(),g("ngIf",n.switcherDenunciante),p(),g("guardar",!1)("loading",n.formLoading)("volver",!0))},dependencies:[me,ut,vt,jt,St,sn,Ut,et,At,Rt,wt,Pt,Er,Dn,kn,st,qt,Xt,Ta,Ia,Yt,qn],styles:["@media screen and (max-width: 400px){.upPadding[_ngcontent-%COMP%]{padding-top:1.7rem}}"]})};var c3e=["aseguradoComponent"];function d3e(i,e){if(i&1){let t=Y();c(0,"app-datos-del-asegurado",2,0),I("submitOutput",function(r){O(t);let o=M();return T(o.onSubmit(r))})("volverOutput",function(){O(t);let r=M();return T(r.volver())}),d()}if(i&2){let t=M();g("_datosAsegurado",t.datosAsegurado)("_vFrentePol",t.datoVFrente)("switcherConductor",!0)("switcherDe
820nunciante",!0)}}var I_=class i{_dataHandler=C(Ti);continuarEvent=new X;volverEvent=new X;aseguradoComponent;datosAsegurado;datoVFrente=null;constructor(){}ngOnInit(){let e=this._dataHandler.getCodNroDocAsegurado(),t=new Ir;t.setnroDni(e.nroDoc),t.settipoDni({codigo:e.codDoc,descripcion:""}),this.datosAsegurado=t,this.datoVFrente=this._dataHandler.vFrentePol}ngAfterViewInit(){queueMicrotask(()=>{if(!this.aseguradoComponent){console.warn("\u26D4 aseguradoComponent a\xFAn no existe");return}this.aseguradoComponent.getForm().valueChanges.subscribe(()=>{this._dataHandler.validStep2=this.aseguradoComponent.getForm().valid&&this.aseguradoComponent.validMailTel})})}onSubmit(e){this._dataHandler.step2FormValue=e,this._dataHandler.validStep2=this.aseguradoComponent?.validMailTel,this._dataHandler.completedStep2=!0,this.continuarEvent.emit(!0)}volver(){this.volverEvent.emit(!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-asegurados-autos"]],viewQuery:function(t,n){if(t&1&&pe(c3e,5),t&2){let r;te(r=ne())&&(n.aseguradoComponent=r.first)}},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:1,vars:1,consts:[["aseguradoComponent",""],[3,"_datosAsegurado","_vFrentePol","switcherConductor","switcherDenunciante"],[3,"submitOutput","volverOutput","_datosAsegurado","_vFrentePol","switcherConductor","switcherDenunciante"]],template:function(t,n){t&1&&re(0,d3e,2,4,"app-datos-del-asegurado",1),t&2&&oe(n.datosAsegurado?0:-1)},dependencies:[as],encapsulation:2})};var Qs=class{descDocumento="";tipoDocumento="";constructor(e){this.setDescDocumento(e.descDocumento),this.setTipoDocumento(e.tipoDocumento)}toString(){return this.getDescDocumento()}equals(e){return this.getTipoDocumento()==e.getTipoDocumento()}getDescDocumento(){return this.descDocumento}setDescDocumento(e){this.descDocumento=e}getTipoDocumento(){return this.tipoDocumento}setTipoDocumento(e){this.tipoDocumento=e}toFlatObject(){return{codigo:this.tipoDocumento,descripcion:this.descDocumento}}getMaxLenght(){switch(this.getTipoDocumento()){case"T":return 8;case"X":return 8;case"D":return 8;case"C":return 8;case"M":return 8;case"P":return 8;default:return 0}}};function u3e(i,e){if(i&1&&(c(0,"h3"),m(1),d()),i&2){let t=M();p(),Pe(t.title)}}function p3e(i,e){i&1&&(c(0,"div")(1,"strong"),m(2,"Importante"),d(),m(3," Este campo es obligatorio "),d())}function f3e(i,e){i&1&&(c(0,"div")(1,"strong"),m(2,"Importante"),d(),m(3," Ingrese un c\xF3digo postal v\xE1lido. Solo d\xEDgitos "),d())}function m3e(i,e){if(i&1&&(c(0,"nx-dropdown-item",8),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.descProvincia," ")}}function h3e(i,e){if(i&1&&(c(0,"nx-dropdown-item",8),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.descLocalidad," ")}}function g3e(i,e){if(i&1&&(c(0,"div",2)(1,"nx-formfield",11),S(2,"input",12),d()()),i&2){let t=M();p(2),g("value",t.zonaRiesgo)}}var ca=class i{title="";noRequired=!1;padding=!0;formSubmited=!1;showZonaRiesgo=!1;zonaRiesgo="";startDisabled=!1;fullDisabled=!1;notRequired=!1;_provinciasSig=nn([]);_localidadesSig=nn([]);_localidadesAuxSig=nn([]);_localidadesAux2Sig=nn([]);_seleccionado;isDisabled;onChange=e=>{};onTouch=()=>{};_formBuilder=C(bt);_services=C(Tn);fgLocalidadDetalle=this._formBuilder.group({fcProvincia:[null,[ee.required]],fcLocalidad:[null,[ee.required]],fcCodigoPostal:["",{validators:[ee.required,ee.pattern(/^[0-9]$/)],updateOn:"blur"}]},{validator:[this.checkCodigoPostal("fcCodigoPostal")]});get Provincias(){return this._provinciasSig()}get Localidades(){return this._localidadesSig()}get _localidades(){return this._localidadesSig()}set _localidades(e){this._localidadesSig.set(e)}get _localidadesAux(){return this._localidadesAuxSig()}set _localidadesAux(e){this._localidadesAuxSig.set(e)}get _localidadesAux2(){return this._localidadesAux2Sig()}set _localidadesAux2(e){this._localidadesAux2Sig.set(e)}cleanLocalidad={codLocalidad:"",codPais:"",codPostal:"",codProv:"",codZonaAu:"",descLocalidad:"",descripcion:"",selectOption:""};cleanProvincia={codPais:"",codPostal:"",codProvincia:"",codZona:"",descProvincia:""};constructor(){this._seleccionado={provincia:ae({},this.cleanProvincia),localidad:ae({},this.cleanLocalidad),codigoPostal:""}}ngOnChanges(e){try{e.formSubmited?.currentValue===!0&&this.FormGroup.markAllAsTouched(),e.fullDisabled&&(e.fullDisabled.currentValue===!0?(this.FormGroup.disable({emitEvent:!1}),this.noRequerido()):(this.FormGroup.enable({emitEvent:!1}),this.requerido()))}catch(t){console.error(t)}}ngOnInit(){this.cleanValues(),this.noRequired&&this.noRequerido(),this.notRequired&&(this.CodigoPostalController.clearValidators(),this.LocalidadController.clearValidators(),this.ProviniciaController.clearValidators(),this.CodigoPostalController.updateValueAndValidity(),this.LocalidadController.updateValueAndValidity(),this.ProviniciaController.updateValueAndValidity()),this.obtenerProvincias(),this.subscribeValuesChanges(),this.isDisabled=this.startDisabled?this.startDisabled:!1}checkCodigoPostal(e){let t=T5();return n=>{let r=n.controls[e];return r.value===""&&!this.noRequired?r.setErrors({require:!0}):r.value===""&&this.noRequired&&!t.test(r.value)||t.test(r.value)?r.setErrors(null):r.setErrors({errorCp:!0})}}writeValue(e){e&&(this.cleanValues(),this.obtenerProvincias(e.codigoPostal).then(()=>{this.obtenerLocalidades({codPostal:e.codigoPostal}).then(()=>{e.codigoProvincia&&(this._seleccionado.provincia.codProvincia=e.codigoProvincia),e.codigoLocalidad&&(this._seleccionado.localidad=this._localidadesAux.find(t=>t.codLocalidad===e.codigoLocalidad)||ae({},this.cleanLocalidad)),e.codigoPostal&&(this._seleccionado.codigoPostal=e.codigoPostal),this.updateForm(),this.onChange(ae({},this._seleccionado)),this.onTouch()})}))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}setDisabledState(e){this.isDisabled=e,e?this.FormGroup.disable({emitEvent:!1}):this.FormGroup.enable({emitEvent:!1})}subscribeValuesChanges(){this.ProviniciaController.valueChanges.subscribe(e=>{this.setProvincia(e).then(t=>{t.updateForm(),this.onChange(ae({},this._seleccionado))})}),this.LocalidadController.valueChanges.subscribe(e=>{this.setLocalidad(e).updateForm(),this.onChange(ae({},this._seleccionado))}),this.CodigoPostalController.valueChanges.subscribe(e=>{this.setCodigoPostal(e).then(t=>{t&&(t.updateForm(),this.onChange(ae({},this._seleccionado)))})})}handleLocalidadFilter(e){if(e){let t=this._localidadesAux2.filter(n=>n.descLocalidad.trim().toLowerCase().includes(e.trim().toLowerCase()));this._localidades=t.length<1?this._localidadesAux2:t}else this._localidades=this._localidadesAux2}checkComponent(){this.CodigoPostalController.markAsTouched(),this.LocalidadController.markAsTouched(),this.ProviniciaController.markAsTouched()}cleanValues(){return this._seleccionado={provincia:ae({},this.cleanProvincia),localidad:ae({},this.cleanLocalidad),codigoPostal:""},this}get FormGroup(){return this.fgLocalidadDetalle}get PaisesController(){return this.FormGroup.get("fcPais")}get ProviniciaController(){return this.FormGroup.get("fcProvincia")}
820get LocalidadController(){return this.FormGroup.get("fcLocalidad")}get CodigoPostalController(){return this.FormGroup.get("fcCodigoPostal")}async setProvincia(e){if(this._seleccionado.provincia=e,this._seleccionado.provincia)this._seleccionado.codigoPostal="",this._seleccionado.localidad=ae({},this.cleanLocalidad),await this.obtenerLocalidades({codProv:e?.codProvincia}),this._localidades.length===1&&(this._seleccionado.localidad=ae({},this._localidades[0])),this.updateLocalidadController();else{if(this._seleccionado.localidad&&this._seleccionado.localidad.codLocalidad)return this;this._seleccionado.codigoPostal?this._localidades=this.filterLocalidades(e):(await this.obtenerLocalidades({codProv:e?.codProvincia}),this._localidades.length===1&&(this._seleccionado.localidad=ae({},this._localidades[0])),this.updateLocalidadController())}return this}setLocalidad(e){if(this._seleccionado.localidad=ae({},e),this._seleccionado.codigoPostal){let t=ae({},this.findProvincia(e)||this.cleanProvincia);this._seleccionado.provincia=t,this.CodigoPostalController.setValue(e?.codPostal,{emitEvent:!1}),this.LocalidadController.setValue(e,{emitEvent:!1}),this._seleccionado.codigoPostal=e?.codPostal||""}else this._seleccionado.codigoPostal=e?.codPostal||"";return this}async setCodigoPostal(e){if(this._seleccionado?.codigoPostal===e)return this;let t=this._seleccionado.provincia?.codProvincia;return this.cleanValues(),await this.obtenerProvincias(e),this._provinciasSig().length===0||e===""?(this.FormGroup.controls.fcCodigoPostal.setErrors({errorCp:!0}),this.updateProvinciaController(),this.updateLocalidadController(),this.cleanValues(),this.onChange(this._seleccionado),null):(this._provinciasSig().length===1&&(this._seleccionado.provincia=ae({},this._provinciasSig()[0])),this.updateProvinciaController(),await this.obtenerLocalidades({codPostal:e,codProv:this._seleccionado.provincia?this._seleccionado.provincia.codProvincia:void 0}),this._localidades.length===1&&(this._seleccionado.localidad=ae({},this._localidades[0])),t&&(this._localidades=this.filterLocalidadesWithCodigoPostal(e)),this.updateLocalidadController(),this._seleccionado.codigoPostal=e,this)}updateForm(){return this.isDisabled||this.fullDisabled?this.FormGroup.disable({emitEvent:!1}):this.formSubmited||this.updateProvinciaController().updateLocalidadController().updateCodigoPostalController(),this}updateProvinciaController(){let e=this._provinciasSig().find(t=>this._seleccionado.provincia?t.codProvincia===this._seleccionado.provincia.codProvincia:null)||this.cleanProvincia;return this._seleccionado.provincia=ae({},e),this.ProviniciaController.setValue(e,{emitEvent:!1}),e.codProvincia===""&&this.ProviniciaController.setErrors({require:!0}),this}updateLocalidadController(){let e=this._localidades.find(t=>this._seleccionado.localidad?t.codLocalidad===this._seleccionado.localidad.codLocalidad&&t.codPostal===this._seleccionado.localidad.codPostal:null)||this.cleanLocalidad;return this._seleccionado.localidad=ae({},e),this.LocalidadController.setValue(e,{emitEvent:!1}),e.codLocalidad===""&&this.LocalidadController.setErrors({require:!0}),this}updateCodigoPostalController(){return this.CodigoPostalController.setValue(this._seleccionado.codigoPostal,{emitEvent:!1}),this}findLocalidad(e){return this._localidades.find(t=>t.codPostal===e)}findProvincia(e){return this._provinciasSig().find(t=>t.codProvincia===e?.codProv)}filterLocalidades(e){return this._localidadesAux.filter(t=>t.codProv===e.codProvincia)}filterLocalidadesWithCodigoPostal(e){return this._localidadesAux.filter(t=>t.codPostal===e)}obtenerProvincias(e){return new Promise((t,n)=>{this._services.getProvs(e).then(r=>{this._provinciasSig.set([...r]),t(r)}).catch(r=>{this.FormGroup.controls.fcCodigoPostal.setErrors({errorCp:!0}),console.error(r),n(r)})})}noRequerido(){this.ProviniciaController.clearValidators(),this.ProviniciaController.clearAsyncValidators(),this.ProviniciaController.updateValueAndValidity(),this.LocalidadController.clearValidators(),this.LocalidadController.clearAsyncValidators(),this.LocalidadController.updateValueAndValidity(),this.CodigoPostalController.clearValidators(),this.CodigoPostalController.clearAsyncValidators(),this.CodigoPostalController.updateValueAndValidity()}requerido(){this.ProviniciaController.addValidators(ee.required),this.ProviniciaController.updateValueAndValidity(),this.LocalidadController.addValidators(ee.required),this.LocalidadController.updateValueAndValidity(),this.CodigoPostalController.addValidators(ee.required),this.CodigoPostalController.updateValueAndValidity()}obtenerLocalidades(e){return this._localidades=[],this._localidadesAux=[],this._localidadesAux2=[],new Promise((t,n)=>{this._services.getLocalidades1(e).then(r=>{r.forEach(o=>{o.selectOption=o.descLocalidad}),this._localidades=[...r],this._localidadesAux=[...r],this._localidadesAux2=[...r],t(r)}).catch(r=>{console.error(r),n(r)})})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-localidad-detalle"]],inputs:{title:"title",noRequired:"noRequired",padding:"padding",formSubmited:"formSubmited",showZonaRiesgo:"showZonaRiesgo",zonaRiesgo:"zonaRiesgo",startDisabled:"startDisabled",fullDisabled:"fullDisabled",notRequired:"notRequired"},features:[Mt([{provide:Fi,useExisting:Wt(()=>i),multi:!0}]),on],decls:28,vars:7,consts:[["nxLayout","grid",1,"my-2",3,"formGroup","ngClass"],["nxRow",""],["nxCol","12,6,3"],["label","C\xF3digo Postal"],["formControlName","fcCodigoPostal","nxInput","","type","text"],["nxFormfieldError","","appearance","text"],["label","Provincia"],["formControlName","fcProvincia"],[3,"value"],["label","Localidad"],["formControlName","fcLocalidad","filterPlaceholder","Buscar",3,"filterInput","showFilter"],["label","Zona de r
820iesgo","IDselector","T_ZonaDeRiesgo"],["nxInput","","type","text","disabled","",3,"value"]],template:function(t,n){t&1&&(c(0,"div",0),re(1,u3e,2,1,"h3"),c(2,"div",1)(3,"div",2)(4,"nx-formfield",3),S(5,"input",4),c(6,"nx-error",5),re(7,p3e,4,0,"div"),re(8,f3e,4,0,"div"),d()()(),c(9,"div",2)(10,"nx-formfield",6)(11,"nx-dropdown",7),Ot(12,m3e,2,2,"nx-dropdown-item",8,$n),d(),c(14,"nx-error",5)(15,"strong"),m(16,"Importante"),d(),m(17," Este campo es obligatorio "),d()()(),c(18,"div",2)(19,"nx-formfield",9)(20,"nx-dropdown",10),I("filterInput",function(o){return n.handleLocalidadFilter(o)}),Ot(21,h3e,2,2,"nx-dropdown-item",8,$n),d(),c(23,"nx-error",5)(24,"strong"),m(25,"Importante"),d(),m(26," Este campo es obligatorio "),d()()(),re(27,g3e,3,1,"div",2),d()()),t&2&&(g("formGroup",n.fgLocalidadDetalle)("ngClass",n.padding?"":"padding-none"),p(),oe(n.title?1:-1),p(6),oe(n.fgLocalidadDetalle.controls.fcCodigoPostal.getError("require")?7:-1),p(),oe(n.fgLocalidadDetalle.controls.fcCodigoPostal.getError("errorCp")?8:-1),p(4),Tt(n.Provincias),p(8),g("showFilter",!0),p(),Tt(n._localidades),p(6),oe(n.showZonaRiesgo?27:-1))},dependencies:[_e,Un,Qr,St,sn,jt,O2,ri,Yn,Sa,Rt,wt,Pt,st,qt,me,Et,ut,vt,Yt],styles:[".padding-none[_ngcontent-%COMP%]{padding:0!important}"]})};var _3e=()=>({v:"S",d:"SI"}),v3e=()=>({v:"N",d:"NO"}),nz=(i,e)=>[i,e],x3e=()=>({str:"SI",val:!0}),b3e=()=>({str:"NO",val:!1});function C3e(i,e){if(i&1){let t=Y();Ze(0),c(1,"nx-dropdown-item",34),I("click",function(){let r=O(t).$implicit,o=M();return T(o.selectTipoDoc(r))}),m(2),d(),Xe()}if(i&2){let t=e.$implicit;p(),g("value",t),p(),Pe(t.toString())}}function y3e(i,e){if(i&1&&S(0,"input",35,0),i&2){let t=M();g("minlength",t.maxLenght)("maxlength",t.maxLenght)}}function M3e(i,e){if(i&1&&S(0,"input",36,0),i&2){let t=M();g("minlength",t.minLenght)("maxlength",t.maxLenght)}}function w3e(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",37),m(1),d()),i&2){let t=e.$implicit;g("value",t.v),p(),K("",t.d," ")}}function S3e(i,e){i&1&&(c(0,"div",38)(1,"nx-error",9)(2,"strong"),m(3,"Importante"),d(),m(4," este campo es requerido "),d()())}function P3e(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",37),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K("",t.str," ")}}function E3e(i,e){i&1&&(c(0,"div",38)(1,"nx-error",9)(2,"strong"),m(3,"Importante"),d(),m(4," este campo es requerido "),d()())}function D3e(i,e){if(i&1&&(c(0,"div",5)(1,"div",23)(2,"h6",39),m(3," \xBFEs el denunciante? "),d()(),c(4,"div",40)(5,"nx-radio-toggle",41),L(6,P3e,2,2,"nx-radio-toggle-button",28),d(),L(7,E3e,5,0,"div",29),d()()),i&2){let t=M();p(5),Ua("small"),p(),g("ngForOf",qr(6,nz,In(4,x3e),In(5,b3e))),p(),g("ngIf",t.getControl("esDenunciante").errors&&t.formSubmited)}}function O3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",37),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function T3e(i,e){if(i&1&&(c(0,"div",6)(1,"nx-formfield",42)(2,"nx-dropdown",43),L(3,O3e,3,2,"ng-container",15),d(),c(4,"nx-error",9)(5,"strong"),m(6,"Importante"),d(),m(7," este campo es requerido "),d()()()),i&2){let t=M();p(2),g("showFilter",!0),p(),g("ngForOf",t.tiposRelacionas)}}var k_=class i extends zn{_formBuilder=C(bt);_dataHandler=C(Ti);_MainServices=C(Tn);_predenunciasService=C(fn);_emitterService=C(Jt);continuarEvent=new X;volverEvent=new X;formLoading=!1;formSubmited=!1;showDenunciante=!0;generosPersona=[];tiposDocumento=[];tiposRelacionas=null;maxLenght=12;minLenght=8;isPasaporte=!1;constructor(){super()}canDeactivate(){return this.getForm().dirty}ngOnInit(){this.obtenerGeneroPersona(),this.obtenerTiposDoc(),this.obtenerTiposRelaciones(),this.setForm(this._formBuilder.group({nombre:[null,[ee.required]],apellido:[null,[ee.required]],tipoDoc:[null,[ee.required]],nroDoc:[null,[ee.required]],relConAseg:[null,[ee.required]],ubicacionConductor:[null,[ee.required]],telefono:[null,[ee.required]],correo:[null,[ee.required,ee.email]],esDenunciante:[null,[ee.required]],indHabitual:[null,[ee.required]]})),this.getForm().valueChanges.subscribe(e=>{this._dataHandler.step4FormValue=e})}ngAfterViewInit(){this.setSuscribers()}setSuscribers(){this.getControl("esDenunciante").valueChanges.subscribe(e=>{})}volver(){this.formSubmited=!1,this.resetFormErrors(0),this.volverEvent.emit(!0)}
820resetFormErrors(e){Object.keys(this.getForm().controls).forEach(t=>{let n=this.getForm().controls[t];e==0?n.clearValidators():n.addValidators(ee.required),n.updateValueAndValidity()})}guardar(){this.resetFormErrors(1),this.formSubmited=!0,this.getForm().valid?(this._dataHandler.step4FormValue=this.getForm().value,this._dataHandler.validStep4=!0,this._dataHandler.completedStep4=!0,this.formSubmited=!1,this.continuarEvent.emit(!0)):this._emitterService.emmiterToast(0,"Falta completar datos obligatorios.")}getErrorMessageControl(e){return e&&e.errors&&e.errors.required?"El campo es requerido":""}obtenerGeneroPersona(){return new Promise((e,t)=>{this._predenunciasService.getGeneroPersona().then(n=>{n.forEach(r=>{this.generosPersona.push(new os(r))}),e(n)}).catch(n=>{})})}obtenerTiposDoc(){return new Promise((e,t)=>{this._MainServices.getTiposDoc().then(n=>{n.forEach(r=>{this.tiposDocumento.push(new Qs(r))}),e(n)}).catch(n=>{})})}obtenerTiposRelaciones(){return this._predenunciasService.getTiposDeRelaciones().then(e=>{this.tiposRelacionas=e}).catch(e=>{console.warn(e)})}isInvalid(){return this.getForm().invalid}selectTipoDoc(e){switch(this.getForm().get("nroDoc").clearValidators(),this.getForm().get("nroDoc").reset(),e.descDocumento){case"CUIL":this.isPasaporte=!1,this.maxLenght=11,this.minLenght=11;break;case"CUIT":this.isPasaporte=!1,this.maxLenght=11,this.minLenght=11;break;case"PASAPORTE":this.isPasaporte=!0,this.maxLenght=11,this.minLenght=4;break;default:this.isPasaporte=!1,this.maxLenght=8,this.minLenght=7;break}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-conductor-autos"]],outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:70,vars:22,consts:[["inputToCount",""],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid"],["nxRow",""],["nxCol","12,6,6"],["label","Nombre:"],["nxInput","","formControlName","nombre","maxlength","50","minlength","2","onlyLetters","","autofocus",""],["nxFormfieldError","","appearance","text"],["label","Apellido:"],["nxInput","","formControlName","apellido","maxlength","50","minlength","2","onlyLetters",""],["nxCol","12,6"],["label","Tipo de Doc.","IDselector","DS_CausaSiniestro"],["formControlName","tipoDoc","nxFilterPlaceholder","Buscar",3,"showFilter"],[4,"ngFor","ngForOf"],["label","Nro. Documento:"],["nxInput","","numbersOnly","","formControlName","nroDoc",3,"minlength","maxlength",4,"ngIf"],["nxInput","","noEspecialCharacters","","formControlName","nroDoc",3,"minlength","maxlength",4,"ngIf"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","type","text","numbersOnly","","minlength","10","maxlength","13","formControlName","telefono"],["label","Correo:"],["type","email","ngModel","","email","true","nxInput","","formControlName","correo","minlength","5","maxlength","50"],["nxCol","12,12,12"],["formControlName","ubicacionConductor","IDselector","DP_LOC_LugarResidencia",1,"detalleLocalidadFixUbicacion",3,"padding","showZonaRiesgo","formSubmited"],["nxRow","",2,"margin-top","25px"],["nxHeadline","subsection-xsmall",1,"h6-radio-toggle",2,"padding-right","20px"],["IDselector","DP_generoDNI","formControlName","indHabitual"],[3,"value",4,"ngFor","ngForOf"],["class","error-messge-forms-hints",4,"ngIf"],["nxRow","",4,"ngIf"],["nxRow","",2,"padding-top","20px"],["nxCol","12,6,6",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],[3,"click","value"],["nxInput","","numbersOnly","","formControlName","nroDoc",3,"minlength","maxlength"],["nxInput","","noEspecialCharacters","","formControlName","nroDoc",3,"minlength","maxlength"],[3,"value"],[1,"error-messge-forms-hints"],["nxHeadline","subsection-xsmall",1,"h6-radio-toggle",2,"padding-right","20px","padding-top","30px"],["nxCol","12,6,12"],["formControlName","esDenunciante","IDselector","DP_generoDNI"],["label","Relaci\xF3n con el Asegurado","IDselector","DS_CausaSiniestro"],["formControlName","relConAseg","nxFilterPlaceholder","Buscar",3,"showFilter"]],template:function(t,n){t&1&&(c(0,"form",1),I("keydown.enter",function(o){return o.preventDefault()}),S(1,"input",2),c(2,"div"),Ze(3),c(4,"h2",3),m(5,"Datos del Conductor "),d(),c(6,"div",4)(7,"div",5)(8,"div",6)(9,"nx-formfield",7),S(10,"input",8),c(11,"nx-error",9)(12,"strong"),m(13,"Importante"),d(),m(14," este campo es requerido "),d()()(),c(15,"div",6)(16,"nx-formfield",10),S(17,"input",11),c(18,"nx-error",9)(19,"strong"),m(20,"Importante"),d(),m(21," este campo es requerido "),d()()()(),c(22,"div",5)(23,"div",12)(24,"nx-formfield",13)(25,"nx-dropdown",14),L(26,C3e,3,2,"ng-container",15),d(),c(27,"nx-error",9)(28,"strong"),m(29,"Importante"),d(),m(30," este campo es requerido "),d()()(),c(31,"div",12)(32,"nx-formfield",16),L(33,y3e,2,2,"input",17)(34,M3e,2,2,"input",18),c(35,"nx-error",9)(36,"strong"),m(37,"Importante"),d(),m(38," este campo es requerido "),d()()()(),c(39,"div",5)(40,"div",6)(41,"nx-formfield",19),S(42,"input",20),c(43,"nx-error",9)(44,"strong"),m(45,"Importante"),d(),m(46," este campo es requerido "),d()()(),c(47,"div",6)(48,"nx-formfield",21),S(49,"input",22),c(50,"nx-error",9)(51,"strong"),m(52,"Importante"),d(),m(53," este campo es requerido "),d()()()(),c(54,"div",5)(55,"div",23),S(56,"app-localidad-detalle",24),d()(),c(57,"div",25)(58,"div",23)(59,"h6",26),m(60," \xBFEs conductor habitual? "),d()(),c(61,"div",23)(62,"nx-radio-toggle",27),L(63,w3e,2,2,"nx-radio-toggle-button",28),d(),L(64,S3e,5,0,"div",29),d()(),L(65,D3e,8,9,"div",30),c(66,"div",31),L(67,T3e,8,2,"div",32),d()(),Xe(),d(),c(68,"div")(69,"app-step-buttons",33),I("continuarEvent",function(){return n.guardar()})("volverEvent",function(){return n.volver()}),d()()()),t&2&&(g("formGroup",n.getForm()),p(25),g("showFilter",!0),p(),g("ngForOf",n.tiposDocumento),p(7),g("ngIf",n.isPasaporte),p(),g("ngIf",!n.isPasaporte),p(22),g("padding",!1)("showZonaRiesgo",!1)("formSubmited",n.formSubmited),p(6),Ua("small"),p(),g("ngForOf",qr(19,nz,In(17,_3e),In(18,v3e))),p(),g("ngIf",n.getControl("indHabitual").errors&&n.formSubmited),p(),g("ngIf",n.showDenunciante),p(2),g("ngIf",n.tiposRelacionas),p(2),g("guardar",!1)("loading",n.formLoading)("volver",!0))},dependencies:[me,Et,ut,vt,jt,St,sn,Ut,et,At,Rt,wt,Pt,Dn,kn,wa,st,qt,ri,Yn,Xt,Ta,Ia,Yt,_e,ca,qn],encapsulation:2})};var Cp=class{deDocumento;idCausaSiniestro;idDocumento;idSeccion;idTipoSiniestro;indObligatorio;constructor(e){this.setDeDocumento(e.deDocumento),this.setIdCausaSiniestro(e.idCausaSiniestro),this.setIdDocumento(e.idDocumento),this.setIdSeccion(e.idSeccion),this.setIdTipoSiniestro(e.idTipoSiniestro),this.setIndObligatorio(e.indObligatorio)}toString(){return this.getDeDocumento()}equals(e){return this.getIdDocumento()==e.getIdDocumento()}getDeDocumento(){return this.deDocumento}setDeDocumento(e){this.deDocumento=e}setIndObligatorio(e){this.indObligatorio=e}getIndObligatorio(){return this.indObligatorio}getIdCausaSiniestro(){return this.idCausaSiniestro}setIdCausaSiniestro(e){this.idCausaSiniestro=e}getIdDocumento(){return this.idDocumento}setIdDocumento(e){this.idDocumento=e}getIdSeccion(){return this.idSeccion}setIdSeccion(e){this.idSeccion=e}getIdTipoSiniestro(){return this.idTipoSiniestro}setIdTipoSiniestro(e){this.idTipoSiniestro=e}};var I3e=["fileInput"];function k3e(i,e){i&1&&(c(0,"span",27),m(1,"*"),d())}function N3e(i,e){if(i&1&&(c(0,"li"),m(1),sr(2,"titlecase"),L(3,k3e,2,0,"span",26),d()),i&2){let t=e.$implicit,n=M();p(),K(" ",Os(2,2,t.getDeDocumento())," "),p(2),g("ngIf",n.getForm().controls.docsSeleccionados.errors&&n.formSubmited==!0&&t.indObligatorio=="S")}}function A3e(i,e){if(i&1&&(c(0,"div",28)(1,"nx-message",29),m(2),d()()),i&2){let t=M();p(2),K(" ",t.mensaje," ")}}function V3e(i,e){if(i&1){let t=Y();c(0,"tr",30)(1,"td")(2,"strong"),m(3),d()(),c(4,"td")(5,"strong"),m(6),d()(),c(7,"td")(8,"button",31),I("click",function(){let r=O(t).index,o=M();return T(o.removeFile(r))}),S(9,"nx-icon",32),d()()()}if(i&2){let t=e.$implicit,n=M();p(3),Pe(t==null?null:t.name),p(3),Pe(n.toMB(t==null?null:t.size))}}var ss=class i extends zn{_Services=C(fn);_formBuilder=C(bt);emitters=C(Jt);fileInput;submitOutput=new X;volverOutput=new X;_loading=!1;set _datosRequestDocumentos(e){e&&(this.datosRequestDocumentos=e)}canDeactivate(){return this.getForm().dirty}uploadedFile=!1;documentoSiniestros=[];datosRequestDocumentos;data=new FormData;docs;formSubmited=!1;formLoading=!1;fileList=[];obligatorio=!1;mensaje="";constructor(){super()}ngOnInit(){this.setForm(this._formBuilder.group({docsSeleccionados:[""]}))}ngAfterViewInit(){this.obtenerDocumentoSiniestro()}isValid(e){return!!e}removeFile(e){this.fileList.splice(e,1),this.fileInput.nativeElement.value=null,this.fileList.length==0&&this.obligatorio&&this.getControl("docsSeleccionados").setValue(null,{emitEvent:!1})}onFileSelected(e){let t=event?.target;this.mensaje="";let n=e.target.files;
820Array.from(n).forEach(r=>{if(this.calculateFileListTotalSize()+r.size>99e5){this.mensaje="El tama\xF1o total de los archivos no puede superar los 10 MB. Por favor, revis\xE1 y volv\xE9 a intentarlo.";return}if(!(r.type==="application/pdf"||r.type==="image/jpeg"||r.type==="image/png"||r.type==="application/msword"||r.type==="application/vnd.openxmlformats-officedocument.wordprocessingml.document"||r.type==="application/vnd.ms-excel"||r.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")){this.mensaje="Solo se permiten archivos con formato: PDF, JPG, PNG, DOC, DOCX, XLS o XLSX.";return}if(r.size<5e6)if(!this.fileList.reduce((s,l)=>(l&&l.name==r.name&&(s=!0),s),!1))this.fileList.push(r);else{this.mensaje=`El archivo ${r.name} ya fue seleccionado previamente. Por favor, eleg\xED uno diferente.`;return}else this.mensaje="El archivo no puede superar los 5 MB. Por favor, seleccion\xE1 uno m\xE1s liviano."}),t.value="",this.getControl("docsSeleccionados").setValue(".")}calculateFileListTotalSize(){return this.fileList.reduce((e,t)=>(t&&(e+=t.size),e),0)}obtenerDocumentoSiniestro(){return new Promise((e,t)=>{this._Services.getTiposDeDocumentosSiniestros(this.datosRequestDocumentos?.idSeccion,this.datosRequestDocumentos?.idTipoSiniestro,this.datosRequestDocumentos?.idCausaSiniestro).then(n=>{n&&n.forEach(r=>{this.documentoSiniestros.push(new Cp(r))})})})}guardar(){this.formSubmited=!0,this.getForm().valid&&(this.fileList.length>0||this.fileList.length==0)&&(this._Services.setUploadedFile(!0),this.submitOutput.emit(this.fileList))}toMB(e){return(e/1024/1024).toFixed(2)+" MB"}volver(){this.volverOutput.emit()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-documentacion"]],viewQuery:function(t,n){if(t&1&&pe(I3e,5),t&2){let r;te(r=ne())&&(n.fileInput=r.first)}},inputs:{_loading:"_loading",_datosRequestDocumentos:"_datosRequestDocumentos"},outputs:{submitOutput:"submitOutput",volverOutput:"volverOutput"},features:[tt],decls:37,vars:8,consts:[["fileInput",""],[1,"container",2,"margin-top","40px"],[3,"formGroup"],["nxRow","",2,"justify-content","center"],["nxCol","4"],[2,"width","100%"],["nxHeadline","subsection-small",2,"font-weight","lighter"],["nxList","",2,"margin-bottom","16px","padding-left","36px"],[4,"ngFor","ngForOf"],["nxCol","8"],[1,"d-flex","justify-content-end"],["vibrant","","type","positive"],[2,"font-size","12px","margin","0","padding","0"],[2,"font-size","18px","font-weight","bold"],[2,"margin-top","16px","font-size","16px","font-weight","400"],[2,"font-weight","bolder","color","#767676"],["style","margin-top: 15px; margin-bottom: 15px;",4,"ngIf"],[1,"col-md-6"],["type","buton","nxButton","primary medium",2,"padding","0px !important","border","0px solid transparent"],["for","file",2,"cursor","pointer","margin","0px !important","padding","14px","text-transform","math-auto"],["type","file","id","file","accept",".pdf,.jpg,.png,.pdf,.doc,.docx,.xls,.xlsx ","multiple","",2,"display","none",3,"change"],[2,"margin-top","20px"],["stlye","height:400px; margin-top:20px; margin-bottom:20px",1,"table"],[2,"font-size","16px","font-weight","300"],["style","align-items:center;",4,"ngFor","ngForOf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver","continuarLaber"],["nxFormfieldError","","appearance","text","class","error-messge-forms-hints",4,"ngIf"],["nxFormfieldError","","appearance","text",1,"error-messge-forms-hints"],[2,"margin-top","15px","margin-bottom","15px"],["nxContext","error"],[2,"align-items","center"],["type","button",2,"border","none","background-color","transparent",3,"click"],["name","trash-o","size","s","aria-hidden","true",2,"color","#006192"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1)(1,"form",2)(2,"div",3)(3,"div",4)(4,"nx-card",5)(5,"h3",6),m(6,"Documentaci\xF3n relacionada"),d(),S(7,"hr"),c(8,"ul",7),L(9,N3e,4,4,"li",8),d()()(),c(10,"div",9)(11,"nx-card",5)(12,"div",10)(13,"nx-badge",11)(14,"p",12),m(15," Carga opcional"),d()()(),c(16,"div")(17,"p",13),m(18," Seleccion\xE1 un archivo para adjuntar "),d(),c(19,"p",14),m(20," Formatos v\xE1lidos: jpg, png, .doc, .docx, pdf, .xls y .xlsx "),S(21,"br"),c(22,"span",15),m(23,"Tama\xF1o m\xE1ximo total de 10MB."),d()(),L(24,A3e,3,1,"div",16),d(),c(25,"div")(26,"div",17)(27,"button",18)(28,"label",19),m(29," Adjuntar archivos "),d()(),c(30,"input",20,0),I("change",function(a){return O(r),T(n.onFileSelected(a))}),d()()(),c(32,"div",21)(33,"table",22)(34,"tbody",23),L(35,V3e,10,2,"tr",24),d()()()()()(),c(36,"app-step-buttons",25),I("continuarEvent",function(){return O(r),T(n.guardar())})("volverEvent",function(){return O(r),T(n.volver())}),d()()()}t&2&&(p(),g("formGroup",n.getForm()),p(8),g("ngForOf",n.documentoSiniestros),p(15),g("ngIf",n.mensaje!=""),p(11),g("ngForOf",n.fileList),p(),g("guardar",!1)("loading",n._loading)("volver",!n._loading)("continuarLaber","Finalizar"))},dependencies:[me,ut,vt,O0,sn,Ut,et,At,Pt,st,_t,Xt,nt,$r,j6,_e,qn,t2],encapsulation:2})};var N_=class i{_dataHandlerService=C(Ti);
820continuarEvent=new X;volverEvent=new X;datosRequestDocumentos;loadingPred=!1;constructor(){}ngOnInit(){this.datosRequestDocumentos=this._dataHandlerService.getRequestDataStepDocumentacion()}onSubmit(e){this._dataHandlerService.step10FormValue=e,this.loadingPred=!0,this._dataHandlerService.crearDenuncia().then(t=>{this._dataHandlerService.validStep10=!0,this._dataHandlerService.completedStep10=!0,this.continuarEvent.emit(!0)}).catch(t=>{this._dataHandlerService.validStep10=!0,this._dataHandlerService.completedStep10=!0,this.continuarEvent.emit(!0)}).finally(()=>{this.loadingPred=!1})}volver(){this.volverEvent.emit(!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-documentacion-autos"]],outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:1,vars:2,consts:[[3,"submitOutput","volverOutput","_datosRequestDocumentos","_loading"]],template:function(t,n){t&1&&(c(0,"app-documentacion",0),I("submitOutput",function(o){return n.onSubmit(o)})("volverOutput",function(){return n.volver()}),d()),t&2&&g("_datosRequestDocumentos",n.datosRequestDocumentos)("_loading",n.loadingPred)},dependencies:[ss],encapsulation:2})};var yp=class{constructor(e){this.services=e;this.setService(e),this.docControl=new it("",{updateOn:"blur"}),this.tipoDocControl=new it(""),this.docControl.disable(),this.tipoDocControl.valueChanges.subscribe(t=>{this.getDocControl().enable()})}errorMessage;docControl;tipoDocControl;maxLength=0;getErrorMessage(){return this.errorMessage}setErrorMessage(e){this.errorMessage=e}getDocControl(){return this.docControl}getTipodDocControl(){return this.tipoDocControl}getService(){return this.services??null}setService(e){this.services=e}getTipoDocControlValue(){return this.getTipodDocControl().value}setDocControlValidators(){this.getDocControl().setValidators([ee.required])}setTipoDocControlValidators(){this.getTipodDocControl().setValidators([ee.required])}removeValueAndValidations(){let e=this.getDocControl(),t=this.getTipodDocControl();e.setValue(""),e.clearValidators(),e.updateValueAndValidity(),t.setValue(""),t.clearValidators(),t.updateValueAndValidity(),this.docControl.disable()}removeValidations(){let e=this.getDocControl(),t=this.getTipodDocControl();e.clearValidators(),e.updateValueAndValidity(),t.clearValidators(),t.updateValueAndValidity(),this.docControl.disable()}obtenerDocValidation(e,t){return new Promise((n,r)=>{this.getService().validarDocumento(e,t).then(o=>{n(o)}).catch(o=>{r(o)})})}customDocFormValidation(e){return new Promise((n,r)=>{e.value!=""?this.obtenerDocValidation(this.getTipodDocControl().value.getTipoDocumento(),e.value).then(o=>{o.description==""?n(null):(this.setErrorMessage(o.description),n({invalidDoc:!0}))}).catch(o=>{console.log(o)}):n(null)})}validarDocFormat(){return new Promise((e,t)=>{this.getDocControl().value!=""&&this.getTipodDocControl().value!=""?this.obtenerDocValidation(this.getTipodDocControl().value.getTipoDocumento(),this.getDocControl().value.replace(/\s/gi,"")).then(n=>{e(!0)}).catch(n=>{t(n)}):e(!0)})}};function A_(i){if(!i||i.length<5)return!1;let e=i.slice(0,5);if(!/^\d{5}$/.test(e))return!1;let t=[...e].map(o=>Number(o)),n=t.every((o,a)=>a===0||o===t[a-1]+1),r=t.every((o,a)=>a===0||o===t[a-1]-1);return n||r}function V_(i){if(!i||i.length<5)return!1;let e=i.slice(0,5);return/^(\d)\1{4}$/.test(e)}var ls=7;function F_(i){return i?.length>=ls}function R_(i){if(i.length<ls)return!1;let e=i.slice(0,ls).split("").map(Number),t=e.every((r,o,a)=>o===0||r===a[o-1]+1),n=e.every((r,o,a)=>o===0||r===a[o-1]-1);return t||n}function z_(i){return/(.)\1{6}/.test(i.slice(0,ls))}var ql=class i{constructor(e,t){this.elementRef=e;this.renderer=t}ErrorLabel;createLabel(e){let t=this.renderer.createElement("span");return this.renderer.addClass(t,"error-messge-forms"),this.renderer.setAttribute(t,"nxFormfieldError",""),this.renderer.setAttribute(t,"appearance","text"),this.renderer.appendChild(t,this.renderer.createText(e)),this.renderer.setStyle(t,"min-height","24px"),this.renderer.setStyle(t,"opacity",0),t}checkWrapper(){let e=this.elementRef.nativeElement.querySelector("[class='nx-formfield__wrapper']");return e||this.elementRef.nativeElement}ngOnInit(){}ngAfterViewInit(){if(!this.elementRef.nativeElement.querySelector("[nxFormfieldError]")){let t=this.createLabel(this.ErrorLabel);this.renderer.appendChild(this.checkWrapper(),t),this.renderer.setStyle(t,"opacity",1)}}ngOnChanges(e){if(e.ErrorLabel){let t=this.elementRef.nativeElement.querySelector("[nxFormfieldError]");t&&this.renderer.removeChild(this.checkWrapper(),t);let n=this.createLabel(this.ErrorLabel);this.renderer.appendChild(this.checkWrapper(),n),setTimeout(()=>this.renderer.setStyle(n,"opacity",1),1)}}static \u0275fac=function(t){return new(t||i)(D(We),D(Ai))};static \u0275dir=Ie({type:i,selectors:[["","ErrorLabel",""]],inputs:{ErrorLabel:"ErrorLabel"},features:[on]})};function F3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",41),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function R3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",41),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function z3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",41),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),Pe(t.toString())}}function L3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",41),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function H3e(i,e){if(i&1&&(c(0,"div",42)(1,"nx-formfield",43)(2,"nx-dropdown",44),L(3,L3e,3,2,"ng-container",17),d()()()),i&2){let t=M(2);p(2),g("showFilter",!0),p(),g("ngForOf",t.generosPersona)}}function B3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",41),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function j3e(i,e){if(i&1){let t=Y();c(0,"div",45)(1,"div",46)(2,"button",47),I("click",function(){O(t);let r=M().index,o=M();return T(o.removeFormGroup(r))}),m(3," - Quitar lesionado "),d()()()}}function q3e(i,e){if(i&1&&(c(0,"div",11)(1,"h2",12),m(2),d(),c(3,"div",13)(4,"div",14)(5,"nx-formfield",15)(6,"nx-dropdown",16),L(7,F3e,3,2,"ng-container",17),d()()(),c(8,"div",14)(9,"nx-formfield",18)(10,"nx-dropdown",19),L(11,R3e,3,2,"ng-container",17),d()()()(),c(12,"div",13)(13,"div",14)(14,"nx-formfield",20),S(15,"input",21),d()()(),c(16,"div",13)(17,"div",22)(18,"nx-formfield",23)(19,"nx-dropdown",24),L(20,z3e,3,2,"ng-container",17),d()()(),c(21,"div",22)(22,"nx-formfield",25),S(23,"input",26,0),d()(),L(25,H3e,4,2,"div",27),d(),c(26,"div",13)(27,"div",14)(28,"nx-formfield",28),S(29,"input",29),d()(),c(30,"div",14)(31,"nx-formfield",30),S(32,"input",31),c(33,"nx-error",32)(34,"strong"),m(35,"Importante"),d(),m(36," El correo ingresado no es v\xE1lido "),d()()()(),c(37,"div",13)(38,"div",33),S(39,"app-localidad-detalle",34,1),d()(),c(41,"div",13)(42,"div",35)(43,"nx-formfield",36),S(44,"input",37),d()(),c(45,"div",14)(46,"nx-formfield",38)(47,"nx-dropdown",39),L(48,B3e,3,2,"ng-container",17),d()()()(),L(49,j3e,4,0,"div",40),S(50,"hr"),d()),i&2){let t,n,r=e.index,o=M();g("formGroupName",r),p(2),K("Datos del lesionado N\xBA ",r+1),p(4),g("showFilter",!0),p(),g("ngForOf",o.tiposLesionados),p(4),g("ngForOf",o.tipoLesiones),p(8),g("showFilter",!0),p(),g("ngForOf",o.tiposDocumento),p(2),g("ErrorLabel",o.getErrorsMessageDoc((t=o.getForm().get("lesionados"))==null||(t=t.get(r.toString()))==null?null:t.get("nroDoc"))),p(3),g("ngIf",!1),p(3),g("ErrorLabel",o.getErrorsMessageTel((n=o.getForm().get("lesionados"))==null||(n=n.get(r.toString()))==null?null:n.get("telefono"))),p(11),g("showZonaRiesgo",!1)("formSubmited",o.formSubmited)("padding",!1)("noRequired",!0)("notRequired",!0),p(8),g("showFilter",!0),p(),g("ngForOf",o.tiposRelacionas),p(),g("ngIf",r>0)}}var H_=class i extends zn{_MainServices=C(Tn);_formBuilder=C(bt);_predenunciasService=C(fn);emittersService=C(Jt);
820continuarEvent=new X;volverEvent=new X;lesionadosInput=null;cantLesionados=null;submitEnCurso=!1;formLoading=!1;formSubmited=!1;tiposDocumento=[];generosPersona=[];tiposLesionados=null;tiposRelacionas=null;tipoLesiones=null;validacionCampoObligatorio=!1;maxLenght=11;canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnChanges(e){}ngOnInit(){this.obtenerSelectsOpions(),this.setForm(this._formBuilder.group({lesionados:new p2([this.lesionadosFormGroup])}))}ngAfterViewInit(){}get lesionadosFormArray(){return this.getControl("lesionados")}get lesionadosFormGroup(){let e=new yp(this._MainServices),t=new oo({tipoLesionado:new it(null),tipoLesion:new it(null),nomApel:new it(null,[ee.maxLength(50)]),tipoDoc:new it(null),nroDoc:new it({value:null,disabled:!0}),sexo:new it(null),telefono:new it(null),correo:new it(null,[ee.pattern("[A-Za-z0-9._%-]+@[A-Za-z0-9._%-]+\\.[a-z]{2,3}"),ee.maxLength(50)]),ubicacionLesionado:new it(null),edadAprox:new it(null,[ee.max(150)]),relConAseg:new it(null,ee.required)});return t.get("tipoDoc").valueChanges.subscribe(n=>{t.get("nroDoc").enable()}),e.setDocControlValidators(),e.setTipoDocControlValidators(),t.get("nroDoc").setAsyncValidators(this.validateDocNumber),t.get("telefono").setAsyncValidators(this.validateTelephone),t.get("edadAprox").setAsyncValidators(this.validateNUmber),t.get("ubicacionLesionado").clearValidators(),t.get("ubicacionLesionado").updateValueAndValidity({emitEvent:!1}),t}validateTelephone(e){return new Promise(t=>{let n=e.value?e.value.toString():"",r={};n!==""&&n.length<9&&(r.minlength=!0),V_(n)&&(r.fiveIdentical=!0),A_(n)&&(r.fiveConsecutive=!0),t(Object.keys(r).length>0?r:null)})}validateDocNumber(e){return new Promise(t=>{let n=e.value?e.value.toString():"",r={};n&&n.length>0&&!F_(n)?r.minlength=!0:z_(n)?r.fiveIdentical=!0:R_(n)?r.hasConsecutiveDigits=!0:r={},t(Object.keys(r).length>0?r:null)})}getErrorsMessageDoc(e){return e&&e.errors?e.errors.fiveIdentical?`N\xFAmero de documento incorrecto, no puede comenzar con ${ls} n\xFAmeros iguales.`:e.errors.hasConsecutiveDigits?`N\xFAmero de documento incorrecto, no puede comenzar con ${ls} n\xFAmeros consecutivos.`:e.errors.minlength?`El n\xFAmero de documento debe contener un m\xEDnimo de ${ls} d\xEDgitos.`:"":""}getErrorsMessageTel(e){return e&&e.errors?e.errors.fiveIdentical?"El n\xFAmero de tel\xE9fono no puede comenzar con 5 n\xFAmeros iguales.":e.errors.fiveConsecutive?"El n\xFAmero de tel\xE9fono no puede comenzar con 5 n\xFAmeros consecutivos.":e.errors.invalidNumber?"El n\xFAmero de tel\xE9fono debe contener un m\xE1ximo de 15 d\xEDgitos.":e.errors.minlength?"El n\xFAmero de tel\xE9fono debe contener un m\xEDnimo de 10 d\xEDgitos.":"":""}addFormGroup(){this.lesionadosFormArray.push(this.lesionadosFormGroup)}removeFormGroup(e){this.lesionadosFormArray.removeAt(e)}setInitRel(){this.lesionadosFormArray.removeAt(0);let e=this.lesionadosFormGroup;e.get("relConAseg").setValue(this.tiposRelacionas.find(n=>n.deValor=="SE IGNORA"),{emitEvent:!1}),this.lesionadosFormArray.push(e)}setLesionadosFromInput(){this.lesionadosFormArray.removeAt(0),this.lesionadosInput.forEach(e=>{let t=this.lesionadosFormGroup;Object.keys(e).forEach(n=>{let r=t.get(n);switch(n){case"tipoDoc":e[n]&&r.setValue(this.tiposDocumento.find(a=>a.getTipoDocumento()==e[n].tipoDocumento));break;case"sexo":e[n]&&r.setValue(this.generosPersona.find(a=>a.getCodGenero()==e[n].codGenero));break;case"tipoLesionado":e[n]&&r.setValue(this.tiposLesionados.find(a=>a.cdValor==e[n].cdValor));break;case"tipoLesion":e[n]&&r.setValue(this.tipoLesiones.find(a=>a.cdTipoLesion==e[n].cdTipoLesion));break;case"ubicacionLesionado":let o=e[n];if(o){let a={codigoPostal:o.codigoPostal,codigoLocalidad:o.localidad.codLocalidad,codigoProvincia:o.provincia.codProvincia};r.setValue(a),r.updateValueAndValidity()}break;default:e[n]&&r.setValue(e[n]);break}}),this.lesionadosFormArray.push(t)})}getErrorMessage(e){return this.getForm().invalid&&this.formSubmited?"Tel\xE9fono no v\xE1lido":""}get disableAgregar(){return this.cantLesionados?this.cantLesionados==this.lesionadosFormArray.controls.length:!1}volver(){this.volverEvent.emit(!0)}guardar(){if(!this.submitEnCurso){this.submitEnCurso=!0;try{this.formSubmited=!0;let e=this.getForm()?.get("lesionados");if(!e)return;if(!this.validacionesPreSubmit(e)){this.emittersService.emmiterToast(1,"Al menos debe ingresar un dato del lesionado de forma obligatoria");return}if(!this.getForm().valid)return;let n=e.getRawValue();this.continuarEvent.emit(n)}finally{setTimeout(()=>{this.submitEnCurso=!1})}}}validacionesPreSubmit(e){let t=e??this.getForm()?.get("lesionados");if(!t||t.length===0)return!1;let n=["correo","edadAprox","nomApel","sexo","telefono","relConAseg","tipoLesion","tipoLesionado","ubicacionLesionado","tipoDoc","nroDoc"];return t.controls.some(r=>this.tieneAlgunCampoCompleto(r.value,n))}tieneAlgunCampoCompleto(e,t){return e?t.some(n=>{let r=e[n];return typeof r=="string"?r.trim()!=="":Array.isArray(r)?r.length>0:typeof r=="object"?r!==null:r!=null}):!1}validateNUmber(e){return new Promise((n,r)=>{(e.value==""||e.value==null)&&n(null),Number(e.value)>0?n(null):n({invalidNumber:!0})})}async obtenerSelectsOpions(){await this.obtenerTipodeRelaciones(),await this.obtenerTipodeLesionados(),await this.obtenerTipodeDocumentos(),await this.obtenerGeneroPersonas(),await this.obtenerTiposLesiones(),this.lesionadosInput&&this.lesionadosInput.length>0?this.setLesionadosFromInput():this.setInitRel()}async obtenerTipodeRelaciones(){return new Promise((e,t)=>
820{this._predenunciasService.getTiposDeRelaciones().then(n=>{this.tiposRelacionas=n,e(null)}).catch(n=>{t(n)})})}async obtenerTipodeLesionados(){return new Promise((e,t)=>{this._predenunciasService.getiTiposDeLesionados().then(n=>{this.tiposLesionados=n,e(null)}).catch(n=>{t(n)})})}async obtenerTipodeDocumentos(){return new Promise((e,t)=>{this._MainServices.getTiposDoc().then(n=>{n.forEach(r=>{this.tiposDocumento.push(new Qs(r))}),e(null)}).catch(n=>{t(n)})})}async obtenerGeneroPersonas(){return new Promise((e,t)=>{this._predenunciasService.getGeneroPersona().then(n=>{n.forEach(r=>{this.generosPersona.push(new os(r))}),e(null)}).catch(n=>{t(n)})})}async obtenerTiposLesiones(){return new Promise((e,t)=>{this._predenunciasService.getTiposLesiones().then(n=>{this.tipoLesiones=n,e(null)}).catch(n=>{t(n)})})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-datos-lesionados"]],inputs:{lesionadosInput:"lesionadosInput",cantLesionados:"cantLesionados"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt,on],decls:11,vars:6,consts:[["inputToCount",""],["localidad",""],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["formArrayName","lesionados"],["nxLayout","grid",3,"formGroupName",4,"ngFor","ngForOf"],["nxLayout","grid"],["nxRow","",2,"padding-top","15px"],["nxCol","12,12,12,12",2,"text-align","left"],["type","button","nxButton","tertiary small-medium",3,"click","disabled"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],["nxLayout","grid",3,"formGroupName"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","margin-box"],["nxRow",""],["nxCol","12,6,6"],["label","Tipo de Lesionado","IDselector","DS_CausaSiniestro"],["formControlName","tipoLesionado","nxFilterPlaceholder","Buscar","autofocus","",3,"showFilter"],[4,"ngFor","ngForOf"],["label","Tipo de Lesi\xF3n","IDselector","DS_CausaSiniestro"],["formControlName","tipoLesion"],["label","Apellido y nombre:"],["nxInput","","formControlName","nomApel","onlyLetters",""],["nxCol","12,6"],["label","Tipo de Doc.","IDselector","DS_CausaSiniestro"],["formControlName","tipoDoc","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Nro. Documento:",3,"ErrorLabel"],["type","text","nxInput","","formControlName","nroDoc","maxlength","12"],["nxCol","12,6,5",4,"ngIf"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)",3,"ErrorLabel"],["nxInput","","type","text","numbersOnly","","formControlName","telefono","maxlength","20"],["label","Correo:"],["nxInput","","type","email","ngModel","","email","true","minlength","5","maxlength","50","formControlName","correo"],["nxFormfieldError","","appearance","text"],["nxCol","12,12,12"],["formControlName","ubicacionLesionado","IDselector","DP_LOC_LugarResidencia",1,"detalleLocalidadFixUbicacion",3,"showZonaRiesgo","formSubmited","padding","noRequired","notRequired"],["nxCol","12,6,4"],["label","Edad aproximada:"],["nxInput","","type","text","minlength","1","maxlength","3","numbersOnly","","formControlName","edadAprox"],["label","Relaci\xF3n con el Asegurado","IDselector","DS_CausaSiniestro"],["formControlName","relConAseg","nxFilterPlaceholder","Buscar",3,"showFilter"],["nxRow","","style","padding-top:15px;padding-left: 35px;",4,"ngIf"],[3,"value"],["nxCol","12,6,5"],["label","Sexo","IDselector","DS_CausaSiniestro"],["formControlName","sexo","nxFilterPlaceholder","Buscar",3,"showFilter"],["nxRow","",2,"padding-top","15px","padding-left","35px"],["nxCol","12,12,12,12",2,"text-align","right"],["type","button","nxButton","tertiary small-medium",3,"click"]],template:function(t,n){t&1&&(c(0,"form",2),I("keydown.enter",function(o){return o.preventDefault()}),S(1,"input",3),c(2,"div"),Ze(3,4),L(4,q3e,51,18,"div",5),Xe(),c(5,"div",6)(6,"div",7)(7,"div",8)(8,"button",9),I("click",function(){return n.addFormGroup()}),m(9," + Agregar otro lesionado "),d()()()()(),c(10,"app-step-buttons",10),I("continuarEvent",function(){return n.guardar()})("volverEvent",function(){return n.volver()}),d()()),t&2&&(g("formGroup",n.getForm()),p(4),g("ngForOf",n.lesionadosFormArray.controls),p(4),g("disabled",n.disableAgregar),p(2),g("guardar",!1)("loading",n.formLoading)("volver",!0))},dependencies:[me,Et,ut,vt,jt,St,sn,Ut,et,At,Rt,wt,Pt,Dn,kn,wa,st,qt,Sl,y0,_t,ri,Yn,Xt,Yt,ql,_e,qn,ca],encapsulation:2})};var B_=class i{_dataHandler=C(Ti);
820continuarEvent=new X;volverEvent=new X;formLoading=!1;formSubmited=!1;tieneDatosLesionados=!1;tieneDatosTerceros=!1;ngOnInit(){this.tieneDatosLesionados=this._dataHandler.step1FormValue?.tieneDatosLes,this.tieneDatosTerceros=this._dataHandler.step1FormValue?.tieneDatosTer}get lesionados(){return this.tieneDatosTerceros?this._dataHandler.step6FormValue.reduce((e,t)=>(t.esLesionado=="SI"&&e.push({nomApel:t.nomApel,tipoDoc:t.tipoDoc,nroDoc:t.nroDoc,sexo:t.sexo,telefono:t.telefono,correo:t.correo,ubicacionLesionado:t.ubicacionConductor}),e),[]):null}get cantLesionados(){return this._dataHandler.step1FormValue?this._dataHandler.step1FormValue.cantLesionados:null}onSubmit(e){this._dataHandler.step7FormValue=e,this._dataHandler.completedStep7=!0,this._dataHandler.validStep7=!0,this.continuarEvent.emit(!0)}volver(){this.volverEvent.emit(!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-lesionado-autos"]],outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:1,vars:2,consts:[[3,"continuarEvent","volverEvent","cantLesionados","lesionadosInput"]],template:function(t,n){t&1&&(c(0,"app-datos-lesionados",0),I("continuarEvent",function(o){return n.onSubmit(o)})("volverEvent",function(){return n.volver()}),d()),t&2&&g("cantLesionados",n.cantLesionados)("lesionadosInput",n.lesionados)},dependencies:[H_],encapsulation:2})};var cs=class{constructor(e){this.setIdParte(e.idParte),this.setValorParte(e.valorParte)}idParte;valorParte;getIdParte(){return this.idParte}setIdParte(e){this.idParte=e}getValorParte(){return this.idParte}setValorParte(e){this.valorParte=e}};var Ul=class{cdUsuario;deIconoClave;deIconoTitulo;deIconoTooltip;deTipoSiniestro;fecRegistro;idSeccion;idTipoSiniestro;indActivo;constructor(e){this.setCdUsuario(e.cdUsuario),this.setDeIconoClave(e.deIconoClave),this.setDeIconoTitulo(e.deIconoTitulo),this.setDeIconoTooltip(e.deIconoTooltip),this.setDeTipoSiniestro(e.deTipoSiniestro),this.setFecRegistro(e.fecRegistro),this.setIdSeccion(e.idSeccion),this.setIdTipoSiniestro(e.idTipoSiniestro),this.setIndActivo(e.indActivo)}toString(){return this.getDeTipoSiniestro()}equals(e){return this.getIdTipoSiniestro()==e.getIdTipoSiniestro()}getCdUsuario(){return this.cdUsuario}setCdUsuario(e){this.cdUsuario=e}getDeIconoClave(){return this.deIconoClave}setDeIconoClave(e){this.deIconoClave=e}getDeIconoTitulo(){return this.deIconoTitulo}setDeIconoTitulo(e){this.deIconoTitulo=e}getDeIconoTooltip(){return this.deIconoTooltip}setDeIconoTooltip(e){this.deIconoTooltip=e}getDeTipoSiniestro(){return this.deTipoSiniestro}setDeTipoSiniestro(e){this.deTipoSiniestro=e}getFecRegistro(){return this.fecRegistro}setFecRegistro(e){this.fecRegistro=e}getIdSeccion(){return this.idSeccion}setIdSeccion(e){this.idSeccion=e}getIdTipoSiniestro(){return this.idTipoSiniestro}setIdTipoSiniestro(e){this.idTipoSiniestro=e}getIndActivo(){return this.indActivo}setIndActivo(e){this.indActivo=e}};var Gl=class{cdUsuario;fecRegistro;idSeccion;idTipoSiniestro;deCausaSiniestro;idCausaSiniestro;indActivo;constructor(e){this.setCdUsuario(e.cdUsuario),this.setFecRegistro(e.fecRegistro),this.setIdSeccion(e.idSeccion),this.setIdTipoSiniestro(e.idTipoSiniestro),this.setDeCausaSiniestro(e.deCausaSiniestro),this.setIdCausaSiniestro(e.idCausaSiniestro),this.setIndActivo(e.indActivo)}toString(){return this.getDeCausaSiniestro()}equals(e){return this.getIdCausaSiniestro()==e.getIdCausaSiniestro()}getDeCausaSiniestro(){return this.deCausaSiniestro}setDeCausaSiniestro(e){this.deCausaSiniestro=e}getIdCausaSiniestro(){return this.idCausaSiniestro}setIdCausaSiniestro(e){this.idCausaSiniestro=e}getCdUsuario(){return this.cdUsuario}setCdUsuario(e){this.cdUsuario=e}getFecRegistro(){return this.fecRegistro}setFecRegistro(e){this.fecRegistro=e}getIdSeccion(){return this.idSeccion}setIdSeccion(e){this.idSeccion=e}getIdTipoSiniestro(){return this.idTipoSiniestro}setIdTipoSiniestro(e){this.idTipoSiniestro=e}getIndActivo(){return this.indActivo}setIndActivo(e){this.indActivo=e}};var U3e=["*"];function G3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",7),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function $3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",7),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function W3e(i,e){if(i&1){let t=Y();c(0,"div",2)(1,"nx-formfield",8)(2,"nx-dropdown",9),I("selectionChange",function(r){O(t);let o=M();return T(o.handleCausasSinChange(r))}),L(3,$3e,3,2,"ng-container",5),d()()()}if(i&2){let t=M();p(),g("ErrorLabel",t.getErrorsMessage("causa")),p(),g("required",t.required&&t.showCausa)("showFilter",!0)("disabled",t.causasSiniestros.length==0),p(),g("ngForOf",t.causasSiniestros)}}var p1=class i{_services=C(fn);showCausa=!0;padding=!0;codSeccion="";required=!1;formSubmitted=!1;idTipoOperacion=null;tiposSiniestros=[];causasSiniestros=[];value={tipo:null,causa:null};formGroup=new oo({tipo:new it(null),causa:new it(null)});onChange=e=>{};onTouch=()=>{};writeValue(e){e&&(this.value=e,this.formGroup.patchValue(e,{emitEvent:!1}))}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouch=e}setDisabledState(e){e?this.formGroup.disable():this.formGroup.enable()}ngOnInit(){this.showCausa||(this.value.causa=null,this.formGroup.removeControl("causa")),this.obtenerTipoSiniestro(),this.required&&(this.formGroup.get("tipo")?.addValidators(ee.required),this.showCausa&&this.formGroup.get("causa")?.addValidators(ee.required)),this.formGroup.valueChanges.subscribe(e=>{this.value=e,this.onChange(e),this.onTouch()})}ngOnChanges(e){if(this.formSubmitted){let t=this.formGroup.get("tipo"),n=this.formGroup.get("causa");t?.markAsTouched(),t?.updateValueAndValidity(),this.showCausa&&(n?.markAsTouched(),n?.updateValueAndValidity())}}handleTipoSinChange(e){this.formGroup.patchValue({tipo:e.value,causa:null}),this.showCausa&&this.obtenerCausasSiniestros(e.value.idTipoSiniestro)}handleCausasSinChange(e){this.formGroup.patchValue({causa:e.value})}getErrorsMessage(e){let t=this.formGroup.get(e);return t?.errors?.required&&(t.touched||this.formSubmitted)?"El campo es requerido":""}obtenerTipoSiniestro(){this._services.getTiposDeSiniestros(this.codSeccion).then(e=>this.tiposSiniestros=e.map(t=>new Ul(t)))}obtenerCausasSiniestros(e){this._services.getCausasDeSiniestros(this.codSeccion,e,this.idTipoOperacion).then(t=>{this.causasSiniestros=t.map(n=>new Gl(n))})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["tipo-causa-siniestro"]],inputs:{showCausa:"showCausa",padding:"padding",codSeccion:"codSeccion",required:"required",formSubmitted:"formSubmitted",idTipoOperacion:"idTipoOperacion"},features:[Mt([{provide:Fi,useExisting:Wt(()=>i),multi:!0}]),on],ngContentSelectors:U3e,decls:8,vars:6,consts:[[3,"formGroup"],["nxRow",""],["nxCol","12,6,3,3"],["label","Tipo Siniestro","IDselector","DS_CausaSiniestro",3,"ErrorLabel"],["formControlName","tipo","filterPlaceholder","Buscar",3,"selectionChange","required","showFilter"],[4,"ngFor","ngForOf"],["nxCol","12,6,3,3",4,"ngIf"],[3,"value"],["label","Causa Siniestro","IDselector","DS_CausaSiniestro",3,"ErrorLabel"],["formControlName","causa","filterPlaceholder","Buscar",3,"selectionChange","required","showFilter","disabled"]],template:function(t,n){t&1&&(rt(),c(0,"form",0)(1,"div",1)(2,"div",2)(3,"nx-formfield",3)(4,"nx-dropdown",4),I("selectionChange",function(o){return n.handleTipoSinChange(o)}),L(5,G3e,3,2,"ng-container",5),d()()(),L(6,W3e,4,5,"div",6),ke(7,0,["#name",""]),d()()),t&2&&(g("formGroup",n.formGroup),p(3),g("ErrorLabel",n.getErrorsMessage("tipo")),p(),g("required",n.required)("showFilter",!0),p(),g("ngForOf",n.tiposSiniestros),p(),g("ngIf",n.showCausa))},dependencies:[_e,Ut,et,me,ut,vt,St,At,wt,Pt,Er,st,qt,ri,Yn,ql],encapsulation:2})};var Y3e=["localidad"],iz=()=>({str:"SI",val:!0}),rz=()=>({str:"NO",val:!1}),oz=(i,e)=>[i,e];function Q3e(i,e){i&1&&(c(0,"nx-error",26)(1,"strong"),m(2,"Importante"),d(),m(3," Este campo es obligatorio "),d())}function K3e(i,e){i&1&&(c(0,"nx-error",26)(1,"strong"),m(2,"Importante"),d(),m(3," La fecha y hora del siniestro 
820no pueden ser futuras. "),d())}function X3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.descPais," ")}}function Z3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function J3e(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function efe(i,e){i&1&&(c(0,"div",75)(1,"div",6)(2,"h6",76),m(3," \xBFEl veh\xEDculo qued\xF3 con destrucci\xF3n total? "),d()(),c(4,"div",6)(5,"nx-radio-group",77)(6,"div")(7,"div",6)(8,"div",78)(9,"nx-radio",79),m(10,"S\xED"),d()(),c(11,"div",78)(12,"nx-radio",80),m(13,"No"),d()()()()()(),c(14,"div",6)(15,"div",81)(16,"nx-message",82),m(17," Se considerara "),c(18,"span",83),m(19,"destrucci\xF3n total"),d(),m(20," cuando el costo de reparaci\xF3n es igual o mayor al 80% del valor del veh\xEDculo "),d()()()())}function tfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.descGrado," ")}}function nfe(i,e){if(i&1&&(c(0,"div",6)(1,"div",87)(2,"nx-message",88),m(3),d()()()),i&2){let t=M(2);p(3),K(" ",t.mensajeMagnitud," ")}}function ife(i,e){if(i&1&&(c(0,"div",75)(1,"div",6)(2,"div",84)(3,"nx-formfield",85)(4,"nx-dropdown",86),L(5,tfe,3,2,"ng-container",21),d()()()(),L(6,nfe,4,1,"div",46),d()),i&2){let t=M();p(4),g("showFilter",!0),p(),g("ngForOf",t.tipoGradoDanios),p(),g("ngIf",t.mensajeMagnitud)}}function rfe(i,e){i&1&&(c(0,"div",75)(1,"div",6)(2,"h6",76),m(3," \xBFEl veh\xEDculo est\xE1 en condiciones de seguir circulando? "),d()(),c(4,"div",6)(5,"nx-radio-group",89)(6,"div")(7,"div",6)(8,"div",78)(9,"nx-radio",79),m(10,"S\xED"),d()(),c(11,"div",78)(12,"nx-radio",80),m(13,"No"),d()()()()()()())}function ofe(i,e){i&1&&(c(0,"div",90)(1,"div",34)(2,"nx-formfield",91),S(3,"textarea",92),c(4,"nx-error",26),m(5," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()())}function afe(i,e){i&1&&(c(0,"h4",7),m(1," Partes afectadas: "),d())}function sfe(i,e){i&1&&(c(0,"div",18)(1,"nx-checkbox",93),m(2," Cristales Laterales "),d()())}function lfe(i,e){i&1&&(c(0,"div",94)(1,"nx-checkbox",95),m(2," Luneta "),d()())}function cfe(i,e){i&1&&(c(0,"div",94)(1,"nx-checkbox",96),m(2," Parabrisa "),d()())}function dfe(i,e){i&1&&(c(0,"div",94)(1,"nx-checkbox",97),m(2," Cerradura "),d()())}function ufe(i,e){i&1&&(c(0,"div",94)(1,"nx-checkbox",98),m(2," Otros "),d()())}function pfe(i,e){i&1&&S(0,"hr")}function ffe(i,e){i&1&&(c(0,"h4",17),m(1," Ruedas: "),d())}function mfe(i,e){i&1&&(c(0,"div",94)(1,"nx-checkbox",103),m(2," Auxilio "),d()())}function hfe(i,e){if(i&1&&(c(0,"div",6)(1,"div",94)(2,"nx-checkbox",99),m(3," Del. derecha "),d()(),c(4,"div",94)(5,"nx-checkbox",100),m(6," Del. izquierda "),d()(),c(7,"div",94)(8,"nx-checkbox",101),m(9," Tras. derecha "),d()(),c(10,"div",94)(11,"nx-checkbox",102),m(12," Tras. izquierda "),d()(),L(13,mfe,3,0,"div",43),d()),i&2){let t=M();p(13),g("ngIf",t.mostrarVista("RX"))}}function gfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function _fe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function vfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function xfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",74),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function bfe(i,e){i&1&&S(0,"hr")}function Cfe(i,e){i&1&&(c(0,"div",6)(1,"h4",17),m(2," Terceros, y/o veh\xEDculos involucradas, y/u otros bienes afectadas "),d()())}function yfe(i,e){if(i&1&&(c(0,"div",104)(1,"div",18)(2,"nx-formfield",105),S(3,"input",106),c(4,"nx-error",26),m(5," Este campo es obligatorio "),d()()(),c(6,"div",107)(7,"nx-badge",108),S(8,"nx-icon",55),d()()()),i&2){let t=M();p(7),g("nxTooltip",t.infoText)}}function Mfe(i,e){i&1&&(c(0,"h6",109),m(1," \xBFTen\xE9s los datos o alguna informaci\xF3n? "),d())}function wfe(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",74),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K("",t.str," ")}}function Sfe(i,e){i&1&&(c(0,"nx-radio-toggle",110),L(1,wfe,2,2,"nx-radio-toggle-button",111),d()),i&2&&(Ua("small"),p(),g("ngForOf",qr(5,oz,In(3,iz),In(4,rz))))}function Pfe(i,e){i&1&&(c(0,"div",112)(1,"nx-error",26)(2,"strong"),m(3,"Importante"),d(),m(4," este campo es requerido "),d()())}function Efe(i,e){i&1&&S(0,"hr")}function Dfe(i,e){i&1&&(c(0,"div",6)(1,"h4",113),m(2," Lesionados "),d()())}function Ofe(i,e){i&1&&(c(0,"div",114)(1,"nx-formfield",115),S(2,"input",116),c(3,"nx-error",26)(4,"strong"),m(5,"Importante"),d(),m(6," este campo es requerido "),d()()())}function Tfe(i,e){if(i&1&&(c(0,"div",107)(1,"nx-badge",108),S(2,"nx-icon",55),d()()),i&2){let t=M();p(),g("nxTooltip",t.infoTextLes)}}function Ife(i,e){i&1&&(c(0,"h6",109),m(1," \xBFTiene los datos? "),d())}function kfe(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",74),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K("",t.str," ")}}function Nfe(i,e){i&1&&(c(0,"nx-radio-toggle",117),L(1,kfe,2,2,"nx-radio-toggle-button",111),d()),i&2&&(Ua("small"),p(),g("ngForOf",qr(5,oz,In(3,iz),In(4,rz))))}function Afe(i,e){i&1&&(c(0,"div",112)(1,"nx-error",26)(2,"strong"),m(3,"Importante"),d(),m(4," este campo es requerido "),d()())}var j_=class i extends zn{_services=C(fn);_formBuilder=C(bt);_router=C(ot);_dataHandler=C(Ti);_emitterService=C(Jt);
820continuarEvent=new X;localidadComponent;templateModel="";beneficiariosTotal;beneficiarios=[];tiposLugar=[];tiposDirecciones=[];estadosTiempo=[];formLoading=!1;formSubmited=!1;seccion;totalPol=null;tipoSenializacion=[];tipoCalzada=[];estadoCalzada=[];loadingData=!1;causa=[];desTotal=!1;controls;isCargaExtemporanea=!1;cantTerceros=0;cantLesionados=0;mostrarRuedas=!1;mostrarOtros=!1;mercosur=[];paisInicial=null;desahabilitar=!1;cantRuedas={"1R":1,"2R":2,"3R":3,"4R":4};datoSeleccionado="";ruedasSeleccionadas=0;cistalesSeleccionados=0;isDestruccionTotal=!1;tipoGradoDanios=[];isIndCondicionCircular=!0;noRequiredCC=!1;infoText="Si no hay terceros, y/o veh\xEDculos involucrados, y/u otros bienes afectados ponga 0. Si los hay, detalle la cantidad que corresponda.";infoTextDet="Por favor, detall\xE1 y describ\xED c\xF3mo ocurri\xF3 el siniestro (sin incluir datos del tercero).";infoTextLes="En este caso, exclu\xED al conductor asegurado y consider\xE1 solo a otros lesionados.";infoTextSen="Por favor, indic\xE1 si hab\xEDa o no se\xF1alizaci\xF3n vial en el lugar del siniestro, si estaba en buen estado o da\xF1ada, obstruida o poco clara.";infoTextDescDnos="Por favor, detall\xE1 las partes del veh\xEDculo involucradas y afectadas.";mensajeMagnitud="";magnitudModerado="Golpes\xA0visibles\xA0que\xA0pueden\xA0afectar partes funcionales\xA0menores,\xA0pero\xA0no comprometen\xA0la\xA0seguridad\xA0ni\xA0impiden\xA0el uso\xA0del veh\xEDculo.";magnitudLeve="Raspones, abolladuras menores o da\xF1os superficiales. El veh\xEDculo puede circular sin problemas.";magnitudGrave="Da\xF1os\xA0significativos\xA0que\xA0comprometen\xA0la estructura\xA0o\xA0funcionamiento\xA0del\xA0veh\xEDculo. Puede no ser\xA0seguro\xA0circular.";constructor(){super()}canDeactivate(){return this.getForm().dirty}ngOnInit(){let e=new Ur("en-US").transform(this._dataHandler.fechaSiniestro,"dd/MM/yyyy");this.setForm(this._formBuilder.group({fechaSiniestro:new it({value:e,disabled:!0}),horaSiniestro:new it(null,{validators:[ee.required]}),tipoCausa:new it(null,{validators:[ee.required]}),tipoLugar:new it(null,{validators:[ee.required]}),tipoDireccion:new it(null,{validators:[ee.required]}),tipoEstadoTiempo:new it(null,{validators:[ee.required]}),nroActa:new it(null,{validators:[ee.pattern("^[0-9]+$")]}),secretaria:new it(null),comisaria:new it(null),destruccionTotal:new it("N"),magnitudDanio:new it(null),detalleDelHecho:new it(null,{validators:[ee.required]}),descripcionDanios:new it(null,{validators:[ee.required]}),tieneDatosLes:new it(null),tieneDatosTer:new it(null),direccion:new it(null,{validators:[ee.required]}),cargaExt:new it(null),paisMercosur:new it(null,{validators:[ee.required]}),ubicacionSiniestro:new it(null,{validators:[ee.required]}),cantTerceros:new it(null,{validators:[ee.maxLength(2),ee.pattern("^[0-9]+$")]}),cantLesionados:new it(0,{validators:[ee.maxLength(2),ee.pattern("^[0-9]+$")]}),tipoSenializacion:new it(null,{validators:[ee.required]}),estadoSenializacion:new it(null,{validators:[ee.required,ee.minLength(4)]}),tipoCalzada:new it(null,{validators:[ee.required]}),estadoCalzada:new it(null,{validators:[ee.required]}),indCondicionCircular:new it("S"),partesAfectadas:this._formBuilder.group({cristalesLat:new it(null),luneta:new it(null),parabrisa:new it(null),cerradura:new it(null),otros:new it(null),delDerecha:new it(null),delIzquierda:new it(null),trasDerecha:new it(null),trasIzquierda:new it(null),auxilio:new it(null)})},{validators:this.validateTime("horaSiniestro")})),this.seccion=this._dataHandler?.vFrentePol?.getCodRamo(),this.getControl("tipoCausa").valueChanges.subscribe(t=>{let n=t?.tipo?.idTipoSiniestro??null,r=t?.causa?.idCausaSiniestro??null,o=this._dataHandler.vFrentePol?.getCodRamo(),a=this._dataHandler.vFrentePol?.npoliza,s=this._dataHandler.riesgo?.nroItem;this.resetPartesAfectadas(),t?.causa&&o&&a&&s&&(this.servicioCausa(a,s,o,n,r,un(new Date(this._dataHandler.fechaSiniestro))),n&&r&&this.obtenerCargaExtemporanea(n,r))}),this.getControl("ubicacionSiniestro").valueChanges.subscribe(t=>{let n=T5();t!=null&&(t?.codigoPostal===""||t?.localidad?.codLocalidad===""||t?.provincia?.codProvincia===""||!n.test(t?.codigoPostal))&&this.getControl("ubicacionSiniestro").setValue(null,{emitEvent:!1})}),this.getForm().valueChanges.subscribe(()=>{let t=this.getForm().valid;this._dataHandler.completedStep1=t,this._dataHandler.validStep1=t}),this.getControl("cantTerceros").valueChanges.subscribe(t=>{this.cantTerceros=Number(t)||0;let n=this.getControl("tieneDatosTer");this.cantTerceros===0?n.clearValidators():n.addValidators(ee.required),n.setValue(null,{emitEvent:!1}
820),n.updateValueAndValidity()}),this.getControl("cantLesionados").valueChanges.subscribe(t=>{this.cantLesionados=Number(t)||0;let n=this.getControl("tieneDatosLes");this.cantLesionados===0?n.clearValidators():n.addValidators(ee.required),n.setValue(null,{emitEvent:!1}),n.updateValueAndValidity()}),this.getControl("magnitudDanio").valueChanges.subscribe(t=>{t?.descGrado?this.mensajeMagnitud=this.asignarMensajeMagnitud(t.descGrado):this.mensajeMagnitud=""}),this.getControl("destruccionTotal").valueChanges.subscribe(t=>{let n=this.getControl("partesAfectadas");t==="S"?n.disable():(this._dataHandler.stepInspeccion=!1,n.enable()),n.updateValueAndValidity()}),this.getControl("paisMercosur").valueChanges.subscribe(t=>{if(t?.codPais!==54){this.desahabilitar=!0;let n=this.getControl("ubicacionSiniestro");n.clearValidators(),n.setValue(null,{emitEvent:!1}),n.updateValueAndValidity(),this.noRequiredCC=!0}else{let n=this.getControl("ubicacionSiniestro");n.setValidators(ee.required),n.setValue(null,{emitEvent:!1}),n.updateValueAndValidity(),this.noRequiredCC=!1,this.desahabilitar=!1}})}getErrorMessageControl(e){return e?.errors?.required?"El campo es requerido":""}asignarMensajeMagnitud(e){if(!e)return"";switch(e.toLowerCase()){case"leve":return this.magnitudLeve;case"medio":return this.magnitudModerado;case"grave":return this.magnitudGrave;default:return""}}validateTime(e){return t=>{let n=t.get(e),r=n?.value;return r?this.esHoraInvalida(r)?n?.setErrors({horaIncorrecta:!0}):this.esFechaHoraFutura(r)?n?.setErrors({horaFutura:!0}):n?.setErrors(null):n?.setErrors({required:!0})}}esFechaHoraFutura(e){let t=this._dataHandler?.fechaSiniestro;if(!t||!e)return!1;let n=new Date;if(t.toDate&&typeof t.toDate=="function")n=t.toDate();else if(t instanceof Date)n=t;else if(typeof t=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(t)){let[s,l,u]=t.split("-").map(Number);n=new Date(s,l-1,u)}else{let s=new Date(t);isNaN(s.getTime())||(n=s)}let[r,o]=e.split(":").map(Number);n.setHours(r,o,0,0);let a=new Date;return n.getTime()>a.getTime()}esHoraInvalida(e){if(!e||!/^\d{2}:\d{2}$/.test(e))return!0;let[t,n]=e.split(":").map(Number);return t<0||t>23||n<0||n>59}resetPartesAfectadas(){this.checkDestruccionTotal(!1);let e=this.getControl("partesAfectadas");e.reset(),e.enable()}ngAfterViewInit(){this.obtenerComboData(),this.servicioPaises()}volver(){this._router.navigate(["priv/denuncia-siniestro"])}validacionServicioCausa(){let e=0;this.ruedasSeleccionadas=0,this.cistalesSeleccionados=0;let t=this.causa[0];t&&t.valorVariante.forEach(o=>{o.cdValor==="4R"?e=4:o.cdValor==="3R"&&e<3?e=3:o.cdValor==="2R"&&e<2?e=2:o.cdValor==="1R"&&e<1&&(e=1)});let n=this.getControl("partesAfectadas"),r=o=>!!n.get(o)?.value;r("delDerecha")&&this.ruedasSeleccionadas++,r("delIzquierda")&&this.ruedasSeleccionadas++,r("trasDerecha")&&this.ruedasSeleccionadas++,r("trasIzquierda")&&this.ruedasSeleccionadas++,r("auxilio")&&this.ruedasSeleccionadas++,r("cristalesLat")&&this.cistalesSeleccionados++,r("luneta")&&this.cistalesSeleccionados++,r("parabrisa")&&this.cistalesSeleccionados++,r("otros")&&this.cistalesSeleccionados++,this.ruedasSeleccionadas>e&&e>0&&this._emitterService.emmiterToast(1,`La cantidad de ruedas seleccionadas es superior a la cobertura de ${e}R`)}partesAfectadasNum(){let e=0;this._dataHandler.step1FormValue.datoSeleccionado=[];let t=this.getControl("partesAfectadas"),n=o=>!!t.get(o)?.value,r=this._dataHandler.step1FormValue.partesAfectadas;if(n("delDerecha")&&(e++,r.delDerecha=new cs({idParte:5,valorParte:null})),n("delIzquierda")&&(e++,r.delIzquierda=new cs({idParte:6,valorParte:null})),n("trasDerecha")&&(e++,r.trasDerecha=new cs({idParte:7,valorParte:null})),n("trasIzquierda")&&(e++,r.trasIzquierda=new cs({idParte:8,valorParte:null})),n("auxilio")){let o=new cs({idParte:9,valorParte:null});this.datoSeleccionado="RX";let a=this.causa[0]?.valorVariante.find(s=>s.cdValor===this.datoSeleccionado);a&&this._dataHandler.step1FormValue.datoSeleccionado.push(a),r.auxilio=o}if(n("cerradura")){let o=new cs({idParte:4,valorParte:null});this.datoSeleccionado="RC";let a=this.causa[0]?.valorVariante.find(s=>
820s.cdValor===this.datoSeleccionado);a&&this._dataHandler.step1FormValue.datoSeleccionado.push(a),r.cerradura=o}if(n("parabrisa")){let o=new cs({idParte:1,valorParte:"RB"});this.datoSeleccionado="RB";let a=this.causa[0]?.valorVariante.find(s=>s.cdValor===this.datoSeleccionado);a&&this._dataHandler.step1FormValue.datoSeleccionado.push(a),r.parabrisa=o}if(n("cristalesLat")){let o=new cs({idParte:3,valorParte:"RL"});this.datoSeleccionado="RL";let a=this.causa[0]?.valorVariante.find(s=>s.cdValor===this.datoSeleccionado);a&&this._dataHandler.step1FormValue.datoSeleccionado.push(a),r.cristalesLat=o}if(n("luneta")){let o=new cs({idParte:2,valorParte:"RU"});this.datoSeleccionado="RU";let a=this.causa[0]?.valorVariante.find(s=>s.cdValor===this.datoSeleccionado);a&&this._dataHandler.step1FormValue.datoSeleccionado.push(a),r.luneta=o}if(n("otros")&&(this.datoSeleccionado=null),e===1?this.datoSeleccionado="1R":e===2?this.datoSeleccionado="2R":e===3?this.datoSeleccionado="3R":e>=4&&(this.datoSeleccionado="4R"),this.datoSeleccionado){let o=this.causa[0]?.valorVariante.find(a=>a.cdValor===this.datoSeleccionado);o&&this._dataHandler.step1FormValue.datoSeleccionado.push(o)}this._dataHandler.stepReparacion&&this.obtenerProveedores(),this._dataHandler.stepReparacion=!1}guardar(){if(this.formSubmited=!0,this.formSubmitted=!0,this.validacionServicioCausa(),this.getForm().valid){if(this.validateRtos())return;this._dataHandler.step1FormValue=this.getForm().getRawValue(),this._dataHandler.step1FormValue.destruccionTotal=this.isDestruccionTotal?"S":"N",this._dataHandler.step1FormValue.indCondicionCircular=this.isIndCondicionCircular?"S":"N",this._dataHandler.completedStep1=!0,this._dataHandler.validStep1=!0,this.stepReparaciones(),this.partesAfectadasNum(),this.formSubmited=!1,this.formSubmitted=!1,this.continuarEvent.emit(!0)}else this.getControl("horaSiniestro").errors?this._emitterService.emmiterToast(1,"Debe ingresar la hora en la que ocurri\xF3 el siniestro."):this._emitterService.emmiterToast(0,"Falta completar datos obligatorios.")}validateRtos(){let t=this.getControl("tipoCausa").value?.tipo?.idTipoSiniestro;return t?t==="DC"&&this.cistalesSeleccionados===0?(this._emitterService.emmiterToast(1,"Debe seleccionar al menos un repuesto"),!0):t==="RR"&&this.ruedasSeleccionadas===0?(this._emitterService.emmiterToast(1,"Debe seleccionar al menos un repuesto"),!0):!1:!1}stepReparaciones(){this._dataHandler.posibleFraude=!1;let e=this._dataHandler.step1FormValue?.partesAfectadas;if(e!==void 0)if(e.parabrisa||e.luneta||e.cristalesLat||e.cerradura)this._dataHandler.stepReparacion=!0,this.ruedasSeleccionadas>2&&(this._dataHandler.posibleFraude=!0);else if(this.ruedasSeleccionadas<3){let t=Object.values(e).filter(n=>n!=null&&!!n);t.length>0?t.length===1&&this._dataHandler.step1FormValue?.partesAfectadas.otros?this._dataHandler.stepReparacion=!1:this._dataHandler.stepReparacion=!0:this._dataHandler.stepReparacion=!1}else this._dataHandler.stepReparacion=!1;else this._dataHandler.stepReparacion=!1}obtenerProveedores(){let e=this._dataHandler.step1FormValue?.datoSeleccionado??[];if(this._dataHandler.posibleFraude){let n="RU",r=e.findIndex(a=>a.cdCategoriaProveedor===n);r!==-1&&e.splice(r,1);let o=e.findIndex(a=>a.cdCategoriaProveedor===n);o!==-1&&e.splice(o,1)}let t=[];e.forEach(n=>{let r=n.cdCategoriaProveedor,o=n.cdValor;!r||t.includes(r)||(this._services.getProveedores(this._dataHandler.vFrentePol?.getCodRamo(),this._dataHandler.step1FormValue?.tipoCausa.tipo.getIdTipoSiniestro(),this._dataHandler.step1FormValue?.tipoCausa.causa.getIdCausaSiniestro(),r,o,this._dataHandler.vFrentePol?.getNpoliza()).then(s=>{let l=[...s];l.length===1&&(this._dataHandler.step9FormValue=l)}).catch(()=>{}),t.push(r))})}mostrarVistaRuedas(){return this.causa.length===0?!1:this.causa[0].valorVariante.some(t=>["1R","2R","3R","4R","RX"].includes(t.cdValor))}mostrarVista(e){if(!this.causa.length)return!1;let t=!1;return this.causa.forEach(n=>{n.valorVariante.forEach(r=>{r.cdValor===e&&(t=!0)})}),t}servicioCausa(e,t,n,r,o,a){!r||!o||this._services.getServicioCausa(e,t,n,r,o,a).then(s=>{this._dataHandler.stepInspeccion=!1,this.mostrarOtros=!0,this._dataHandler.causas=s,this.causa=s;let l=this.causa[0],u=l?.valorVariante.find(y=>y.deValor==="Corresponde Terceros"),h=this.getControl("cantTerceros"),_=this.getControl("cantLesionados");u?(h.addValidators(ee.required),_.addValidators(ee.required)):(h.clearValidators(),_.clearValidators()),l?.valorVariante.forEach(y=>{y.cdValor==="I"||(this._dataHandler.stepInspeccion=!1)})}).catch(s=>{console.error(s)})}servicioPaises(){this._services.getServicioPaises().then(e=>{this.mercosur=e,this.paisInicial=this.mercosur.find(t=>t.codPais===54)??null,this.mercosur.length>0&&this.getControl("paisMercosur").setValue(this.paisInicial,{emitEvent:!1})}).catch(e=>console.error(e))}obtenerCargaExtemporanea(e,t){let n=this._dataHandler.vFrentePol?.getCodRamo();this._services.getCargaExtemporanea(n,e,t,un(new Date(Date.now())),un(new Date(this._dataHandler.fechaSiniestro))).then(r=>{let o=this.getControl("cargaExt");r==="S"?(this.isCargaExtemporanea=!0,o.setValidators(ee.required)):(this.isCargaExtemporanea=!1,o.clearValidators()),o.updateV
820alueAndValidity()}).catch(r=>{console.error(r)})}async obtenerComboData(){try{let[e,t,n,r,o,a,s]=await Promise.all([this._services.getTipoEstadoDelTiempo(),this._services.getTipoLugares(),this._services.getTipoDirecciones(),this._services.getTipoSenializacion(),this._services.getTipoCalzada(),this._services.getEstadoCalzada(),this._services.getTiposGradoDanios()]);this.estadosTiempo=e,this.tiposLugar=t,this.tiposDirecciones=n,this.tipoSenializacion=r,this.tipoCalzada=o,this.estadoCalzada=a,this.tipoGradoDanios=s.gradosDanio??[]}catch(e){console.warn(e)}}checkDestruccionTotal(e){this.isDestruccionTotal=e;let t=this.getControl("partesAfectadas"),n=this.getControl("destruccionTotal");e?(this._dataHandler.stepInspeccion=!0,n.setValue("S"),t.disable()):(this._dataHandler.stepInspeccion=!1,n.setValue("N"),t.enable()),t.updateValueAndValidity()}checkIndCondicionCircular(e){this.isIndCondicionCircular=e,this.getControl("indCondicionCircular").setValue(e?"S":"N")}getErrorsMsg(e){let t=this.getControl(e);return t&&t.errors&&(t.touched||this.formSubmitted)?t.errors.required?"El campo es requerido":"Datos inv\xE1lidos":""}getErrorsMessage(e){let t=this.getControl(e);if(t&&t.errors&&(t.touched||this.formSubmitted)){if(t.errors.required)return"El campo es requerido";if(t.errors.minlength)return"La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres";if(t.errors.maxLength)return"La descripci\xF3n puede tener un m\xE1ximo de 1000 caracteres"}return""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-siniestro-autos"]],viewQuery:function(t,n){if(t&1&&pe(Y3e,5),t&2){let r;te(r=ne())&&(n.localidadComponent=r.first)}},outputs:{continuarEvent:"continuarEvent"},features:[tt],decls:179,vars:57,consts:[["fechaSiniestroPick",""],["timefield",""],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid","nxLayout","grid",2,"padding","0!important","margin","0!important"],["nxRow",""],["nxHeadline","subsection-xsmall",2,"margin-bottom","10px"],["nxCol","12,6,3"],["label","Fecha del Siniestro","IDselector","DP_fechaNacimiento"],["formControlName","fechaSiniestro","nxInput","","readonly",""],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["nxCol","12,6,4"],["label","Hora del Siniestro","IDselector","DP_horasiniestro"],["nxInput","","type","time","formControlName","horaSiniestro","name","horaSiniestro","label","Hora","required",""],["nxFormfieldError","","appearance","text",4,"ngIf"],["nxHeadline","subsection-xsmall",2,"margin-bottom","10px","margin-left","10px"],["nxCol","3"],["label","Pais"],["formControlName","paisMercosur","filterPlaceholder","Buscar",3,"showFilter"],[4,"ngFor","ngForOf"],["nxCol","12,12,12"],["formControlName","ubicacionSiniestro","IDselector","DP_LOC_LugarResidencia",1,"detalleLocalidadFixUbicacion",3,"padding","showZonaRiesgo","formSubmited","fullDisabled","noRequired"],["label","Tipo de Lugar","IDselector","DS_TipoLugar"],["formControlName","tipoLugar","filterPlaceholder","Buscar",3,"showFilter"],["nxFormfieldError","","appearance","text"],["label","Tipo de Direcci\xF3n","IDselector","DS_CausaSiniestro"],["formControlName","tipoDireccion","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Direcci\xF3n:"],["type","text","nxInput","","maxlength","50","minlength","5","noEspecialCharacters","","formControlName","direccion"],["formControlName","tipoCausa",3,"formSubmitted","required","showCausa","codSeccion"],["style","padding-left: 16px; margin-bottom: 24px;",4,"ngIf"],["nxRow","",1,"d-flex","align-items-center",2,"margin-bottom","32px"],["nxCol","12,6,6"],["label","Detall\xE1 y describ\xED c\xF3mo ocurri\xF3 el siniestro (sin incluir datos de terceros)"],["nxInput","","formControlName","detalleDelHecho","minlength","30","maxlength","500","cdkTextareaAutosize",""],["nxRow","","style","margin-bottom: 32px",4,"ngIf"],["label","Detall\xE1 las partes del veh\xEDculo involucrados y afectados"],["nxInput","","formControlName","descripcionDanios","cdkTextareaAutosize","","minlength","30","maxlength","500","required",""],["formGroupName","partesAfectadas"],["nxHeadline","subsection-xsmall","style","margin-bottom: 10px;",4,"ngIf"],["nxCol","3",4,"ngIf"],["nxCol","2",4,"ngIf"],[4,"ngIf"],["nxHeadline","subsection-xsmall","style","margin-bottom: 10px; margin-left: 10px;",4,"ngIf"],["nxRow","",4,"ngIf"],["label","Estado del tiempo","IDselector","DS_EstadoTiempo"],["formControlName","tipoEstadoTiempo","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Tipo de Se\xF1alizaci\xF3n","IDselector","DS_CausaSiniestro"],["formControlName","tipoSenializacion","nxFilterPlaceholder","Buscar",3,"showFilter"],["nxCol","12,6,4",1,"d-flex","align-items-center"],["label","Estado de Se\xF1alizaci\xF3n:"],["nxInput","","formControlName","estadoSenializacion","maxlength","50","minlength","4","onlyLetters",""],["type","active","tabindex","0",2,"background-color","transparent!important",3,"nxTooltip"],["name","info-circle","size","s","aria-hidden","true",1,"color-1"],["label","Tipo de Calzada:","IDselector","DS_TIPOCALZADA"],["formControlName","tipoCalzada","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Estado de la Calzada:","IDselector","DS_ESTADOCALZADA"],["formControlName","estadoCalzada","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","N\xFAmero de Acta:"],["nxInput","","formControlName","nroActa","noEspecialCharacters","","maxlength","12"],["label","Comisar\xEDa:"],["nxInput","","formControlName","comisaria","noEspecialCharacters","","maxlength","12"],["label","Secretar\xEDa:"],["nxInput","","formControlName","secretaria","noEspecialCharacters","","maxlength","12"],["nxRow","","class","d-flex align-items-center",4,"ngIf"],["nxHeadline","subsection-xsmall","class","h6-radio-toggle","style","padding-right: 20px;",4,"ngIf"],["formControlName","tieneDatosTer","IDselector","DP_generoDNI",3,"style",4,"ngIf"],["class","error-messge-forms-hints",4,"ngIf"],["nxCol","3","lass","d-flex align-items-center",4,"ngIf"],["nxCol","3","class","p-0",4,"ngIf"],["formControlName","tieneDatosLes","IDselector","DP_generoDNI",3,"style",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],[3,"value"],[2,"padding-left","16px","margin-bottom","24px"],["nxHeadline","subsection-xsmall",1,"h6-radio-toggle",2,"margin-bottom","16px"],["formControlName","destruccionTotal"],["nxCol","12,12,6",1,"nx-margin-bottom-s"],["value","S"],["value","N"],["nxCol","12,12,6",2,"padding","0"],["context","warning","showIcon","true"],[1,"nx-font-weight-bold"],["nxCol","12,6",2,"padding","0!important","margin","0!important"],["nxLabel","Magnitud del da\xF1o","IDselector","MagDanio",2,"padding-bottom","0px!important","margin","0!important"],["formControlName","magnitudDanio","nxFilterPlaceholder","Buscar",2,"padding","0!important","margin","0!important",3,"showFilter"],["nxCol","12,12,6",2,"padding","0","margin","0"],["context","info","showIcon","true"],["formControlName","indCondicionCircular"],["nxRow","",2,"margin-bottom","32px"],["label","Explique los motivos de la carga extempor\xE1nea:"],["formControlName","cargaExt","nxInput","","cdkTextareaAutosize","","minlength","30","maxlength","500"],["formControlName","cristalesLat"],["nxCol","2"],["formControlName","luneta"],["formControlName","parabrisa"],["formControlName","cerradura"],["formControlName","otros"],["formControlName","delDerecha"],["formControlName","delIzquierda"],["formControlName","trasDerecha"],["formControlName","trasIzquierda"],["formControlName","auxilio"],["nxRow","",1,"d-flex","align-items-center"],["label","Cantidad de terceros:"],["numbersOnly","","type","text","maxlength","2","nxInput","","formControlName","cantTerceros"],["nxCol","3",1,"p-0"],["type","active","tabindex","0",3,"nxTooltip"],["nxHeadline","subsection-xsmall",1,"h6-radio-toggle",2,"padding-right","20px"],["formControlName","tieneDatosTer","IDselector","DP_generoDNI"],[3,"value",4,"ngFor","ngForOf"],[1,"error-messge-forms-hints"],["nxHeadli","","ne","subsection-xsmall",2,"margin-bottom","10px","margin-left","10px"],["nxCol","3","lass","d-flex align-items-center"],["label"," Cantidad de Lesionados:"],["type","text","numbersOnly","","maxlength","2","formControlName","cantLesionados","nxInput",""],["formControlName","tieneDatosLes","IDselector","DP_generoDNI"]],template:function(t,n){if(t&1){let r=Y();c(0,"form",2),I("keydown.enter",function(a){return O(r),T(a.preventDefault())}),S(1,"input",3),c(2,"div"),Ze(3),c(4,"h2",4),m(5,"Datos del Sinie
820stro "),d(),c(6,"div",5),S(7,"hr"),c(8,"div",6)(9,"h4",7),m(10," Fecha y Hora del Siniestro "),d()(),c(11,"div",6)(12,"div",8)(13,"nx-formfield",9),S(14,"input",10),c(15,"span",11),m(16,"DD/MM/AAAA"),d(),S(17,"nx-datepicker-toggle",12)(18,"nx-datepicker",null,0),d()(),c(20,"div",13)(21,"nx-formfield",14),S(22,"input",15,1),L(24,Q3e,4,0,"nx-error",16)(25,K3e,4,0,"nx-error",16),d()()()(),S(26,"hr"),c(27,"div",6)(28,"h4",17),m(29," Ubicaci\xF3n del Siniestro "),d()(),c(30,"div",6)(31,"div",18)(32,"nx-formfield",19)(33,"nx-dropdown",20),L(34,X3e,3,2,"ng-container",21),d()()()(),c(35,"div",6)(36,"div",22),S(37,"app-localidad-detalle",23),d()(),c(38,"div",6)(39,"div",18)(40,"nx-formfield",24)(41,"nx-dropdown",25),L(42,Z3e,3,2,"ng-container",21),d(),c(43,"nx-error",26)(44,"strong"),m(45,"Importante"),d(),m(46," este campo es requerido "),d()()(),c(47,"div",18)(48,"nx-formfield",27)(49,"nx-dropdown",28),L(50,J3e,3,2,"ng-container",21),d(),c(51,"nx-error",26)(52,"strong"),m(53,"Importante"),d(),m(54," este campo es requerido "),d()()(),c(55,"div",8)(56,"nx-formfield",29),S(57,"input",30),c(58,"nx-error",26)(59,"strong"),m(60,"Importante"),d(),m(61," este campo es requerido "),d()()()(),S(62,"hr"),c(63,"div",6)(64,"h4",17),m(65," Tipo y Causa del Siniestro "),d()(),S(66,"tipo-causa-siniestro",31),L(67,efe,21,0,"div",32)(68,ife,7,3,"div",32)(69,rfe,14,0,"div",32),c(70,"div",33)(71,"div",34)(72,"nx-formfield",35),S(73,"textarea",36),c(74,"nx-error",26),m(75," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()(),L(76,ofe,6,0,"div",37),c(77,"div",33)(78,"div",34)(79,"nx-formfield",38),S(80,"textarea",39),c(81,"nx-error",26),m(82," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()(),Ze(83,40),L(84,afe,2,0,"h4",41),c(85,"div",6),L(86,sfe,3,0,"div",42)(87,lfe,3,0,"div",43)(88,cfe,3,0,"div",43)(89,dfe,3,0,"div",43)(90,ufe,3,0,"div",43),d(),L(91,pfe,1,0,"hr",44),c(92,"div",6),L(93,ffe,2,0,"h4",45),d(),L(94,hfe,14,1,"div",46),Xe(),S(95,"hr"),c(96,"div",6)(97,"div",18)(98,"nx-formfield",47)(99,"nx-dropdown",48),L(100,gfe,3,2,"ng-container",21),d(),c(101,"nx-error",26)(102,"strong"),m(103,"Importante"),d(),m(104," este campo es requerido "),d()()(),c(105,"div",13)(106,"nx-formfield",49)(107,"nx-dropdown",50),L(108,_fe,3,2,"ng-container",21),d(),c(109,"nx-error",26)(110,"strong"),m(111,"Importante"),d(),m(112," este campo es requerido "),d()()(),c(113,"div",51)(114,"nx-formfield",52),S(115,"input",53),c(116,"nx-error",26)(117,"strong"),m(118,"Importante"),d(),m(119," este campo es requerido "),d()(),c(120,"nx-badge",54),S(121,"nx-icon",55),d()()(),c(122,"div",6)(123,"div",18)(124,"nx-formfield",56)(125,"nx-dropdown",57),L(126,vfe,3,2,"ng-container",21),d(),c(127,"nx-error",26)(128,"strong"),m(129,"Importante"),d(),m(130," este campo es requerido "),d()()(),c(131,"div",13)(132,"nx-formfield",58)(133,"nx-dropdown",59),L(134,xfe,3,2,"ng-container",21),d(),c(135,"nx-error",26)(136,"strong"),m(137,"Importante"),d(),m(138," este campo es requerido "),d()()()(),S(139,"hr"),c(140,"div",6)(141,"h4",17),m(142," Acta Policial "),d()(),c(143,"div",6)(144,"div",13)(145,"nx-formfield",60),S(146,"input",61),c(147,"nx-error",26),m(148," Debe ser un n\xFAmero "),d()()(),c(149,"div",13)(150,"nx-formfield",62),S(151,"input",63),d()(),c(152,"div",13)(153,"nx-formfield",64),S(154,"input",65),d()()(),L(155,bfe,1,0,"hr",44)(156,Cfe,3,0,"div",46)(157,yfe,9,1,"div",66),c(158,"div",6)(159,"div",22),L(160,Mfe,2,0,"h6",67),d()(),c(161,"div",6)(162,"div",34),L(163,Sfe,2,8,"nx-radio-toggle",68)(164,Pfe,5,0,"div",69),d()(),L(165,Efe,1,0,"hr",44)(166,Dfe,3,0,"div",46),c(167,"div",6),L(168,Ofe,7,0,"div",70)(169,Tfe,3,1,"div",71),d(),c(170,"div",6)(171,"div",22),L(172,Ife,2,0,"h6",67),d()(),c(173,"div",6)(174,"div",34),L(175,Nfe,2,8,"nx-radio-toggle",72)(176,Afe,5,0,"div",69),d()(),Xe(),d(),c(177,"div")(178,"app-step-buttons",73),I("continuarEvent",function(){return O(r),T(n.guardar())})("volverEvent",function(){return O(r),T(n.volver())}),d()()()}if(t&2){let r,o,a=Ct(19);g("formGroup",n.getForm()),p(17),g("for",a),p(7),g("ngIf",(r=n.getForm().get("horaSiniestro"))==null?null:r.hasError("required")),p(),g("ngIf",(o=n.getForm().get("horaSiniestro"))==null?null:o.hasError("horaFutura")),p(8),g("showFilter",!0),p(),g("ngForOf",n.mercosur),p(3),g("padding",!1)("showZonaRiesgo",!1)("formSubmited",n.formSubmited)("fullDisabled",n.desahabilitar)("noRequired",n.desahabilitar),p(4),g("showFilter",!0),p(),g("ngForOf",n.tiposLugar),p(7),g("showFilter",!0),p(),g("ngForOf",n.tiposDirecciones),p(16),g("formSubmitted",n.formSubmitted)("required",!0)("showCausa",!0)("codSeccion",
820n.seccion),p(),g("ngIf",n.mostrarVista("PD")),p(),g("ngIf",n.mostrarVista("PD")),p(),g("ngIf",n.mostrarVista("PD")),p(7),g("ngIf",n.isCargaExtemporanea),p(8),g("ngIf",n.mostrarOtros),p(2),g("ngIf",n.mostrarVista("RL")),p(),g("ngIf",n.mostrarVista("RU")),p(),g("ngIf",n.mostrarVista("RB")),p(),g("ngIf",n.mostrarVista("RC")),p(),g("ngIf",n.mostrarOtros),p(),g("ngIf",n.mostrarVistaRuedas()),p(2),g("ngIf",n.mostrarVistaRuedas()),p(),g("ngIf",n.mostrarVistaRuedas()),p(5),g("showFilter",!0),p(),g("ngForOf",n.estadosTiempo),p(7),g("showFilter",!0),p(),g("ngForOf",n.tipoSenializacion),p(12),g("nxTooltip",n.infoTextSen),p(5),g("showFilter",!0),p(),g("ngForOf",n.tipoCalzada),p(7),g("showFilter",!0),p(),g("ngForOf",n.estadoCalzada),p(21),g("ngIf",n.mostrarVista("T")),p(),g("ngIf",n.mostrarVista("T")),p(),g("ngIf",n.mostrarVista("T")),p(3),g("ngIf",n.cantTerceros>0),p(3),g("ngIf",n.cantTerceros>0),p(),g("ngIf",n.getControl("tieneDatosTer").errors&&n.formSubmited&&n.cantTerceros>0),p(),g("ngIf",n.mostrarVista("L")),p(),g("ngIf",n.mostrarVista("L")),p(2),g("ngIf",n.mostrarVista("L")),p(),g("ngIf",n.mostrarVista("L")),p(3),g("ngIf",n.cantLesionados>0),p(3),g("ngIf",n.cantLesionados>0),p(),g("ngIf",n.getControl("tieneDatosLes").errors&&n.formSubmited&&n.cantLesionados>0),p(2),g("guardar",!1)("loading",n.formLoading)("volver",!0)}},dependencies:[_e,Ut,et,me,Et,ut,vt,O0,R2,F2,jt,St,Yr,sn,ui,At,Rt,wt,Pt,Er,Dn,kn,st,qt,Sl,Yo,ri,Yn,Xt,nt,$r,Ta,Ia,Io,vo,Yt,Wc,qn,ca,p1],styles:["#time[_ngcontent-%COMP%]:focus{color:red}.color-1[_ngcontent-%COMP%]{color:var(--documentation-avatar-color-1, #007ab3);background-color:transparent!important}"]})};var q_=class i extends zn{_formBuilder=C(bt);_dataHandler=C(Ti);continuarEvent=new X;volverEvent=new X;constructor(){super()}canDeactivate(){return!0}ngOnInit(){let{descMarcaVehiculo:e,anioFabricImpresion:t,descTipoVehiculo:n,descUsoVehiculo:r,patente:o,chassis:a,motor:s,descColor:l}=this._dataHandler.riesgo;this.setForm(this._formBuilder.group({marca:[{value:e,disabled:!0}],anio:[{value:t,disabled:!0}],tipo:[{value:n,disabled:!0}],uso:[{value:r,disabled:!0}],patente:[{value:o,disabled:!0}],nroChasis:[{value:a,disabled:!0}],nroMotor:[{value:s,disabled:!0}],color:[l]}))}volver(){this.volverEvent.emit(!0)}guardar(){this._dataHandler.step3FormValue=this.getForm().value,this._dataHandler.completedStep3=!0,this._dataHandler.validStep3=!0,this.continuarEvent.emit(!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-vehiculo-autos"]],outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:38,vars:4,consts:[["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid"],["nxRow",""],["nxCol","12,6,6"],["label","Marca:"],["nxInput","","formControlName","marca","minlength","5","maxlength","15","noEspecialCharacters","","autofocus",""],["label","A\xF1o:"],["nxInput","","formControlName","anio","minlength","2","maxlength","4","noEspecialCharacters",""],["label","Tipo:"],["nxInput","","formControlName","tipo","minlength","5","maxlength","30","noEspecialCharacters",""],["label","Uso:"],["nxInput","","formControlName","uso","minlength","5","maxlength","30","noEspecialCharacters",""],["label","Patente:"],["nxInput","","formControlName","patente","minlength","5","maxlength","8","noEspecialCharacters",""],["label","Nro. Chasis:"],["nxInput","","formControlName","nroChasis","minlength","5","maxlength","15","noEspecialCharacters",""],["label","Nro. Motor:"],["nxInput","","formControlName","nroMotor","minlength","5","maxlength","15","noEspecialCharacters",""],["label","Color:"],["nxInput","","formControlName","color","minlength","4","maxlength","15","noEspecialCharacters",""],[3,"continuarEvent","volverEvent","disableSubmit","guardar","volver"]],template:function(t,n){t&1&&(c(0,"form",0),I("keydown.enter",function(o){return o.preventDefault()}),S(1,"input",1),c(2,"div"),Ze(3),c(4,"h2",2),m(5,"Datos del Veh\xEDculo "),d(),c(6,"div",3),S(7,"hr"),c(8,"div",4)(9,"div",5)(10,"nx-formfield",6),S(11,"input",7),d()(),c(12,"div",5)(13,"nx-formfield",8),S(14,"input",9),d()()(),c(15,"div",4)(16,"div",5)(17,"nx-formfield",10),S(18,"input",11),d()(),c(19,"div",5)(20,"nx-formfield",12),S(21,"input",13),d()()(),c(22,"div",4)(23,"div",5)(24,"nx-formfield",14),S(25,"input",15),d()(),c(26,"div",5)(27,"nx-formfield",16),S(28,"input",17),d()()(),c(29,"div",4)(30,"div",5)(31,"nx-formfield",18),S(32,"input",19),d()(),c(33,"div",5)(34,"nx-formfield",20),S(35,"input",21),d()()()(),Xe(),d(),c(36,"div")(37,"app-step-buttons",22),I("continuarEvent",function(){return n.guardar()})("volverEvent",function(){return n.volver()}),d()()()),t&2&&(g("formGroup",n.getForm()),p(37),g("disableSubmit",n.getForm().invalid)("guardar",!1)("volver",!0))},dependencies:[_e,me,Et,ut,vt,St,At,Rt,wt,Pt,Dn,kn,st,qt,Xt,Yt,qn],encapsulation:2})};function Vfe(i,e){if(i&1){let t=Y();Ze(0),c(1,"nx-dropdown-item",26),I("click",function(){let r=O(t).$implicit,o=M();return T(o.selectTipoDoc(r))}),m(2),d(),Xe()}if(i&2){let t=e.$implicit;p(),g("value",t),p(),K("",t.toString()," ")}}function Ffe(i,e){if(i&1&&S(0,"input",27,0),i&2){let t=M();g("minlength",t.minLenght)("maxlength",t.maxLenght)}}function Rfe(i,e){if(i&1&&S(0,"input",28,0),i&2){let t=M();g("minlength",t.minLenght)("maxlength",t.maxLenght)}}function zfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",32),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function Lfe(i,e){if(i&1&&(c(0,"div",29)(1,"nx-formfield",30)(2,"nx-dropdown",31),L(3,zfe,3,2,"ng-container",15),d()()()),i&2){let t=M();p(2),g("showFilter",!0),p(),g("ngForOf",t.generosPersona)}}function Hfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",32),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function Bfe(i,e){if(i&1&&(c(0,"div",6)(1,"nx-formfield",33)(2,"nx-dropdown",34),L(3,Hfe,3,2,"ng-container",15),d()()()),i&2){let t=M();p(2),g("showFilter",!0),p(),g("ngForOf",t.tiposRelacionas)}}var U_=class i extends zn{_formBuilder=C(bt);_dataHandler=C(Ti);_MainServices=C(Tn);_predenunciasService=C(fn);_emitterService=C(Jt);
820continuarEvent=new X;volverEvent=new X;formLoading=!1;formSubmited=!1;generosPersona=[];tiposDocumento=[];tiposRelacionas=null;maxLenght=8;minLenght=7;constructor(){super()}canDeactivate(){return this.getForm().dirty}ngOnInit(){this.obtenerGeneroPersona(),this.obtenerTiposDoc(),this.obtenerTiposRelaciones(),this.setForm(this._formBuilder.group({nombre:[null,[ee.required]],apellido:[null,[ee.required]],tipoDoc:[null,[ee.required]],nroDoc:[" ",[ee.required]],relConAseg:[null,[ee.required]],sexo:[null],telefono:[null],correo:[null,[ee.required,ee.email]]}))}volver(){this.volverEvent.emit(!0)}guardar(){this.getForm().valid?(this._dataHandler.step5FormValue=this.getForm().value,this._dataHandler.validStep5=!0,this._dataHandler.completedStep5=!0,this.continuarEvent.emit(!0)):this._emitterService.emmiterToast(0,"Falta completar datos obligatorios.")}obtenerGeneroPersona(){return new Promise((e,t)=>{this._predenunciasService.getGeneroPersona().then(n=>{n.forEach(r=>{this.generosPersona.push(new os(r))}),e(n)}).catch(n=>{})})}obtenerTiposDoc(){return new Promise((e,t)=>{this._MainServices.getTiposDoc().then(n=>{n.forEach(r=>{this.tiposDocumento.push(new Qs(r))}),e(n)}).catch(n=>{})})}obtenerTiposRelaciones(){return this._predenunciasService.getTiposDeRelaciones().then(e=>{this.tiposRelacionas=e}).catch(e=>{console.warn(e)})}selectTipoDoc(e){switch(this.getForm().get("nroDoc").reset(),e.descDocumento){case"CUIL":this.maxLenght=11,this.minLenght=11;break;case"CUIT":this.maxLenght=11,this.minLenght=4;break;case"PASAPORTE":this.maxLenght=11,this.minLenght=9;break;default:this.maxLenght=8,this.minLenght=7;break}}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-denunciante-autos"]],outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:59,vars:10,consts:[["inputToCount",""],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid"],["nxRow",""],["nxCol","12,6,6"],["label","Nombre:"],["nxInput","","formControlName","nombre","maxlength","50","minlength","2","onlyLetters","","autofocus",""],["nxFormfieldError","","appearance","text"],["label","Apellido:"],["nxInput","","formControlName","apellido","maxlength","50","minlength","2","onlyLetters",""],["nxCol","12,6"],["label","Tipo de Doc.","IDselector","DS_CausaSiniestro"],["formControlName","tipoDoc","nxFilterPlaceholder","Buscar",3,"showFilter"],[4,"ngFor","ngForOf"],["label","Nro. Documento:"],["nxInput","","numbersOnly","","formControlName","nroDoc",3,"minlength","maxlength",4,"ngIf"],["nxInput","","noEspecialCharacters","","formControlName","nroDoc",3,"minlength","maxlength",4,"ngIf"],["nxCol","12,6,5",4,"ngIf"],["nxCol","12,6,6",4,"ngIf"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","formControlName","telefono","minlength","8","maxlength","15","numbersOnly",""],["label","Correo:"],["nxInput","","type","email","email","true","minlength","5","maxlength","50","formControlName","correo"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],[3,"click","value"],["nxInput","","numbersOnly","","formControlName","nroDoc",3,"minlength","maxlength"],["nxInput","","noEspecialCharacters","","formControlName","nroDoc",3,"minlength","maxlength"],["nxCol","12,6,5"],["label","Sexo","IDselector","DS_CausaSiniestro"],["formControlName","sexo","nxFilterPlaceholder","Buscar",3,"showFilter"],[3,"value"],["label","Relaci\xF3n con el Asegurado","IDselector","DS_CausaSiniestro"],["formControlName","relConAseg","nxFilterPlaceholder","Buscar",3,"showFilter"]],template:function(t,n){if(t&1&&(c(0,"form",1),I("keydown.enter",function(o){return o.preventDefault()}),S(1,"input",2),c(2,"div"),Ze(3),c(4,"h2",3),m(5,"Datos del Denunciante"),d(),c(6,"div",4)(7,"div",5)(8,"div",6)(9,"nx-formfield",7),S(10,"input",8),c(11,"nx-error",9)(12,"strong"),m(13,"Importante"),d(),m(14," este campo es requerido "),d()()(),c(15,"div",6)(16,"nx-formfield",10),S(17,"input",11),c(18,"nx-error",9)(19,"strong"),m(20,"Importante"),d(),m(21," este campo es requerido "),d()()()(),c(22,"div",5)(23,"div",12)(24,"nx-formfield",13)(25,"nx-dropdown",14),L(26,Vfe,3,2,"ng-container",15),d(),c(27,"nx-error",9)(28,"strong"),m(29,"Importante"),d(),m(30," este campo es requerido "),d()()(),c(31,"div",12)(32,"nx-formfield",16),L(33,Ffe,2,2,"input",17)(34,Rfe,2,2,"input",18),c(35,"nx-error",9)(36,"strong"),m(37,"Importante"),d(),m(38," este campo es requerido "),d()()(),L(39,Lfe,4,2,"div",19),d(),c(40,"div",5),L(41,Bfe,4,2,"div",20),d(),c(42,"div",5)(43,"div",6)(44,"nx-formfield",21),S(45,"input",22),c(46,"nx-error",9)(47,"strong"),m(48,"Importante"),d(),m(49," este campo es requerido "),d()()(),c(50,"div",6)(51,"nx-formfield",23),S(52,"input",24),c(53,"nx-error",9)(54,"strong"),m(55,"Importante"),d(),m(56," este campo es requerido "),d()()()()(),Xe(),d(),c(57,"div")(58,"app-step-buttons",25),I("continuarEvent",function(){return n.guardar()})("volverEvent",function(){return n.volver()}),d()()()),t&2){let r,o;g("formGroup",n.getForm()),p(25),g("showFilter",!0),p(),g("ngForOf",n.tiposDocumento),p(7),g("ngIf",((r=n.getForm().controls.tipoDoc)==null?null:r.value)!="PASAPORTE"),p(),g("ngIf",((o=n.getForm().controls.tipoDoc)==null?null:o.value)=="PASAPORTE"),p(5),g("ngIf",!1),p(2),g("ngIf",n.tiposRelacionas),p(17),g("guardar",!1)("loading",n.formLoading)("volver",!0)}},dependencies:[_e,Ut,et,me,Et,ut,vt,jt,St,sn,At,Rt,wt,Pt,Dn,kn,wa,st,qt,ri,Yn,Xt,Yt,qn],encapsulation:2})};var jfe=()=>["subControl"],qfe=()=>["nomApel"],Ufe=()=>["tipoDoc"],Gfe=()=>["marca"],$fe=()=>["anio"],Wfe=()=>["uso"],Yfe=()=>["patente"],Qfe=()=>["nroChasis"],Kfe=()=>["nroMotor"],Xfe=()=>["compania"],az=()=>
820["detalleSiniestro"];function Zfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",34),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.deValor," ")}}function Jfe(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",34),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function eme(i,e){if(i&1){let t=Y();c(0,"div",13)(1,"div",29)(2,"h6",35),m(3," \xBFEs Lesionado? "),d()(),c(4,"div",29)(5,"nx-radio-toggle",36),I("change",function(r){O(t);let o=M().index,a=M(2);return T(a.change(r,o,a.tercerosFA))}),c(6,"nx-radio-toggle-button",37),m(7,"SI"),d(),c(8,"nx-radio-toggle-button",38),m(9,"NO"),d()()()()}i&2&&(p(5),Ua("small"))}function tme(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",34),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.descMarcaVeh," ")}}function nme(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",34),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.descripcion," ")}}function ime(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",34),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.desCompania," ")}}function rme(i,e){if(i&1&&(c(0,"div")(1,"div",13)(2,"div",29)(3,"h2",39),m(4),d()()(),S(5,"hr"),c(6,"div",13)(7,"div",14)(8,"nx-formfield",40)(9,"nx-dropdown",41),L(10,tme,3,2,"ng-container",17),d()()(),c(11,"div",14)(12,"nx-formfield",42),S(13,"input",43),d()()(),c(14,"div",13)(15,"div",14)(16,"nx-formfield",44),S(17,"input",45),d()(),c(18,"div",14)(19,"nx-formfield",46)(20,"nx-dropdown",47),L(21,nme,3,2,"ng-container",17),d()()()(),c(22,"div",13)(23,"div",14)(24,"nx-formfield",48),S(25,"input",49),c(26,"span",50),m(27,' De no contar con el n\xFAmero de patente, ingres\xE1 "No lo tengo" o "0" (cero). '),d(),c(28,"nx-error",20)(29,"strong"),m(30,"Importante"),d(),m(31," La patente ingresada no es v\xE1lida "),d()()(),c(32,"div",14)(33,"nx-formfield",51),S(34,"input",52),d()()(),c(35,"div",13)(36,"div",14)(37,"nx-formfield",53),S(38,"input",54),d()(),c(39,"div",14)(40,"nx-formfield",55),S(41,"input",56),d()(),c(42,"div",14)(43,"nx-formfield",57)(44,"nx-dropdown",58),L(45,ime,3,2,"ng-container",17),d()()()()()),i&2){let t=M().index,n=M(2);p(4),K(" Datos Veh\xEDculo Tercero N\xBA ",t+1," "),p(4),g("ErrorLabel",n.getErrorMsg(n.terceroFormGroup.getError("tipoTer",In(14,Gfe)))),p(),g("showFilter",!0),p(),g("ngForOf",n.marcasVeh),p(2),g("ErrorLabel",n.getErrorsMessage(n.terceroFormGroup.getError("tipoTer",In(15,$fe)))),p(7),g("ErrorLabel",n.getErrorMsg(n.terceroFormGroup.getError("tipoTer",In(16,Wfe)))),p(),g("showFilter",!0),p(),g("ngForOf",n.usosVeh),p(3),g("ErrorLabel",n.getErrorMsg(n.terceroFormGroup.getError("tipoTer",In(17,Yfe)))),p(9),g("ErrorLabel",n.getErrorMsg(n.terceroFormGroup.getError("tipoTer",In(18,Qfe)))),p(4),g("ErrorLabel",n.getErrorMsg(n.terceroFormGroup.getError("tipoTer",In(19,Kfe)))),p(6),g("ErrorLabel",n.getErrorMsg(n.terceroFormGroup.getError("tipoTer",In(20,Xfe)))),p(),g("showFilter",!0),p(),g("ngForOf",n.segurosVeh)}}function ome(i,e){if(i&1&&(c(0,"div",13)(1,"div",29)(2,"nx-formfield",59),S(3,"textarea",60),c(4,"nx-error",20),m(5," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()()),i&2){let t=M(3);p(2),g("ErrorLabel",t.getErrorMsg(t.terceroFormGroup.getError("tipoTer",In(1,az))))}}function ame(i,e){if(i&1&&(c(0,"div",13)(1,"div",29)(2,"nx-formfield",61),S(3,"textarea",60),c(4,"nx-error",20),m(5," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()()),i&2){let t=M(3);p(2),g("ErrorLabel",t.getErrorMsg(t.terceroFormGroup.getError("tipoTer",In(1,az))))}}function sme(i,e){if(i&1){let t=Y();c(0,"div",62)(1,"div",63)(2,"button",64),I("click",function(){O(t);let r=M().index,o=M(2);return T(o.removeFormGroup(r))}),m(3," - Quitar tercero "),d()()()}}function lme(i,e){if(i&1&&(c(0,"div",11)(1,"h2",12),m(2),d(),c(3,"div",13)(4,"div",14)(5,"nx-formfield",15)(6,"nx-dropdown",16),L(7,Zfe,3,2,"ng-container",17),d()()(),c(8,"div",14)(9,"nx-formfield",18),S(10,"input",19),c(11,"nx-error",20)(12,"strong"),m(13,"Importante"),d(),m(14," este campo es requerido "),d()()()(),c(15,"div",13)(16,"div",14)(17,"nx-formfield",21)(18,"nx-dropdown",22),L(19,Jfe,3,2,"ng-container",17),d()()(),c(20,"div",14)(21,"nx-formfield",23),S(22,"input",24,0),d()()(),c(24,"div",13)(25,"div",14)(26,"nx-formfield",25),S(27,"input",26),d()(),c(28,"div",14)(29,"nx-formfield",27),S(30,"input",28),c(31,"nx-error",20)(32,"strong"),m(33,"Importante"),d(),m(34," El correo ingresado no es v\xE1lido "),d()()()(),c(35,"div",13)(36,"div",29),S(37,"app-localidad-detalle",30),d()(),L(38,eme,10,2,"div",31)(39,rme,46,21,"div",32)(40,ome,6,2,"div",31)(41,ame,6,2,"div",31)(42,sme,4,0,"div",33),S(43,"hr"),d()),i&2){let t,n,r,o,a,s=e.$implicit,l=e.index,u=M(2);g("formGroupName",l),p(2),K(" Datos del tercero N\xBA ",l+1," "),p(3),g("ErrorLabel",u.getErrorMsg(u.terceroFormGroup.getError("tipoTer",In(20,jfe)))),p(),g("showFilter",!0),p(),g("ngForOf",u.tipoTercero),p(2),g("ErrorLabel",u.getErrorMsg(u.terceroFormGroup.getError("tipoTer",In(21,qfe)))),p(8),g("ErrorLabel",u.getErrorMsg(u.terceroFormGroup.getError("tipoTer",In(22,Ufe)))),p(),g("showFilter",!0),p(),g("ngForOf",u.tiposDocumento),p(2),g("ErrorLabel",u.getErrorsMessageDoc((t=u.getForm().get("terceros"))==null||(t=t.get(l.toString()))==null?null:t.get("nroDoc"))),p(5),g("ErrorLabel",u.getErrorsMessageTel((n=u.getForm().get("terceros"))==null||(n=n.get(l.toString()))==null?null:n.get("telefono"))),p(11),g("padding",!1)("noRequired",!0)("showZonaRiesgo",!1)("formSubmited",u.formSubmited),p(),g("ngIf",u.tieneLesionados),p(),g("ngIf",(r=s.get("tieneVehiculo"))==null?null:r.value),p(),g("ngIf",!((o=s.get("tieneVehiculo"))!=null&&o.value)),p(),g("ngIf",(a=s.get("tieneVehiculo"))==null?null:a.value),p(),g("ngIf",l>0)}}function cme(i,e){if(i&1){let t=Y();c(0,"form",2),I("keydown.enter",function(r){return O(t),T(r.preventDefault())})("ngSubmit",function(){O(t);let r=M();return T(r.onSubmit())}),S(1,"input",3),c(2,"div"),Ze(3,4),L(4,lme,44,23,"div",5),Xe(),c(5,"div",6)(6,"div",7)(7,"div",8)(8,"button",9),I("click",function(){O(t);let r=M();return T(r.addFormGroup())}),m(9," + Agregar otro tercero "),d()()()()(),c(10,"div")(11,"app-step-buttons",10),I("volverEvent",function(){O(t);let r=M();return T(r.volver())}),d()()()}if(i&2){let t=M();g("formGroup",t.getForm()),p(4),g("ngForOf",t.tercerosFA==null?null:t.tercerosFA.controls),p(4),g("disabled",t.disableAgregar),p(3),g("guardar",!1)("loading",t.formLoading)("volver",!0)}}var G_=class i extends zn{_Services=C(fn);_formBuilder=C(bt);_MainServices=C(Tn);emittersService=C(Jt);
820continuarEvent=new X;volverEvent=new X;cantTerceros=null;tercerosInput;tieneLesionados=!1;submitEnCurso=!1;formLoading=!1;formSubmited=!1;tipoTercero=[];tiposDocumento=[];generosPersona=[];usosVeh;marcasVeh;segurosVeh;auxUbicacion=null;validacionCampoObligatorio=!1;maxLenght=11;minLeght=7;tipoDocErrorMsg="";constructor(){super()}canDeactivate(){return this.getForm()?.dirty??!1}ngOnInit(){this.obtenerCombosData(),this.setForm(this._formBuilder.group({terceros:new p2([this.terceroFormGroup])})),this.obtenerTipoTerceros(),this.obtenerTiposDoc(),this.obtenerGeneroPersona(),this.setTercerosInputData()}ngAfterViewInit(){}get tercerosFA(){return this.getControl("terceros")}get disableAgregar(){return this.cantTerceros?this.cantTerceros===this.tercerosFA.controls.length:!1}setTercerosInputData(){this.tercerosInput&&(this.tercerosFA.removeAt(0),this.tercerosInput.forEach(e=>{let t=this.terceroFormGroup;Object.keys(e).forEach(n=>{t.get(n).setValue(e[n],{emitEvent:!1})}),this.tercerosFA.push(t)}))}get terceroFormGroup(){let e=new yp(this._MainServices),t=new oo({tipoTer:new it(null),nomApel:new it(null),tipoDoc:new it(null),nroDoc:new it({value:null,disabled:!0}),telefono:new it(null),correo:new it(null),ubicacionConductor:new it(null),marca:new it(null),anio:new it(null),tipo:new it(null),uso:new it(null),patente:new it("",{updateOn:"blur"}),nroChasis:new it(null),nroMotor:new it(null),color:new it(null),compania:new it(null),detalleSiniestro:new it(null),tieneVehiculo:new it(!1),esLesionado:new it("NO")});t.get("tipoDoc").valueChanges.subscribe(()=>{t.get("nroDoc").enable()}),t.get("ubicacionConductor").valueChanges.subscribe(r=>{r!=null&&(this.auxUbicacion=r)}),t.get("patente").valueChanges.subscribe(r=>{let o=r?r.trim().toLowerCase():"";o!==""&&(o==="no lo tengo"||o==="0")&&t.get("patente").setErrors(null)}),t.get("tipoTer").valueChanges.subscribe(r=>{r?.nrValor===1?(t.get("tieneVehiculo").setValue(!0),t.get("anio").setValidators(ee.minLength(4)),t.get("detalleSiniestro").clearValidators(),t.get("detalleSiniestro").updateValueAndValidity()):(t.get("tieneVehiculo").setValue(!1),t.get("marca").clearValidators(),t.get("anio").clearValidators(),t.get("tipo").clearValidators(),t.get("uso").clearValidators(),t.get("patente").clearValidators(),t.get("nroChasis").clearValidators(),t.get("nroMotor").clearValidators(),t.get("color").clearValidators(),t.get("compania").clearValidators()),t.get("marca").updateValueAndValidity(),t.get("anio").updateValueAndValidity(),t.get("tipo").updateValueAndValidity(),t.get("uso").updateValueAndValidity(),t.get("patente").updateValueAndValidity(),t.get("nroChasis").updateValueAndValidity(),t.get("nroMotor").updateValueAndValidity(),t.get("color").updateValueAndValidity(),t.get("compania").updateValueAndValidity()});let n=r=>e.validarDocFormat().then(()=>null).catch(o=>({invalidDoc:o.descripcion}));return t.get("tipoTer").clearValidators(),t.get("tipoTer").updateValueAndValidity({emitEvent:!1}),t.get("nomApel").clearValidators(),t.get("nomApel").updateValueAndValidity({emitEvent:!1}),t.get("telefono").clearValidators(),t.get("telefono").updateValueAndValidity({emitEvent:!1}),t.get("correo").clearValidators(),t.get("correo").updateValueAndValidity({emitEvent:!1}),t.get("telefono").setValidators([ee.maxLength(20),ee.pattern("^[0-9]+$")]),t.get("telefono").setAsyncValidators(this.validateTelephone),t.get("patente").setValidators(ee.pattern("^([a-zA-Z]{2})(?: |\\-)?([0-9]{3})(?: |\\-)?([a-zA-Z]{2})$|^([a-zA-Z]{3})(?: |\\-)?([0-9]{3})$|^([a-zA-Z]{1})(?: |\\-)?([0-9]{3})(?: |\\-)([a-zA-Z]{3})$")),t.get("anio").setAsyncValidators(this.validateDate),t.get("nroDoc").setAsyncValidators(this.validateDocNumber),t}addFormGroup(){this.tercerosFA.push(this.terceroFormGroup)}removeFormGroup(e){this.tercerosFA.removeAt(e)}volver(){this.volverEvent.emit(!0)}onSubmit(){if(!this.submitEnCurso){this.submitEnCurso=!0;try{this.formSubmited=!0;let e=this.getForm().get("terceros");if(!this.validacionesPreSubmit()){this.emittersService.emmiterToast(1,"Al menos debe ingresar un dato del tercero de forma obligatoria");return}if(!this.getForm().valid)return;this.formateosPreSubmit(e.value),this.continuarEvent.emit(e.value)}finally{setTimeout(()=>{this.submitEnCurso=!1})}}}formateosPreSubmit(e){return e.forEach(t=>{t.patente=t.patente.replace(/\s+/g,"").replace(/[^a-zA-Z0-9 ]/g,""),t.patente.trim().toLowerCase()==="no lo tengo"?t.patente="SIN DATOS":t.patente,t.nomApel==null&&(t.nomApel="SIN DATOS"),t.telefono==null&&(t.telefono="SIN DATOS"),t.correo===""&&(t.correo="SIN DATOS"),t.nroChasis==null&&(t.nroChasis="SIN DATOS"),t.tipo==null&&(t.tipo="SIN DATOS"),t.nroMotor==null&&(t.nroMotor="SIN DATOS"),t.color==null&&(t.color="SIN DATOS"),t.detalleSinie
820stro==null&&(t.detalleSiniestro="SIN DATOS")}),e}validacionesPreSubmit(){return this.getForm().get("terceros").controls.some(t=>this.tieneAlgunCampoCompleto(t.value,["correo","detalleSiniestro","tipoTer","nomApel","telefono","ubicacionConductor"]))}tieneAlgunCampoCompleto(e,t){return t.some(n=>{let r=e[n];return r!=null&&r!==""})}validateNUmber(e){return new Promise(n=>{Number(e.value)>0||e.value==null?n(null):n({invalidNumber:!0})})}validateTelephone(e){return new Promise(t=>{let n=e.value?e.value.toString():"",r={};n!==""&&n.length<9&&(r.minlength=!0),V_(n)&&(r.fiveIdentical=!0),A_(n)&&(r.fiveConsecutive=!0),t(Object.keys(r).length>0?r:null)})}validateDocNumber(e){return new Promise(t=>{let n=e.value?e.value.toString():"",r={};n&&n.length>0&&!F_(n)?r.minlength=!0:z_(n)?r.fiveIdentical=!0:R_(n)?r.hasConsecutiveDigits=!0:r={},t(Object.keys(r).length>0?r:null)})}getErrorsMessageDoc(e){return e&&e.errors?e.errors.fiveIdentical?`N\xFAmero de documento incorrecto, no puede comenzar con ${ls} n\xFAmeros iguales.`:e.errors.hasConsecutiveDigits?`N\xFAmero de documento incorrecto, no puede comenzar con ${ls} n\xFAmeros consecutivos.`:e.errors.minlength?`El n\xFAmero de documento debe contener un m\xEDnimo de ${ls} d\xEDgitos.`:"":""}validateDate(e){let t=new Date;return new Promise(r=>{let o=e.value;typeof o=="string"&&(o=parseInt(o,10));let a=t.getFullYear();o>a&&r({invalidDate:!0}),r(null)})}change(e,t,n){this.tercerosFA.controls[t].value.esLesionado==="SI"?this.tercerosFA.controls[t].patchValue({esLesionado:"NO"}):this.tercerosFA.controls[t].patchValue({esLesionado:"SI"})}getErrorMsg(e){return this.getForm().invalid&&this.formSubmited,""}getErrorsMessage(e){if(this.getForm().invalid){let t=this.getForm();return t.controls&&t.controls.terceros&&t.controls.terceros.controls&&t.controls.terceros.controls[0]&&t.controls.terceros.controls[0].controls.anio.errors&&t.controls.terceros.controls[0].controls.anio.errors.invalidDate?"El a\xF1o no puede ser mayor al a\xF1o corriente.":""}return""}getErrorsMessageTel(e){return e&&e.errors?e.errors.fiveIdentical?"El n\xFAmero de tel\xE9fono no puede comenzar con 5 n\xFAmeros iguales.":e.errors.fiveConsecutive?"El n\xFAmero de tel\xE9fono no puede comenzar con 5 n\xFAmeros consecutivos.":e.errors.invalidNumber?"El n\xFAmero de tel\xE9fono debe contener un m\xE1ximo de 15 d\xEDgitos.":e.errors.minlength?"El n\xFAmero de tel\xE9fono debe contener un m\xEDnimo de 10 d\xEDgitos.":"":""}obtenerTipoTerceros(){this._Services.getTipoTerceros().then(e=>{this.tipoTercero=e})}obtenerTiposDoc(){return new Promise((e,t)=>{this._MainServices.getTiposDoc().then(n=>{n.forEach(r=>{this.tiposDocumento.push(new Qs(r))}),e(n)}).catch(()=>{})})}obtenerGeneroPersona(){return new Promise((e,t)=>{this._Services.getGeneroPersona().then(n=>{n.forEach(r=>{this.generosPersona.push(new os(r))}),e(n)}).catch(()=>{})})}async obtenerCombosData(){return Promise.all([this._Services.getUsosVeh(),this._Services.getMarcasveh(),this._Services.getSegurosVeh()]).then(e=>{this.usosVeh=e[0],this.marcasVeh=e[1],this.segurosVeh=e[2]}).catch(e=>{console.warn(e)})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-datos-terceros"]],inputs:{cantTerceros:"cantTerceros",tercerosInput:"tercerosInput",tieneLesionados:"tieneLesionados"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:1,vars:1,consts:[["inputToCount",""],["autocomplete","off",3,"formGroup","keydown.enter","ngSubmit",4,"ngIf"],["autocomplete","off",3,"keydown.enter","ngSubmit","formGroup"],["type","hidden","autocomplete","false"],["formArrayName","terceros"],["nxLayout","grid",3,"formGroupName",4,"ngFor","ngForOf"],["nxLayout","grid"],["nxRow","",2,"padding-top","15px"],["nxCol","12,12,3",2,"text-align","left"],["type","button","nxButton","tertiary small-medium",3,"click","disabled"],["IDselector","STEP_MAIN_BUTTONS",3,"volverEvent","guardar","loading","volver"],["nxLayout","grid",3,"formGroupName"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","margin-box"],["nxRow",""],["nxCol","12,6,6"],["label","Tipo de Tercero","IDselector","DS_CausaSiniestro",3,"ErrorLabel"],["formControlName","tipoTer","nxFilterPlaceholder","Buscar","autofocus","",3,"showFilter"],[4,"ngFor","ngForOf"],["label","Apellido y nombre:",3,"ErrorLabel"],["nxInput","","formControlName","nomApel","minlength","5","maxlength","101","onlyLetters",""],["nxFormfieldError","","appearance","text"],["label","Tipo de Doc.","IDselector","DS_CausaSiniestro",3,"ErrorLabel"],["formControlName","tipoDoc","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Nro. Documento:",3,"ErrorLabel"],["type","text","nxInput","","formControlName","nroDoc","maxlength","12"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)",3,"ErrorLabel"],["nxInput","","type","text","numbersOnly","","formControlName","telefono","maxlength","20"],["label","Correo:"],["nxInput","","type","email","ngModel","","email","true","minlength","5","maxlength","50","formControlName","correo"],["nxCol","12,12,12"],["formControlName","ubicacionConductor","IDselector","DP_LOC_LugarResidencia",1,"detalleLocalidadFixUbicacion",3,"padding","noRequired","showZonaRiesgo","formSubmited"],["nxRow","",4,"ngIf"],[4,"ngIf"],["nxRow","","style","padding-top: 15px; padding-left: 35px",4,"ngIf"],[3,"value"],["nxHeadline","subsection-xsmall",1,"h6-radio-toggle",2,"padding-right","20px"],["formControlName","esLesionado",3,"change"],["value","SI"],["value","NO"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["label","Marca:",3,"ErrorLabel"],["formControlName","marca","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","A\xF1o:",3,"ErrorLabel"],["nxInput","","formControlName","anio","numbersOnly","","minlength","2","maxlength","4"],["label","Tipo:"],["nxInput","","minlength","5","maxlength","30","noEspecialCharacters","","formControlName","tipo"],["label","Uso:",3,"ErrorLabel"],["formControlName","uso","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Patente:",3,"ErrorLabel"],["nxInput","","formControlName","patente"],["nxFormfieldHint",""],["label","Nro. Chasis:",3,"ErrorLabel"],["nxInput","","formControlName","nroChasis","minlength","2","maxlength","12","noEspecialCharacters",""],["label","Nro. Motor:",3,"ErrorLabel"],["nxInput","","formControlName","nroMotor","minlength","2","maxlength","12","noEspecialCharacters",""],["label","Color:"],["nxInput","","formControlName","color","minlength","2","maxlength","8","onlyLetters",""],["label","Compa\xF1\xEDa:",3,"ErrorLabel"],["formControlName","compania","nxFilterPlaceholder","Buscar",3,"showFilter"],["label","Descripci\xF3n del bien afectado del tercero:",3,"ErrorLabel"],["nxInput","","minlength","30","maxlength","500","noEspecialCharacters","","formControlName","detalleSinie
820stro","cdkTextareaAutosize",""],["label","Descripci\xF3n de los da\xF1os del veh\xEDculo tercero:",3,"ErrorLabel"],["nxRow","",2,"padding-top","15px","padding-left","35px"],["nxCol","12,12,12,12",2,"text-align","right"],["type","button","nxButton","tertiary small-medium",3,"click"]],template:function(t,n){t&1&&L(0,cme,12,6,"form",1),t&2&&g("ngIf",n.getForm()&&n.tercerosFA)},dependencies:[me,Et,ut,vt,jt,St,Yr,sn,Ut,et,At,Rt,wt,Pt,Dn,kn,wa,st,qt,Sl,y0,_t,ri,Yn,Xt,Ta,Ia,Yt,ql,_e,qn,ca],encapsulation:2})};var $_=class i{_dataHandler=C(Ti);continuarEvent=new X;volverEvent=new X;continuarI;volverI;cantLesionados=0;tieneDatosTerceros=!1;tieneDatosLesionados=!1;ngOnInit(){this.cantLesionados=Number(this._dataHandler.step1FormValue?.cantLesionados),this.tieneDatosTerceros=this._dataHandler.step1FormValue?.tieneDatosTer,this.tieneDatosLesionados=this._dataHandler.step1FormValue?.tieneDatosLes}get cantTerceros(){return this._dataHandler.step1FormValue?this._dataHandler.step1FormValue.cantTerceros:null}volver(){this.volverEvent.emit(!0)}onSubmit(e){this._dataHandler.step6FormValue=e,this._dataHandler.completedStep6=!0,this._dataHandler.validStep6=!0,this.continuarEvent.emit(!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-tercero-autos"]],inputs:{continuarI:"continuarI",volverI:"volverI"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:2,vars:1,consts:[[3,"continuarEvent","volverEvent","cantTerceros"]],template:function(t,n){t&1&&(c(0,"app-datos-terceros",0),I("continuarEvent",function(o){return n.onSubmit(o)})("volverEvent",function(){return n.volver()}),m(1,">"),d()),t&2&&g("cantTerceros",n.cantTerceros)},dependencies:[me,_e,G_],encapsulation:2})};var W_=class i{transform(e,t,n,r,o){let a=e.filter(s=>s.deCategoriaProveedor.toUpperCase().includes(o.toUpperCase()));return!t&&!n&&!r||t==null&&n==null&&r==null||t==""&&n==null&&r==null||t==""&&n==""&&r==""||!t&&n==""&&r==""?a:!t&&n?r!=null&&r!=""?this.notNullList(a).filter(u=>u.deProvincia.toUpperCase().includes(n.toUpperCase())).filter(u=>u.deLocalidad.toUpperCase().includes(r.toUpperCase())):a.filter(s=>s.deProvincia.toUpperCase().includes(n.toUpperCase())):t&&n?r!=null&&r!=""?this.notNullList(a).filter(h=>h.deProvincia.toUpperCase().includes(n.toUpperCase())).filter(h=>h.deLocalidad.toUpperCase().includes(r.toUpperCase())).filter(h=>h.deProveedor.toUpperCase().includes(t.toUpperCase())):a.filter(l=>l.deProvincia.toUpperCase().includes(n.toUpperCase())).filter(l=>l.deProveedor.toUpperCase().includes(t.toUpperCase())):a.filter(s=>s.deProveedor.toUpperCase().includes(t.toUpperCase()))}notNullList(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];r.deLocalidad!=null&&t.push(r)}return t}static \u0275fac=function(t){return new(t||i)};static \u0275pipe=vl({name:"searchPipe",type:i,pure:!0})};function dme(i,e){if(i&1&&(c(0,"nx-dropdown-item",13),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t," ")}}function ume(i,e){if(i&1){let t=Y();c(0,"nx-dropdown-item",14),I("click",function(){let r=O(t).$implicit,o=M();return T(o.obtenerLocalidades({codProv:r.codProvincia}))}),m(1),d()}if(i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.descProvincia," ")}}function pme(i,e){if(i&1&&(c(0,"nx-dropdown-item",13),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.descLocalidad," ")}}var Y_=class i{_services=C(Tn);_dataHandler=C(Ti);fgLocalidadDetalle;_provincias=[];_localidades=[];_localidadesAux2=[];_localidadesAux=[];_tipoProv=[];_seleccionado;ngOnInit(){this.obtenerProvincias(),this.obtenerTipoProveedores(),this.search.valueChanges.pipe(lc(300)).subscribe(e=>this.searchEmitter.emit(e)),this.searchProv.valueChanges.subscribe(e=>this.searchProvEmitter.emit(e.descProvincia)),this.searchLoc.valueChanges.subscribe(e=>this.searchLocEmitter.emit(e.descLocalidad)),this.searchTipo.valueChanges.subscribe(e=>this.searchTipoEmitter.emit(e))}ngAfterViewInit(){this.searchTipo.setValue(this._tipoProv[0])}handleLocalidadFilter(e){e?(this._localidades=this._localidadesAux2.filter(function(t){return t.descLocalidad.trim().toLowerCase().includes(e.trim().toLowerCase())}),this._localidades.length<1&&(this._localidades=this._localidadesAux2)):this._localidades=this._localidadesAux2}quitarFiltros(e){e.preventDefault(),this.searchLoc.setValue(""),this.searchProv.setValue(""),this.search.setValue("")}cleanLocalidad={codLocalidad:"",codPais:"",codPostal:"",codProv:"",codZonaAu:"",descLocalidad:"",descripcion:"",selectOption:""};cleanProvincia={codPais:"",codPostal:"",codProvincia:"",codZona:"",descProvincia:""};cleanTipo={cdCategoriaProveedor:"",cdValor:"",deCategoriaProveedor:"",deValor:""};get Provincias(){return this._provincias}get Localidades(){return this._localidades}findLocalidad(e){return this._localidades.find(t=>t.codPostal==e)}findProvincia(e){return this._provincias.find(t=>t.codProvincia==e.codProv)}filterLocalidades(e){return this._localidadesAux.filter(t=>t.codProv==e.codProvincia)}obtenerProvincias(e){return new Promise((t,n)=>{this._services.getProvs(e).then(r=>{this._provincias=r,t(r)}).catch(r=>{console.error(r),n(r)})})}obtenerTipoProveedores(){let e=this._dataHandler.step1FormValue?.datoSeleccionado;for(let t=0;t<e.length;t++){let n=e[t];this._tipoProv.includes(n.deCategoriaProveedor)||this._tipoProv.push(n.deCategoriaProveedor)}this.searchTipo.setValue(this._tipoProv[0])}search=new it("");searchProv=new it("");searchLoc=new it("");searchTipo=new it("");searchEmitter=new X;searchProvEmitter=new X;searchLocEmitter=new X;searchTipoEmitter=new X;obtenerLocalidades(e){return this._localidades=[],this._localidadesAux=[],this._localidadesAux2=[],new Promise((t,n)=>{this._services.getLocalidades1(e).then(r=>{r.forEach(o=>{o.selectOption=o.descLocalidad}),this._localidades=r,this._localidadesAux=r,this._localidadesAux2=r,t(r)}).catch(r=>{console.error(r),n(r)})})}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-search"]],outputs:{searchEmitter:"search",searchProvEmitter:"searchProv",searchLocEmitter:"searchLoc",searchTipoEmitter:"searchTipo"},features:[Mt([{provide:Fi,useExisting:Wt(()=>i),multi:!0}])],decls:22,vars:8,consts:[["buscarProveedor",""],["nxRow",""],["nxCol","12,12 sm-12,3"],["label","Tipo"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],["label","Taller"],["nxInput","","placeholder","Taller","type","text",3,"formControl"],["label","Provincia"],[3,"value","click",4,"ngFor","ngForOf"],["label","Localidad"],["nxFilterPlaceholder","Buscar",3,"filterInput","formControl","showFilter"],["type","submit","nxButton","primary medium",3,"click"],[3,"value"],[3,"click","value"]],template:function(t,n){if(t&1){let r=Y();c(0,"h6"),m(1,"Filtro de proveedores"),d(),c(2,"div",1)(3,"div",2)(4,"nx-formfield",3)(5,"nx-dropdown",4),L(6,dme,2,2,"nx-dropdown-item",5),d()()(),c(7,"div",2)(8,"nx-formfield",6),S(9,"input",7,0),d()(),c(11,"div",2)(12,"nx-formfield",8)(13,"nx-dropdown",4),L(14,ume,2,2,"nx-dropdown-item",9),d()()(),c(15,"div",2)(16,"nx-formfield",10)(17,"nx-dropdown",11),I("filterInput",function(a){return O(r),T(n.handleLocalidadFilter(a))}),L(18,pme,2,2,"nx-dropdown-item",5),d()()(),c(19,"div",2)(20,"button",12),I("click",function(a){return O(r),T(n.quitarFiltros(a))}),m(21,"Quitar filtros"),d()()()}t&2&&(p(5),g("formControl",n.searchTipo),p(),g("ngForOf",n._tipoProv),p(3),g("formControl",n.search),p(4),g("formControl",n.searchProv),p(),g("ngForOf",n.Provincias),p(3),g("formControl",n.searchLoc)("showFilter",!0),p(),g("ngForOf",n._localidades))},dependencies:[me,ut,vt,St,Ut,Rt,wt,Tc,_t,ri,Yn,Yt,_e],encapsulation:2})};var fme=["template"],mme=(i,e,t,n,r)=>[i,e,t,n,r];function hme(i,e){if(i&1){let t=Y();c(0,"tr",15)(1,"td",16)(2,"nx-checkbox",17),I("change",function(r){let o=O(t).$implicit,a=M();return T(a.seleccionarProveedor(r,o))}),d()(),c(3,"td",16),m(4),d(),c(5,"td",16),m(6),d(),c(7,"td",16),m(8),d(),c(9,"td",16),m(10),d(),c(11,"td",16),m(12),d(),c(13,"td",16)(14,"nx-link"),m(15),d()()()}if(i&2){let t=e.$implicit,n=M();p(2),g("checked",n.seleccionadoProveedor(t)),p(2),Pe(t.deCategoriaProveedor),p(2),Pe(t.deProveedor),p(2),Pe(t.de
820Localidad),p(2),Pe(t.deDireccion),p(2),Pe(t.deTelefono),p(3),Pe(t.deEmail)}}function gme(i,e){i&1&&(c(0,"tr",10)(1,"td",16),m(2,"No hay resultados para la b\xFAsqueda"),d()())}function _me(i,e){if(i&1){let t=Y();c(0,"div",18)(1,"h3",19),m(2),d(),c(3,"p",20),m(4),d(),c(5,"div",21)(6,"button",22),I("click",function(){O(t);let r=M();return T(r.closeModal())}),m(7," Cerrar "),d(),c(8,"button",23),I("click",function(){O(t);let r=M();return T(r.contitnuar())}),m(9," Continuar "),d()()()}if(i&2){let t=M();p(2),K(" ",t.modalTitle," "),p(2),K(" ",t.modalText," ")}}var Q_=class i{_Services=C(fn);_dataHandler=C(Ti);dialogService=C(Qn);continuarEvent=new X;volverEvent=new X;template;templateRef;modalTitle="";modalText="No se selecciono ningun proveedor, desea continuar?";formLoading=!1;formSubmited=!1;idSeccion="";idTipoSiniestro="";idCausaSiniestro="";idTipoRepuesto="CL";proveedores=[];proveedoresSeleccionados=[];filtroSearch="";filtroSearchProv="";filtroSearchLoc="";filtroSearchTipo="";ErrorMsg=!1;posibleFraude=!1;ngOnInit(){this.posibleFraude=this._dataHandler.posibleFraude,this.idSeccion=this._dataHandler.vFrentePol?.getCodRamo(),this.idTipoSiniestro=this._dataHandler.getRequestDataStepDocumentacion().idTipoSiniestro,this.idCausaSiniestro=this._dataHandler.getRequestDataStepDocumentacion().idCausaSiniestro,this.obtenerProveedores()}handleSearch(e){this.filtroSearch=e}handleSearchProv(e){this.filtroSearchProv=e}handleSearchLoc(e){this.filtroSearchLoc=e}handleSearchTipo(e){this.filtroSearchTipo=e}seleccionarProveedor(e,t){e.target.checked?(this.proveedoresSeleccionados=this.proveedoresSeleccionados.filter(n=>n.deCategoriaProveedor!=t.deCategoriaProveedor),this.proveedoresSeleccionados.push(t)):this.proveedoresSeleccionados=this.proveedoresSeleccionados.filter(n=>n!=t)}seleccionadoProveedor(e){return this.proveedoresSeleccionados.filter(t=>t.idProveedor==e.idProveedor).length>0}mensajeError(){this.ErrorMsg=!0,setTimeout(()=>{this.ErrorMsg=!1},3e3)}obtenerProveedores(){let e=this._dataHandler.step1FormValue?.datoSeleccionado;if(this.posibleFraude){let n="RU",r=this._dataHandler.step1FormValue?.datoSeleccionado.findIndex(a=>a.cdCategoriaProveedor===n);r!=-1&&e.splice(r,1);let o=this._dataHandler.step1FormValue?.datoSeleccionado.findIndex(a=>a.cdCategoriaProveedor===n);o!=-1&&e.splice(o,1)}this.proveedores=[];let t=[];for(let n=0;n<e.length;n++){let r=e[n].cdCategoriaProveedor;t.includes(r)||(this._Services.getProveedores(this._dataHandler.vFrentePol?.getCodRamo(),this._dataHandler.step1FormValue?.tipoCausa.tipo.getIdTipoSiniestro(),this._dataHandler.step1FormValue?.tipoCausa.causa.getIdCausaSiniestro(),r).then(a=>{this.proveedores=[...this.proveedores,...a],this.proveedores.length==1&&this.proveedoresSeleccionados.push(this.proveedores)}).catch(a=>{}),t.push(r))}}volver(){this.volverEvent.emit(!0)}guardar(){this.proveedoresSeleccionados.length==0?this.templateRef=this.dialogService.open(this.template,{ariaLabel:"A simple dialog",width:"550px"}):this.nextStep()}contitnuar(){this.nextStep()}nextStep(){this.templateRef?.close(),this.proveedoresSeleccionados.length>0?this._dataHandler.step9FormValue=this.proveedoresSeleccionados:this._dataHandler.step9FormValue=[],this._dataHandler.completedStep9=!0,this._dataHandler.validStep9=!0,this.continuarEvent.emit(!0)}closeModal(){this.templateRef?.close()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-solicitud-reparacion-autos"]],viewQuery:function(t,n){if(t&1&&pe(fme,5),t&2){let r;te(r=ne())&&(n.template=r.first)}},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:48,vars:17,consts:[["template",""],["autocomplete","off",3,"keydown.enter"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium","autofocus","",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid"],["nxRow",""],[3,"search","searchProv","searchLoc","searchTipo"],["nxRow","",2,"padding-top","20px","padding-bottom","20px"],["nxTable",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableRow","","spellcheck","false",4,"ngFor","ngForOf"],["nxTableRow","",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],["nxTableRow","","spellcheck","fal
820se"],["nxTableCell",""],[1,"nx-margin-bottom-s",3,"change","checked"],[1,"centered-content"],["nxHeadline","subsection-medium",1,"nx-modal-margin-bottom"],[1,"nx-modal-margin-bottom"],[1,"two-button-container"],["nxButton","secondary","size","s",1,"mb-2","mb-sm-0","nx-margin-right-s",3,"click"],["nxButton","primary","size","s",1,"nx-margin-right-s",3,"click"]],template:function(t,n){if(t&1){let r=Y();c(0,"form",1),I("keydown.enter",function(a){return O(r),T(a.preventDefault())}),S(1,"input",2),c(2,"div"),Ze(3),c(4,"h2",3),m(5,"Solicitud de reposici\xF3n y/o reparaci\xF3n"),d(),c(6,"div",4)(7,"div",5),m(8," Allianz Argentina le permite seleccionar alguno de los proveedores que estar\xE1n a su disposici\xF3n a fin de proceder a la reposici\xF3n y/o reparaci\xF3n del bien da\xF1ado del veh\xEDculo. Junto al formulario de denuncia Ud. obtendr\xE1 la orden de Reparaci\xF3n y/o Reposici\xF3n para concurrir al proveedor seleccionado para que el mismo proceda a solucionar el da\xF1o en forma inmediata. "),d(),S(9,"br"),c(10,"app-search",6),I("search",function(a){return O(r),T(n.handleSearch(a))})("searchProv",function(a){return O(r),T(n.handleSearchProv(a))})("searchLoc",function(a){return O(r),T(n.handleSearchLoc(a))})("searchTipo",function(a){return O(r),T(n.handleSearchTipo(a))}),d(),c(11,"div",7)(12,"div")(13,"table",8)(14,"caption",9),m(15," Listado de reparaciones del asegurado "),d(),c(16,"thead")(17,"tr",10)(18,"th",11),m(19," Seleccione "),d(),c(20,"th",11),m(21," Tipo "),d(),c(22,"th",11),m(23," Taller "),d(),c(24,"th",11),m(25," Localidad "),d(),c(26,"th",11),m(27," Direcci\xF3n "),d(),c(28,"th",11),m(29," Tel\xE9fono "),d(),c(30,"th",11),m(31," Mail "),d()()(),c(32,"tbody"),L(33,hme,16,7,"tr",12),sr(34,"searchPipe"),L(35,gme,3,0,"tr",13),d()()()(),c(36,"div",5)(37,"nx-card"),m(38," Si no desea reparar su veh\xEDculo con ninguno de los proveedores ofrecidos o en la localidad seleccionada no contamos con los proveedores que brinden el servicio deseado, deber\xE1 dirigirse a alguno de nuestros centros de servicio."),S(39,"br"),m(40," Por cualquier consulta no dude en contactarnos a nuestro centro de atencion al cliente "),c(41,"strong"),m(42,"0800-888-24324"),d(),m(43,". "),d()()(),Xe(),d(),c(44,"div")(45,"app-step-buttons",14),I("continuarEvent",function(){return O(r),T(n.guardar())})("volverEvent",function(){return O(r),T(n.volver())}),d()()(),L(46,_me,10,2,"ng-template",null,0,an)}t&2&&(p(33),g("ngForOf",H9(34,5,z9(11,mme,n.proveedores,n.filtroSearch,n.filtroSearchProv,n.filtroSearchLoc,n.filtroSearchTipo))),p(2),g("ngIf",n.proveedores.length==0),p(10),g("guardar",!1)("loading",n.formLoading)("volver",!0))},dependencies:[me,Et,ut,Kn,ni,si,ii,Ut,et,At,Pt,tr,_t,Yo,Xt,vr,j6,qn,_e,Y_,W_],styles:[".viewport[_ngcontent-%COMP%]{height:750px;width:100%;border:none}"]})};var vme=["stepper"];function xme(i,e){if(i&1){let t=Y();c(0,"nx-step",18)(1,"app-step-datos-conductor-autos",7),I("continuarEvent",function(r){O(t);let o=M();return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M();return T(o.stepperPrev(r))}),d()()}if(i&2){let t=M();g("completed",t.dataHandler.completedStep4&&t.dataHandler.validStep4)}}function bme(i,e){if(i&1){let t=Y();c(0,"nx-step",19)(1,"app-step-datos-denunciante-autos",7),I("continuarEvent",function(r){O(t);let o=M();return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M();return T(o.stepperPrev(r))}),d()()}if(i&2){let t=M();g("completed",t.dataHandler.completedStep5&&t.dataHandler.validStep5)}}function Cme(i,e){if(i&1){let t=Y();c(0,"app-step-datos-tercero-autos",7),I("continuarEvent",function(r){O(t);let o=M(2);return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M(2);return T(o.stepperPrev(r))}),d()}}function yme(i,e){if(i&1&&(c(0,"nx-step",20),L(1,Cme,1,0,"app-step-datos-tercero-autos",15),d()),i&2){let t=M();g("completed",t.dataHandler.completedStep6&&t.dataHandler.validStep6),p(),g("ngIf",t.dataHandler.completedStep1&&t.dataHandler.completedStep2)}}function Mme(i,e){if(i&1){let t=Y();c(0,"app-step-datos-lesionado-autos",7),I("continuarEvent",function(r){O(t);let o=M(2);return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M(2);return T(o.stepperPrev(r))}),d()}}function wme(i,e){if(i&1&&(c(0,"nx-step",21),L(1,Mme,1,0,"app-step-datos-lesionado-autos",15),d()),i&2){let t=M();g("completed",t.dataHandler.completedStep7&&t.dataHandler.validStep7),p(),g("ngIf",t.showDatosLes)}}function Sme(i,e){if(i&1){let t=Y();c(0,"app-step-solicitud-reparacion-autos",7),I("continuarEvent",function(r){O(t);let o=M(2);return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M(2);return T(o.stepperPrev(r))}),d()}}function Pme(i,e){if(i&1&&(c(0,"nx-step",22),L(1,Sme,1,0,"app-step-solicitud-reparacion-autos",15),d()),i&2){let t=M();p(),g("ngIf",t.dataHandler.completedStep2)}}function Eme(i,e){if(i&1){let t=Y();c(0,"app-step-datos-documentacion-autos",7),I("continuarEvent",function(r){O(t);let o=M();return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M();return T(o.stepperPrev(r))}),d()}}function Dme(i,e){i&1&&S(0,"app-step-datos-resumen-autos")}var K_=class i{_dataHandler=C(Ti);_router=C(ot);stepper;ngOnInit(){if(!this._dataHandler.fechaSiniestro){this._router.navigate(["/priv/denuncia-siniestro"]);return}}ngOnDestroy(){this._dataHandler.clearData()}stepperNext(e){setTimeout(()=>{this.stepper.next()},0)}stepperPrev(e){setTimeout(()=>{this.stepper.previous()},0)}get dataHandler(){return this._dataHandler}get tieneDatosTer(){return this._dataHandler.step1FormValue?this._dataHandler.step1FormValue.tieneDatosTer&&this._dataHandler.step1FormValue.cantTerceros>0:!1}get tieneDatosLes(){return this._dataHandler.step1FormValue?this._dataHandler.step1FormValue.tieneDatosLes&&this._dataHandler.step1FormValue.cantLesionados>0:!1}
820get showDatosLes(){return this._dataHandler.completedStep1&&this.tieneDatosTer&&this.tieneDatosLes?this._dataHandler.completedStep6:this._dataHandler.completedStep1&&!this.tieneDatosTer?this.tieneDatosLes:!1}get showStepDenunciante(){return this.dataHandler.step2FormValue&&!this.dataHandler.step4FormValue?!this.dataHandler.step2FormValue.esDenunciante:this.dataHandler.step4FormValue&&!this.dataHandler.step2FormValue?!this.dataHandler.step4FormValue.esDenunciante:this.dataHandler.step2FormValue&&this.dataHandler.step4FormValue?!this.dataHandler.step2FormValue.esDenunciante&&!this.dataHandler.step4FormValue.esDenunciante:!1}get showStepReparacion(){return this.dataHandler.stepReparacion}get showStepInpeccion(){return!1}handleSiniestroCompletado(){this._dataHandler.completedStep1=!0,this._dataHandler.validStep1=!0,setTimeout(()=>{this.stepper.next()},0)}handleAseguradoCompletado(){this._dataHandler.completedStep2=!0,this._dataHandler.validStep2=!0,setTimeout(()=>{this.stepper.next()},0)}handleVolverAsegurado(){this._dataHandler.completedStep2=!1,this._dataHandler.validStep2=!1,setTimeout(()=>{this.stepper.previous()},0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-autos-component"]],viewQuery:function(t,n){if(t&1&&pe(vme,5),t&2){let r;te(r=ne())&&(n.stepper=r.first)}},decls:19,vars:12,consts:[["stepper",""],["nxLayout","grid",1,"py-5"],[1,"block-stepper"],["id","predenuncias","currentStepLabel","step1",3,"linear"],["label","Datos del Siniestro",3,"completed"],[3,"continuarEvent"],["label","Datos del Asegurado",3,"completed"],[3,"continuarEvent","volverEvent"],["label","Datos del Veh\xEDculo",3,"completed"],["label","Datos del Conductor",3,"completed",4,"ngIf"],["label","Datos del Denunciante",3,"completed",4,"ngIf"],["label","Datos del (los) Tercero(s)",3,"completed",4,"ngIf"],["label","Datos del (los) Lesionado(s)",3,"completed",4,"ngIf"],["label","Solicitud de reposici\xF3n y/o reparaci\xF3n",4,"ngIf"],["label","Documentaci\xF3n",3,"completed"],[3,"continuarEvent","volverEvent",4,"ngIf"],["label","Finalizado"],[4,"ngIf"],["label","Datos del Conductor",3,"completed"],["label","Datos del Denunciante",3,"completed"],["label","Datos del (los) Tercero(s)",3,"completed"],["label","Datos del (los) Lesionado(s)",3,"completed"],["label","Solicitud de reposici\xF3n y/o reparaci\xF3n"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1),S(1,"div",2),c(2,"nx-multi-stepper",3,0)(4,"nx-step",4)(5,"app-step-datos-siniestro-autos",5),I("continuarEvent",function(){return O(r),T(n.handleSiniestroCompletado())}),d()(),c(6,"nx-step",6)(7,"app-step-datos-asegurados-autos",7),I("continuarEvent",function(a){return O(r),T(n.stepperNext(a))})("volverEvent",function(a){return O(r),T(n.stepperPrev(a))}),d()(),c(8,"nx-step",8)(9,"app-step-datos-vehiculo-autos",7),I("continuarEvent",function(a){return O(r),T(n.stepperNext(a))})("volverEvent",function(a){return O(r),T(n.stepperPrev(a))}),d()(),L(10,xme,2,1,"nx-step",9)(11,bme,2,1,"nx-step",10)(12,yme,2,2,"nx-step",11)(13,wme,2,2,"nx-step",12)(14,Pme,2,1,"nx-step",13),c(15,"nx-step",14),L(16,Eme,1,0,"app-step-datos-documentacion-autos",15),d(),c(17,"nx-step",16),L(18,Dme,1,0,"app-step-datos-resumen-autos",17),d()()()}t&2&&(p(2),g("linear",!0),p(2),g("completed",n.dataHandler.completedStep1&&n.dataHandler.validStep1),p(2),g("completed",n.dataHandler.completedStep2&&n.dataHandler.validStep2),p(2),g("completed",n.dataHandler.completedStep3&&n.dataHandler.validStep3),p(2),g("ngIf",n.dataHandler.step2FormValue&&!n.dataHandler.step2FormValue.esConductor),p(),g("ngIf",n.showStepDenunciante),p(),g("ngIf",n.tieneDatosTer),p(),g("ngIf",n.tieneDatosLes),p(),g("ngIf",n.showStepReparacion),p(),g("completed",n.dataHandler.completedStep10&&n.dataHandler.validStep10),p(),g("ngIf",n.dataHandler.completedStep1&&n.dataHandler.completedStep2),p(2),g("ngIf",n.dataHandler.completedStep10))},dependencies:[me,Et,Oa,aa,et,_e,T_,I_,Q_,U_,k_,N_,B_,j_,q_,$_],encapsulation:2})};var Mp=()=>{setTimeout(()=>{let i=document.getElementsByClassName("ngx-timepicker-control__input");for(let e=0;e<i.length;e++){let t=i[e];t.value=null}},0)},sz=i=>{setTimeout(()=>{let e=document.getElementsByClassName("ngx-timepicker-control__input");for(let t=0;t<e.length;t++){let n=e[t];i.includes(t)&&(n.value=null)}},0)};function Ome(i,e){i&1&&(c(0,"nx-error",24)(1,"strong"),m(2,"Importante"),d(),m(3," Este campo es obligatorio "),d())}function Tme(i,e){i&1&&(c(0,"nx-error",24)(1,"strong"),m(2,"Importante"),d(),m(3," La fecha y hora del siniestro 
820no pueden ser futuras. "),d())}function Ime(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faHome)}}function kme(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faFireAlt)}}function Nme(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faUserAlt)}}function Ame(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faBlender)}}function Vme(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faTable)}}function Fme(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faWater)}}function Rme(i,e){if(i&1&&(Ze(0),S(1,"fa-icon",33),Xe()),i&2){let t=M(3);p(),g("icon",t.faEllipsisH)}}function zme(i,e){if(i&1&&(c(0,"div",28)(1,"div",29),L(2,Ime,2,1,"ng-container",30)(3,kme,2,1,"ng-container",30)(4,Nme,2,1,"ng-container",30)(5,Ame,2,1,"ng-container",30)(6,Vme,2,1,"ng-container",30)(7,Fme,2,1,"ng-container",30)(8,Rme,2,1,"ng-container",30),d(),c(9,"nx-radio",31)(10,"span",32),m(11),d()()()),i&2){let t=M().$implicit;g("nxTooltipShowDelay",200)("nxTooltipHideDelay",500)("nxTooltip",t.getDeTipoSiniestro())("nxTooltipPosition","bottom"),p(),g("ngSwitch",t.deIconoClave),p(),g("ngSwitchCase","ROBO"),p(),g("ngSwitchCase","INCENDIO"),p(),g("ngSwitchCase","RC"),p(),g("ngSwitchCase","ELECTRODOMESTICOS"),p(),g("ngSwitchCase","CRISTALES"),p(),g("ngSwitchCase","DA\xD1OSAGUA"),p(),g("ngSwitchCase","OTROS"),p(),g("value",t),p(2),Pe(t.getDeTipoSiniestro())}}function Lme(i,e){if(i&1&&(Ze(0),L(1,zme,12,14,"div",27),Xe()),i&2){let t=e.$implicit;p(),g("ngIf",t.getIndActivo()=="S")}}function Hme(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",31),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function Bme(i,e){if(i&1&&(c(0,"small",37),m(1),d()),i&2){let t=M(2);p(),K(" ",t.getErrorMessage("cargaExt")," ")}}function jme(i,e){if(i&1&&(c(0,"div",6)(1,"div",19)(2,"nx-formfield",34),S(3,"textarea",35),c(4,"span",10),L(5,Bme,2,1,"small",36),d()()()()),i&2){let t=M();p(5),g("ngIf",t.getControl("cargaExt").errors&&t.formSubmited)}}var X_=class i extends zn{_Services=C(fn);_formBuilder=C(bt);_router=C(ot);emitters=C(Jt);_stepper;continuarEvent=new X;templateModel="14:54";formLoading=!1;formSubmited=!1;tiposSiniestros=[];causasSiniestros=[];controls;isCargaExtemporanea;faWater=TR;faFireAlt=VR;faHome=kR;faTable=DR;faUserAlt=FR;faEllipsisH=NR;faBlender=AR;canDeactivate(){return this.getForm().dirty}constructor(){super(),this.isCargaExtemporanea=!1,Mp()}ngOnInit(){Re.siniestro.fechaSiniestro||this._router.navigate(["/priv/denuncia-siniestro"]),this.setForm(this._formBuilder.group({fechaSiniestro:[{value:Re.siniestro.fechaSiniestro,disabled:!0},[ee.required]],tipoSiniestro:[null,[ee.required]],causaSiniestro:[null,[ee.required]],horaSiniestro:[null,[ee.required]],detalleSiniestro:[null,[ee.required,ee.maxLength(1e3)]],cargaExt:[null]},{validators:this.validateTime("horaSiniestro")})),this.getControl("tipoSiniestro").valueChanges.subscribe(e=>{this.obtenerCausasSiniestros(e.getIdTipoSiniestro())}),this.getControl("causaSiniestro").valueChanges.subscribe(e=>{this.obtenerCargaExtemporanea(e.getIdTipoSiniestro(),e.getIdCausaSiniestro())})}allianzTheme={container:{bodyBackgroundColor:"#424242",buttonColor:"#fff"},dial:{dialBackgroundColor:"#555"},clockFace:{clockFaceBackgroundColor:"#555",clockHandColor:"#9fbd90",clockFaceTimeInactiveColor:"#fff"}};ngAfterViewInit(){this.setSuscribers(),this.obtenerTipoSiniestro().then(()=>{this.controls=!0});let e=new Ur("en-US").transform(Re.siniestro.fechaSiniestro,"dd/MM/yyyy");this.getControl("fechaSiniestro").setValue(e)}setSuscribers(){}isValid(e){return!!e}validateTime(e){return t=>{let n=t.get(e),r=n?.value;return r?this.esHoraInvalida(r)?n?.setErrors({horaIncorrecta:!0}):this.esFechaHoraFutura(r)?n?.setErrors({horaFutura:!0}):n?.setErrors(null):n?.setErrors({required:!0})}}esFechaHoraFutura(e){let t=Re.siniestro.fechaSiniestro;if(!t||!e)return!1;let n=new Date;if(t.toDate&&typeof t.toDate=="function")n=t.toDate();else if(t instanceof Date)n=t;else if(typeof t=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(t)){let[s,l,u]=t.split("-").map(Number);n=new Date(s,l-1,u)}else{let s=new Date(t);isNaN(s.getTime())||(n=s)}let[r,o]=e.split(":").map(Number);n.setHours(r,o,0,0);let a=new Date;return n.getTime()>a.getTime()}esHoraInvalida(e){if(!e||!/^\d{2}:\d{2}$/.test(e))return!0;let[t,n]=e.split(":").map(Number);return t<0||t>23||n<0||n>59}handleTipoSin(e){this.getControl("tipoSiniestro").setValue(e),this.getControl("causaSiniestro").setValue(""),this.obtenerCausasSiniestros(this.getControl("tipoSiniestro").value)}obtenerCargaExtemporanea(e,t){let n=Re.siniestro.fechaSiniestro,r=un(new Date(Date.now()));return new Promise((o,a)=>{this._Services.getCargaExtemporanea("015",e,t,r,n).then(s=>{Re.siniestro.isExtemporal=s,s=="S"?(this.isCargaExtemporanea=!0,this.getControl("cargaExt").setValidators([ee.required,ee.minLength(1),ee.maxLength(1e3)])):(this.isCargaExtemporanea=!1,this.getControl("cargaExt").setValue(""),this.getControl("cargaExt").clearValidators()),o(null)}
820).catch(s=>{})})}obtenerTipoSiniestro(){let e=0;return new Promise((t,n)=>{this._Services.getTiposDeSiniestros("015").then(r=>{r.forEach(o=>{let a="tipoSiniestro"+e;this.getForm().addControl(a,new it("")),e++,this.tiposSiniestros.push(new Ul(o))}),t(null)}).catch(r=>{})})}obtenerCausasSiniestros(e){let t=[];return new Promise((n,r)=>{this._Services.getCausasDeSiniestros("015",e).then(o=>{o.forEach(a=>{t.push(new Gl(a))}),this.causasSiniestros=t,n(null)}).catch(o=>{})})}guardar(){if(this.validarFormulario()){this.formSubmitted=!1,this.formSubmited=!1,this.formLoading=!0,Re.siniestro.tipoSiniestro=this.getControl("tipoSiniestro").value.idTipoSiniestro,Re.siniestro.deTipoSiniestro=this.getControl("tipoSiniestro").value.deTipoSiniestro,Re.siniestro.causaSiniestro=this.getControl("causaSiniestro").value.idCausaSiniestro,Re.siniestro.deCausaSiniestro=this.getControl("causaSiniestro").value.deCausaSiniestro,Re.siniestro.horaSiniestro=this.getControl("horaSiniestro").value,Re.siniestro.detalleSiniestro=this.getControl("detalleSiniestro").value,Re.siniestro.detalleExtemporal=this.getControl("cargaExt").value,Re.siniestro.fechaCarga=un(new Date(Date.now())),Re.stepDatosSiniestro=!0,Re.completed1=!0;let e=Re.siniestro.tipoSiniestro,t=Re.siniestro.causaSiniestro;this._Services.getBienesCubiertosSiniestrables(Re.vFrentePol.getNpoliza(),0,Re.riesgo.getNroRiesgo(),"015",e,t).then(n=>{this.formLoading=!1,n.length==0?(Re.sinBienes=!0,Re.completed2=!1):(Re.sinBienes=!1,Re.completed2=!0),this.continuarEvent.emit()}).catch(n=>{this.formLoading=!1,Re.sinBienes=!0,Re.completed2=!0,this.continuarEvent.emit()})}else this.getControl("horaSiniestro").errors?this.emitters.emmiterToast(1,"Debe ingresar la hora en la que ocurri\xF3 el siniestro."):this.emitters.emmiterToast(0,"Falta completar datos obligatorios."),this.formSubmited=!0}validarFormulario(){return this.formSubmitted=!0,!!this.getForm().valid}volver(){Re.completed1=!1,this._router.navigate(["priv/denuncia-siniestro"])}getErrorMessage(e){let t=this.getControl(e);return t&&t.errors&&(t.touched||this.formSubmitted)?t.errors.required?"El campo es requerido":t.errors.minlength?"La descripci\xF3n debe contener un m\xEDnimo de treinta caract\xE9res":"":""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-siniestros-comb-familiar"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent"},features:[tt],decls:40,vars:12,consts:[["fechaSiniestroPick",""],["timefield",""],["nxheadline","section",1,"text-left","nx-margin-bottom-m"],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["nxLayout","grid"],["nxRow",""],["nxCol","12,12,3,3"],["label","Fecha del Siniestro","IDselector","DP_fechaNacimiento"],["formControlName","fechaSiniestro","nxInput","","readonly",""],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["label","Hora del Siniestro","IDselector","DP_horasiniestro"],["nxInput","","type","time","formControlName","horaSiniestro","name","horaSiniestro","label","Hora","required",""],["nxFormfieldError","","appearance","text",4,"ngIf"],["name","myGroup","formControlName","tipoSiniestro",2,"width","100%"],[2,"display","flex","flex-wrap","wrap","width","100%","justify-content","space-around"],[4,"ngFor","ngForOf"],["nxRow","",1,"mt-3"],["nxCol","12,12 sm-12,3"],["blure","","label","Causa Siniestro","IDselector","DS_CausaSiniestro"],["formControlName","causaSiniestro","nxFilterPlaceholder","Buscar",3,"showFilter","disabled"],["label","Detalle la forma de ocurrencia y consecuencias:"],["formControlName","detalleSiniestro","maxlength","500","minlength","30","nxInput","","cdkTextareaAutosize",""],["nxFormfieldError","","appearance","text"],["nxRow","",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],["class","tipo_sin_cards",3,"nxTooltipShowDelay","nxTooltipHideDelay","nxTooltip","nxTooltipPosition",4,"ngIf"],[1,"tipo_sin_cards",3,"nxTooltipShowDelay","nxTooltipHideDelay","nxTooltip","nxTooltipPosition"],[2,"width","70","height","70",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"value"],[2,"font-size","12px"],["size","3x",3,"icon"],["label"," Explique los motivos de la carga extempor\xE1nea:"],["formControlName","cargaExt","maxlength","500","nxInput","","cdkTextareaAutosize",""],["class","error-messge-forms-hints",4,"ngIf"],[1,"error-messge-forms-hints"]],template:function(t,n){if(t&1){let r=Y();
820c(0,"h2",2),m(1,"Datos del Siniestro"),d(),c(2,"form",3),I("keydown.enter",function(a){return O(r),T(a.preventDefault())}),S(3,"input",4),c(4,"div",5)(5,"div",6)(6,"div",7)(7,"nx-formfield",8),S(8,"input",9),c(9,"span",10),m(10,"DD/MM/AAAA"),d(),S(11,"nx-datepicker-toggle",11)(12,"nx-datepicker",null,0),d()(),c(14,"div",7)(15,"nx-formfield",12),S(16,"input",13,1),L(18,Ome,4,0,"nx-error",14)(19,Tme,4,0,"nx-error",14),d()()(),S(20,"hr"),c(21,"div",6)(22,"nx-radio-group",15)(23,"div",16),L(24,Lme,2,1,"ng-container",17),d()()(),c(25,"div",18)(26,"div",19)(27,"nx-formfield",20)(28,"nx-dropdown",21),L(29,Hme,3,2,"ng-container",17),d()()()(),S(30,"hr"),c(31,"div",6)(32,"div",19)(33,"nx-formfield",22),S(34,"textarea",23),c(35,"nx-error",24),m(36," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()(),L(37,jme,6,1,"div",25),d(),c(38,"div")(39,"app-step-buttons",26),I("continuarEvent",function(){return O(r),T(n.guardar())})("volverEvent",function(){return O(r),T(n.volver())}),d()()()}if(t&2){let r,o,a=Ct(13);p(2),g("formGroup",n.getForm()),p(9),g("for",a),p(7),g("ngIf",(r=n.getForm().get("horaSiniestro"))==null?null:r.hasError("required")),p(),g("ngIf",(o=n.getForm().get("horaSiniestro"))==null?null:o.hasError("horaFutura")),p(5),g("ngForOf",n.tiposSiniestros),p(4),g("showFilter",!0)("disabled",n.causasSiniestros.length==0),p(),g("ngForOf",n.causasSiniestros),p(8),g("ngIf",n.isCargaExtemporanea),p(2),g("guardar",!1)("loading",n.formLoading)("volver",!0)}},dependencies:[me,Et,ut,vt,R2,F2,jt,St,Yr,sn,ui,Ut,et,mg,uC,At,Rt,wt,Pt,Er,Dn,kn,st,qt,ri,Yn,Io,vo,Yt,Wc,D8,_e,qn,cm],styles:[".tipo_sin_cards[_ngcontent-%COMP%]{border:solid 1.5px;border-color:#d3d3d3;border-radius:5px;padding:10px 0;display:flex;flex-flow:column;align-items:center;height:130px;width:140px;justify-content:flex-start;margin-right:5px;margin-bottom:5px}"]})};var Z_=class{cdUsuario="";deBien="";fecRegistro="";idBien="";idGarantia="";idRamo="";idSubgarantia="";idSubramo="";idTexto="";constructor(e){this.setCdUsuario(e.cdUsuario),this.setDeBien(e.deBien),this.setFecRegistro(e.fecRegistro),this.setIdBien(e.idBien),this.setIdGarantia(e.idGarantia),this.setIdRamo(e.idRamo),this.setIdSubgarantia(e.idSubgarantia),this.setIdSubRamo(e.idSubramo),this.setIdTexto(e.idTexto)}toString(){return this.getDeBien()}equals(e){return this.getIdBien()==e.getIdBien()}getCdUsuario(){return this.cdUsuario}setCdUsuario(e){this.cdUsuario=e}getDeBien(){return this.deBien}setDeBien(e){this.deBien=e}getFecRegistro(){return this.fecRegistro}setFecRegistro(e){this.fecRegistro=e}getIdBien(){return this.idBien}setIdBien(e){this.idBien=e}getIdGarantia(){return this.idGarantia}setIdGarantia(e){this.idGarantia=e}getIdRamo(){return this.idRamo}setIdRamo(e){this.idRamo=e}getIdSubgarantia(){return this.idSubgarantia}setIdSubgarantia(e){this.idSubgarantia=e}getIdSubRamo(){return this.idSubramo}setIdSubRamo(e){this.idSubramo=e}getIdTexto(){return this.idTexto}setIdTexto(e){this.idTexto=e}};function qme(i,e){i&1&&(c(0,"span",22),m(1,"Seleccione uno o mas bienes para continuar."),d())}function Ume(i,e){if(i&1){let t=Y();Ze(0),c(1,"tr",23),I("select",function(){let r=O(t).$implicit,o=M();return T(o.selection.toggle(r))}),c(2,"td",24)(3,"nx-checkbox",25),I("checkedChange",function(){let r=O(t).$implicit,o=M();return o.selection.toggle(r),T(o.controlValueChange())}),d()(),c(4,"td",26),m(5),d()(),Xe()}if(i&2){let t=e.$implicit,n=M();p(3),g("checked",n.selection.isSelected(t)),p(2),Pe(t.toString())}}function Gme(i,e){if(i&1){let t=Y();Ze(0),c(1,"tr",27),I("select",function(){let r=O(t).$implicit,o=M();return T(o.selection.toggle(r))}),c(2,"td",26),m(3),d()(),Xe()}if(i&2){let t=e.$implicit;p(3),Pe(t.toString())}}var J_=class i extends zn{_Services=C(fn);_formBuilder=C(bt);_stepper;continuarEvent=new X;volverEvent=new X;formLoading=!1;formSubmited=!1;showSelected=!1;nPoliza=Re.vFrentePol.getNpoliza();nroriesgo=Re.riesgo.getNroRiesgo();searchTerm="";canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnInit(){this.setForm(this._formBuilder.group({search:["",[]],bienesSeleccionados:["",ee.required]}))}ngAfterViewInit(){this.setSuscribers(),this.obtenerBienes()}setSuscribers(){}filtrarBienes(e){this.tableElements=this.allElements.filter(t=>t.toString().toLocaleUpperCase().includes(e.target.value.toLocaleUpperCase()))}allElements=[];tableElements=this.allElements;selection=new kc(!0,[]);isAllSelected(){let e=this.selection.selected.length,t=this.allElements.length;return e===t}toggleAll(){this.isAllSelected()?this.selection.clear():this.allElements.forEac
820h(e=>this.selection.select(e)),this.controlValueChange()}isValid(e){return!!e}controlValueChange(){this.selection.selected.length!=0?this.getControl("bienesSeleccionados").setValue(this.selection.selected):this.getControl("bienesSeleccionados").setValue("")}validarFormulario(){return!!this.getForm().valid}obtenerBienes(){let e=Re.siniestro.tipoSiniestro,t=Re.siniestro.causaSiniestro;this._Services.getBienesCubiertosSiniestrables(this.nPoliza,0,this.nroriesgo,"015",e,t).then(n=>{this.getControl("bienesSeleccionados").setValidators(ee.required),n.forEach(r=>{this.allElements.push(new Z_(r))})}).catch(n=>{Re.sinBienes=!0,Re.completed2=!0,this.getControl("bienesSeleccionados").clearValidators(),this.getControl("bienesSeleccionados").updateValueAndValidity(),setTimeout(()=>{this._stepper.next()},50)})}volver(){this.volverEvent.emit()}avanzar(){this.continuarEvent.emit()}getErrorMessage(e){return this.getForm().controls[e].errors.required?"El campo es requerido":""}guardar(){Re.sinBienes&&(this.formSubmited=!1,this.getControl("bienesSeleccionados").clearValidators(),this.getControl("bienesSeleccionados").updateValueAndValidity(),this.continuarEvent.emit()),this.validarFormulario()?(this.formSubmited=!1,Re.siniestro.bienes=this.selection.selected,Re.completed2=!0,this.continuarEvent.emit()):this.formSubmited=!0}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-bienes-comb-familiar"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:38,vars:11,consts:[["autocomplete","off",3,"keydown.enter","ngSubmit","formGroup"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxRow",""],["nxCol","12,12,6,9"],["nxFormfieldError","","appearance","text","class","error-messge-forms-hints",4,"ngIf"],["nxCol","12,12,6,3"],["nxInput","","formControlName","search","type","search","autofocus","",3,"blur","keydown.enter","ngModelChange","ngModel"],["nxFormfieldSuffix",""],["name","search","size","s"],["nxCol","12,12,6,6"],["nxTable","",2,"display","grid"],[1,"sr-only"],[2,"display","table"],["nxTableRow","",2,"display","table","width","100%","height","62px"],["nxHeaderCell","","aria-label","Row selection",1,"nx-table-cell--checkbox"],["aria-label","Toggle selection of all rows",3,"checkedChange","checked","indeterminate"],["nxHeaderCell",""],[2,"height","450px","overflow-y","auto","display","block"],[4,"ngFor","ngForOf"],["nxHeaderCell","",2,"text-align","center"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","disableSubmit","volver"],["nxFormfieldError","","appearance","text",1,"error-messge-forms-hints"],["nxTableRow","","selectable","",2,"display","table","height","62px",3,"select"],["nxTableCell","",1,"nx-table-cell--checkbox"],["aria-label","Toggle row selection",3,"checkedChange","checked"],["nxTableCell",""],["nxTableRow","","selectable","",2,"height","63px",3,"select"]],template:function(t,n){t&1&&(c(0,"form",0),I("keydown.enter",function(o){return o.preventDefault()})("ngSubmit",function(){return n.validarFormulario()}),S(1,"input",1),c(2,"div")(3,"h2",2),m(4,"Bien(es) Afectado(s) "),d(),c(5,"div",3)(6,"div",4),L(7,qme,2,0,"span",5),d(),c(8,"div",6)(9,"nx-formfield")(10,"input",7),I("blur",function(o){return n.filtrarBienes(o)})("keydown.enter",function(o){return n.filtrarBienes(o)}),jr("ngModelChange",function(o){return ro(n.searchTerm,o)||(n.searchTerm=o),o}),d(),c(11,"span",8),S(12,"nx-icon",9),d()()()(),c(13,"div",3)(14,"div",10)(15,"table",11)(16,"caption",12),m(17," Listado "),d(),c(18,"thead",13)(19,"tr",14)(20,"th",15)(21,"nx-checkbox",16),I("checkedChange",function(){return n.toggleAll()}),d()(),c(22,"th",17),m(23,"Seleccionar Todos"),d()()(),c(24,"tbody",18),L(25,Ume,6,2,"ng-container",19),d()()(),c(26,"div",10)(27,"table",11)(28,"caption",12),m(29," Listado de bienes "),d(),c(30,"thead")(31,"tr",14)(32,"th",20),m(33,"Bienes Seleccionados"),d()()(),c(34,"tbody",18),L(35,Gme,4,1,"ng-container",19),d()()()()(),c(36,"div")(37,"app-step-buttons",21),I("continuarEvent",function(){return n.guardar()})("volverEvent",function(){return n.volver()}),d()()()),t&2&&(g("formGroup",n.getForm()),p(7),g("ngIf",n.getForm().controls.bienesSeleccionados.errors&&n.formSubmited),p(3),Br("ngModel",n.searchTerm),p(11),g("checked",n.selection.hasValue()&&n.isAllSelected())("indeterminate",n.selection.hasValue()&&!n.isAllSelected()),p(4),g("ngForOf",n.tableElements),p(10),g("ngForOf",n.selection.selected),p(2),g("guardar",!1)("loading",n.formLoading)("disableSubmit",n.getForm().invalid)("volver",!0))},dependencies:[me,ut,vt,Kn,ni,si,ii,St,sn,ui,Ut,et,At,Rt,wt,Pt,st,qt,Yo,Xt,nt,Yt,_e,qn],encapsulation:2})};var ev=class i extends zn{_stepper;
820continuarEvent=new X;volverEvent=new X;formLoading=!1;formSubmited=!1;datosAsegurado;datoVFrente;canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnInit(){this.datosAsegurado=Re.asegurado,this.datoVFrente=Re.vFrentePol}getFilterData(e){this.datosAsegurado.setnroTelefono(e.telefono),this.datosAsegurado.setdescEmail(e.email),this.formSubmited=!0,Re.completed3=!0,this.continuarEvent.emit()}ngAfterViewInit(){this.setSuscribers()}setSuscribers(){}isValid(e){return!!e}validarFormulario(){return!!this.getForm().valid}getErrorMessage(e){return""}volver(){this.volverEvent.emit()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-asegurados-comb-familiar"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:4,vars:2,consts:[["type","hidden","autocomplete","false"],[3,"submitOutput","volverOutput","_datosAsegurado","_vFrentePol"]],template:function(t,n){t&1&&(c(0,"div"),S(1,"input",0),d(),c(2,"div")(3,"app-datos-del-asegurado",1),I("submitOutput",function(o){return n.getFilterData(o)})("volverOutput",function(){return n.volver()}),d()()),t&2&&(p(3),g("_datosAsegurado",n.datosAsegurado)("_vFrentePol",n.datoVFrente))},dependencies:[me,_e,as],encapsulation:2})};var wp=class{datoMaestro;datoDetalle;datoBien;datoSiniestro;datoDocumento;constructor(){}getdatoMaestro(){return this.datoMaestro}setdatoMaestro(e){this.datoMaestro=e}getdatoDetalle(){return this.datoDetalle}setdatoDetalle(e){this.datoDetalle=e}getdatoBien(){return this.datoBien}setdatoBien(e){this.datoBien=e}getdatoSiniestro(){return this.datoSiniestro}setdatoSiniestro(e){this.datoSiniestro=e}getdatoDocumento(){return this.datoDocumento}setdatoDocumento(e){this.datoDocumento=e}toString(e){throw new Error("Method not implemented.")}equals(e){throw new Error("Method not implemented.")}};function $me(i,e){if(i&1){let t=Y();Ze(0),c(1,"app-documentacion",2),I("submitOutput",function(r){O(t);let o=M();return T(o.getFilterData(r))})("volverOutput",function(){O(t);let r=M();return T(r.volver())}),d(),Xe()}if(i&2){let t=M();p(),g("_datosRequestDocumentos",t.datosRequestDocumentos)("_loading",t.loadingPred)}}var tv=class i extends zn{_ServicesService=C(fn);emitters=C(Jt);_stepper;continuarEvent=new X;volverEvent=new X;vFrentePol;documentacion=[];formLoading=!1;formSubmited=!1;loadingPred=!1;datosRequestDocumentos={idTipoSiniestro:"",idCausaSiniestro:"",idSeccion:"015",loaded:!1};canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnInit(){}ngAfterContentInit(){this.setSuscribers(),this.datosRequestDocumentos.idTipoSiniestro=Re.siniestro.tipoSiniestro,this.datosRequestDocumentos.idCausaSiniestro=Re.siniestro.causaSiniestro,this.datosRequestDocumentos.loaded=Re.stepDatosSiniestro,this.obtenerDocumentoSiniestro()}setSuscribers(){}getFilterData(e){this.formSubmited=!0,Re.completed4=!0,this.generarPredenuncia(e)}obtenerDocumentoSiniestro(){return new Promise((e,t)=>{this._ServicesService.getTiposDeDocumentosSiniestros(this.datosRequestDocumentos.idSeccion,this.datosRequestDocumentos.idTipoSiniestro,this.datosRequestDocumentos.idCausaSiniestro).then(n=>{n.forEach(r=>{this.documentacion.push(new Cp(r))}),e(null)}).catch(n=>{})})}generarPredenuncia(e){new wp().setdatoBien(Re.siniestro.bienes);let n=[];for(let l=0;l<Re.siniestro.bienes.length;l++){let u={idDenuncia:null,nrDetalle:null,nrBien:Re.siniestro.bienes[l].idBien,tpBienPoliza:"P",idRamo:"015",idSubramo:Re.siniestro.bienes[l].idSubramo,idGarantia:Re.siniestro.bienes[l].idGarantia,idSubgarantia:Re.siniestro.bienes[l].idSubgarantia,nroItem:l+1,idTexto:Re.siniestro.bienes[l].idTexto,fecRegistro:Re.siniestro.fechaCarga,cdUsuario:Se.user.details.userId};n.push(u)}let r={idDenuncia:null,nrDetalle:null,idTipoSiniestro:Re.siniestro.tipoSiniestro,deTipoSiniestro:Re.siniestro.deTipoSiniestro,idCausaSiniestro:Re.siniestro.causaSiniestro,deCausaSiniestro:Re.siniestro.deCausaSiniestro,deHechos:Re.siniestro.detalleSiniestro,indExtemporaneo:Re.siniestro.isExtemporal,deExtemporaneo:Re.siniestro.detalleExtemporal,nroCertificadoUbicacion:1,deEmailAsegurado:Re.asegurado.getdescEmail(),deTelefAsegurado:Re.asegurado.getnroTelefono(),fecRegistro:Re.siniestro.fechaCarga,cdStatus:"A",cdUsuario:Se.user.details.userId,idSeccion:Re.vFrentePol.getCodRamo()},o={idDenuncia:null,idSeccion:"015",deSeccion:"COMB. FAMILIAR",nroPoliza:Re.vFrentePol.getNpoliza(),nroCertificado:Re.riesgo.getNroRiesgo(),nroEndoso:Re.vFrentePol.getNsuplemento(),fecSiniestro:this.formatFecha(Re.siniestro.fechaSiniestro),hrSiniestro:this.formatFecha(new Date(Re.siniestro.fechaSiniestro))+" "+Re.siniestro.horaSiniestro+":00",fecDenuncia:Re.siniestro.fechaCarga,cdStatus:"A",cdUsuario:Se.user.details.userId},a=[];for(let l=0;l<this.documentacion.length;l++){let u={idDenuncia:null,nrDetalle:null,idDocumento:this.documentacion[l].getIdDocumento(),idSeccion:"015",idTipoSiniestro:this.documentacion[l].getIdTipoSiniestro(),idCausaSiniestro:this.documentacion[l].getIdCausaSiniestro(),fecRegistro:Re.siniestro.fechaCarga,fecVencimiento:"",cdUsuario:Se.user.details.userId,file:this.getFilterData};a.push(u)}let s={DenunciaIn:{datoDenuncia:{nmOrigen:"MIALLIANZ",datoPoliza:{vFrentepol:Re.vFrentePol},datoMaestro:o,datoDetalle:r,datoBien:n,datoDocumento:a}}};this.loadingPred=!0,this._ServicesService.postDenuncia(s).then(l=>{Re.successMessage=l.DenunciaOut[0].response.description,Re.predenuncia=new rs(l.DenunciaOut[0].datoSiniestro[0]);let u=0;Re.error.status=!0,e.length>0?this._ServicesService.fileUpload(Re.predenuncia.getIdDenuncia(),e,Re.predenuncia.getNrDetalle(),Se.user.details.userId,Re.riesgo.getCodRamo(),Re.siniestro.tipoSiniestro).then(h=>{this.loadingPred=!1,Re.stepDatosDoc=!0,Re.error.status=!0,Re.documentos=!0,Re.MensajeError="",setTimeout(()=>{this._stepper.next()},300)}).catch(h=>{console.warn(h),Re.stepDatosDoc=!0,Re.MensajeError="Se produjo un error al enviar los archivos, ya que el tama\xF1o excede lo permitido. Por favor, contact\xE1 a tu Productor Asesor de Seguros o al Centro de Atenci\xF3n al Cliente de Allianz para enviarlos por otro medio.",setTimeout(()=>{this._stepper.next()},300)}):(this.loadingPred=!1,Re.stepDatosDoc=!0,Re.error.status=!0,this._stepper.next())}).catch(l=>{console.log(l),this.loadingPred=!1,Re.error.status=!1,Re.error.message=l.error.DenunciaOut[0].response.description,Re.stepDatosDoc=!0,setTimeout(()=>{this._stepper.next()},100)})}isValid(e){return!!e}formatFecha(e){if(!e)return null;let t,n,r;if(e?.year&&e?.month&&e?.date)t=e.year(),n=e.month()+1,r=e.date();else if(e instanceof Date)t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();else if(typeof e=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(e)){let s=e.split("-").map(Number);t=s[0],n=s[1],r=s[2]}else if(typeof e=="string"&&/^\d{2}\/\d{2}\/\d{4}$/.test(e)){let s=e.split("/").map(Number);r=s[0],n=s[1],t=s[2]}else return console.error("Formato de fecha no soportado:",e),null;let o=r<10?"0"+r:r.toString(),a=n<10?"0"+n:n.toString();return`${t}-${a}-${o}`}
820validarFormulario(){return!!this.getForm().valid}getErrorMessage(e){return""}volver(){this.volverEvent.emit()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-documentacion-comb-familiar"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},features:[tt],decls:3,vars:1,consts:[["type","hidden","autocomplete","false"],[4,"ngIf"],[3,"submitOutput","volverOutput","_datosRequestDocumentos","_loading"]],template:function(t,n){t&1&&(S(0,"input",0),c(1,"div"),L(2,$me,2,2,"ng-container",1),d()),t&2&&(p(2),g("ngIf",n.datosRequestDocumentos.loaded))},dependencies:[me,et,_e,ss],encapsulation:2})};function Wme(i,e){i&1&&S(0,"img",19)}function Yme(i,e){if(i&1&&(c(0,"nx-link",20)(1,"a",21),S(2,"nx-icon",22),m(3),d()()),i&2){let t=e.$implicit;p(),g("href",Vi(t.url),An),p(2),K("",t.name," ")}}function Qme(i,e){if(i&1){let t=Y();c(0,"div")(1,"div"),Ze(2),c(3,"h2",5),m(4," Se ha generado el Siniestro: "),d(),c(5,"div",6)(6,"div",7)(7,"div",8)(8,"p",9),m(9),d()(),c(10,"cdk-virtual-scroll-viewport",10)(11,"table",11)(12,"caption",12),m(13," Listado de siniestros "),d(),c(14,"thead")(15,"tr",13)(16,"th",14),m(17,"Nro. de Siniestro"),d(),c(18,"th",14),m(19,"Formulario de Denuncia"),d(),c(20,"th",14),m(2
8201,"Documentos Presentados"),d()()(),c(22,"tbody")(23,"tr",13)(24,"td",15),m(25),d(),c(26,"td",15)(27,"button",16),I("click",function(){O(t);let r=M();return T(r.navigateDescargaPdf())}),L(28,Wme,1,0,"img",17),m(29,"Descargar "),d()(),c(30,"td",15)(31,"p"),m(32),d(),L(33,Yme,4,3,"nx-link",18),d()()()()()()(),Xe(),d()()}if(i&2){let t=M();p(9),K(" ",t.modalText," "),p(16),Pe(t.nroSiniestro),p(2),g("disabled",t.isDownloading),p(),g("ngIf",t.isDownloading),p(4),Pe(t.messageError),p(),g("ngForOf",t.documentos)}}function Kme(i,e){if(i&1&&(c(0,"div",23)(1,"nx-message",24)(2,"p"),m(3),d()()()),i&2){let t=M();p(3),K(" ",t.respMessage," ")}}function Xme(i,e){if(i&1&&(c(0,"div")(1,"h2",5),m(2," Ocurrio un error generando el siniestro "),d(),c(3,"div",6)(4,"div",25)(5,"h4",26),m(6),d()()()()),i&2){let t=M();p(6),Pe(t.errorMessage)}}var nv=class i extends zn{_Services=C(fn);_formBuilder=C(bt);_router=C(ot);_stepper;modalTitle="";modalText=` Tu denuncia ha sido cargada exitosamente bajo el n\xFAmero ${Re?.predenuncia?.getIdCarpeta()}. A la brevedad te estaremos contactando para informarte los pasos a seguir.
821Si tu denuncia fue por un cristal y dese\xE1s solicitar un proveedor contactate al 0800-888-24324 o 24337 para coordinar la visita. En caso de que realices el cambio por tu propia cuenta, pod\xE9s remitirnos la factura y fotograf\xEDas a trav\xE9s de tu Productor Asesor o escribirnos a [email protected].;
822`;formLoading=!1;formSubmited=!1;loadinDescarga=!1;isDownloading=!1;documentos=[];nroDetalle;nroPoliza;nroPredenuncia;correct;errorMessage;nroSiniestro="";respMessage=null;messageError=null;canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnInit(){this.setInit()}ngAfterViewInit(){this.setSuscribers(),this.correct&&setTimeout(()=>{this.obtenerDocs()},1e3)}setInit(){this.respMessage=Re.successMessage,this.nroPoliza=Re.vFrentePol.getNpoliza(),this.errorMessage=Re.error.message?Re.error.message:"Error al generar denuncia, por favor intente nuevamente",this.correct=Re.error.status,this.correct&&(this.nroPredenuncia=Re.predenuncia.getIdDenuncia(),this.nroSiniestro=Re.predenuncia.getIdCarpeta(),this.nroDetalle=Re.predenuncia.getNrDetalle()),Re.MensajeError!=null&&(this.messageError=Re.MensajeError),this.setForm(this._formBuilder.group({}))}setSuscribers(){}guardar(){this.validarFormulario()&&(Re.completed4=!0)}emitir(){this._router.navigate(["/priv"])}volver(){}isValid(e){return!!e}obtenerDocs(){this._Services.getDocumentos(this.nroPredenuncia,this.nroDetalle).then(e=>{Re.documentos&&e.length!=0&&(this.documentos=e[0].archivo)}).catch(e=>{console.error(e)})}navigateDescargaPdf(){this.isDownloading=!0,this._Services.getDescargaPreDenuncia(this.nroPredenuncia,this.nroDetalle,Re.vFrentePol.getCodRamo()).then(e=>{let t=new Blob([e],{type:"application/pdf"}),n=window.URL.createObjectURL(t);window.open(n)}).catch(e=>{console.error(e)}).finally(()=>{this.isDownloading=!1})}validarFormulario(){return!!this.getForm().valid}getErrorMessage(e){return""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-final-comb-familiar"]],inputs:{_stepper:"_stepper"},features:[tt],decls:7,vars:7,consts:[["autocomplete","off",3,"keydown.enter","ngSubmit","formGroup"],["type","hidden","autocomplete","false"],[4,"ngIf"],["nxRow","","style","padding: 20px",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"guardarEvent","continuarEvent","volverEvent","guardar","continuarLaber","volver"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-bot-3m",2,"justify-content","center","text-align","center"],["nxRow","",2,"justify-content","center"],["nxCol","12,12 sm-12,8"],[1,"centered-content"],[1,"nx-modal-margin-bottom"],["appendOnly","","itemSize","1",1,"polizas-viewport"],["nxTable","","zebra",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableCell",""],["nxButton","tertiary small-medium","type","button",3,"click","disabled"],["alt","","src","../../../../../../assets/img/Spinner-2.svg","style","position: absolute; width: 70px;
822 height: 70px",4,"ngIf"],["nxStyle","icon-left","style","display: block",4,"ngFor","ngForOf"],["alt","","src","../../../../../../assets/img/Spinner-2.svg",2,"position","absolute","width","70px","height","70px"],["nxStyle","icon-left",2,"display","block"],["target","_blank","rel","noopener noreferrer",3,"href"],["name","product-paper-document"],["nxRow","",2,"padding","20px"],["context","info","showIcon","true"],["nxCol","8"],["nxHeadline","subsection-xsmall"]],template:function(t,n){t&1&&(c(0,"form",0),I("keydown.enter",function(o){return o.preventDefault()})("ngSubmit",function(){return n.validarFormulario()}),S(1,"input",1),L(2,Qme,34,6,"div",2)(3,Kme,4,1,"div",3)(4,Xme,7,1,"div",2),c(5,"div")(6,"app-step-buttons",4),I("guardarEvent",function(){return n.guardar()})("continuarEvent",function(){return n.emitir()})("volverEvent",function(){return n.volver()}),d()()()),t&2&&(g("formGroup",n.getForm()),p(2),g("ngIf",n.correct),p(),g("ngIf",n.respMessage),p(),g("ngIf",!n.correct),p(2),g("guardar",!1)("continuarLaber","Finalizar")("volver",!1))},dependencies:[me,ut,vt,Kn,ni,si,ii,Ut,et,At,Pt,st,_t,Xt,nt,vr,$r,Hc,Bc,_e,qn],styles:[".polizas-viewport[_ngcontent-%COMP%]{height:150px;width:100%}"]})};var Zme=["stepper"],Jme=["datosSiniestroForm"],ehe=["bienesForm"],the=["datosAseguradoForm"],nhe=["documentacionForm"],ihe=["finalForm"];function rhe(i,e){if(i&1){let t=Y();c(0,"app-step-bienes-comb-familiar",18,2),I("continuarEvent",function(){O(t);let r=M(2);return T(r.handleBienesCompletado())})("volverEvent",function(){O(t);let r=M(2);return T(r.handleBienesVolver())}),d()}if(i&2){M(2);let t=Ct(3);g("_stepper",t)}}function ohe(i,e){if(i&1&&(c(0,"nx-step",17),L(1,rhe,2,1,"app-step-bienes-comb-familiar",13),d()),i&2){let t=M();g("stepControl",t.bienesStepControl)("completed",t.comp.completed2),p(),g("ngIf",t.pred.stepDatosSiniestro)}}function ahe(i,e){if(i&1){let t=Y();c(0,"app-step-datos-asegurados-comb-familiar",18,3),I("continuarEvent",function(){O(t);let r=M();return T(r.handleAseguradoCompletado())})("volverEvent",function(){O(t);let r=M();return T(r.handleAseguradoVolver())}),d()}if(i&2){M();let t=Ct(3);g("_stepper",t)}}function she(i,e){if(i&1){let t=Y();c(0,"app-step-documentacion-comb-familiar",18,4),I("continuarEvent",function(){O(t);let r=M();return T(r.handleDocumentacionCompletado())})("volverEvent",function(){O(t);let r=M();return T(r.handleDocumentacionVolver())}),d()}if(i&2){M();let t=Ct(3);g("_stepper",t)}}function lhe(i,e){if(i&1&&S(0,"app-step-final-comb-familiar",19,5),i&2){M();let t=Ct(3);g("_stepper",t)}}var iv=class i extends jl{stepper;_datosSiniestroForm;_bienesForm;_datosAseguradoForm;_documentacionForm;_finalForm;loadAseguradoRiesgo=!0;loadCoberturas=!1;loadEnvioPropuestas=!1;loadEmisionPropuesta=!1;
822datosSiniestroControl=null;bienesStepControl=null;emisionPropuestaControl=null;tomadorDistintoCheck=!1;direccionRiesgoIgual=!0;gncCheck=!1;devMode=!1;invalidateValidations=!1;validForm=new oo({});comp=Re;pred=Re;constructor(){super()}canDeactivate(){return!1}stepperNext(e){setTimeout(()=>{this.stepper.next()},0)}handleSiniestroCompletado(){Re.completed1=!0,Re.stepDatosSiniestro=!0,setTimeout(()=>{this.stepper.next()},50)}handleBienesCompletado(){Re.completed2=!0,setTimeout(()=>this.stepper.next(),50)}handleAseguradoCompletado(){Re.completed3=!0,setTimeout(()=>this.stepper.next(),50)}handleDocumentacionCompletado(){Re.completed4=!0,setTimeout(()=>this.stepper.next(),50)}handleBienesVolver(){Re.completed1=!0,Re.completed2=!1,this.stepper.previous()}handleAseguradoVolver(){Re.completed2=!0,Re.completed3=!1,this.stepper.previous()}handleDocumentacionVolver(){Re.completed3=!0,Re.completed4=!1,this.stepper.previous()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-combinado-familiar-component"]],viewQuery:function(t,n){if(t&1&&(pe(Zme,5),pe(Jme,5),pe(ehe,5),pe(the,5),pe(nhe,5),pe(ihe,5)),t&2){let r;te(r=ne())&&(n.stepper=r.first),te(r=ne())&&(n._datosSiniestroForm=r.first),te(r=ne())&&(n._bienesForm=r.first),te(r=ne())&&(n._datosAseguradoForm=r.first),te(r=ne())&&(n._documentacionForm=r.first),te(r=ne())&&(n._finalForm=r.first)}},features:[tt],decls:14,vars:13,consts:[["stepper",""],["datosSiniestroForm",""],["bienesForm",""],["datosAseguradoForm",""],["documentacionForm",""],["finalForm",""],["nxLayout","grid",1,"py-5"],[1,"block-stepper"],["id","predenuncias","currentStepLabel","step1",3,"linear"],["label","Datos del Siniestro",3,"stepControl","completed"],[3,"continuarEvent","_stepper"],["label","Bien(es) afectado(s)",3,"stepControl","completed",4,"ngIf"],["label","Datos del Asegurado",3,"completed"],[3,"_stepper","continuarEvent","volverEvent",4,"ngIf"],["label","Documentaci\xF3n",3,"stepControl","completed"],["label","Finalizado",3,"stepControl","completed"],[3,"_stepper",4,"ngIf"],["label","Bien(es) afectado(s)",3,"stepControl","completed"],[3,"continuarEvent","volverEvent","_stepper"],[3,"_stepper"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",6),S(1,"div",7),c(2,"nx-multi-stepper",8,0)(4,"nx-step",9)(5,"app-step-datos-siniestros-comb-familiar",10,1),I("continuarEvent",function(){return O(r),T(n.handleSiniestroCompletado())}),d()(),L(7,ohe,2,3,"nx-step",11),c(8,"nx-step",12),L(9,ahe,2,1,"app-step-datos-asegurados-comb-familiar",13),d(),c(10,"nx-step",14),L(11,she,2,1,"app-step-documentacion-comb-familiar",13),d(),c(12,"nx-step",15),L(13,lhe,2,1,"app-step-final-comb-familiar",16),d()()()}if(t&2){let r=Ct(3);p(2),g("linear",!0),p(2),g("stepControl",n.datosSiniestroControl)("completed",n.comp.completed1),p(),g("_stepper",r),p(2),g("ngIf",!n.pred.sinBienes),p(),g("completed",n.comp.completed3),p(),g("ngIf",n.pred.stepDatosSiniestro),p(),g("stepControl",n.emisionPropuestaControl)("completed",n.comp.completed4),p(),g("ngIf",n.pred.stepDatosSiniestro),p(),g("stepControl",n.emisionPropuestaControl)("completed",n.comp.completed4),p(),g("ngIf",n.pred.stepDatosDoc)}},dependencies:[me,Et,Oa,aa,et,X_,J_,ev,tv,nv],encapsulation:2})};function che(i,e){if(i&1&&(Ze(0),c(1,"nx-dropdown-item",28),m(2),d(),Xe()),i&2){let t=e.$implicit;p(),g("value",t),p(),K(" ",t.toString()," ")}}function dhe(i,e){if(i&1&&(c(0,"small",32),m(1),d()),i&2){let t=M(2);p(),K(" ",t.getErrorMessage("cargaExt")," ")}}function uhe(i,e){if(i&1&&(c(0,"div",6)(1,"div",18)(2,"nx-formfield",29),S(3,"textarea",30),c(4,"span",10),L(5,dhe,2,1,"small",31),d()()()()),i&2){let t=M();p(5),g("ngIf",t.getControl("cargaExt").errors&&t.formSubmited)}}function phe(i,e){if(i&1&&(c(0,"tr")(1,"td")(2,"strong"),m(3),d()(),c(4,"td")(5,"strong"),m(6),d()()()),i&2){let t=e.$implicit;p(3),Pe(t.apenom),p(3),K("DNI ",t.nroDocumento)}}var rv=class i extends zn{constructor(t){super();this.cd=t;this.isCargaExtemporanea=!1}_Services=C(fn);_formBuilder=C(bt);_router=C(ot);emittersService=C(Jt);_stepper;continuarEvent=new X;filters;page=1;perPage=10;fechaSiniestro;beneficiariosTotal;beneficiarios=[];formLoading=!1;formSubmited=!1;tiposSiniestros=[];totalPol=null;causasSiniestros=[];loadingData=!1;controls;isCargaExtemporanea;canDeactivate(){return this.getForm().dirty}ngOnInit(){qe.siniestro.fechaSiniestro||this._router.navigate(["/priv/denuncia-siniestro"]),this.obtenerBeneficiarios(),this.setForm(this._formBuilder.group({fechaSiniestro:[{value:new Date,disabled:!0}],tipoSiniestro:[null,[ee.required]],tomador:[{value:"",disabled:!0}
822,[ee.required]],detalleSiniestro:[null,[ee.required,ee.maxLength(1e3)]],cargaExt:[null]}))}allianzTheme={container:{bodyBackgroundColor:"#424242",buttonColor:"#fff"},dial:{dialBackgroundColor:"#555"},clockFace:{clockFaceBackgroundColor:"#555",clockHandColor:"#9fbd90",clockFaceTimeInactiveColor:"#fff"}};ngAfterViewInit(){this.obtenerTipoSiniestro().then(()=>{this.controls=!0}),this.setSuscribers(),this.getControl("tipoSiniestro").valueChanges.subscribe(t=>{this.obtenerCargaExtemporanea(),qe.stepDatosSiniestro=!1,qe.completed4=!1,qe.completed3=!1,qe.completed2=!1,qe.completed1=!1})}ngAfterContentInit(){let t=new Ur("en-US").transform(qe.siniestro.fechaSiniestro,"dd/MM/yyyy");this.getControl("fechaSiniestro").setValue(t),this.getControl("tomador").setValue(qe.certificado.descNombre)}validateTime(t){return n=>{let r=n.get(t),o=r?.value;return o?this.esHoraInvalida(o)?r?.setErrors({horaIncorrecta:!0}):this.esFechaHoraFutura(o)?r?.setErrors({horaFutura:!0}):r?.setErrors(null):r?.setErrors({required:!0})}}esFechaHoraFutura(t){let n=qe.siniestro.fechaSiniestro;if(!n||!t)return!1;let r=new Date;if(n.toDate&&typeof n.toDate=="function")r=n.toDate();else if(n instanceof Date)r=n;else if(typeof n=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(n)){let[l,u,h]=n.split("-").map(Number);r=new Date(l,u-1,h)}else{let l=new Date(n);isNaN(l.getTime())||(r=l)}let[o,a]=t.split(":").map(Number);r.setHours(o,a,0,0);let s=new Date;return r.getTime()>s.getTime()}esHoraInvalida(t){if(!t||!/^\d{2}:\d{2}$/.test(t))return!0;let[n,r]=t.split(":").map(Number);return n<0||n>23||r<0||r>59}setSuscribers(){}obtenerBeneficiarios(){let t=qe.vFrentePol.getNpoliza(),n=qe.vFrentePol.getNsuplemento(),r=qe.vFrentePol.getCodRamo();this._Services.getBeneficiarios(r,t,n).then(o=>{this.beneficiarios=o.beneficiarios})}numberOnly(t){let n=t.which?t.which:t.keyCode;return!(n>31&&(n<48||n>57))}volver(){qe.completed1=!1,this._router.navigate(["/priv"])}guardar(){if(!this.validarFormulario()){this.formSubmited=!0,this.emittersService.emmiterToast(0,"Falta completar datos obligatorios.");return}qe.siniestro.tipoSiniestro=this.getControl("tipoSiniestro").value.idTipoSiniestro,qe.siniestro.deTipoSiniestro=this.getControl("tipoSiniestro").value.deTipoSiniestro,qe.siniestro.detalleSiniestro=this.getControl("detalleSiniestro").value,qe.siniestro.causaSiniestro=this.getControl("tipoSiniestro").value.idTipoSiniestro,qe.siniestro.deCausaSiniestro=this.getControl("tipoSiniestro").value.deTipoSiniestro,qe.siniestro.tomador=this.getControl("tomador").value,qe.siniestro.isExtemporal=this.isCargaExtemporanea?"S":"N",qe.siniestro.detalleExtemporal=this.getControl("cargaExt").value,qe.siniestro.fechaCarga=un(new Date),this.continuarEvent.emit()}obtenerCausasSiniestros(t){let n=[],r=qe.vFrentePol.getCodRamo();this._Services.getCausasDeSiniestros(r,t).then(o=>{o.forEach(a=>{n.push(new Gl(a))}),this.causasSiniestros=n}).catch(o=>{})}validarFormulario(){return!!this.getForm().valid}obtenerCargaExtemporanea(){let t=un(new Date(qe.siniestro.fechaSiniestro)),n=un(new Date(Date.now())),r=this.getControl("tipoSiniestro").value.idTipoSiniestro,o=this.getControl("tipoSiniestro").value.idTipoSiniestro,a=qe.vFrentePol.getCodRamo();return new Promise((s,l)=>{this._Services.getCargaExtemporanea(a,r,o,n,t).then(u=>{u=="S"?(this.isCargaExtemporanea=!0,this.getControl("cargaExt").setValidators([ee.required,ee.minLength(1),ee.maxLength(1e3)])):(this.isCargaExtemporanea=!1,this.getControl("cargaExt").setValue(""),this.getControl("cargaExt").clearValidators()),s(null)}).catch(u=>{console.error(u)})})}obtenerTipoSiniestro(){let t=0,n=qe.vFrentePol.getCodRamo();return new Promise((r,o)=>{this._Services.getTiposDeSiniestros(n).then(a=>{a.forEach(s=>{let l="tipoSiniestro"+t;this.getForm().addControl(l,new it("")),t++,this.tiposSiniestros.push(new Ul(s))}),r(null)}).catch(a=>{console.error(a)})})}getErrorMessage(t){let n=this.getControl(t);return n&&n.errors&&(n.touched||this.formSubmitted)?n.errors.required?"El campo es requerido":n.errors.minlength?"La descripci\xF3n debe contener un m\xEDnimo de treinta caract\xE9res":"":""}static \u0275fac=function(n){return new(n||i)(D(Ye))};static \u0275cmp=z({type:i,selectors:[["app-step-datos-siniestros-vida"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent"},features:[tt],decls:55,vars:9,consts:[["fechaSiniestroPick",""],["focusThis",""],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid"],["nxRow",""],["nxCol","12,6,3"],["label","Fecha del Sinie
822stro","IDselector","DP_fechaNacimiento"],["formControlName","fechaSiniestro","nxInput","","readonly","","autofocus",""],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["label","Asegurado:"],["nxInput","","readonly","","formControlName","tomador"],["nxHeadline","subsection-xsmall",2,"margin-bottom","10px","margin-left","10px"],["label","Elija Tipo Siniestro","IDselector","DS_CausaSiniestro"],["formControlName","tipoSiniestro","nxFilterPlaceholder","Buscar",3,"showFilter"],[4,"ngFor","ngForOf"],["nxCol","12,6,6"],["label","Detalle la forma de ocurrencia y consecuencias:"],["nxInput","","maxlength","500","minlength","30","formControlName","detalleSiniestro","cdkTextareaAutosize",""],["nxFormfieldError","","appearance","text"],["nxRow","",4,"ngIf"],["nxCol","12,12,6"],["stlye","height:400px",1,"table"],[1,"sr-only"],["nxHeaderCell","","width","50%"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],[3,"value"],["label"," Explique los motivos de la carga extempor\xE1nea:"],["formControlName","cargaExt","maxlength","500","nxInput","","cdkTextareaAutosize",""],["class","error-messge-forms-hints",4,"ngIf"],[1,"error-messge-forms-hints"]],template:function(n,r){if(n&1){let o=Y();c(0,"form",2),I("keydown.enter",function(s){return O(o),T(s.preventDefault())}),S(1,"input",3),c(2,"div"),Ze(3),c(4,"h2",4),m(5,"Datos del Siniestro "),d(),c(6,"div",5)(7,"div",6)(8,"div",7)(9,"nx-formfield",8),S(10,"input",9),c(11,"span",10),m(12,"DD/MM/AAAA"),d(),S(13,"nx-datepicker-toggle",11)(14,"nx-datepicker",null,0),d()(),c(16,"div",7)(17,"nx-formfield",12),S(18,"input",13,1),d()()(),S(20,"hr"),c(21,"div",6)(22,"h4",14),m(23," Tipo de Siniestro "),d()(),c(24,"div",6)(25,"div",7)(26,"nx-formfield",15)(27,"nx-dropdown",16),L(28,che,3,2,"ng-container",17),d()()()(),c(29,"div",6)(30,"div",18)(31,"nx-formfield",19),S(32,"textarea",20),c(33,"nx-error",21),m(34," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()(),L(35,uhe,6,1,"div",22),S(36,"hr"),c(37,"div",6)(38,"h4",14),m(39," Beneficiarios: "),d()(),c(40,"div",6)(41,"div",23)(42,"table",24)(43,"caption",25),m(44," Listado de beneficiarios "),d(),c(45,"thead")(46,"tr")(47,"th",26),m(48,"Nombre y Apellido"),d(),c(49,"th"),m(50,"Tipo y nro. Documento"),d(),S(51,"th"),d()(),c(52,"tbody"),L(53,phe,7,2,"tr",17),d()()()()(),Xe(),d(),c(54,"app-step-buttons",27),I("continuarEvent",function(){return O(o),T(r.guardar())})("volverEvent",function(){return O(o),T(r.volver())}),d()()}if(n&2){let o=Ct(15);g("formGroup",r.getForm()),p(13),g("for",o),p(14),g("showFilter",!0),p(),g("ngForOf",r.tiposSiniestros),p(7),g("ngIf",r.isCargaExtemporanea),p(18),g("ngForOf",r.beneficiarios),p(),g("guardar",!1)("loading",r.formLoading)("volver",!0)}},dependencies:[me,Et,ut,vt,Kn,jt,St,Yr,sn,ui,Ut,et,At,Rt,wt,Pt,Dn,kn,st,qt,ri,Yn,Xt,Io,vo,Yt,_e,qn],styles:[".selectable-img[_ngcontent-%COMP%]{height:50px;width:50px}"]})};var ov=class i{_stepper;continuarEvent=new X;formLoading=!1;formSubmited=!1;datosPersona={actividad:"",descAsegurado:"",domicilio:"",feNacimiento:"",genero:"",iibb:"",indicMerlin:"",iva:"",nroDni:qe.tipoAsegurado=="C"?qe.vFrentePol.getCodAsegurado().slice(1):qe.certificado.nroDocumento,tipoDni:{codigo:qe.tipoAsegurado=="C"?qe.vFrentePol.getCodAsegurado().slice(0,1):qe.certificado.codTipoDocumento},tipoPersona:""};datosAsegurado=new Ir(this.datosPersona);datoVFrente=qe.vFrentePol;constructor(){}getFilterData(e){this.datosAsegurado.setnroTelefono(e.telefono),this.datosAsegurado.setdescEmail(e.email),this.formSubmited=!0,qe.completed2=!0,this.continuarEvent.emit(),setTimeout(()=>{this._stepper.next()},100)}volver(){this._stepper.previous()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-asegurados-vida"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent"},decls:3,vars:2,consts:[["type","hidden","autocomplete","false"],[3,"submitOutput","volverOutput","_datosAsegurado","_vFrentePol"]],template:function(t,n){t&1&&(S(0,"input",0),c(1,"div")(2,"app-datos-del-asegurado",1),I("submitOutput",function(o){return n.getFilterData(o)})("volverOutput",function(){return n.volver()}),d()()),t&2&&(p(2),g("_datosAsegurado",n.datosAsegurado)("_vFrentePol",n.datoVFrente))},dependencies:[as],encapsulation:2})};function fhe(i,e){if(i&1){let t=Y();Ze(0),c(1,"app-documentacion",2),I("submitOutput",function(r){O(t);let o=M();return T(o.getFilterData(r))})("volverOutput",function(){O(t);let r=M();return T(r.volver())}),d(),Xe()}if(i&2){let t=M();p(),g("_datosRequestDocumentos",t.datosRequestDocumentos)("_loading",t.loadingPred)}}var av=class i{_ServicesService=C(fn);_stepper;
822continuarEvent=new X;volverEvent=new X;vFrentePol=null;documentacion=[];loadingPred=!1;datosRequestDocumentos={idTipoSiniestro:"",idCausaSiniestro:"",idSeccion:"",loaded:!1};obligatorio;ngAfterViewInit(){this.datosRequestDocumentos.idTipoSiniestro=qe.siniestro.tipoSiniestro,this.datosRequestDocumentos.idCausaSiniestro=qe.siniestro.tipoSiniestro,setTimeout(()=>{this.datosRequestDocumentos.loaded=qe.stepDatosSiniestro},0),this.datosRequestDocumentos.idSeccion=qe.vFrentePol.getCodRamo()}getFilterData(e){qe.completed3=!0,this.generarPredenuncia(e)}generarPredenuncia(e){new wp().setdatoBien(qe.siniestro.bienes);let n=[];for(let l=0;l<1;l++){let u={idDenuncia:null,nrDetalle:null,nrBien:qe.certificado.nroCertificado,tpBienPoliza:"P",idRamo:qe.vFrentePol.getCodRamo(),idSubramo:qe.vFrentePol.getCodRamo(),idGarantia:qe.vFrentePol.getCodRamo(),idSubgarantia:"702",nroItem:qe.certificado.nroCertificado,idTexto:"8762",fecRegistro:qe.siniestro.fechaCarga,cdUsuario:Se.user.details.userId};n.push(u)}let r={idDenuncia:null,nrDetalle:null,idTipoSiniestro:qe.siniestro.tipoSiniestro,deTipoSiniestro:qe.siniestro.deTipoSiniestro,idCausaSiniestro:qe.siniestro.tipoSiniestro,deCausaSiniestro:qe.siniestro.deTipoSiniestro,deHechos:qe.siniestro.detalleSiniestro,indExtemporaneo:qe.siniestro.isExtemporal,deExtemporaneo:qe.siniestro.detalleExtemporal,nroCertificadoUbicacion:1,deEmailAsegurado:qe.asegurado.getdescEmail(),deTelefAsegurado:qe.asegurado.getnroTelefono(),fecRegistro:qe.siniestro.fechaCarga,cdStatus:"A",cdUsuario:Se.user.details.userId,idSeccion:qe.vFrentePol.getCodRamo()},o={idDenuncia:null,idSeccion:qe.certificado.codSeccion,deSeccion:qe.vFrentePol.getDescRamo(),nroPoliza:qe.vFrentePol.getNpoliza(),nroCertificado:qe.certificado.nroCertificado,nroEndoso:qe.vFrentePol.getNsuplemento(),fecSiniestro:un(new Date(qe.siniestro.fechaSiniestro)),hrSiniestro:un(new Date(qe.siniestro.fechaSiniestro))+" 00:00:00",fecDenuncia:qe.siniestro.fechaCarga,cdStatus:"A",cdUsuario:Se.user.details.userId},a=[];for(let l=0;l<this.documentacion.length;l++){let u={idDenuncia:null,nrDetalle:null,idDocumento:this.documentacion[l].getIdDocumento(),idTipoSiniestro:this.documentacion[l].getIdTipoSiniestro(),idCausaSiniestro:this.documentacion[l].getIdCausaSiniestro(),idSeccion:qe.certificado.codSeccion,fecRegistro:qe.siniestro.fechaCarga,fecVencimiento:"",cdUsuario:Se.user.details.userId};a.push(u)}let s={DenunciaIn:{datoDenuncia:{nmOrigen:"MIALLIANZ",datoPoliza:{vFrentepol:qe.vFrentePol},datoMaestro:o,datoDetalle:r,datoBien:n,datoDocumento:a}}};this.loadingPred=!0,this._ServicesService.postDenuncia(s).then(l=>{qe.successMessage=l.DenunciaOut[0].response.description,qe.predenuncia=new rs(l.DenunciaOut[0].datoSiniestro[0]),qe.error.status=!0,e.length>0?this._ServicesService.fileUpload(qe.predenuncia.getIdDenuncia(),e,qe.predenuncia.getNrDetalle(),Se.user.details.userId,qe.vFrentePol.getCodRamo(),qe.siniestro.tipoSiniestro).then(u=>{this.loadingPred=!1,qe.stepDatosDoc=!0,qe.mensajeError="",qe.documentos=!0,this.continuarEvent.emit(!0)}).catch(u=>{qe.stepDatosDoc=!0,qe.mensajeError="Se produjo un error al enviar los archivos, ya que el tama\xF1o excede lo permitido. Por favor, contact\xE1 a tu Productor Asesor de Seguros o al Centro de Atenci\xF3n al Cliente de Allianz para enviarlos por otro medio.",console.log(u),this.continuarEvent.emit(!0)}):(this.loadingPred=!1,qe.stepDatosDoc=!0,this.continuarEvent.emit(!0))}).catch(l=>{this.loadingPred=!1,qe.error.status=!1,qe.error.message=l.error.DenunciaOut[0].response.description,qe.stepDatosDoc=!0,setTimeout(()=>{this._stepper.next()},100)})}volver(){this._stepper.previous()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-documentacion-vida"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:3,vars:1,consts:[["type","hidden","autocomplete","false"],[4,"ngIf"],[3,"submitOutput","volverOutput","_datosRequestDocumentos","_loading"]],template:function(t,n){t&1&&(S(0,"input",0),c(1,"div"),L(2,fhe,2,2,"ng-container",1),d()),t&2&&(p(2),g("ngIf",n.datosRequestDocumentos.loaded))},dependencies:[me,et,_e,ss],encapsulation:2})};function mhe(i,e){i&1&&S(0,"img",16)}function hhe(i,e){if(i&1&&(c(0,"a",17),S(1,"nx-icon",18),m(2),d()),i&2){let t=e.$implicit;g("href",Vi(t.url),An),p(2),K(" ",t.name," ")}}function ghe(i,e){if(i&1){let t=Y();c(0,"h2",4),m(1," Se ha generado el Siniestro: "),d(),c(2,"div",5)(3,"div",6)(4,"div",7)(5,"p",8),m(6),d()(),c(7,"cdk-virtual-scroll-viewport",9)(8,"table",10)(9,"caption",11),m(10," Listado de siniestros "),d(),c(11,"thead")(12,"tr",12)(13,"th",13),m(14,"Nro. de Siniestro"),d(),c(15,"th",13),m(16,"Formulario de Denuncia"),d(),c(17,"th",13),m(18,"Documentos Presentados"),d()()(),c(19,"tbody")(20,"tr",12)(21,"td",14),m(22),d(),c(23,"td",14)(24,"button",15),I("click",function(){O(t);let r=M();
822return T(r.navigateDescargaPdf())}),re(25,mhe,1,0,"img",16),m(26," Descargar "),d()(),c(27,"td",14)(28,"p"),m(29),d(),Ot(30,hhe,3,3,"a",17,$n),d()()()()()()()}if(i&2){let t=M();p(6),Pe(t.modalText),p(16),Pe(t.nroSiniestro),p(2),g("disabled",t.isDownloading),p(),oe(t.isDownloading?25:-1),p(4),Pe(t.MessageError),p(),Tt(t.documentos)}}function _he(i,e){i&1&&(c(0,"h2",19),m(1," Ocurri\xF3 un error generando el siniestro "),d(),c(2,"div",5)(3,"div",6)(4,"p"),m(5,"No pudimos cargar tu predenuncia en este momento."),d(),c(6,"p"),m(7,"Si el problema sigue, pod\xE9s comunicarte con nuestro equipo de soporte para ayudarte."),d()()())}function vhe(i,e){if(i&1&&(c(0,"div",2)(1,"nx-message",20)(2,"p"),m(3),d()()()),i&2){let t=M();p(3),Pe(t.respMessage)}}var sv=class i extends zn{_Services=C(fn);_formBuilder=C(bt);_router=C(ot);_stepper;modalTitle="";modalText=` Tu denuncia ha sido cargada exitosamente bajo el n\xFAmero  ${qe.predenuncia.getIdCarpeta()}. A la brevedad te estaremos contactando para informarte los pasos a seguir.
823
824  Ante cualquier consulta, pod\xE9s comunicarte con tu Productor Asesor o escribirnos a [email protected]`;formLoading=!1;formSubmited=!1;isDownloading=!1;documentos=[];nroDetalle;nroPoliza;nroSiniestro;correct;errorMessage;nroPredenuncia=0;respMessage=null;MessageError=null;constructor(){super()}canDeactivate(){return this.getForm().dirty}ngOnInit(){this.respMessage=qe.successMessage,this.nroPoliza=qe.vFrentePol.getNpoliza(),this.errorMessage=qe.error.message,this.correct=qe.error.status,this.correct&&(this.nroPredenuncia=qe.predenuncia.getIdDenuncia(),this.nroDetalle=qe.predenuncia.getNrDetalle(),this.nroSiniestro=qe.predenuncia.getIdCarpeta()),qe.mensajeError!=null&&(this.MessageError=qe.mensajeError),this.setForm(this._formBuilder.group({}))}ngAfterViewInit(){this.setSuscribers(),this.correct&&setTimeout(()=>{this.obtenerDocs()},200)}guardar(){this.validarFormulario()&&(qe.completed4=!0)}emitir(){this._router.navigate(["/priv"])}setSuscribers(){}isValid(e){return!!e}obtenerDocs(){this._Services.getDocumentos(this.nroPredenuncia,this.nroDetalle).then(e=>{qe.documentos&&e.length!=0&&(this.documentos=e[0].archivo)}).catch(e=>{console.error(e)})}navigateDescargaPdf(){this.isDownloading=!0,this._Services.getDescargaPreDenuncia(this.nroPredenuncia,this.nroDetalle,qe.vFrentePol.getCodRamo()).then(e=>{let t=new Blob([e],{type:"application/pdf"}),n=window.URL.createObjectURL(t);window.open(n)}).catch(e=>{console.error(e)}).finally(()=>{this.isDownloading=!1})}validarFormulario(){return!!this.getForm().valid}getErrorMessage(e){return""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-final-vida"]],inputs:{_stepper:"_stepper"},features:[tt],decls:6,vars:6,consts:[["autocomplete","off",3,"keydown.enter","ngSubmit","formGroup"],["type","hidden","autocomplete","false"],["nxRow","",2,"padding","20px"],["IDselector","STEP_MAIN_BUTTONS",3,"guardarEvent","continuarEvent","guardar","continuarLaber","volver"],["headline","subsection-medium","autofocus","",1,"nx-margin-top-3m","nx-margin-bot-3m",2,"justify-content","center","text-align","center"],["nxRow","",2,"justify-content","center"],["nxCol","8"],[1,"centered-content"],[1,"nx-modal-margin-bottom"],["appendOnly","","itemSize","1",1,"polizas-viewport"],["nxTable","","zebra",""],[1,"sr-only"],["nxTableRow",""],["headerCell",""],["tableCell",""],["nxButton","tertiary small-medium","type","button",3,"click","disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],["target","_blank","rel","noopener noreferrer",1,"c-link",2,"display","block",3,"href"],["name","product-paper-document"],["headline","subsection-medium",1,"nx-margin-top-3m","nx-margin-bot-3m",2,"justify-content","center","text-align","center"],["context","info","showIcon","true"]],template:function(t,n){t&1&&(c(0,"form",0),I("keydown.enter",function(o){return o.preventDefault()})("ngSubmit",function(){return n.validarFormulario()}),S(1,"input",1),re(2,ghe,32,5)(3,_he,8,0),re(4,vhe,4,1,"div",2),c(5,"app-step-buttons",3),I("guardarEvent",function(){return n.guardar()})("continuarEvent",function(){return n.emitir()}),d()()),t&2&&(g("formGroup",n.getForm()),p(2),oe(n.correct?2:3),p(2),oe(n.resp
824Message?4:-1),p(),g("guardar",!1)("continuarLaber","Finalizar")("volver",!1))},dependencies:[me,ut,vt,ni,ii,At,Pt,st,_t,nt,$r,Hc,Bc,_e,qn],styles:[".polizas-viewport[_ngcontent-%COMP%]{height:150px;width:100%}"]})};var xhe=["stepper"],bhe=["datosSiniestroForm"],Che=["datosAseguradoForm"],yhe=["documentacionForm"],Mhe=["finalForm"];function whe(i,e){if(i&1){let t=Y();Ze(0),c(1,"app-step-datos-siniestros-vida",17,2),I("continuarEvent",function(){O(t);let r=M();return T(r.handleSiniestroCompletado())}),d(),Xe()}if(i&2){let t=M();p(),g("_stepper",t._stepper)}}function She(i,e){if(i&1){let t=Y();c(0,"app-step-datos-asegurados-vida",17,3),I("continuarEvent",function(){O(t);let r=M();return T(r.handleAseguradoCompletado())}),d()}if(i&2){let t=M();g("_stepper",t._stepper)}}function Phe(i,e){if(i&1){let t=Y();c(0,"app-step-documentacion-vida",18,4),I("continuarEvent",function(r){O(t);let o=M();return T(o.stepperNext(r))})("volverEvent",function(r){O(t);let o=M();return T(o.stepperPrev(r))}),d()}if(i&2){let t=M();g("_stepper",t._stepper)}}function Ehe(i,e){if(i&1&&S(0,"app-step-final-vida",19,5),i&2){let t=M();g("_stepper",t._stepper)}}var lv=class i extends jl{constructor(t){super();this.cd=t}_router=C(ot);_stepper;_datosSiniestroForm;_datosAseguradoForm;_documentacionForm;_finalForm;_Services=C(fn);loadAseguradoRiesgo=!0;loadCoberturas=!1;loadEnvioPropuestas=!1;loadEmisionPropuesta=!1;loadStepper=!1;
824datosSiniestroControl=null;bienesStepControl=null;emisionPropuestaControl=null;tomadorDistintoCheck=!1;direccionRiesgoIgual=!0;gncCheck=!1;devMode=!1;invalidateValidations=!1;validForm=new oo({});comp=ae({},qe);ngOnInit(){qe.certificado?Promise.resolve().then(()=>{this.loadStepper=!0,qe.clearPred()}):this._router.navigate(["priv/denuncia-siniestro"])}canDeactivate(){return!0}handleSiniestroCompletado(){qe.completed1=!0,qe.stepDatosSiniestro=!0,this.comp.completed1=!0,this.comp.stepDatosSiniestro=!0,this.cd.detectChanges(),this._Services.getTipoAsegurado(qe.vFrentePol.getCodRamo(),qe.siniestro.tipoSiniestro,qe.siniestro.tipoSiniestro).then(t=>{qe.tipoAsegurado=t,this.comp.tipoAsegurado=t,this.cd.detectChanges(),setTimeout(()=>this._stepper.next(),50)})}handleAseguradoCompletado(){qe.completed2=!0,qe.stepDatosAsegurado=!0,this.comp.completed2=!0,this.comp.stepDatosAsegurado=!0,this.cd.detectChanges(),setTimeout(()=>{this._stepper.next()},50)}stepperNext(t){qe.completed3=!0,qe.stepDatosDoc=!0,this.comp.completed3=!0,this.comp.stepDatosDoc=!0,this.cd.detectChanges(),setTimeout(()=>{this._stepper.next()},50)}stepperPrev(t){setTimeout(()=>{this._stepper.previous()},0)}static \u0275fac=function(n){return new(n||i)(D(Ye))};static \u0275cmp=z({type:i,selectors:[["app-vida-component"]],viewQuery:function(n,r){if(n&1&&(pe(xhe,5),pe(bhe,5),pe(Che,5),pe(yhe,5),pe(Mhe,5)),n&2){let o;te(o=ne())&&(r._stepper=o.first),te(o=ne())&&(r._datosSiniestroForm=o.first),te(o=ne())&&(r._datosAseguradoForm=o.first),te(o=ne())&&(r._documentacionForm=o.first),te(o=ne())&&(r._finalForm=o.first)}},features:[tt],decls:13,vars:12,consts:[["stepper",""],["step1",""],["datosSiniestroForm",""],["datosAseguradoForm",""],["documentacionForm",""],["finalForm",""],["nxLayout","grid"],[1,"block-stepper"],["id","predenuncias","currentStepLabel","step1",3,"linear"],["label","Datos del Siniestro",3,"stepControl","completed"],[4,"ngIf"],["label","Datos del Tomador",3,"completed"],[3,"_stepper","continuarEvent",4,"ngIf"],["label","Documentaci\xF3n",3,"stepControl","completed"],[3,"_stepper","continuarEvent","volverEvent",4,"ngIf"],["label","Finalizado",3,"stepControl","completed"],[3,"_stepper",4,"ngIf"],[3,"continuarEvent","_stepper"],[3,"continuarEvent","volverEvent","_stepper"],[3,"_stepper"]],template:function(n,r){n&1&&(c(0,"div",6),S(1,"div",7),c(2,"nx-multi-stepper",8,0)(4,"nx-step",9,1),L(6,whe,3,1,"ng-container",10),d(),c(7,"nx-step",11),L(8,She,2,1,"app-step-datos-asegurados-vida",12),d(),c(9,"nx-step",13),L(10,Phe,2,1,"app-step-documentacion-vida",14),d(),c(11,"nx-step",15),L(12,Ehe,2,1,"app-step-final-vida",16),d()()()),n&2&&(p(2),g("linear",!0),p(2),g("stepControl",r.validForm)("completed",r.comp.completed1),p(2),g("ngIf",r.loadStepper),p(),g("completed",r.comp.completed2),p(),g("ngIf",r.comp.stepDatosSiniestro),p(),g("stepControl",r.emisionPropuestaControl)("completed",r.comp.completed3),p(),g("ngIf",r.comp.completed2),p(),g("stepControl",r.emisionPropuestaControl)("completed",r.comp.completed4),p(),g("ngIf",r.comp.stepDatosDoc))},dependencies:[me,Et,Oa,aa,et,rv,ov,av,sv],encapsulation:2})};var Dhe=["*"];function Ohe(i,e){if(i&1&&(c(0,"span",4),m(1),d()),i&2){let t=M();p(),Pe(t.error)}}var cv=class i{label="";error=null;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["timepicker-wrapper"]],inputs:{label:"label",error:"error"},ngContentSelectors:Dhe,decls:7,vars:2,consts:[[2,"padding-bottom","24px"],[1,"title"],[1,"time-picker"],["class","error-messge-forms",4,"ngIf"],[1,"error-messge-forms"]],template:function(t,n){t&1&&(rt(),c(0,"div",0)(1,"span",1),m(2),d(),c(3,"div",2)(4,"div"),ke(5,0,["#name",""]),d(),L(6,Ohe,2,1,"span",3),d()()),t&2&&(p(2),Pe(n.label),p(4),g("ngIf",n.error))},dependencies:[me,et,_e],styles:[".title[_ngcontent-%COMP%]{font-size:13px;position:absolute;top:-2px}.time-picker[_ngcontent-%COMP%]{height:32px!important;margin-top:16px!important}"]})};var c7t=Aa(mm());var The=["list"],Ihe=["toggleButton"],khe=["overlayOrigin"],Nhe=["inputMinutes"],Ahe=["inputHours"],Vhe=[[["nx-error"]]],Fhe=["nx-error"],Rhe=i=>({"has-outline":i}),zhe=i=>({"nx-timepicker-toggle--disabled":i}),Lhe=(i,e)=>({"has-outline":i,"twelve-hour-format":e}),Hhe=(i,e)=>e.value;function Bhe(i,e){if(i&1){let t=Y();c(0,"button",18,3),I("click",function(){O(t);let r=M();return T(!r.disabled&&r.toggleButtonClick())})("focus",function(){O(t);let r=M();return T(r._onFocus())})("keydown",function(r){O(t);let o=M();return T(o.handleKeyDown(r))}),S(2,"nx-icon",19),d()}if(i&2){let t=M();g("ngClass",Lt(6,zhe,t.disabled))("disabled",t.disabled),ye("aria-label",t.intl.buttonOpenTimepickerAriaLabel)("aria-expanded",t.isOpen.toString())("aria-controls",t.isOpen?t.idOptionList:null)("aria-activedescendant",t._keyManager==null||t._keyManager.activeItem==null?null:t._keyManager.activeItem.id)}}function jhe(i,e){if(i&1&&(c(0,"span",14),m(1),d()),i&2){let t=M();p(),K(" ",t.hint," ")}}function qhe(i,e){if(i&1){let t=Y();c(0,"nx-radio-toggle",20),jr("ngModelChange",function(r){O(t);let o=M();return ro(o._toggleAMPM,r)||(o._toggleAMPM=r),T(r)}),I("ngModelChange",function(){O(t);let r=M();return T(r._updateTime())})("click",function(){O(t);let r=M();return T(r._updateTime())}),c(1,"nx-radio-toggle-button",21),m(2),d(),c(3,"nx-radio-toggle-button",22),m(4),d()()}if(i&2){let t=M();g("name",t.idRadioGroup),Br("ngModel",t._toggleAMPM),g("disabled",t.disabled)("variant",t.negative?"small negative":"small"),p(2),Pe(t.labelAM),p(2),Pe(t.labelPM)}}function Uhe(i,e){i&1&&(c(0,"div",16),ke(1),d())}function Ghe(i,e){if(i&1){let t=Y();c(0,"li",26),I("mousedown",function(r){O(t);let o=M(2);return T(o.preventFocus(r))})("click",function(){let r=O(t).$implicit,o=M(2);return T(o.selectOption(r.value))}),c(1,"div",27),m(2),d()()}if(i&2){let t=e.$implicit;g("nxTimefieldOption",t.value),p(2),Pe(t.label)}}function $he(i,e){if(i&1){let t=Y();c(0,"section",23)(1,"ul",24,4),I("keydown",function(r){O(t);let o=M();return T(o.handleKeyDown(r))}),Ot(3,Ghe,3,2,"li",25,Hhe),d()()}if(i&2){let t=M();g("ngClass",qr(3,Lhe,t.appearance==="outline",t.twelveHourFormat)),p(),g("id",t.idOptionList),ye("aria-activedescendant",t._keyManager==null||t._keyManager.activeItem==null?null:t._keyManager.activeItem.id),p(2),Tt(t.timeList)}}var lz=(()=>{let e=class e{constructor(){this.changes=new he,this.inputFieldHoursAriaLabel="hours",this.inputFieldMinutesAriaLabel="minutes",this.buttonOpenTimepickerAriaLabel="Open time picker"}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=W({token:e,factory:e.\u0275fac,providedIn:"root"});let i=e;return i})(),Whe=0,cz=(()=>{let e=class e{get id(){return this._id||this._generatedId}set id(n){this._id=n}constructor(n){this._cdr=n,this._active=!1,this.value="",this.selected=!1,this._id="",this._generatedId=`nx-timefield-option-${Whe++}`,this.element=C(We).nativeElement}setActiveStyles(){this._active=!0,this._cdr.markForCheck()}setInactiveStyles(){this._active=!1,this._cdr.markForCheck()}getLabel(){return this.element.textContent?.trim()??""}};e.\u0275fac=function(r){return new(r||e)(D(Ye))},e.\u0275dir=Ie({type:e,selectors:[["","nxTimefieldOption",""]],hostAttrs:["role","option",1,"nx-timefield-option"],hostVars:4,hostBindings:function(r,o){r&2&&(gi("id",o.id
824),ye("aria-selected",o.selected),Fe("is-active",o._active))},inputs:{value:[0,"nxTimefieldOption","value"],selected:"selected",id:"id"},exportAs:["nxTimefieldOption"]});let i=e;return i})();function Yhe(i,e,t,n=!1){let r=/^\d{2}:\d{2}$/;if(!r.test(i)||!r.test(e))throw new Error("Invalid ISO time format. Use HH:mm format.");let o=new Date(`2000-01-01T${i}`),a=new Date(`2000-01-01T${e}`);if(o>=a)throw new Error("startTime must be less than endTime.");let s=[];for(;o<a;){let l=o.getHours(),u=o.getMinutes().toString().padStart(2,"0"),h=`${l.toString().padStart(2,"0")}:${u}`,_=h;if(n){let y=l>=12?"PM":"AM";l=l%12||12,_=`${l}:${u} ${y}`}s.push({value:h,label:_}),o.setMinutes(o.getMinutes()+t)}return s}function Qhe(i,e){if(!i?.length)return"";let t=new Date(`2000-01-01T${e}`),r=i.map(a=>new Date(`2000-01-01T${a}`)).reduce((a,s)=>{let l=Math.abs(t.getTime()-a?.getTime());return Math.abs(t.getTime()-s?.getTime())<l?s:a});return`${r.getHours().toString().padStart(2,"0")}:${r.getMinutes().toString().padStart(2,"0")}`}var dv=0,Khe="24:00",Xhe="00:00",Zhe=30;function Jhe(){return{withTimepicker:!1}}var e4e=new Ee("FORMFIELD_DEFAULT_OPTIONS",{providedIn:"root",factory:Jhe});var t4e=(()=>{let e=class e{constructor(){this.timefield=C(uv),this.ngControl=C(ci,{optional:!0,self:!0}),this.value=null,this.stateChanges=new he,this.id="",this.focused=!1,this.required=!1,this.disabled=!1,this.readonly=!1,this.shouldLabelFloat=!0,this.errorState=!1,this.placeholder="",this.controlType="nx-timefield",this.updateOn="change"}get empty(){return!!this.value}setDescribedByIds(n){}setAriaLabel(n){}get elementRef(){return this.timefield.elementRef}};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=z({type:e,selectors:[["nx-timefield-control"]],inputs:{value:"value",focused:"focused",required:"required",disabled:"disabled",readonly:"readonly",errorState:"errorState",placeholder:"placeholder",updateOn:"updateOn"},features:[Mt([{provide:Yc,useExisting:e}])],decls:0,vars:0,template:function(r,o){},encapsulation:2,changeDetection:0});let i=e;return i})(),uv=(()=>{let e=class e{set withTimepicker(n){this.focusMonitor.stopMonitoring(this.toggleButton?.nativeElement),this._withTimepicker=n,setTimeout(()=>this.toggleButton&&this.focusMonitor.monitor(this.toggleButton.nativeElement))}get withTimepicker(){return this._withTimepicker}handleKeyDown(n){if(this.withTimepicker&&!(!this.isOpen&&n.target instanceof HTMLButtonElement&&(n.key==="Enter"||n.key===" ")))if(this.isOpen)switch(n.key){case"Enter":case" ":n.preventDefault(),this.selectOption(this._keyManager?.activeItem?.value);break;default:this._keyManager?.onKeydown(n);break}else!this.isOpen&&n.key!=="Enter"&&n.key!=="Tab"&&n.key!=="Shift"&&this.toggleOverlay()}get idMinutes(){return this._idMinutes}get idHours(){return this._idHours}get idRadioGroup(){return this._idRadioGroup}get idOptionList(){return this._idOptionList}get maxHours(){return this._maxHours}get minHours(){return this._minHours}get maxMinutes(){return this._maxMinutes}get minMinutes(){return this._minMinutes}set time(n){this._time=n,this._onChangeCallback(n),this._cdr.markForCheck()}get time(){return this._time}set twelveHourFormat(n){this._twelveHourFormat=Ue(n),this._twelveHourFormat?(this._maxHours=12,this._minHours=1,this._toggleAMPM="AM"):(this._maxHours=23,this._minHours=0,this._toggleAMPM=null),this._cdr.markForCheck()}get twelveHourFormat(){return this._twelveHourFormat}set label(n){this._label!==n&&(this._label=n,this._cdr.markForCheck())}get label(){return this._label}set labelAM(n){this._labelAM!==n&&(this._labelAM=n,this._cdr.markForCheck())}get labelAM(){return this._labelAM}set labelPM(n){this._labelPM!==n&&(this._labelPM=n,this._cdr.markForCheck())}get labelPM(){return this._labelPM}set placeholderHours(n){this._placeholderHours!==n&&(this._placeholderHours=n,this._cdr.markForCheck())}get placeholderHours(){return this._placeholderHours}set placeholderMinutes(n){this._placeholderMinutes!==n&&(this._placeholderMinutes=n,this._cdr.markForCheck())}get placeholderMinutes(){return this._placeholderMinutes}set required(n){this._required=Ue(n)}get required(){return this._required}set negative(n){let r=Ue(n);this._negative!==r&&(this._negative=r,this._cdr.markForCheck())}get negative(){return this._negative}set disabled(n){let r=Ue(n);this._disabled!==r&&(this._disabled=r,this._cdr.markForCheck())}get disabled(){return this._disabled}set hours(n){this._hours=n,this._cdr.markForCheck()}get hours(){return this._hours}set minutes(n){this._minutes=n,this._cdr.markForCheck()}get minutes(){return this._minutes}get elementRef(){return this._elementRef}constructor(n,r,o,a,s,l,u,h,_){this._cdr=n,this._errorStateMatcher=r,this._parentForm=o,this._parentFormGroup=a,this._intl=s,this._elementRef=l,this.injector=u,this._formfieldDefaultOptions=h,this._timefieldDefaultOptions=_,this.errorState=nn(!1),this.isOpen=!1,this.intl=C(lz),this.focusMonitor=C(Kt),this.ngControl=null,this.appearance=this._formfieldDefaultOptions?.appearance??"auto",this.hint="",this.optionalLabel="",this.inputMode="decimal",this._withTimepicker=!1,this.enableTimeValidation=!1,this.valueChange=new X,this.destroyRef=C(hr),this.timeList=[],this._idMinutes=`nx-timefield__minutes-${dv++}`,this._idHours=`nx-timefield__hours-${dv++}
824`,this._idRadioGroup=`nx-timefield__radio-group-${dv++}`,this._idOptionList=`nx-timefield__list-${dv++}`,this._maxHours=23,this._minHours=0,this._maxMinutes=59,this._minMinutes=0,this._twelveHourFormat=!1,this._labelAM="AM",this._labelPM="PM",this._placeholderHours="hh",this._placeholderMinutes="mm",this._negative=!1,this.pickerStartTime=Xhe,this.pickerEndTime=Khe,this.pickerTimeInterval=Zhe,this._disabled=!1,this.hasFocus=!1,this._overlayWidth="",this._onTouchedCallback=()=>{},this._onChangeCallback=()=>{},_&&(this.withTimepicker=this._timefieldDefaultOptions?.withTimepicker??!1)}validate(n){if(!this.enableTimeValidation)return null;if(this.enableTimeValidation){let r=Number(this.hours),o=Number(this.minutes);if(!r&&!o)return null;if(!this._isValidTime(r,"hours")||!this._isValidTime(o,"minutes"))return{timefieldValueError:!0}}return n.value===null?{timefieldValueError:!0}:null}ngAfterViewInit(){this._keyManager=new Hd(this.timepickerOptions).withWrap(),this._keyManager.change.pipe(S2(this.destroyRef)).subscribe(()=>{this._keyManager?.activeItem&&this.scrollOptionIntoView(this._keyManager?.activeItem)})}ngDoCheck(){this.ngControl&&this.updateErrorState()}ngOnInit(){this._createTimelist(),this.ngControl=this.injector.get(ci,null)}_createTimelist(){this.timeList=Yhe(this.pickerStartTime,this.pickerEndTime,this.pickerTimeInterval,this.twelveHourFormat)}ngOnChanges(n){(n.time||n.pickerStartTime||n.pickerEndTime||n.pickerTimeInterval||n.twelveHourFormat)&&(this._createTimelist(),setTimeout(()=>this.scrollSelectedItemIntoView()))}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.toggleButton?.nativeElement)}updateErrorState(){let n=this.errorState(),r=this._parentFormGroup||this._parentForm,o=this.ngControl?this.ngControl.control:null,a=this._errorStateMatcher.isErrorState(o,r);a!==n&&this.errorState.set(a)}toggleOverlay(){this.isOpen?this.closeOverlay():this.openOverlay()}openOverlay(){this.disabled||(this._overlayWidth=this.overlayOrigin.elementRef.nativeElement.getBoundingClientRect().width,this.isOpen=!0,setTimeout(()=>this.scrollSelectedItemIntoView()))}closeOverlay(){this.isOpen=!1,this._onTouchedCallback()}toggleButtonClick(){this.toggleOverlay()}_convertToISOFormat(n,r){return`${n}:${r}`}_updateTime(){if(this._time=null,this._isValidInput(this.hours)&&this._isValidInput(this.minutes)){let n=Number(this.hours),r=Number(this.minutes);this._isValidTime(n,"hours")&&this._isValidTime(r,"minutes")&&(this._time=this._timeInTwentyFourHourFormat(n,r))}this._onChangeCallback(this._time)}_onFocus(){this.hasFocus=!0}_getAriaLabel(n){let r;switch(n){case"hours":r=this._intl.inputFieldHoursAriaLabel;break;case"minutes":r=this._intl.inputFieldMinutesAriaLabel;break}return r}_onInput(n,r){let o=n.target;r==="hours"?(this.hours=o.value,o.value.length===2&&o.selectionStart===2&&this.inputMinutes.nativeElement.focus(),o.value.length===2&&o.selectionStart===1&&(o.selectionEnd=2)):r==="minutes"&&(this.minutes=o.value),this._updateTime();let a=this.findClosestOption(this.time);a&&this._keyManager?.setActiveItem(a)}_onBlur(n){!this.elementRef.nativeElement.contains(n.relatedTarget)&&!this.overlay?.overlayRef?.overlayElement?.contains(n.relatedTarget)&&(this._onTouchedCallback(),this.hasFocus=!1,this.closeOverlay())}_onInputBlur(n){n==="hours"&&Number(this.hours)<10&&this.hours!==""?this.hours=M2(String(this.hours)):n==="minutes"&&Number(this.minutes)<10&&this.minutes!==""&&(this.minutes=M2(String(this.minutes)))}_timeInTwentyFourHourFormat(n,r){return this.twelveHourFormat&&(this._toggleAMPM==="AM"?n===12&&(n-=12):this._toggleAMPM==="PM"&&n>=1&&n<12&&(n+=12)),this._convertToISOFormat(M2(String(n)),M2(String(r)))}_isValidInput(n){return/^\d{1,2}$/.test(n)}_isValidTime(n,r){let o=!1,a=Number(n);return r==="minutes"?o=a>=this._minMinutes&&a<=this._maxMinutes:r==="hours"&&(o=a>=this._minHours&&a<=this._maxHours),o}_parseAndSetTime(n){let r=n.split(":");if(r&&r.length===2&&this._isValidInput(r[0])&&this._isValidInput(r[1])){let o=Number(r[0]),a=Number(r[1]);if(this.twelveHourFormat&&(o===0?(o+=12,this._toggleAMPM="AM"):o>12&&o<=23?(o-=12,this._toggleAMPM="PM"):o===12&&(this._toggleAMPM="PM")),this._isValidTime(o,"hours")&&this._isValidTime(a,"minutes"))return this.hours=M2(String(o)),this.minutes=M2(String(a)),this._timeInTwentyFourHourFormat(o,a)}return null}selectOption(n){if(!n)return;let[r]=n.split(":");this._toggleAMPM=Number(r)>=12?"PM":"AM",this.writeValue(n),this.closeOverlay()}preventFocus(n){n.preventDefault()}scrollSelectedItemIntoView(){let n=this.findClosestOption(this.time);n&&(this._keyManager?.setActiveItem(n),this.scrollOptionIntoView(n))}findClosestOption(n){let r=Qhe(this.timeList.map(a=>a.value),n||"00:00");return this.timepickerOptions?.find(a=>a.value===r)}scrollOptionIntoView(n){n.element.scrollIntoView({block:"center"})}writeValue(n){this._hours="",this._minutes="",this._time=null,n&&(this.time=this._parseAndSetTime(n)),this.valueChange.emit(this.time)}registerOnChange(n){this._onChangeCallback=n}registerOnTouched(n){this._onTouchedCallback=n}setDisabledState(n){this.disabled=n}getLabelledBy(){return this.formfield?this.formfield.labelId:null}};e.\u0275fac=function(r){return new(r||e)(D(Ye),D(ur),D(tr,8),D(st,8),D(lz),D(We),D(Nt),D(xM,8),D(e4e,8))},e.\u0275cmp=z({type:e,selectors:[["nx-timefield"]],contentQueries:function(r,o,a){if(r&1&&Ft(a,jt,5),r&2){let s;
824te(s=ne())&&(o.error=s.first)}},viewQuery:function(r,o){if(r&1&&(pe(St,5),pe(The,5),pe(Ihe,5),pe(khe,5),pe(Nhe,5),pe(Ahe,5),pe(Tl,5),pe(cz,5)),r&2){let a;te(a=ne())&&(o.formfield=a.first),te(a=ne())&&(o.timePickerList=a.first),te(a=ne())&&(o.toggleButton=a.first),te(a=ne())&&(o.overlayOrigin=a.first),te(a=ne())&&(o.inputMinutes=a.first),te(a=ne())&&(o.inputHours=a.first),te(a=ne())&&(o.overlay=a.first),te(a=ne())&&(o.timepickerOptions=a)}},hostVars:8,hostBindings:function(r,o){r&1&&I("focusout",function(s){return o._onBlur(s)}),r&2&&Fe("has-error",o.errorState())("is-negative",o.negative)("is-disabled",o.disabled)("has-timepicker",o.withTimepicker)},inputs:{appearance:"appearance",hint:"hint",optionalLabel:"optionalLabel",inputMode:"inputMode",withTimepicker:[2,"withTimepicker","withTimepicker",$t],enableTimeValidation:[2,"enableTimeValidation","enableTimeValidation",$t],twelveHourFormat:"twelveHourFormat",label:"label",labelAM:"labelAM",labelPM:"labelPM",placeholderHours:"placeholderHours",placeholderMinutes:"placeholderMinutes",required:"required",negative:"negative",pickerStartTime:"pickerStartTime",pickerEndTime:"pickerEndTime",pickerTimeInterval:[2,"pickerTimeInterval","pickerTimeInterval",Mc],disabled:"disabled"},outputs:{valueChange:"valueChange"},features:[Mt([{provide:Fi,useExisting:Wt(()=>e),multi:!0},{provide:Bi,useExisting:Wt(()=>e),multi:!0}]),on],ngContentSelectors:Fhe,decls:17,vars:46,consts:[["overlayOrigin","cdkOverlayOrigin"],["inputHours",""],["inputMinutes",""],["toggleButton",""],["list",""],[1,"nx-timefield__wrapper",3,"ngClass"],["cdkOverlayOrigin","","floatLabel","always",3,"label","optionalLabel","appearance","negative"],["role","group",1,"time-group"],[1,"time-input"],["type","text","maxlength","2","autocomplete","off","role","combobox","aria-autocomplete","list",1,"nx-timefield-input__field__hours",3,"input","keydown","focus","blur","id","value","required","disabled","placeholder"],["aria-hidden","true",1,"nx-timefield-hours-separator"],["type","text","maxlength","2","autocomplete","off","role","combobox","aria-autocomplete","list",1,"nx-timefield-input__field__minutes",3,"input","focus","blur","keydown","id","value","required","disabled","placeholder"],["nxFormfieldSuffix","","type","button",1,"nx-timepicker-toggle-button",3,"ngClass","disabled"],[2,"display","none",3,"errorState","disabled","required","value","focused"],["nxFormfieldHint",""],["disableMobile","",3,"name","ngModel","disabled","variant"],[1,"nx-margin-top-xs"],["cdkConnectedOverlay","",3,"backdropClick","detach","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayMinWidth","cdkConnectedOverlayBackdropClass"],["nxFormfieldSuffix","","type","button",1,"nx-timepicker-toggle-button",3,"click","focus","keydown","ngClass","disabled"],["name","clock-o","aria-hidden","true","size","s"],["disableMobile","",3,"ngModelChange","click","name","ngModel","disabled","variant"],["disableMobile","","value","AM"],["disableMobile","","value","PM"],["role","dialog","aria-modal","true",3,"ngClass"],["role","listbox","tabindex","0",1,"option-list",3,"keydown","id"],[3,"nxTimefieldOption"],[3,"mousedown","click","nxTimefieldOption"],[1,"option-label"]],template:function(r,o){if(r&1){let a=Y();rt(Vhe),c(0,"div",5)(1,"nx-formfield",6,0)(3,"div",7)(4,"div",8)(5,"input",9,1),I("input",function(l){return O(a),T(o._onInput(l,"hours"))})("keydown",function(l){return O(a),T(o.handleKeyDown(l))})("focus",function(){return O(a),T(o._onFocus())})("blur",function(){return O(a),T(o._onInputBlur("hours"))}),d(),c(7,"span",10),m(8,":"),d(),c(9,"input",11,2),I("input",function(l){return O(a),T(o._onInput(l,"minutes"))})("focus",function(){return O(a),T(o._onFocus())})("blur",function(){return O(a),T(o._onInputBlur("minutes"))})("keydown",function(l){return O(a),T(o.handleKeyDown(l))}),d()(),re(11,Bhe,3,8,"button",12),S(12,"nx-timefield-control",13),d(),re(13,jhe,2,1,"span",14),d(),re(14,qhe,5,6,"nx-radio-toggle",15),d(),re(15,Uhe,2,0,"div",16),L(16,$he,5,6,"ng-template",17),I("backdropClick",function(){return O(a),T(o.closeOverlay())})("detach",function(){return O(a),T(o.closeOverlay())})}if(r&2){let a=Ct(2);g("ngClass",Lt(44,Rhe,o.appearance==="outline")),p(),g("label",o.label)("optionalLabel",o.optionalLabel)("appearance",o.appearance)("negative",o.negative?"negative":""),p(2),ye("aria-labelledby",o.getLabelledBy()),p(2),g("id",o.idHours)("value",o.hours||null)("required",o.required)("disabled",o.disabled)("placeholder",o.placeholderHours),ye("aria-required",o.required)("aria-label",o._getAriaLabel("hours"))("aria-expanded",o.isOpen.toString())("aria-controls",o.isOpen?o.idOptionList:null)("aria-activedescendant",o._keyManager==null||o._keyManager.activeItem==null?null:o._keyManager.activeItem.id)("aria-describedby",o.error==null?null:o.error.id)("inputmode",o.inputMode),p(4),g("id",o.idMinutes)("value",o.minutes||null)("required",o.required)("disabled",o.disabled)("placeholder",o.placeholderMinutes),ye("aria-required",o.required)("aria-label",o._getAriaLabel("minutes"))("aria-expanded",o.isOpen.toString())("aria-controls",o.isOpen?o.idOptionList:null)("aria-activedescendant",o._keyManager==null||o._keyManager.activeItem==null?null:o._keyManager.activeItem.id)("aria-describedby",o.error==null?null:o.error.id)("inputmode",o.inputMode),p(2),oe(o.withTimepicker?
82411:-1),p(),g("errorState",o.errorState())("disabled",o.disabled)("required",o.required)("value",o.time)("focused",o.hasFocus),p(),oe(o.hint?13:-1),p(),oe(o.twelveHourFormat?14:-1),p(),oe(o.errorState()?15:-1),p(),g("cdkConnectedOverlayOpen",o.isOpen)("cdkConnectedOverlayHasBackdrop",!0)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayMinWidth",o._overlayWidth)("cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop")}},dependencies:[Un,$0,$o,wt,C0,t4e,cz,Qr,St,Yr,ui,xt,nt,W0,Ta,Ia,Dr,Tl,jc],styles:["[_nghost-%COMP%]{display:inline-block;width:100%}.nx-timefield__wrapper[_ngcontent-%COMP%]{display:flex}.nx-timefield__wrapper[_ngcontent-%COMP%]:focus{outline:none}.nx-timefield-input__field__hours[_ngcontent-%COMP%], .nx-timefield-input__field__minutes[_ngcontent-%COMP%], .nx-timefield-hours-separator[_ngcontent-%COMP%]{text-align:inherit;font-size:inherit;font-weight:inherit;color:inherit;text-align:left;border:0;outline:0;border-radius:0;padding:0;margin:0;background:transparent;box-sizing:border-box}.nx-timefield-input__field__hours[_ngcontent-%COMP%], .nx-timefield-input__field__minutes[_ngcontent-%COMP%]{width:2ch;padding:0;margin:0}.nx-timefield-input__field__minutes[_ngcontent-%COMP%]{width:100%}
824.nx-timefield-hours-separator[_ngcontent-%COMP%]{margin:0 4px}nx-timepicker[_ngcontent-%COMP%]{display:block;height:24px;align-self:center}nx-radio-toggle[_ngcontent-%COMP%]{margin-left:24px;height:max-content;margin-top:var(--formfield-label-height)}[_nghost-%COMP%]     .nx-formfield{width:100%}[_nghost-%COMP%]     .nx-formfield__wrapper{padding-bottom:2px}[_nghost-%COMP%]     .nx-formfield__input-container:focus-within{border-color:var(--timefield-active-color)}.has-outline[_ngcontent-%COMP%]   nx-radio-toggle[_ngcontent-%COMP%]{padding-top:4px;margin-bottom:4px;margin-left:16px;margin-top:var(--formfield-outline-label-height)}.has-outline[_ngcontent-%COMP%]     .nx-timefield-input__field__hours, .has-outline[_ngcontent-%COMP%]     .nx-timefield-input__field__minutes{margin:0;font-weight:400;line-height:1.5rem;padding:0}.has-outline[_ngcontent-%COMP%]     .nx-timefield-input__field__hours{width:18px}.has-outline[_ngcontent-%COMP%]     .nx-timefield-input__field__minutes{max-width:58px}.has-outline[_ngcontent-%COMP%]     .nx-timefield-hours-separator{margin:0 2px;align-self:center}.has-outline[_ngcontent-%COMP%]     .nx-formfield__input{padding:2px 8px}[_nghost-%COMP%]:focus{outline:none}.is-negative[_nghost-%COMP%]   .nx-timefield__label[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]   .nx-timefield-input__field__hours[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]   .nx-timefield-input__field__minutes[_ngcontent-%COMP%], .is-negative[_nghost-%COMP%]   .nx-timefield-hours-separator[_ng
824content-%COMP%], .is-negative[_nghost-%COMP%]   .nx-timefield-input__container[_ngcontent-%COMP%]{color:var(--negative)}.is-negative[_nghost-%COMP%]     .nx-formfield__input-container:focus-within{border-color:var(--negative)!important}.is-disabled.is-negative[_nghost-%COMP%]{cursor:not-allowed}.is-disabled.is-negative[_nghost-%COMP%]   .nx-timefield__label[_ngcontent-%COMP%], .is-disabled.is-negative[_nghost-%COMP%]   .nx-timefield-input__field__hours[_ngcontent-%COMP%], .is-disabled.is-negative[_nghost-%COMP%]   .nx-timefield-input__field__minutes[_ngcontent-%COMP%], .is-disabled.is-negative[_nghost-%COMP%]   .nx-timefield-hours-separator[_ngcontent-%COMP%], .is-disabled.is-negative[_nghost-%COMP%]   .nx-timefield-input__container[_ngcontent-%COMP%]{cursor:not-allowed;color:var(--timefield-disabled-color)}.is-disabled.is-negative[_nghost-%COMP%]   .nx-timefield-input__container[_ngcontent-%COMP%]{box-shadow:inset 0 -1px 0 0 var(--timefield-disabled-color)}.is-negative[_nghost-%COMP%]   .nx-timepicker-toggle-button[_ngcontent-%COMP%]{color:var(--negative)}.is-negative[_nghost-%COMP%]   (.has-outline)[_ngcontent-%COMP%]   .nx-timepicker-toggle-button[_ngcontent-%COMP%]{color:inherit}.time-group[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.time-input[_ngcontent-%COMP%]{display:flex;width:100%}.nx-timepicker-toggle-button[_ngcontent-%COMP%]{border:none;background-color:transparent;color:inherit;outline:none;cursor:pointer;padding:0;margin:0;display:flex;align-items:center}.nx-timepicker-toggle-button[_ngcontent-%COMP%]:hover{color:var(--hover-primary)}.nx-timepicker-toggle-button.nx-timepicker-toggle--disabled[_ngcontent-%COMP%], .nx-timepicker-toggle-button.nx-timepicker-toggle--disabled[_ngcontent-%COMP%]:hover{cursor:not-allowed;color:var(--timefield-disabled-color)}.nx-timepicker-toggle-button[_ngcontent-%COMP%]::-moz-focus-inner{border:0}.nx-timepicker-toggle-button[_ngcontent-%COMP%]:active{outline:none}@media screen and (forced-colors: active){.nx-timepicker-toggle-button[_ngcontent-%COMP%]{color:ButtonText}}.nx-timepicker-toggle-button.cdk-keyboard-focused[_ngcontent-%COMP%]{border-radius:4px;box-shadow:var(--focus-box-shadow)}@media screen and (forced-colors: active),(forced-colors: active){.nx-timepicker-toggle-button.cdk-keyboard-focused[_ngcontent-%COMP%]{box-shadow:0 0 0 2px background,0 0 0 6px CanvasText;outline:4px solid CanvasText;outline-offset:2px}}section[_ngcontent-%COMP%]{width:100%}.option-list[_ngcontent-%COMP%]{outline:none;height:252px;background:var(--timepicker-layout-background-color);text-align:left;padding:8px 0;margin:6px 0;overflow-y:scroll;color:var(--timepicker-label-color);font-weight:400;box-shadow:0 2px 4px #41414180;border-radius:4px;width:100%}.option-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style-type:none;width:100%;align-content:center;font-size:20px;line-height:1.75rem;outline:none;padding:8px 32px}.option-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{color:var(--timepicker-label-hover-color);cursor:pointer}.option-list[_ngcontent-%COMP%] > li.is-active[_ngcontent-%COMP%]   .option-label[_ngcontent-%COMP%]{color:var(--timefield-active-color);border-radius:4px;box-shadow:var(--focus-box-shadow)}.has-outline[_ngcontent-%COMP%]   .option-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{font-size:16px;line-height:1.5rem}.twelve-hour-format[_ngcontent-%COMP%]   .option-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{text-align:end}.option-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:last-child{border-bottom:none}"],changeDetection:0});let i=e;return i})(),dz=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=je({type:e}),e.\u0275inj=Be({imports:[_e,$o,$0,xt,dr,Dr,W0,Da,Qr,Gd,Sa,uv]});let i=e;return i})();var i4e=()=>({str:"SI",val:!0}),r4e=()=>({str:"NO",val:!1}),uz=(i,e)=>[i,e],o4e=()=>({str:"SI",val:!1}),a4e=()=>({str:"NO",val:!0});function s4e(i,e){i&1&&(c(0,"nx-error",33)(1,"strong"),m(2,"Importante"),d(),m(3," Este campo es obligatorio "),d())}function l4e(i,e){i&1&&(c(0,"nx-error",33)(1,"strong"),m(2,"Importante"),d(),m(3," La fecha y hora del siniestro 
824no pueden ser futuras. "),d())}function c4e(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",45),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K("",t.str," ")}}function d4e(i,e){if(i&1&&(c(0,"small",46),m(1),d()),i&2){let t=M();p(),K(" ",t.getErrorMessageControl(t.getControl("tareasBool"))," ")}}function u4e(i,e){if(i&1&&(c(0,"nx-radio-toggle-button",45),m(1),d()),i&2){let t=e.$implicit;g("value",t.val),p(),K("",t.str," ")}}function p4e(i,e){if(i&1&&(c(0,"small",46),m(1),d()),i&2){let t=M();p(),K(" ",t.getErrorMessageControl(t.getControl("lugarDeTrabajoBool"))," ")}}function f4e(i,e){if(i&1&&(c(0,"nx-dropdown-item",64),m(1),d()),i&2){let t=e.$implicit;g("value",t),p(),K(" ",t.deValor," ")}}function m4e(i,e){if(i&1&&(c(0,"small",46),m(1),d()),i&2){let t=M(2);p(),K(" ",t.getErrorMessage("cargaExt")," ")}}function h4e(i,e){if(i&1&&(Ze(0,47),c(1,"div",48)(2,"h4",16),m(3," Domicilio del establecimiento "),d()(),c(4,"div",6)(5,"div",17),S(6,"app-localidad-detalle",49),d()(),c(7,"div",6)(8,"div",19)(9,"nx-formfield",20),S(10,"input",21),d()(),c(11,"div",22)(12,"nx-formfield",23),S(13,"input",50),d()(),c(14,"div",25)(15,"nx-formfield",26),S(16,"input",27),d()(),c(17,"div",22)(18,"nx-formfield",28),S(19,"input",29),d()()(),c(20,"div",6)(21,"div",51)(22,"span",52),m(23,"Hora de jornada laboral:"),d()(),c(24,"div",53)(25,"timepicker-wrapper",54),S(26,"nx-timefield",55,1),d()(),c(28,"div",53)(29,"timepicker-wrapper",54),S(30,"nx-timefield",56,1),d()()(),c(32,"div",57)(33,"div",58)(34,"nx-formfield",59)(35,"nx-dropdown",60),L(36,f4e,2,2,"nx-dropdown-item",61),d()()()(),c(37,"div",6)(38,"div",30)(39,"nx-formfield",62),S(40,"textarea",63),c(41,"span",10),L(42,m4e,2,1,"small",39),d()()()(),Xe()),i&2){let t=M();p(6),g("padding",!1)("showZonaRiesgo",!1)("formSubmited",t.formSubmited),p(19),g("label","Inicio:")("error",t.getErrorMessageControl(t.getControl("inicioJornada","lugarTrabajoForm"))),p(4),g("label","Finalizaci\xF3n:")("error",t.getErrorMessageControl(t.getControl("finJornada","lugarTrabajoForm"))),p(6),g("showFilter",!0),p(),g("ngForOf",t.tiposMomentoAccidente),p(6),g("ngIf",t.getControl("cargaExt").errors&&t.formSubmited)}}function g4e(i,e){if(i&1&&(c(0,"small",46),m(1),d()),i&2){let t=M(2);p(),K(" ",t.getErrorMessage("cargaExt")," ")}}function _4e(i,e){if(i&1&&(c(0,"div",6)(1,"div",30)(2,"nx-formfield",65),S(3,"textarea",66),c(4,"span",10),L(5,g4e,2,1,"small",39),d()()()()),i&2){let t=M();p(5),g("ngIf",t.getControl("cargaExt").errors&&t.formSubmited)}}var pv=class i extends zn{constructor(t,n){super();this.nxDateLocale=t;this.nxDateAdapter=n;this.isCargaExtemporanea=!1,Mp()}_Services=C(fn);_formBuilder=C(bt);_router=C(ot);emitters=C(Jt);_stepper;continuarEvent=new X;filters;page=1;perPage=10;fechaSiniestro=new Date;beneficiariosTotal;beneficiarios=[];formLoading=!1;formSubmited=!1;lugarDeTrabajoBool=!1;tiposSiniestros=[];totalPol=null;causasSiniestros=[];loadingData=!1;controls;isCargaExtemporanea;tiposMomentoAccidente=[];canDeactivate(){return this.getForm().dirty}ngOnInit(){Te.siniestro.fechaSiniestro||this._router.navigate(["/priv/denuncia-siniestro"]),this.obtenerBeneficiarios(),this.getTipoMomentoAccidente(),this.setForm(this._formBuilder.group({fechaSiniestro:[{value:new Date,disabled:!0},[ee.required]],horaSiniestro:[null,[ee.required]],tipoSiniestro:[null,[ee.required]],tomador:[" "],detalleSiniestro:[null,[ee.required,ee.maxLength(1e3)]],tareasHabituales:[null,[ee.required,ee.maxLength(1e3)]],tareasBool:[null,[ee.required]],lugarDeTrabajoBool:[null,[ee.required]],ubicacionSiniestro:[null,[ee.required]],cargaExt:[null],calle:[null,[ee.required,ee.maxLength(50)]],altura:[null,[ee.required,ee.maxLength(5)]],piso:["",[ee.maxLength(5)]],depto:["",[ee.maxLength(5)]]},{validators:this.validateTime("horaSiniestro")})),this.nxDateAdapter.setLocale("es"),this.getControl("fechaSiniestro").disable()}ngAfterViewInit(){this.obtenerTipoSiniestro().then(()=>{this.controls=!0}),this.getControl("tipoSiniestro").valueChanges.subscribe(t=>{let n=t&&t.tipo?t.tipo.idTipoSiniestro:null;if(t&&t.causa){let r=t&&t.causa?t.causa.idCausaSiniestro:null;this.obtenerCargaExtemporanea(n,r)}}),this.handleLugarTrabajo()}ngAfterContentInit(){this.getControl("fechaSiniestro").setValue(Te.siniestro.fechaSiniestro),this.getControl("tomador").setValue(Te.certificado)}validateTime(t){return n=>{let r=n.get(t),o=r?.value;return o?this.esHoraInvalida(o)?r?.setErrors({horaIncorrecta:!0}):this.esFechaHoraFutura(o)?r?.setErrors({horaFutura:!0}):r?.setErrors(null):r?.setErrors({required:!0})}}esFechaHoraFutura(t){let n=Te.siniestro.fechaSiniestro;if(!n||!t)return!1;let r=new Date;if(n.toDate&&typeof n.toDate=="function")r=n.toDate();else if(n instanceof Date)r=n;else if(typeof n=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(n)){let[l,u,h]=n.split("-").map(Number);r=new Date(l,u-1,h)}else{let l=new Date(n);isNaN(l.getTime())||(r=l)}let[o,a]=t.split(":").map(Number);r.setHours(o,a,0,0);let s=new Date;return r.getTime()>s.getTime()}esHoraInvalida(t){if(!t||!/^\d{2}:\d{2}$/.test(t))return!0;let[n,r]=t.split(":").map(Number);return n<0||n>23||r<0||r>59}get lugarTrabajoFG(){return this._formBuilder.group({localidad:[null,[ee.required]],c
824alle:[null,[ee.required,ee.maxLength(50)]],nroCalle:[null,[ee.required,ee.maxLength(5)]],piso:[null,[ee.maxLength(5)]],depto:[null,[ee.maxLength(5)]],inicioJornada:[null,[ee.required]],finJornada:[null,[ee.required]],momentoSiniestro:[null,[ee.required]],detalle:[null,[ee.required,ee.maxLength(1e3)]]})}handleLugarTrabajo(){this.getControl("lugarDeTrabajoBool").valueChanges.subscribe(t=>{if(t){let n=this.lugarTrabajoFG;this.getForm().addControl("lugarTrabajoForm",n),this.lugarDeTrabajoBool=t,sz([2,3,4,5])}else this.getForm().removeControl("lugarTrabajoForm"),this.lugarDeTrabajoBool=t})}obtenerBeneficiarios(){let t=Te.vFrentePol.getNpoliza(),n=Te.vFrentePol.getNsuplemento(),r=Te.vFrentePol.getCodRamo();this._Services.getBeneficiarios(r,t,n).then(o=>{this.beneficiarios=o.beneficiarios})}numberOnly(t){let n=t.which?t.which:t.keyCode;return!(n>31&&(n<48||n>57))}volver(){Te.completed1=!1,Te.clearPred(),this._router.navigate(["/priv"])}guardar(){if(this.validarFormulario()){this.formSubmited=!1,this.formSubmitted=!1;let t={calle:this.getControl("calle").value,altura:this.getControl("altura").value,piso:this.getControl("piso").value,depto:this.getControl("depto").value},n=this.getControl("lugarDeTrabajoBool").value,r={calle:n?this.getControl("calle","lugarTrabajoForm").value:"",altura:n?this.getControl("nroCalle","lugarTrabajoForm").value:"",piso:n?this.getControl("piso","lugarTrabajoForm").value:"",depto:n?this.getControl("depto","lugarTrabajoForm").value:""};Te.ubicacionLaboral=n?this.getControl("localidad","lugarTrabajoForm").value:{provincia:{codProvincia:""},localidad:{codLocalidad:""},codigoPostal:""},Te.inicioJornadaLaboral=n?this.getControl("inicioJornada","lugarTrabajoForm").value:"",Te.finJornadaLaboral=n?this.getControl("finJornada","lugarTrabajoForm").value:"",Te.detalleUbicacionlaboral=r,Te.momentoSiniestro=n?this.getControl("momentoSiniestro","lugarTrabajoForm").value:"",Te.indTareasSiniestro=this.getControl("tareasBool").value?"S":"N",Te.indLugarTrabajo=this.getControl("lugarDeTrabajoBool").value?"N":"S",Te.siniestro.horaSiniestro=this.getControl("horaSiniestro").value,Te.siniestro.ubicacionSiniestro=this.getControl("ubicacionSiniestro").value,Te.siniestro.detalleUbicacionSiniestro=t,Te.siniestro.tipoSiniestro=this.getControl("tipoSiniestro").value.tipo.idTipoSiniestro,Te.siniestro.deTipoSiniestro=this.getControl("tipoSiniestro").value.tipo.deTipoSiniestro,Te.siniestro.detalleSiniestro=this.getControl("detalleSiniestro").value,Te.siniestro.causaSiniestro=this.getControl("tipoSiniestro").value&&this.getControl("tipoSiniestro").value.causa?this.getControl("tipoSiniestro").value.causa.idCausaSiniestro:null,Te.siniestro.deCausaSiniestro=this.getControl("tipoSiniestro").value&&this.getControl("tipoSiniestro").value.causa?this.getControl("tipoSiniestro").value.causa.deCausaSiniestro:null,Te.siniestro.tomador=this.getControl("tomador").value,Te.siniestro.isExtemporal=this.isCargaExtemporanea?"S":"N",Te.siniestro.detalleExtemporal=this.getControl("cargaExt").value,Te.siniestro.fechaCarga=un(new Date(Date.now())),Te.detalleLaboral=this.getControl("tareasHabituales").value,Te.stepDatosSiniestro=!0,Te.completed1=!0,this._Services.getTipoAsegurado(Te.vFrentePol.getCodRamo(),this.getControl("tipoSiniestro").value.idTipoSiniestro,this.getControl("tipoSiniestro").value.idCausaSiniestro).then(o=>{Te.tipoAsegurado=o,this.continuarEvent.emit()})}else this.getControl("horaSiniestro").errors?this.emitters.emmiterToast(1,"Debe ingresar la hora en la que ocurri\xF3 el siniestro."):this.emitters.emmiterToast(0,"Falta completar datos obligatorios."),this.formSubmited=!0,this.formSubmitted=!0}obtenerCausasSiniestros(t){let n=[],r=Te.vFrentePol.getCodRamo();this._Services.getCausasDeSiniestros(r,t).then(o=>{o.forEach(a=>{n.push(new Gl(a))}),this.causasSiniestros=n}).catch(o=>{})}validarFormulario(){return this.formSubmitted=!0,!!this.getForm().valid}obtenerCargaExtemporanea(t,n){let r=un(new Date(this.getControl("fechaSiniestro").value)),o=Te.vFrentePol.getCodRamo(),a=un(new Date(Date.now()));return new Promise((s,l)=>{this._Services.getCargaExtemporanea(o,t,n,a,r).then(u=>{u=="S"?(this.isCargaExtemporanea=!0,this.getControl("cargaExt").setValidators([ee.required,ee.minLength(1),ee.maxLength(1e3)])):(this.isCargaExtemporanea=!1,this.getControl("cargaExt").setValue(""),this.getControl("cargaExt").clearValidators()),s(null)}
824).catch(u=>{console.error(u)})})}obtenerTipoSiniestro(){let t=0,n=Te.vFrentePol.getCodRamo();return new Promise((r,o)=>{this._Services.getTiposDeSiniestros(n).then(a=>{a.forEach(s=>{let l="tipoSiniestro"+t;this.getForm().addControl(l,new it("")),t++,this.tiposSiniestros.push(new Ul(s))}),r(null)}).catch(a=>{console.error(a)})})}getErrorMessage(t){let n=this.getControl(t);return n&&n.errors&&(n.touched||this.formSubmitted)?n.errors.required?"El campo es requerido":n.errors.minlength?"La descripci\xF3n debe contener un m\xEDnimo de treinta caract\xE9res":"":""}getErrorMessageControl(t){return t&&t.errors&&t.touched&&t.errors.required?"El campo es requerido":""}async getTipoMomentoAccidente(){return await this._Services.getTipoMomentoAccidente().then(t=>{this.tiposMomentoAccidente=t}).catch(t=>console.warn(t))}static \u0275fac=function(n){return new(n||i)(D(Qo),D(Or))};static \u0275cmp=z({type:i,selectors:[["app-step-datos-siniestro-ap"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent"},features:[tt],decls:76,vars:35,consts:[["fechaSiniestroPick",""],["timefield",""],["autocomplete","off",3,"keydown.enter","formGroup"],["type","hidden","autocomplete","false",3,"ngSubmit"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-left-m","margin-box"],["nxLayout","grid"],["nxRow",""],["nxCol","12,6,3"],["label","Fecha del Siniestro","IDselector","DP_fechaNacimiento"],["formControlName","fechaSiniestro","nxDatefield","","nxInput","",3,"datepicker"],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["label","Hora del Siniestro","IDselector","DP_horasiniestro"],["nxInput","","type","time","formControlName","horaSiniestro","name","horaSiniestro","label","Hora","required",""],["nxFormfieldError","","appearance","text",4,"ngIf"],["formControlName","tipoSiniestro",3,"formSubmitted","required","showCausa","codSeccion"],["nxHeadline","subsection-xsmall",2,"margin-bottom","10px","margin-left","10px"],["nxCol","12,12,12"],["formControlName","ubicacionSiniestro","IDselector","DP_LOC_LugarResidencia",1,"detalleLocalidadFixUbicacion",3,"padding","showZonaRiesgo","formSubmited"],["nxCol","12,4,4"],["label","Calle:"],["nxInput","","maxlength","50","minlength","2","noEspecialCharacters","","formControlName","calle"],["nxCol","12,3,3"],["label","Nro.:"],["nxInput","","maxlength","5","minlength","0","numbersOnly","","formControlName","altura"],["nxCol","12,2,2"],["label","Piso:"],["nxInput","","maxlength","2","minlength","0","numbersOnly","","formControlName","piso"],["label","Puerta:"],["nxInput","","maxlength","10","minlength","0","noEspecialCharacters","","formControlName","depto"],["nxCol","12,6,6"],["label","Detalle las circunstancias y consecuencias:"],["nxInput","","maxlength","500","minlength","30","formControlName","detalleSiniestro","noEspecialCharacters","","cdkTextareaAutosize",""],["nxFormfieldError","","appearance","text"],["label","Tareas Habituales:"],["nxInput","","formControlName","tareasHabituales","minlength","5","maxlength","500","onlyLetters","","cdkTextareaAutosize",""],["nxHeadline","subsection-xsmall",1,"h6-radio-toggle",2,"padding-right","20px"],["formControlName","tareasBool","IDselector","DP_generoDNI"],["style"," display: flex;",3,"value",4,"ngFor","ngForOf"],["class","error-messge-forms-hints",4,"ngIf"],["nxRow","",2,"padding-top","15px"],["formControlName","lugarDeTrabajoBool","IDselector","DP_generoDNI"],["style","padding-top: 15px;","formGroupName","lugarTrabajoForm",4,"ngIf"],["nxRow","",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"continuarEvent","volverEvent","guardar","loading","volver"],[2,"display","flex",3,"value"],[1,"error-messge-forms-hints"],["formGroupName","lugarTrabajoForm",2,"padding-top","15px"],["nxRow","",1,"mt-4"],["formControlName","localidad","IDselector","DP_LOC_LugarResidencia",1,"detalleLocalidadFixUbicacion",3,"padding","showZonaRiesgo","formSubmited"],["nxInput","","maxlength","5","minlength","0","numbersOnly","","formControlName","nroCalle"],["nxCol","12",1,"mb-2",2,"padding-top","5px"],[2,"font-size","1.2rem"],["nxCol","12,6,6,3"],[3,"label","error"],["formControlName","inicioJornada","withTimepicker","",1,"timePick"],["formControlName","finJornada","withTimepicker","",1,"timePick"],["nxRow","",2,"margin-top","45px!important"],["nxCol","12,6,5"],["label","Momento en el que ocurrio el siniestro:","IDselector","DS_CausaSiniestro"],["formControlName","momentoSiniestro","nxFilterPlaceholder","Buscar",3,"showFilter"],[3,"value",4,"ngFor","ngForOf"],["label","Detalle:"],["formControlName","detalle","maxlength","500","nxInput","","cdkTextareaAutosize",""],[3,"value"],["label"," Explique los motivos de la carga extempor\xE1nea:"],["formControlName","cargaExt","maxlength","500","nxInput","","cdkTextareaAutosize",""]],template:function(n,r){if(n&1){let o=Y();c(0,"form",2),I("keydown.enter",function(s){return O(o),T(s.preventDefault())}),c(1,"input",3),I("ngSubmit",function(){return O(o),T(r.validarFormulario())}
824),d(),c(2,"div"),Ze(3),c(4,"h2",4),m(5,"Datos del Siniestro "),d(),c(6,"div",5)(7,"div",6)(8,"div",7)(9,"nx-formfield",8),S(10,"input",9),c(11,"span",10),m(12,"DD/MM/AAAA"),d(),S(13,"nx-datepicker-toggle",11)(14,"nx-datepicker",null,0),d()(),c(16,"div",7)(17,"nx-formfield",12),S(18,"input",13,1),L(20,s4e,4,0,"nx-error",14)(21,l4e,4,0,"nx-error",14),d()()(),S(22,"tipo-causa-siniestro",15)(23,"hr"),c(24,"div",6)(25,"h4",16),m(26," Ubicaci\xF3n del Siniestro "),d()(),c(27,"div",6)(28,"div",17),S(29,"app-localidad-detalle",18),d()(),c(30,"div",6)(31,"div",19)(32,"nx-formfield",20),S(33,"input",21),d()(),c(34,"div",22)(35,"nx-formfield",23),S(36,"input",24),d()(),c(37,"div",25)(38,"nx-formfield",26),S(39,"input",27),d()(),c(40,"div",22)(41,"nx-formfield",28),S(42,"input",29),d()()(),c(43,"div",6)(44,"div",30)(45,"nx-formfield",31),S(46,"textarea",32),c(47,"nx-error",33),m(48," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()()(),c(49,"div",6)(50,"div",30)(51,"nx-formfield",34),S(52,"textarea",35),d()()(),c(53,"div",6)(54,"div",17)(55,"h6",36),m(56," \xBFSon las tareas que realizaba en ese momento? "),d()()(),c(57,"div",6)(58,"div",30)(59,"nx-radio-toggle",37),L(60,c4e,2,2,"nx-radio-toggle-button",38)(61,d4e,2,1,"small",39),d()()(),c(62,"div",40)(63,"div",17)(64,"h6",36),m(65," \xBFEl siniestro ocurrio en el lugar de trabajo? "),d()()(),c(66,"div",6)(67,"div",30)(68,"nx-radio-toggle",41),L(69,u4e,2,2,"nx-radio-toggle-button",38)(70,p4e,2,1,"small",39),d()()(),L(71,h4e,43,10,"ng-container",42)(72,_4e,6,1,"div",43),S(73,"hr"),d(),Xe(),d(),c(74,"div")(75,"app-step-buttons",44),I("continuarEvent",function(){return O(o),T(r.guardar())})("volverEvent",function(){return O(o),T(r.volver())}),d()()()}if(n&2){let o,a,s=Ct(15);g("formGroup",r.getForm()),p(10),g("datepicker",s),p(3),g("for",s),p(7),g("ngIf",(o=r.getForm().get("horaSiniestro"))==null?null:o.hasError("required")),p(),g("ngIf",(a=r.getForm().get("horaSiniestro"))==null?null:a.hasError("horaFutura")),p(),g("formSubmitted",r.formSubmited)("required",!0)("showCausa",!0)("codSeccion","210"),p(7),g("padding",!1)("showZonaRiesgo",!1)("formSubmited",r.formSubmited),p(30),Ua("small"),p(),g("ngForOf",qr(27,uz,In(25,i4e),In(26,r4e))),p(),g("ngIf",r.getControl("tareasBool").errors&&r.formSubmited),p(7),Ua("small"),p(),g("ngForOf",qr(32,uz,In(30,o4e),In(31,a4e))),p(),g("ngIf",r.getControl("lugarDeTrabajoBool").errors&&r.formSubmited),p(),g("ngIf",r.lugarDeTrabajoBool),p(),g("ngIf",r.isCargaExtemporanea),p(3),g("guardar",!1)("loading",r.formLoading)("volver",!0)}},dependencies:[dz,uv,qs,Nl,Io,vo,js,d1,me,Et,ut,vt,jt,St,Yr,sn,ui,Ut,et,At,Rt,wt,Pt,Er,Dn,kn,st,qt,Sl,ri,Yn,Xt,Ta,Ia,Yt,_e,qn,cv,ca,p1],styles:[".selectable-img[_ngcontent-%COMP%]{height:50px;width:50px}.hora-lab[_ngcontent-%COMP%]{display:flex;align-items:center}#loc-detalle[_ngcontent-%COMP%]{padding:0!important}"]})};var fv=class i extends zn{_stepper;continuarEvent=new X;datoVFrente;formLoading=!1;formSubmited=!1;datosPersona={actividad:"",descAsegurado:"",domicilio:"",feNacimiento:"",genero:"",iibb:"",indicMerlin:"",iva:"",nroDni:Te.asegurado.getnroDni(),tipoDni:{codigo:Te.asegurado.gettipoDni().codigo},tipoPersona:""};datosAsegurado=new Ir(this.datosPersona);canDeactivate(){return this.getForm().dirty}constructor(){super()}ngOnInit(){this.datoVFrente=Te.vFrentePol,Se.user.details.identityDocuments.map(e=>{if(e.documentType.documentTypeCode==="D")return e.documentNumber})}getFilterData(e){this.datosAsegurado.setnroTelefono(e.telefono),this.datosAsegurado.setdescEmail(e.email),this.formSubmited=!0,Te.completed2=!0,this.continuarEvent.emit()}ngAfterViewInit(){this.setSuscribers()}setSuscribers(){}isValid(e){return!!e}validarFormulario(){return!!this.getForm().valid}getErrorMessage(e){return""}volver(){this._stepper.previous()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-asegurados-ap"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent"},features:[tt],decls:3,vars:2,consts:[["type","hidden","autocomplete","false"],[3,"submitOutput","volverOutput","_datosAsegurado","_vFrentePol"]],template:function(t,n){t&1&&(S(0,"input",0),c(1,"div")(2,"app-datos-del-asegurado",1),I("submitOutput",function(o){return n.getFilterData(o)})("volverOutput",function(){return n.volver()}),d()()),t&2&&(p(2),g("_datosAsegurado",n.datosAsegurado)("_vFrentePol",n.datoVFrente))},dependencies:[as],encapsulation:2})};function v4e(i,e){if(i&1){let t=Y();Ze(0),c(1,"app-documentacion",2),I("submitOutput",function(r){O(t);let o=M();return T(o.getFilterData(r))})("volverOutput",function(){O(t);let r=M();return T(r.volver())}),d(),Xe()}if(i&2){let t=M();p(),g("_datosRequestDocumentos",t.datosRequestDocumentos)("_loading",t.loadingPred)}}var mv=class i{_ServicesService=C(fn);_stepper;
824continuarEvent=new X;volverEvent=new X;vFrentePol=null;documentacion=[];formLoading=!1;formSubmited=!1;loadingPred=!1;datosRequestDocumentos={idTipoSiniestro:"",idCausaSiniestro:"",idSeccion:"",loaded:!1};obligatorio="";files=[];ngAfterViewInit(){this.datosRequestDocumentos.idCausaSiniestro=Te.siniestro.causaSiniestro,this.datosRequestDocumentos.idTipoSiniestro=Te.siniestro.tipoSiniestro,setTimeout(()=>{this.datosRequestDocumentos.loaded=Te.stepDatosSiniestro},0),this.datosRequestDocumentos.idSeccion=Te.vFrentePol.getCodRamo()}getFilterData(e){this.formSubmited=!0,Te.completed3=!0,this.generarPredenuncia(e)}generarPredenuncia(e){let t={DenunciaIn:{datoDenuncia:{nmOrigen:"MIALLIANZ",datoPoliza:{vFrentepol:Te.vFrentePol},datoMaestro:{idDenuncia:null,idSeccion:"210",deSeccion:null,nroPoliza:Te.vFrentePol.getNpoliza(),nroCertificado:Te.certificado?.nroCertificado,nroEndoso:Te.vFrentePol.getNsuplemento(),fecSiniestro:this.formatFecha(Te.siniestro.fechaSiniestro),hrSiniestro:this.formatFecha(Te.siniestro.fechaSiniestro)+" "+Te.siniestro.horaSiniestro+":00",fecDenuncia:Te.siniestro.fechaCarga,cdStatus:"A",cdUsuario:Se.user.details.userId},datoDetalle:{idDenuncia:null,nrDetalle:null,idTipoSiniestro:Te.siniestro.tipoSiniestro,deTipoSiniestro:Te.siniestro.deTipoSiniestro,idCausaSiniestro:Te.siniestro.causaSiniestro,deCausaSiniestro:Te.siniestro.deCausaSiniestro,deHechos:Te.siniestro.detalleSiniestro,indExtemporaneo:Te.siniestro.isExtemporal,deExtemporaneo:Te.siniestro.detalleExtemporal,nroCertificadoUbicacion:1,fecRegistro:Te.siniestro.fechaCarga,cdStatus:"A",cdUsuario:Se.user.details.userId,idSeccion:Te.vFrentePol.getCodRamo(),idProvinciaOcurr:Te.siniestro.ubicacionSiniestro.provincia.codProvincia,idLocalidadOcurr:Te.siniestro.ubicacionSiniestro.localidad.codLocalidad,idZpOcurr:Te.siniestro.ubicacionSiniestro.codigoPostal,deDirCalleOcurr:Te.siniestro.detalleUbicacionSiniestro.calle,deDirNroOcurr:Te.siniestro.detalleUbicacionSiniestro.altura,deDirPisoOcurr:Te.siniestro.detalleUbicacionSiniestro.piso,deDirDptoOcurr:Te.siniestro.detalleUbicacionSiniestro.depto,deTareas:Te.detalleLaboral,indTareasSiniestro:Te.indTareasSiniestro,indLugarTrabajo:Te.indLugarTrabajo,idProvinciaAdic:Te.ubicacionLaboral.provincia.codProvincia,idLocalidadAdic:Te.ubicacionLaboral.localidad.codLocalidad,idZpAdic:Te.ubicacionLaboral.codigoPostal,deDirCalleAdic:Te.detalleUbicacionlaboral.calle,deDirNroAdic:Te.detalleUbicacionlaboral.altura,deDirPisoAdic:Te.detalleUbicacionlaboral.piso,deDirDptoAdic:Te.detalleUbicacionlaboral.depto,deJornadaLaboralIni:Te.inicioJornadaLaboral,deJornadaLaboralFin:Te.finJornadaLaboral,cdMomentoOcurr:Te.momentoSiniestro,deDanos:Te.detalleLaboral},datoDocumento:[]}}};this.loadingPred=!0,this._ServicesService.postDenuncia(t).then(n=>{Te.successMessage=n.DenunciaOut[0].response.description,Te.predenuncia=new rs(n.DenunciaOut[0].datoSiniestro[0]),Te.error.status=!0,e.length>0?this._ServicesService.fileUpload(Te.predenuncia.getIdDenuncia(),e,Te.predenuncia.getNrDetalle(),Se.user.details.userId,Te.vFrentePol.getCodRamo(),Te.siniestro.tipoSiniestro).then(r=>{this.loadingPred=!1,Te.stepDatosDoc=!0,Te.error.status=!0,Te.mensajeError="",this.continuarEvent.emit(!0)}).catch(r=>{console.log(r),Te.stepDatosDoc=!0,Te.mensajeError="Se produjo un error al enviar los archivos, ya que el tama\xF1o excede lo permitido. Por favor, contact\xE1 a tu Productor Asesor de Seguros o al Centro de Atenci\xF3n al Cliente de Allianz para enviarlos por otro medio.",this.continuarEvent.emit(!0)}):(this.loadingPred=!1,Te.stepDatosDoc=!0,Te.error.status=!0,this.continuarEvent.emit(!0))}).catch(n=>{this.loadingPred=!1,Te.error.status=!1,Te.error.message=n.error.DenunciaOut[0].response.description,Te.stepDatosDoc=!0,this.continuarEvent.emit(!0)})}formatFecha(e){if(!e)return null;let t,n,r;if(e?.year&&e?.month&&e?.date)t=e.year(),n=e.month()+1,r=e.date();else if(e instanceof Date)t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();else if(typeof e=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(e)){let s=e.split("-").map(Number);t=s[0],n=s[1],r=s[2]}else if(typeof e=="string"&&/^\d{2}\/\d{2}\/\d{4}$/.test(e)){let s=e.split("/").map(Number);r=s[0],n=s[1],t=s[2]}else return console.error("Formato de fecha no soportado:",e),null;let o=r<10?"0"+r:r.toString(),a=n<10?"0"+n:n.toString();return`${t}-${a}-${o}`}isValid(e){return!!e}volver(){this._stepper.previous()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-documentacion-ap"]],inputs:{_stepper:"_stepper"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:3,vars:1,consts:[["type","hidden","autocomplete","false"],[4,"ngIf"],[3,"submitOutput","volverOutput","_datosRequestDocumentos","_loading"]],template:function(t,n){t&1&&(S(0,"input",0),c(1,"div"),L(2,v4e,2,2,"ng-container",1),d()),t&2&&(p(2),g("ngIf",n.datosRequestDocumentos.loaded))},dependencies:[ss,_e,et],encapsulation:2})};function x4e(i,e){i&1&&S(0,"img",19)}function b4e(i,e){if(i&1&&(c(0,"p"),m(1),d()),i&2){let t=M(2);p(),Pe(t.messageError)}}function C4e(i,e){if(i&1&&(c(0,"nx-link",20)(1,"a",21),S(2,"nx-icon",22),m(3),d()()),i&2){let t=e.$implicit;p(),g("href",Vi(t.url),An),p(2),K("",t.name," ")}}function y4e(i,e){if(i&1){let t=Y();c(0,"div")(1,"div"),Ze(2),c(3,"h2",5),m(4," Se ha generado el Siniestro: "),d(),c(5,"div",6)(6,"div",7)(7,"div",8)(8,"p",9),m(9),d()(),c(10,"cdk-virtual-scroll-viewport",10)(11,"table",11)(12,"caption",12),m(13," Listado de p\xF3lizas del asegurado "),d(),c(14,"thead")(15,"tr",13)(16,"th",14),m(17,"Nro. de Siniestro"),d(),c(18,"th",14),m(19,"Formulario de Denuncia"),d(),c(20,"th",14),m(2
8241,"Documentos Presentados"),d()()(),c(22,"tbody")(23,"tr",13)(24,"td",15),m(25),d(),c(26,"td",15)(27,"button",16),I("click",function(){O(t);let r=M();return T(r.navigateDescargaPdf())}),L(28,x4e,1,0,"img",17),m(29,"Descargar "),d()(),c(30,"td",15),L(31,b4e,2,1,"p",2)(32,C4e,4,3,"nx-link",18),d()()()()()()(),Xe(),d()()}if(i&2){let t=M();p(9),K(" ",t.modalText," "),p(16),Pe(t.nroSiniestro),p(2),g("disabled",t.isDownloading),p(),g("ngIf",t.isDownloading),p(3),g("ngIf",t.messageError),p(),g("ngForOf",t.documentos)}}function M4e(i,e){if(i&1&&(c(0,"div",23)(1,"nx-message",24)(2,"p"),m(3),d()()()),i&2){let t=M();p(3),K(" ",t.respMessage," ")}}function w4e(i,e){if(i&1&&(c(0,"div")(1,"h2",5),m(2," Ocurrio un error generando el siniestro "),d(),c(3,"div",6)(4,"div",25)(5,"h4",26),m(6),d()()()()),i&2){let t=M();p(6),Pe(t.errorMessage)}}var hv=class i extends zn{_Services=C(fn);_formBuilder=C(bt);_router=C(ot);_stepper;modalTitle="";modalText=`Tu denuncia ha sido cargada exitosamente bajo el n\xFAmero ${Te.predenuncia.getIdCarpeta()}. 
825A la brevedad te enviaremos un email con los pasos a seguir a la direcci\xF3n ${Se.user.csmUserName}. 
826Record\xE1 revisar el buz\xF3n de correo no deseado. Ante cualquier consulta, o en caso de que no recibas el email dentro de las 24hs, pod\xE9s comunicarte con tu Productor Asesor o escribirnos a [email protected].`;formLoading=!1;formSubmited=!1;isDownloading=!1;documentos=[];nroDetalle;nroPoliza;nroSiniestro;correct;errorMessage;nroPredenuncia=0;respMessage=null;messageError=null;constructor(){super()}canDeactivate(){return this.getForm().dirty}ngOnInit(){this.respMessage=Te.successMessage,this.nroPoliza=Te.vFrentePol.getNpoliza(),this.errorMessage=Te.error.message,this.correct=Te.error.status,this.correct&&(this.nroPredenuncia=Te.predenuncia.getIdDenuncia(),this.nroDetalle=Te.predenuncia.getNrDetalle(),this.nroSiniestro=Te.predenuncia.getIdCarpeta()),Te.mensajeError!=""&&(this.messageError=Te.mensajeError),this.setForm(this._formBuilder.group({})),this._Services.getDescargarPdf(this.nroPredenuncia,this.nroDetalle).then(e=>{}).catch(e=>{})}ngAfterViewInit(){this.setSuscribers(),this.correct&&this.obtenerDocs()}guardar(){this.validarFormulario()&&(Te.completed4=!0,Te.clearPred())}emitir(){Te.clearPred(),this._router.navigate(["/priv"])}setSuscribers(){}isValid(e){return!!e}navigateDescargaPdf(){this.isDownloading=!0,this._Services.getDescargaPreDenuncia(this.nroPredenuncia,this.nroDetalle,Te.vFrentePol.getCodRamo()).then(e=>{let t=new Blob([e],{type:"application/pdf"}),n=window.URL.createObjectURL(t);window.open(n)}).catch(e=>{console.error(e)}).finally(()=>{this.isDownloading=!1})}obtenerDocs(){this._Services.getDocumentos(this.nroPredenuncia,this.nroDetalle).then(e=>{e.length!=0&&(this.documentos=e[0].archivo)}).catch(e=>{console.error(e)})}validarFormulario(){return!!this.getForm().valid}getErrorMessage(e){return""}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-final-ap"]],inputs:{_stepper:"_stepper"},features:[tt],decls:7,vars:7,consts:[["autocomplete","off",3,"keydown.enter","ngSubmit","formGroup"],["type","hidden","autocomplete","false"],[4,"ngIf"],["nxRow","","style","padding: 20px",4,"ngIf"],["IDselector","STEP_MAIN_BUTTONS",3,"guardarEvent","continuarEvent","guardar","continuarLaber","volver"],["nxHeadline","subsection-medium",1,"nx-margin-top-3m","nx-margin-bot-3m",2,"justify-content","center","text-align","center"],["nxRow","",2,"justify-content","center"],["nxCol","12,12 sm-12,8"],[1,"centered-content"],[1,"nx-modal-margin-bottom"],["appendOnly","","itemSize","1",1,"polizas-viewport"],["nxTable","","zebra",""],[1,"sr-only"],["nxTableRow",""],["nxHeaderCell",""],["nxTableCell",""],["nxButton","tertiary small-medium","type","button",3,"click","disabled"],["alt","","src","../../../../../../assets/img/Spinner-2.svg","style","position: absolute; width: 70px;
826 height: 70px",4,"ngIf"],["nxStyle","icon-left","style","display: block",4,"ngFor","ngForOf"],["alt","","src","../../../../../../assets/img/Spinner-2.svg",2,"position","absolute","width","70px","height","70px"],["nxStyle","icon-left",2,"display","block"],["target","_blank","rel","noopener noreferrer",3,"href"],["name","product-paper-document"],["nxRow","",2,"padding","20px"],["context","info","showIcon","true"],["nxCol","8"],["nxHeadline","subsection-xsmall"]],template:function(t,n){t&1&&(c(0,"form",0),I("keydown.enter",function(o){return o.preventDefault()})("ngSubmit",function(){return n.validarFormulario()}),S(1,"input",1),L(2,y4e,33,6,"div",2)(3,M4e,4,1,"div",3)(4,w4e,7,1,"div",2),c(5,"div")(6,"app-step-buttons",4),I("guardarEvent",function(){return n.guardar()})("continuarEvent",function(){return n.emitir()}),d()()()),t&2&&(g("formGroup",n.getForm()),p(2),g("ngIf",n.correct),p(),g("ngIf",n.respMessage),p(),g("ngIf",!n.correct),p(2),g("guardar",!1)("continuarLaber","Finalizar")("volver",!1))},dependencies:[me,ut,vt,Kn,ni,si,ii,Ut,et,At,Pt,st,_t,Xt,nt,vr,$r,Hc,Bc,qn],styles:[".polizas-viewport[_ngcontent-%COMP%]{height:150px;width:100%}"]})};var S4e=["stepper"],P4e=["datosSiniestroForm"],E4e=["datosAseguradoForm"],D4e=["documentacionForm"],O4e=["finalForm"];function T4e(i,e){if(i&1){let t=Y();c(0,"app-step-datos-asegurados-ap",10,3),I("continuarEvent",function(){O(t);let r=M();return T(r.handleAseguradoCompletado())}),d()}if(i&2){M();let t=Ct(3);g("_stepper",t)}}function I4e(i,e){if(i&1){let t=Y();c(0,"app-step-datos-documentacion-ap",10,4),I("continuarEvent",function(){O(t);let r=M();return T(r.handleDocumentacionCompletada())}),d()}if(i&2){M();let t=Ct(3);g("_stepper",t)}}function k4e(i,e){if(i&1&&S(0,"app-step-datos-final-ap",16,5),i&2){M();let t=Ct(3);g("_stepper",t)}}var gv=class i extends jl{stepper;_datosSiniestroForm;_datosAseguradoForm;_documentacionForm;_finalForm;loadAseguradoRiesgo=!0;loadCoberturas=!1;loadEnvioPropuestas=!1;loadEmisionPropuesta=!1;
826datosSiniestroControl=null;bienesStepControl=null;emisionPropuestaControl=null;tomadorDistintoCheck=!1;direccionRiesgoIgual=!0;gncCheck=!1;devMode=!1;invalidateValidations=!1;validForm=new oo({});comp=ae({},Te);constructor(){super()}ngOnInit(){setTimeout(()=>{this.comp=ae({},Te)},0)}canDeactivate(){return!0}setDatosSiniestrosControl(){}handleSiniestroCompletado(){Te.completed1=!0,Te.stepDatosSiniestro=!0,this.comp=ae({},Te),setTimeout(()=>this.stepper.next(),0)}handleAseguradoCompletado(){Te.completed2=!0,this.comp=ae({},Te),setTimeout(()=>this.stepper.next(),0)}handleDocumentacionCompletada(){Te.completed3=!0,Te.stepDatosDoc=!0,this.comp=ae({},Te),setTimeout(()=>this.stepper.next(),0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-accidentes-personales-component"]],viewQuery:function(t,n){if(t&1&&(pe(S4e,5),pe(P4e,5),pe(E4e,5),pe(D4e,5),pe(O4e,5)),t&2){let r;te(r=ne())&&(n.stepper=r.first),te(r=ne())&&(n._datosSiniestroForm=r.first),te(r=ne())&&(n._datosAseguradoForm=r.first),te(r=ne())&&(n._documentacionForm=r.first),te(r=ne())&&(n._finalForm=r.first)}},features:[tt],decls:14,vars:12,consts:[["stepper",""],["step1",""],["datosSiniestroForm",""],["datosAseguradoForm",""],["documentacionForm",""],["finalForm",""],["nxLayout","grid",1,"py-5"],[1,"block-stepper"],["id","predenuncias","currentStepLabel","step1",3,"linear"],["label","Datos del Siniestro",3,"stepControl","completed"],[3,"continuarEvent","_stepper"],["label","Datos del Tomador",3,"completed"],[3,"_stepper","continuarEvent",4,"ngIf"],["label","Documentaci\xF3n",3,"stepControl","completed"],["label","Finalizado",3,"stepControl","completed"],[3,"_stepper",4,"ngIf"],[3,"_stepper"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",6),S(1,"div",7),c(2,"nx-multi-stepper",8,0)(4,"nx-step",9,1)(6,"app-step-datos-siniestro-ap",10,2),I("continuarEvent",function(){return O(r),T(n.handleSiniestroCompletado())}),d()(),c(8,"nx-step",11),L(9,T4e,2,1,"app-step-datos-asegurados-ap",12),d(),c(10,"nx-step",13),L(11,I4e,2,1,"app-step-datos-documentacion-ap",12),d(),c(12,"nx-step",14),L(13,k4e,2,1,"app-step-datos-final-ap",15),d()()()}if(t&2){let r=Ct(3);p(2),g("linear",!0),p(2),g("stepControl",n.datosSiniestroControl)("completed",n.comp.completed1),p(2),g("_stepper",r),p(2),g("completed",n.comp.completed2),p(),g("ngIf",n.comp.stepDatosSiniestro),p(),g("stepControl",n.emisionPropuestaControl)("completed",n.comp.completed3),p(),g("ngIf",n.comp.stepDatosSiniestro),p(),g("stepControl",n.emisionPropuestaControl)("completed",n.comp.completed4),p(),g("ngIf",n.comp.stepDatosDoc)}},dependencies:[me,Et,Oa,aa,et,_e,pv,fv,mv,hv],encapsulation:2})};var _v=class i{_dataHandler=C(la);modalText=`
827    Tu denuncia ha sido cargada exitosamente bajo el n\xFAmero ${this._dataHandler.predenuncia?.getIdCarpeta()}. 
828A la brevedad te enviaremos un email con los pasos a seguir a la direcci\xF3n ${Se?.user.csmUserName}. 
829Record\xE1 revisar el buz\xF3n de correo no deseado. Ante cualquier consulta, o en caso de que no recibas el email dentro de las 24hs, pod\xE9s comunicarte con tu Productor Asesor o escribirnos a [email protected].`;static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-resumen"]],decls:1,vars:7,consts:[[2,"margin-top","20px","margin-bottom","20px",3,"modalText","predenuncia","respMessage","rutaFinal","nPoliza","error","cargoDocumentos"]],template:function(t,n){t&1&&S(0,"app-datos-predenuncia",0),t&2&&g("modalText",n.modalText)("predenuncia",n._dataHandler.predenuncia)("respMessage",n._dataHandler.postRespmessage)("rutaFinal","/priv")("nPoliza",n._dataHandler.vFrentePol==null?null:n._dataHandler.vFrentePol.getNpoliza())("error",n._dataHandler.errorMessage)("cargoDocumentos",((n._dataHandler.step3FormValue==null?null:n._dataHandler.step3FormValue.length)||0)>0)},dependencies:[bp],encapsulation:2})};var vv=class i{_dataHandlerService=C(la);continuarEvent=new X;volverEvent=new X;datosRequestDocumentos;loadingPred=!1;constructor(){}ngOnInit(){this.datosRequestDocumentos=this._dataHandlerService.getRequestDataStepDocumentacion()}onSubmit(e){this._dataHandlerService.step3FormValue=e,this.loadingPred=!0,this._dataHandlerService.crearDenuncia().then(t=>{this.loadingPred=!1,this._dataHandlerService.validStep3=!0,this._dataHandlerService.completedStep3=!0,this.continuarEvent.emit()}).catch(t=>{this._dataHandlerService.validStep3=!0,this._dataHandlerService.completedStep3=!0,this.continuarEvent.emit(),this.loadingPred=!1})}volver(){this.volverEvent.emit(!0)}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-documentacion"]],outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:1,vars:2,consts:[[3,"submitOutput","volverOutput","_datosRequestDocumentos","_loading"]],template:function(t,n){t&1&&(c(0,"app-documentacion",0),I("submitOutput",function(o){return n.onSubmit(o)})("volverOutput",function(){return n.volver()}),d()),t&2&&g("_datosRequestDocumentos",n.datosRequestDocumentos)("_loading",n.loadingPred)},dependencies:[ss],encapsulation:2})};var Wxt=Aa(mm());var N4e=()=>["DD/MM/YYYY"];function A4e(i,e){i&1&&(c(0,"nx-error",26)(1,"strong"),m(2,"Importante"),d(),m(3," Este campo es obligatorio "),d())}function V4e(i,e){i&1&&(c(0,"nx-error",26)(1,"strong"),m(2,"Importante"),d(),m(3," La fecha y hora del siniestro 
829no pueden ser futuras. "),d())}function F4e(i,e){i&1&&(c(0,"div",23)(1,"nx-formfield",29),S(2,"textarea",30),d()())}var xv=class i extends zn{constructor(t,n){super();this.nxDateLocale=t;this.nxDateAdapter=n;Mp()}_FB=C(bt);_dataHandler=C(la);_predenunciasServices=C(fn);_router=C(ot);_emitterService=C(Jt);continuarEvent=new X;showCagaExtemporanea=!1;codRamo="";ngOnInit(){this._dataHandler.fechaSiniestro||this._router.navigate(["/priv"]),this.nxDateAdapter.setLocale("es");let t=this._dataHandler.fechaSiniestro?.toDate?.()??null;this.codRamo=this._dataHandler.getSelectedSecc(),this.setForm(this._FB.group({feSini:[{value:t,disabled:!0}],horaSini:[null,[ee.required]],lugarOcurrencia:[null,[ee.required]],direccion:[null,[ee.required,ee.maxLength(50)]],detalle:[null,[ee.required,ee.maxLength(1e3)]],tipoCausa:[null,[ee.required]],motivoExtemporanea:[null,[ee.maxLength(1e3)]]},{validators:this.validateTime("horaSini")})),this.getControl("tipoCausa").valueChanges.subscribe(n=>{n&&n.causa&&this.obtenerCargaExtemporanea(n.tipo.idTipoSiniestro,n.causa.idCausaSiniestro)}),this.getControl("lugarOcurrencia").valueChanges.subscribe(n=>{n?.codigoPostal||this.getControl("lugarOcurrencia").setValue(null,{emitEvent:!1})}),this.getForm().valueChanges.subscribe(()=>{this._dataHandler.completedStep1=!1,this._dataHandler.validStep1=this.getForm().valid})}validateTime(t){return n=>{let r=n.get(t),o=r?.value;return o?this.esHoraInvalida(o)?r?.setErrors({horaIncorrecta:!0}):this.esFechaHoraFutura(o)?r?.setErrors({horaFutura:!0}):r?.setErrors(null):r?.setErrors({required:!0})}}esFechaHoraFutura(t){let n=this._dataHandler.fechaSiniestro;if(!n||!t)return!1;let r=new Date;if(n.toDate&&typeof n.toDate=="function")r=n.toDate();else if(n instanceof Date)r=n;else if(typeof n=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(n)){let[l,u,h]=n.split("-").map(Number);r=new Date(l,u-1,h)}else{let l=new Date(n);isNaN(l.getTime())||(r=l)}let[o,a]=t.split(":").map(Number);r.setHours(o,a,0,0);let s=new Date;return r.getTime()>s.getTime()}esHoraInvalida(t){if(!t||!/^\d{2}:\d{2}$/.test(t))return!0;let[n,r]=t.split(":").map(Number);return n<0||n>23||r<0||r>59}canDeactivate(){return this.getForm().dirty||this.getForm().touched}getErrorsMessage(t){let n=this.getControl(t);return n&&n.errors&&(n.touched||this.formSubmitted)?n.errors.required?"El campo es requerido":n.errors.minlength?"La descripci\xF3n debe contener un m\xEDnimo de treinta caract\xE9res":"":""}onSubmit(){this.formSubmitted=!0,this.getForm().valid?setTimeout(()=>{this._dataHandler.step1FormValue=this.getForm().value,this._dataHandler.completedStep1=!0,this.continuarEvent.emit(!0)}):this.getControl("horaSini").errors?this._emitterService.emmiterToast(1,"Debe ingresar la hora en la que ocurri\xF3 el siniestro."):this._emitterService.emmiterToast(0,"Falta completar datos obligatorios.")}volver(){this._router.navigate(["/priv/denuncia-siniestro"])}obtenerCargaExtemporanea(t,n){let r=this.getControl("feSini").value,o=un(r instanceof Date?r:new Date(r)),a=this._dataHandler.vFrentePol?.getCodRamo(),s=un(new Date(Date.now()));this._predenunciasServices.getCargaExtemporanea(a,t,n,s,o).then(l=>{l==="S"?(this.showCagaExtemporanea=!0,this.getControl("motivoExtemporanea").setValidators([ee.required,ee.maxLength(1e3)])):(this.showCagaExtemporanea=!1,this.getControl("motivoExtemporanea").clearValidators(),this.getControl("motivoExtemporanea").updateValueAndValidity())}).catch(l=>{console.error(l)})}static \u0275fac=function(n){return new(n||i)(D(Qo),D(Or))};static \u0275cmp=z({type:i,selectors:[["app-step-datos-siniestro"]],outputs:{continuarEvent:"continuarEvent"}
829,features:[tt],decls:37,vars:20,consts:[["picker",""],["timefield",""],["input",""],["name",""],["nxheadline","section",1,"text-left","nx-margin-bottom-m"],["autocomplete","off",3,"keydown.enter","ngSubmit","formGroup"],["nxLayout","grid"],["nxCol","12,12 sm-12,3 p-0"],["id","fechaSiniestroAP","label","Fecha Siniestro",3,"ErrorLabel"],["nxDatefield","","nxInput","","nxDisplayFormat","DD/MM/YYYY","formControlName","feSini",3,"datepicker","parseFormat"],["nxFormfieldHint",""],["nxFormfieldSuffix","",3,"for"],["nxCol","12,6 sm-12,3 p-0"],["label","Hora del Siniestro","IDselector","DP_horasiniestro"],["nxInput","","type","time","formControlName","horaSini","name","horaSiniestro","label","Hora","required",""],["nxFormfieldError","","appearance","text",4,"ngIf"],["formControlName","tipoCausa",3,"formSubmitted","required","showCausa","codSeccion"],["nxRow",""],["nxCol","12"],["formControlName","lugarOcurrencia","IDselector","DP_LOC_LugarResidencia",3,"title","padding","showZonaRiesgo","formSubmited"],["nxCol","12,12,4,4"],["label","Direcci\xF3n",3,"ErrorLabel"],["nxInput","","type","text","formControlName","direccion"],["nxCol","12,12,6,6"],["label","Detalle del hecho:"],["formControlName","detalle","nxInput","","minlength","30","cdkTextareaAutosize",""],["nxFormfieldError","","appearance","text"],["nxCol","12,12,6,6",4,"ngIf"],[3,"volverEvent","guardar","volver"],["label","Motivos Carga extempor\xE1nea:"],["formControlName","motivoEtemporanea","nxInput","","cdkTextareaAutosize",""]],template:function(n,r){if(n&1){let o=Y();c(0,"h2",4),m(1," Datos del Siniestro "),d(),c(2,"form",5),I("keydown.enter",function(s){return O(o),T(s.preventDefault())})("ngSubmit",function(){return O(o),T(r.onSubmit())}),c(3,"div",6)(4,"div",7)(5,"nx-formfield",8),S(6,"input",9),c(7,"span",10),m(8,"DD/MM/YYYY"),d(),S(9,"nx-datepicker-toggle",11)(10,"nx-datepicker",null,0),d()(),c(12,"div",12)(13,"nx-formfield",13),S(14,"input",14,1),L(16,A4e,4,0,"nx-error",15)(17,V4e,4,0,"nx-error",15),d()(),S(18,"tipo-causa-siniestro",16)(19,"hr"),c(20,"div",17)(21,"div",18),S(22,"app-localidad-detalle",19),d(),c(23,"div",20)(24,"nx-formfield",21,2),S(26,"input",22,3),d()()(),S(28,"hr"),c(29,"div",17)(30,"div",23)(31,"nx-formfield",24),S(32,"textarea",25),c(33,"nx-error",26),m(34," La descripci\xF3n debe contener un m\xEDnimo de treinta caracteres "),d()()(),L(35,F4e,3,0,"div",27),d()(),c(36,"app-step-buttons",28),I("volverEvent",function(){return O(o),T(r.volver())}),d()()}if(n&2){let o,a,s=Ct(11);p(2),g("formGroup",r.getForm()),p(3),g("ErrorLabel",r.getErrorsMessage("feSiniestro")),p(),g("datepicker",s)("parseFormat",In(19,N4e)),p(3),g("for",s),p(7),g("ngIf",(o=r.getForm().get("horaSini"))==null?null:o.hasError("required")),p(),g("ngIf",(a=r.getForm().get("horaSini"))==null?null:a.hasError("horaFutura")),p(),g("formSubmitted",r.formSubmitted)("required",!0)("showCausa",!0)("codSeccion",r.codRamo),p(4),g("title","Lugar de ocurrencia")("padding",!1)("showZonaRiesgo",!1)("formSubmited",r.formSubmitted),p(2),g("ErrorLabel",r.getErrorsMessage("direccion")),p(11),g("ngIf",r.showCagaExtemporanea),p(),g("guardar",!1)("volver",!0)}},dependencies:[qs,Nl,Io,vo,js,d1,me,Et,ut,vt,jt,St,Yr,sn,ui,et,At,Rt,wt,Pt,Er,Dn,st,qt,Yt,ql,_e,p1,ca,qn],encapsulation:2})};var R4e=["aseguradoComponent"],bv=class i{_dataHandler=C(la);_stepper;continuarEvent=new X;volverEvent=new X;aseguradoComponent;datosAsegurado;_vFrentePol=null;isDatos=!1;constructor(){}ngOnInit(){let e=this._dataHandler.getCodNroDocAsegurado(),t=new Ir;t.setnroDni(e.nroDoc),t.settipoDni({codigo:e.codDoc,descripcion:""}),this.datosAsegurado=t,this._vFrentePol=this._dataHandler.vFrentePol}ngAfterViewInit(){this.aseguradoComponent.getForm().valueChanges.subscribe(e=>{this._dataHandler.validStep2=this.aseguradoComponent.getForm().valid&&this.aseguradoComponent.validMailTel})}getFilterData(e){this._dataHandler.step2FormValue=e,this._dataHandler.validStep2=this.aseguradoComponent.validMailTel,this._dataHandler.completedStep2=!0,this.continuarEvent.emit(),setTimeout(()=>{this._stepper.next()},100)}volver(){this.volverEvent.emit()}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-step-datos-asegurado"]
829],viewQuery:function(t,n){if(t&1&&pe(R4e,5),t&2){let r;te(r=ne())&&(n.aseguradoComponent=r.first)}},inputs:{_stepper:"_stepper",_vFrentePol:"_vFrentePol"},outputs:{continuarEvent:"continuarEvent",volverEvent:"volverEvent"},decls:2,vars:2,consts:[["aseguradoComponent",""],[3,"submitOutput","volverOutput","_datosAsegurado","_vFrentePol"]],template:function(t,n){if(t&1){let r=Y();c(0,"app-datos-del-asegurado",1,0),I("submitOutput",function(a){return O(r),T(n.getFilterData(a))})("volverOutput",function(){return O(r),T(n.volver())}),d()}t&2&&g("_datosAsegurado",n.datosAsegurado)("_vFrentePol",n._vFrentePol)},dependencies:[as],encapsulation:2})};var z4e=["stepper"];function L4e(i,e){if(i&1){let t=Y();c(0,"app-step-datos-asegurado",11),I("continuarEvent",function(){O(t);let r=M();return T(r.handleAseguradoCompletado())})("volverEvent",function(){O(t);let r=M();return T(r.handleVolverSiniestro())}),d()}}function H4e(i,e){if(i&1){let t=Y();c(0,"app-step-documentacion",11),I("continuarEvent",function(){O(t);let r=M();return T(r.handleDocCompletado())})("volverEvent",function(){O(t);let r=M();return T(r.handleVolverAsegurado())}),d()}}function B4e(i,e){i&1&&S(0,"app-step-resumen")}var Cv=class i{_dataHandler=C(la);stepper;ngOnInit(){}handleSiniestroCompletado(){this.dataHandler.completedStep1=!0,this.dataHandler.validStep1=!0,this.dataHandler.stepDatosSiniestroOtros=!0,setTimeout(()=>this.stepper.next(),50)}handleAseguradoCompletado(){this.dataHandler.completedStep2=!0,this.dataHandler.stepDatosAseguradoOtros=!0,setTimeout(()=>this.stepper.next(),50)}handleDocCompletado(){this.dataHandler.completedStep3=!0,this.dataHandler.validStep3=!0,setTimeout(()=>this.stepper.next(),50)}handleVolverSiniestro(){this.dataHandler.completedStep1=!1,this.dataHandler.stepDatosSiniestroOtros=!1,setTimeout(()=>{this.stepper.previous()},50)}handleVolverAsegurado(){this.dataHandler.completedStep2=!1,this.dataHandler.stepDatosAseguradoOtros=!1,setTimeout(()=>{this.stepper.previous()},50)}handleVolverDoc(){this.dataHandler.completedStep3=!1,setTimeout(()=>{this.stepper.previous()},50)}stepperNext(e){setTimeout(()=>{this.stepper.next()},0)}stepperPrev(e){setTimeout(()=>{this.stepper.previous()},0)}get dataHandler(){return this._dataHandler}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-otros-ramos-component"]],viewQuery:function(t,n){if(t&1&&pe(z4e,5),t&2){let r;te(r=ne())&&(n.stepper=r.first)}},decls:13,vars:10,consts:[["stepper",""],["nxLayout","grid"],[1,"block-stepper"],["id","predenuncias",3,"linear"],["label","Datos del Siniestro",3,"stepControl","completed"],[3,"continuarEvent"],["label","Datos del Asegurado",3,"completed"],[3,"continuarEvent","volverEvent",4,"ngIf"],["label","Documentaci\xF3n",3,"stepControl","completed"],["label","Finalizado",3,"completed"],[4,"ngIf"],[3,"continuarEvent","volverEvent"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",1),S(1,"div",2),c(2,"nx-multi-stepper",3,0)(4,"nx-step",4),Ze(5),c(6,"app-step-datos-siniestro",5),I("continuarEvent",function(){return O(r),T(n.handleSiniestroCompletado())}),d(),Xe(),d(),c(7,"nx-step",6),L(8,L4e,1,0,"app-step-datos-asegurado",7),d(),c(9,"nx-step",8),L(10,H4e,1,0,"app-step-documentacion",7),d(),c(11,"nx-step",9),L(12,B4e,1,0,"app-step-resumen",10),d()()()}t&2&&(p(2),g("linear",!0),p(2),g("stepControl",n.dataHandler.validStep1)("completed",n.dataHandler.completedStep1),p(3),g("completed",n.dataHandler.completedStep2),p(),g("ngIf",n.dataHandler.stepDatosSiniestroOtros),p(),g("stepControl",n.dataHandler.validStep3)("completed",n.dataHandler.completedStep3),p(),g("ngIf",n.dataHandler.completedStep2),p(),g("completed",n.dataHandler.completedStep3),p(),g("ngIf",n.dataHandler.completedStep3))},dependencies:[me,Et,Oa,aa,et,_e,_v,vv,xv,bv],encapsulation:2})};var pz=[{path:"autos",component:K_},{path:"combinado-familiar",component:iv},{path:"vida",component:lv},{path:"accidentes-personales",component:gv},{path:"otros-ramos",component:Cv}];var yv=class i{route=C(Sr);appService=C(Oi);router=C(ot);ngOnInit(){console.log("\u{1F525} POSTLOGIN ngOnInit",Date.now()),console.log("ONINIT",performance.now())}ngAfterViewInit(){console.log("\u{1F525} POSTLOGIN afterViewInit",Date.now()),console.log("AFTER VIEW INIT",performance.now())}constructor(){console.log("\u{1F525} POSTLOGIN constructor",Date.now()),console.log("CONSTRUCTOR",performance.now());
829let e=this.route.snapshot.queryParamMap.get("code"),t=this.route.snapshot.queryParamMap.get("state"),n=sessionStorage.getItem("oauth2_state");if(sessionStorage.removeItem("oauth2_state"),!e||!t||!n||t!==n){this.router.navigate(["/"]);return}this.appService.postLogin(e,window.location.origin+"/postLogin").subscribe({next:()=>{Se.hasSession=!0,this.router.navigateByUrl("/priv")},error:()=>{this.router.navigate(["/"])}}),console.log("%c POSTLOGIN INIT ","background: purple; color: white; padding: 5px;",performance.now())}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-post-login"]],decls:5,vars:0,consts:[[2,"padding","40px","text-align","center"]],template:function(t,n){t&1&&(at(0,"div",0)(1,"h2"),m(2,"Procesando autenticaci\xF3n..."),pt(),at(3,"p"),m(4,"Por favor espere"),pt()())},encapsulation:2})};var j4e=["templateRefFpass"],q4e=["templateFormError"],U4e=["template"];function G4e(i,e){i&1&&(c(0,"p",20),m(1," Te enviamos un mail para que puedas restablecer tu contrase\xF1a. "),S(2,"br"),m(3," Record\xE1 verificar la bandeja de spam. "),d())}function $4e(i,e){i&1&&S(0,"img",21)}function W4e(i,e){if(i&1&&(c(0,"div")(1,"p",26),m(2),d()()),i&2){let t=M(2);p(2),K(" ",t.errorMessage," ")}}function Y4e(i,e){i&1&&(c(0,"div")(1,"p",26),m(2," El email ingresado no corresponde a un usuario registrado en nuestra plataforma. "),S(3,"br"),m(4," Para registrarte, por favor ingres\xE1 "),c(5,"a",27),m(6,"ac\xE1"),d(),m(7,". "),d()())}function Q4e(i,e){if(i&1){let t=Y();c(0,"div",4)(1,"h3",22),m(2),d(),L(3,W4e,3,1,"div",23)(4,Y4e,8,0,"div",23),c(5,"div",24)(6,"button",25),I("click",function(){O(t);let r=M();return T(r.closeTemplateDialog())}),m(7," CERRAR "),d()()()}if(i&2){let t=M();p(2),K(" ",t.modalTitle," "),p(),g("ngIf",t.errorMessage!=""),p(),g("ngIf",t.errorMessage=="")}}var Mv=class i{service=C(Oi);router=C(ot);_services=C(Tn);dialogService=C(Qn);rutaActiva=C(Sr);templateRefFpass;templateFormError;templateRef;templateDialogRef;templateErrorForm;templateForgotPassRef;modal;loginForm;forgotPasswordForm=new bt().group({correoElectronico:["",ee.required]});errorEmailForm;docNumberAux="";isLoading=!1;modalTitle="";errorMessage="";massageForgot="";buttonText="Cerrar";isLoadingPass=!1;_documentos=[];maxIntentos=3;numIntento=1;minLenght=7;maxLenght=8;showForm=!1;showButton=!0;isLoadingError=!1;isEmailIncorrecto=!1;isError=!1;ngOnInit(){}cancelarButton(){this.router.navigate(["/"])}closeTemplateDialog(){this.isError?(this.templateDialogRef?.close(),this.templateForgotPassRef?.close(),this.massageForgot=null,this.forgotPasswordForm.controls.correoElectronico.enable(),this.forgotPasswordForm.controls.correoElectronico.setValue("")):(this.templateDialogRef?.close(),this.cancelarButton())}OpenModal(){this.cerrarFormularioError(),this.templateDialogRef=this.dialogService.open(this.templateRef,{ariaLabel:"A simple dialog",width:"550px",id:"template",disableClose:!0})}OpenModalError(){this.templateErrorForm=this.dialogService.open(this.templateFormError,{ariaLabel:"A simple dialog",width:"700px",id:"templateError",disableClose:!0})}cerrarFormularioError(){this.isLoading=!1,this.showForm=!1,this.templateErrorForm?.close()}forgottPasswordaModal(){this.cleanForms(),this.massageForgot="",this.templateForgotPassRef=this.dialogService.open(this.templateRefFpass,{ariaLabel:"A simple dialog",width:"700px",id:"templateRefFpass"})}forgotPasswordSend(){this.isLoadingPass=!0;let e={email:this.forgotPasswordForm.controls.correoElectronico.value,userName:this.forgotPasswordForm.controls.correoElectronico.value};this._services.forgotPassword(e).then(t=>{t.result=="ok"?(this.isError=!1,this.modalTitle="Revis\xE1 tu correo",this.errorMessage="Te enviamos un email para restablecer tu contrase\xF1a.  Si no aparece en tu bandeja de entrada, revis\xE1 en correo no deseado o spam.",this.OpenModal()):(this.showButton=!1,this.isError=!0,this.isEmailIncorrecto=!0,this.errorMessage=t.error,this.errorMessage=="El mail no se encuentra registrado en mi allianz"&&(this.modalTitle="Email no registrado",this.errorMessage=""),this.OpenModal())}).catch(t=>{this.errorMessage="Error al enviar correo, por favor comunicate con Allianz."}).finally(()=>{this.isLoadingPass=!1,this.forgotPasswordForm.controls.correoElectronico.setValue("")})}toggleCardModal(e){this.modal.style.display=e}
829abrirForm(){this.showForm=!0}closeForgotModal(){this.forgotPasswordForm.controls.correoElectronico.enable(),this.forgotPasswordForm.controls.correoElectronico.setValue(""),this.massageForgot="",this.cleanForms(),this.templateForgotPassRef?.close()}cleanForms(){this.forgotPasswordForm.reset()}backtoLogin(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-login"]],viewQuery:function(t,n){if(t&1&&(pe(j4e,5),pe(q4e,5),pe(U4e,5)),t&2){let r;te(r=ne())&&(n.templateRefFpass=r.first),te(r=ne())&&(n.templateFormError=r.first),te(r=ne())&&(n.templateRef=r.first)}},decls:29,vars:4,consts:[["template",""],[1,"background"],[1,"background2"],[1,"box"],[1,"centered-content"],["nxHeadline","subsection-medium",1,"nx-modal-margin-bottom"],[3,"ngSubmit","formGroup"],["nxLayout","grid",1,"p-0"],["nxRow",""],["nxCol","12"],["label","Ingres\xE1 tu correo electr\xF3nico"],["nxInput","","type","email","email","true","formControlName","correoElectronico","minlength","5","maxlength","50"],["nxFormfieldError","","appearance","text"],["class","nx-modal-margin-bottom white-space: pre-line",4,"ngIf"],[1,"d-flex","justify-content-center"],["nxRow","","rowJustify","start,start,around"],["nxCol","12,12,6,6"],["nxButton","","type","submit",1,"w-100",2,"margin-top","15px!important",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","alt","","style","position: absolute; width: 70px; height: 70px",4,"ngIf"],["nxButton","secondary","type","button",2,"margin-top","15px!important",3,"click"],[1,"nx-modal-margin-bottom","white-space:","pre-line"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],["nxHeadline","subsection-medium",1,"nx-modal-margin-bottom",2,"text-align","center"],[4,"ngIf"],[1,"two-button-container","d-flex","justify-content-center"],["nxButton","primary small",1,"nx-margin-right-s",3,"click"],[1,"text-center","nx-modal-margin-bottom",2,"font-size","18px"],["href","/register",1,"register-link"]],template:function(t,n){if(t&1){let r=Y();S(0,"app-login-header"),c(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h3",5),m(6," Restablec\xE9 tu contrase\xF1a "),d(),c(7,"form",6),I("ngSubmit",function(){return O(r),T(n.forgotPasswordSend())}),c(8,"div",7)(9,"div",8)(10,"div",9)(11,"nx-formfield",10),S(12,"input",11),c(13,"nx-error",12)(14,"strong"),m(15,"Importante"),d(),m(16," este campo es requerido "),d()()()(),L(17,G4e,4,0,"p",13),c(18,"div",14)(19,"div",15)(20,"div",16)(21,"button",17),L(22,$4e,1,0,"img",18),m(23,"Enviar"),d()(),c(24,"div",16)(25,"button",19),I("click",function(){return O(r),T(n.cancelarButton())}),m(26," CANCELAR"),d()()()()()()()()()(),L(27,Q4e,8,3,"ng-template",null,0,an)}t&2&&(p(7),g("formGroup",n.forgotPasswordForm),p(10),g("ngIf",n.massageForgot),p(4),g("disabled",!n.forgotPasswordForm.valid||n.isLoadingPass),p(),g("ngIf",n.isLoadingPass))},dependencies:[me,Et,ut,vt,jt,St,sn,et,At,Rt,wt,Pt,Dn,kn,wa,st,qt,_t,Xt,Yt,op],styles:['.text-center[_ngcontent-%COMP%]{font-family:Allianz Neo,sans-serif;letter-spacing:.8px}.background[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;background-image:url("./media/mi Allianz_ login-02-T4ITAHAY.jpg");height:90vh;background-position:center;background-repeat:no-repeat;background-size:cover}.background2[_ngcontent-%COMP%]{background-color:#fff;opacity:.9;width:fit-content;padding:20px;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center}.box[_ngcontent-%COMP%]{width:500px;padding:20px}.boton[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.forgotPassword[_ngcontent-%COMP%]{display:none;border:none!important;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:350px;box-shadow:0 4px 8px #0003,0 6px 20px #00000030}.register-link[_ngcontent-%COMP%]{color:#007ab3;font-weight:600;text-decoration:none}.register-link[_ngcontent-%COMP%]:hover{text-decoration:underline}button[_ngcontent-%COMP%]{text-transform:uppercase}']})};var K4e=["templateQuestionsPersona"],X4e=["tplText"],Z4e=["genericModal"],J4e=["genericTextContent"],ege=["validateEmailContent"],tge=["tplInsertEmail"],nge=["tplFormErrorInfo"],ige=["tplFormErrorContactForm"],rge=["tplFinalStep"];function oge(i,e){i&1&&(c(0,"div"),m(1," No se pueden registrar mails corporativos "),d())}function age(i,e){i&1&&(c(0,"div"),m(1," Este campo es obligatorio "),d())}function sge(i,e){i&1&&(c(0,"div"),m(1," Debe ingresar un correo electr\xF3nico valido "),d())}function lge(i,e){i&1&&S(0,"img",32)}function cge(i,e){if(i&1&&(c(0,"p"),m(1," Te enviamos un email a "),c(2,"span",33),m(3),d(),m(4," para crear tu contrase\xF1a. Si no aparece en tu bandeja de entrada, revis\xE1 en correo no deseado o spam. "),d()),i&2){let t=M();p(3),Pe(t.emailForm)}}function dge(i,e){if(i&1&&(c(0,"nx-radio",49),m(1),d()),i&2){let t=e.$implicit;g("value",t.text),p(),K(" ",t.text," ")}}function uge(i,e){if(i&1&&(c(0,"div")(1,"h3",46),m(2),d(),c(3,"nx-radio-group",47),L(4,dge,2,2,"nx-radio",48),d()()),i&2){let t=M(),n=t.$
829implicit,r=t.index;p(2),Pe(n.text),p(),g("formControlName",r.toString()),p(),g("ngForOf",n.answers)}}function pge(i,e){if(i&1&&(c(0,"div"),L(1,uge,5,3,"div",22),d()),i&2){let t=e.index,n=M(3);p(),g("ngIf",t===n.currentQuestionIndex)}}function fge(i,e){if(i&1){let t=Y();c(0,"button",50),I("click",function(){O(t);let r=M(3);return T(r.changepage(!0))}),m(1," Siguiente "),d()}if(i&2){let t=M(3);g("disabled",(t.currentQuestionControl==null?null:t.currentQuestionControl.value)==null)}}function mge(i,e){if(i&1){let t=Y();c(0,"button",51),I("click",function(){O(t);let r=M(3);return T(r.validateQuestionsPersona())}),m(1," Enviar "),d()}if(i&2){let t=M(3);g("disabled",!t.formPreguntas.valid||t.isLoading)}}function hge(i,e){if(i&1){let t=Y();c(0,"form",39)(1,"div",14)(2,"div",40),L(3,pge,2,1,"div",41),d()(),c(4,"div",42)(5,"button",43),I("click",function(){O(t);let r=M(2);return T(r.changepage(!1))}),m(6," Anterior "),d(),L(7,fge,2,1,"button",44)(8,mge,2,1,"button",45),d()()}if(i&2){let t=M(2);g("formGroup",t.formPreguntas),p(3),g("ngForOf",t.preguntas),p(2),g("disabled",t.currentQuestionIndex===0),p(2),g("ngIf",!t.isLastQuestion),p(),g("ngIf",t.isLastQuestion)}}function gge(i,e){i&1&&(c(0,"div",52),S(1,"img",53),d())}function _ge(i,e){if(i&1&&(c(0,"div",34)(1,"h3",35),m(2," Validaci\xF3n de identidad "),d(),c(3,"p",36),m(4),d(),L(5,hge,9,5,"form",37)(6,gge,2,0,"div",38),d()),i&2){let t=M();p(4),Li(" Pregunta ",t.currentQuestionIndex+1," de ",t.totalQuestions," "),p(),g("ngIf",!t.isLoading&&t.currentQuestion),p(),g("ngIf",t.isLoading)}}function vge(i,e){i&1&&Ei(0)}function xge(i,e){if(i&1){let t=Y();c(0,"app-generic-modal",54),I("primary",function(){O(t);let r=M();return T(r.genericModalData.onPrimary())})("secondary",function(){O(t);let r=M();return T(r.genericModalData.onSecondary==null?null:r.genericModalData.onSecondary())}),L(1,vge,1,0,"ng-container",55),d()}if(i&2){let t=M();g("title",t.genericModalData.title)("primaryText",t.genericModalData.primaryText)("secondaryText",t.genericModalData.secondaryText)("showButtons",t.genericModalData.showButtons)("showSecondary",t.genericModalData.showSecondary)("disablePrimary",t.genericModalData.disablePrimary)("autoHeightContent",t.genericModalData.autoHeightContent),p(),g("ngTemplateOutlet",t.genericModalData.contentTemplate)}}function bge(i,e){if(i&1&&(c(0,"p"),m(1),d()),i&2){let t=M();p(),Pe(t.genericModalData.body)}}function Cge(i,e){if(i&1&&(c(0,"p"),m(1),d()),i&2){let t=M(2);p(),K(" ",t.genericModalData.body," ")}}function yge(i,e){if(i&1&&L(0,Cge,2,1,"p",22),i&2){let t=M();g("ngIf",t.genericModalData.body&&t.genericModalData.kind!=="FORM_VALIDATE_EMAIL")}}function Mge(i,e){i&1&&S(0,"img",32)}function wge(i,e){if(i&1){let t=Y();c(0,"form",56),I("ngSubmit",function(){O(t);let r=M();return T(r.genericModalData.onPrimary())}),c(1,"p",57),m(2," Est\xE1s generando un usuario con n\xFAmero de documento "),c(3,"strong"),m(4),d(),m(5,", pero el email no coincide. "),d(),c(6,"nx-formfield",58),S(7,"input",59),c(8,"nx-error",21),m(9),d()(),c(10,"p",57),m(11," \xBFNo reconoc\xE9s este email? "),d(),c(12,"div",42)(13,"button",60),I("click",function(){O(t);let r=M();return T(r.getQuestionsPersona())}),m(14," No reconozco ese email "),d(),c(15,"button",61),m(16," Continuar "),L(17,Mge,1,0,"img",27),d()()()}if(i&2){let t=M();g("formGroup",t.formValidateEmail),p(4),Pe(t.dniForm),p(5),K(" ",t.getErrorMessage(t.formValidateEmail.get("email"))," "),p(4),g("disabled",t.isLoading),p(2),g("disabled",t.isLoading||!t.formValidateEmail.valid),p(2),g("ngIf",t.isLoading)}}function Sge(i,e){i&1&&S(0,"img",32)}function Pge(i,e){if(i&1){let t=Y();c(0,"form",56),I("ngSubmit",function(){O(t);let r=M();return T(r.genericModalData.onPrimary())}),c(1,"p",57),m(2," Para seguir con la registraci\xF3n, ingres\xE1 tu email. "),d(),c(3,"nx-formfield",58),S(4,"input",62),c(5,"nx-error",21),m(6),d()(),c(7,"nx-formfield",63),S(8,"input",64),c(9,"nx-error",21),m(10),d()(),c(11,"div",65)(12,"button",66),I("click",function(){O(t);let r=M();return T(r.closeGenericModal())}),m(13," Cancelar "),d(),c(14,"button",61),m(15," Confirmar "),L(16,Sge,1,0,"img",27),d()()()}if(i&2){let t=M();g("formGroup",t.formNewEmail),p(6),K(" ",t.getErrorMessage(t.formNewEmail.get("email"))," "),p(4),K(" ",t.getErrorMessage(t.formNewEmail.get("repetirEmail"))," "),p(2),g("disabled",t.isLoading),p(2),g("disabled",t.isLoading||!t.formNewEmail.valid),p(2),g("ngIf",t.isLoading)}}function Ege(i,e){i&1&&(c(0,"div")(1,"p",68),m(2," Lo sentimos, no pudimos validar tu identidad. Por favor, contactate con la Compa\xF1\xEDa y/o tu Productor de Seguros. "),d()())}function Dge(i,e){if(i&1&&(c(0,"p",69),m(1),d()),i&2){let t=M(2);p(),K(" ",t.formErrorBodyText," ")}}function Oge(i,e){if(i&1&&L(0,Ege,3,0,"div",67)(1,Dge,2,1,"ng-template",null,9,an),i&2){let t=Ct(2),n=M();g("ngIf",n.isNotFound)("ngIfElse",t)}}function Tge(i,e){if(i&1){let t=Y();c(0,"form",70),I("ngSubmit",function(){O(t);let r=M();return T(r.genericModalData.onPrimary())}),c(1,"div",14)(2,"div",71)(3,"nx-formfield",72),S(4,"input",73),c(5,"nx-error",21)(6,"strong"),m(7,"Importante"),d(),m(8," este campo es requerido "),d()()(),c(9,"div",71)(10,"nx-formfield",74),S(11,"input",75),c(12,"nx-error",21)(13,"strong"),m(14,"Importante"),d(),m(15," este campo es requerido "),d()()()(),S(16,"app-document-form",76),c(17,"div",14)(18,"div",77)(19,"nx-formfield",58),S(20,"input",78),c(21,"nx-error",21)(22,"strong"),m(23,"Importante"),d(),m(24," este campo es requerido "),d()()()(),c(25,"div",14)(26,"div",77)(27,"nx-formfield",79),S(28,"input",80),c(29,"nx-error",21)(30,"strong"),m(31,"Importante"),d(),m(32," este campo es requerido "),d()()()(),c(33,"div",14)(34,"div",77)(35,"nx-formfield",81),S(36,"textarea",82),c(37,"nx-error",21)(38,"strong"),m(39,"Importante"),d(),m(40," este campo es requerido "),d()()()(),c(41,"div",83)(42,"button",84),m(43," Enviar "),d(),c(44,"button",28),I("click",function(){O(t);let r=M();return T(r.genericModalData.onSecondary==null?null:r.genericModalData.onSecondary())}
829),m(45," Cancelar "),d()()()}if(i&2){let t=M();g("formGroup",t.errorEmailForm),p(42),g("disabled",t.isLoadingError||t.errorEmailForm.invalid)}}var wv=class i{templateQuestionsPersona;tplText;genericModal;genericTextContent;validateEmailContent;tplInsertEmail;tplFormErrorInfo;tplFormErrorContactForm;tplFinalStep;templateQuestionRef;genericModalData;genericModalRef;documentosHumano=[];messageError=null;_documentos=[];loadingData=!1;isLoading;fromValidate=!1;setErrorEmail=!0;showForm=!1;isLoadingError=!1;showButtons=!0;hiddenEmail;preguntas;userInfo;minLenght=7;maxLenght=8;numIntentos=1;errorType="ErrorIntento";errorMail="Error al enviar email para crear el usuario, intente nuevamente";questionsToken=null;maxIntentos=3;numIntento=1;messageErrorModal=` No pudimos validar tu identidad. 
830    Lo sentimos, las respuestas ingresadas no coinciden con los datos de un cliente.
831    Complet\xE1 el formulario con tus datos y te contactaremos.`;errorMessage="Identidad no validada - miAllianz";isNotFound=!0;subjetMessage="Error en registro de usuario";motivoMessage="";isShowButtonForm=!0;isToLogin=!0;dniForm="";docIntentar="";docIntentos=["DNI","CUIT","CUIL"];emailForm="";typeForm="";shouldUnlockMainFormAfterCheckUser=!1;currentQuestionIndex=0;_services=C(Tn);dialogService=C(Qn);router=C(ot);formGroup=new bt().group({documentoForm:["",ee.required],email:["",[ee.required]]},{validator:this.checkValidateEmail("email")});formPreguntas=new bt().group({0:[null,ee.required],1:[null,ee.required],2:[null,ee.required],3:[null,ee.required]});formNewEmail=new bt().group({email:["",[ee.required]],repetirEmail:["",[ee.required]]},{validator:this.checkIfMatchingEmail("email","repetirEmail")});formValidateEmail=new bt().group({email:["",[ee.required]]});errorEmailForm=new bt().group({nombre:["",ee.required],apellido:["",ee.required],documento:["",ee.required],email:["",ee.required],telefono:["",ee.required],comentarios:[""]});ngOnInit(){this.messageError=null,this.closeTemplateDialog()}ngOnDestroy(){this.closeModalQuestions(),this.closeTemplateDialog(),this.resetQuestionsFormState()}getErrorMessage(e){return e&&e.errors?e.errors.required?"El campo es requerido":e.errors.pattern?"Formato Invalido":e.errors.maxlength?"Maximo de 50 Caracteres":e.errors.notEquivalent?"Los emails deben ser iguales":" ":""}checkValidateEmail(e){let t=new RegExp("^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$");return n=>{let r=n.controls[e];return r.value==""?r.setErrors({require:!0}):t.test(r.value)?r.value.includes("@allianz")?r.setErrors({isCorporative:!0}):r.setErrors(null):r.setErrors({emailValidate:!0})}}checkIfMatchingEmail(e,t){return n=>{let r=n.controls[e],o=n.controls[t];return r.value!==o.value?o.setErrors({notEquivalent:!0}):o.setErrors(null)}}submitForm(){if(this.formGroup.invalid)return;let e=this.formGroup.getRawValue();this.dniForm=e.documentoForm.numeroDocumento,this.typeForm=e.documentoForm.tipoDocumento.description,this.emailForm=e.email,this.loadingData=!0,this.lockMainFormUntilCheckUserResponse();let t={documentType:e.documentoForm.tipoDocumento.documentTypeCode,documentNumber:e.documentoForm.numeroDocumento,email:e.email};this.checkUser(t)}submitNewEmail(){if(this.formNewEmail.invalid)return;let e=this.formGroup.getRawValue();this.loadingData=!0,this.userInfo={documentType:e.documentoForm.tipoDocumento.documentTypeCode,documentNumber:e.documentoForm.numeroDocumento,email:this.formNewEmail.get("email")?.value},this.postTokenRequest()}checkUser(e){this._services.postCheckUser(e).then(t=>{let{error:n,result:r}=t;if(n){this.messageErrorModal=`No pudimos validar tu identidad. Lo sentimos, 
832              las respuestas ingresadas no coinciden con los datos de un cliente.
833              Complet\xE1 el formulario con tus datos y te contactaremos.`,this.isNotFound=!0,this.isLoading=!1,this.loadingData=!1,this.showButtons=!0,this.cleanForm(),this.openGenericFormErrorInfo(),this.numIntento=1;return}let{action:o}=r;switch(o){case"complete_questions":this.isLoading=!1,this.loadingData=!1,this.mapQuestions(t.result.questions),this.questionsToken=t.result.questions_token;break;case"show_data":let{data:a}=r,s=a.nombre&&a.apellido?a.nombre+" "+a.apellido:a.razonSocial;this.userInfo={telefono:a.telefono,domicilio:a.domicilio,apellidoNombre:s,email:a.email,documentNumber:a.documento.substring(1),documentType:a.documento.charAt(0)},this.closeTemplateDialog(),this.openGenericEmailsMatch();break;case"user_exists":this.isLoading=!1,this.disableForm(),this.openGenericUserExists();break;case"null_answer_data_found":this.messageErrorModal=`No pudimos validar tu identidad.
834              Complet\xE1 el formulario con tus datos y te contactaremos.`,this.motivoMessage="No hay datos para validar",this.isNotFound=!1,this.isLoading=!1,this.loadingData=!1,this.cleanForm(),this.showButtons=!0,this.openGenericFormErrorInfo(),this.numIntento=1;break;case"exists_mail_csm":this.messageErrorModal="Ya existe un usuario con el email ingresado. Por favor, prob\xE1 con uno diferente.",this.isShowButtonForm=!1,this.isLoading=!1,this.loadingData=!1,this.isToLogin=!1,this.cleanForm(),this.openGenericOkForm("Email existente"),this.numIntento=1;break;case"not_registrable_person":this.maxIntentos===this.numIntento?(this.isNotFound=!0,this.isLoading=!1,this.loadingData=!1,this.showButtons=!1,this.openGenericFormErrorInfo(),this.numIntento=1):(this.checkdocument(),this.openGenericUserNotFound(),this.numIntento++);break;default:let l=t.message?t.message:"Error en el servicio, por favor intente nuevamente";this.handleError(l),console.error("Acci\xF3n no reconocida:",o)}}).catch(t=>{console.error(t),this.handleError("Ocurrio un error, por favor vuelva a intentar")}
834).finally(()=>{this.unlockMainFormAfterCheckUserResponse()})}checkdocument(){let e=[],t=this.formGroup.getRawValue().documentoForm?.tipoDocumento?.description;if(!t){this.docIntentar="DNI";return}if(t!="CUIT"&&t!="CUIL"&&t!="DNI"){this.docIntentar="DNI";return}this.docIntentos.map(n=>{n!=t&&e.push(n)}),e.length==1?this.docIntentar=e[0]:this.docIntentar=e[0]+" y/o "+e[1],this.docIntentos=[...e]}postValidateEmail(e){this.isLoading=!0,this._services.postValidateEmail(e).then(t=>{if(t.error){this.closeTemplateDialog(),this.handleError(t.error);return}else t.result.valid?this.checkUser(e):(this.mapQuestions(t.result.questions),this.questionsToken=t.result.questions_token)}).catch(t=>{console.error(t),this.handleError(t)})}postTokenRequest(){this.isLoading=!0;let e={documentNumber:this.userInfo.documentNumber,documentType:this.userInfo.documentType,email:this.userInfo.email};this._services.postTokenRequest(e).then(t=>{if(t.result=="Error"||t.error){this.handleError(t.error);return}this.emailForm=this.formNewEmail.controls.email.value==""?this.userInfo.email:this.formNewEmail.controls.email.value,this.isLoading=!1,this.closeTemplateDialog(),this.closeModalQuestions(),this.openGenericFinalStep()}).catch(t=>{this.handleError(t.message),console.error(t)})}redirectHome(){this.closeModalQuestions(),this.closeGenericModal(),this.router.navigate(["/"])}redirectLogin(){this.closeModalQuestions(),this.closeGenericModal(),this.router.navigate(["/login"])}closeErrorDialog(){}cleanForm(){this.formGroup.controls.email.setValue(null)}disableForm(){this.formGroup.enabled?this.formGroup.disable():this.formGroup.enable()}lockMainFormUntilCheckUserResponse(){this.shouldUnlockMainFormAfterCheckUser=!0,this.formGroup.disable({emitEvent:!1})}unlockMainFormAfterCheckUserResponse(){this.shouldUnlockMainFormAfterCheckUser&&(this.formGroup.enable({emitEvent:!1}),this.shouldUnlockMainFormAfterCheckUser=!1)}validateEmail(){let e=this.formGroup.getRawValue();this.isLoading=!0;let t={email:this.formValidateEmail.get("email")?.value,documentNumber:e.documentoForm.numeroDocumento,documentType:e.documentoForm.tipoDocumento.documentTypeCode};this.postValidateEmail(t)}mapQuestions(e){this.resetQuestionsFormState(),this.preguntas=e,this.currentQuestionIndex=0,this.closeTemplateDialog(),this.openModalQuestions()}getQuestionsPersona(){let e=this.formGroup.getRawValue();this.isLoading=!0,this.loadingData=!0;let t={email:" ",documentNumber:e.documentoForm.numeroDocumento,documentType:e.documentoForm.tipoDocumento.documentTypeCode};this.postValidateEmail(t)}get currentQuestion(){return this.preguntas?.[this.currentQuestionIndex]}get totalQuestions(){return this.preguntas?.length||0}get isLastQuestion(){return this.currentQuestionIndex===this.totalQuestions-1}changepage(e){console.log("controls",Object.keys(this.formPreguntas.controls)),console.log("idx",this.currentQuestionIndex,"value",this.formPreguntas.get(String(this.currentQuestionIndex))?.value),e?this.currentQuestionIndex++:this.currentQuestionIndex--}get currentQuestionControl(){return this.formPreguntas.get(this.currentQuestionIndex.toString())}validateQuestionsPersona(){if(!this.formPreguntas.valid)return;this.isLoading=!0;let e={},t=this.formPreguntas.value;for(let n in t[0]){let r=t[0][n].split(":");e[r[0]]=r[1]}this._services.postValidateResponses(this.questionsToken,t).then(n=>{n.result.valid?(this.closeTemplateDialog(),this.closeModalQuestions(),this.openGenericInsertEmail()):(this.motivoMessage="Identidad no validada",this.isNotFound=!1,this.closeModalQuestions(),this.showButtons=!0,this.openGenericFormErrorInfo())}).catch(n=>{console.error(n),this.closeModalQuestions(),this.handleError("Error en el servicio, volver a intentarlo")}).finally(()=>{this.isLoading=!1})}handleError(e){this.resetQuestionsFormState(),this.messageError=e||this.errorMail,this.numIntentos==3&&this.closeTemplateDialog(),e||this.closeTemplateDialog(),this.openGenericError(this.messageError),this.isLoading=!1}modalErrorClose(){this.messageError==this.errorType||this.messageError==this.errorMail?this.closeTemplateDialog():this.redirectHome()}closeTemplateDialog(){this.isLoading=!1,this.loadingData=!1,this.closeGenericModal()}openModalQuestions(){this.templateQuestionRef=this.dialogService.open(this.templateQuestionsPersona,{maxWidth:"1400px",ariaLabel:"A simple dialog",showCloseIcon:!1,disableClose:!0})}closeModalQuestions(){this.templateQuestionRef?.close(),this.resetQuestionsFormState()}resetQuestionsFormState(){this.formPreguntas.reset({0:null,1:null,2:null,3:null},{emitEvent:!1}
834),Object.values(this.formPreguntas.controls).forEach(e=>{e.markAsPristine(),e.markAsUntouched()}),this.currentQuestionIndex=0,this.questionsToken=null,this.preguntas=null}abrirForm(){this.showForm=!0}envioFormularioError(){this.isLoadingError=!0;let e={app:"Mi Allianz",motivo:this.motivoMessage,doc:this.errorEmailForm.value.documento.numeroDocumento,nombre:this.errorEmailForm.controls.nombre.value,apellido:this.errorEmailForm.controls.apellido.value,celular:this.errorEmailForm.controls.telefono.value,email:this.errorEmailForm.controls.email.value,tipoDoc:this.errorEmailForm.value.documento.tipoDocumento.documentTypeCode,comentario:this.errorEmailForm.controls.comentarios.value,subject:this.subjetMessage};this._services.postPersonSendMailError(e).then(t=>{this.errorMessage=t.result.respuesta,this.cerrarFormularioError(),this.messageErrorModal="Recibimos tu formulario correctamente. Nos comunicaremos a la brevedad.",this.isToLogin=!0,this.openGenericOkForm("Recibimos tu consulta")}).catch(t=>{}).finally(()=>{this.isLoadingError=!1})}openGenericModal(e){this.genericModalData=e,this.genericModalRef=this.dialogService.open(this.genericModal,{disableClose:!0})}closeGenericModal(){this.loadingData=!1,this.genericModalRef?.close()}openGenericUserExists(){this.openGenericModal({title:"Usuario existente",body:"El usuario ya est\xE1 registrado en nuestra plataforma. Por favor, inici\xE1 sesi\xF3n para acceder a tu cuenta.",kind:"TEXT",primaryText:"Login",contentTemplate:this.tplText,showButtons:!0,onPrimary:()=>this.redirectLogin()})}openGenericUserNotFound(){this.openGenericModal({title:"Asegurado no encontrado",body:`No encontramos un asegurado con ${this.typeForm} ${this.dniForm}. 
835           Te recomendamos intentar con tu ${this.docIntentar} con el que tu p\xF3liza pueda estar asociada.`,kind:"TEXT",primaryText:"Volver a intentar",contentTemplate:this.tplText,showButtons:!0,onPrimary:()=>this.closeTemplateDialog()})}openGenericEmailsMatch(){this.openGenericModal({title:"Asegurado encontrado",body:`Est\xE1s generando un usuario para ${this.userInfo.apellidoNombre}, 
836           con n\xFAmero de documento ${this.userInfo.documentNumber}.`,kind:"TEXT",primaryText:"Continuar",contentTemplate:this.tplText,showButtons:!0,onPrimary:()=>{this.closeGenericModal(),this.postTokenRequest()}})}openGenericFinalStep(){this.openGenericModal({title:"\xA1Est\xE1s a un paso de registrarte!",kind:"TEMPLATE",contentTemplate:this.tplFinalStep,templateContext:{email:this.emailForm},primaryText:"Continuar",showButtons:!0,onPrimary:()=>{this.closeGenericModal(),this.redirectHome()}})}openGenericError(e){let t=this.resolveErrorMessage(e);this.openGenericModal({title:"Error",body:t,primaryText:"Cerrar",contentTemplate:this.genericTextContent,showButtons:!0,onPrimary:()=>{this.closeGenericModal(),this.modalErrorClose()}})}resolveErrorMessage(e){switch(e){case"ErrorIntento":return`No pudimos validar tu identidad.
837Lo sentimos, las respuestas ingresadas no coinciden con los datos de un cliente.
838Por favor intenta nuevamente.`;case"Error":return`No pudimos validar tu identidad.
839Lo sentimos, las respuestas ingresadas no coinciden con los datos de un cliente.
840Contactate con nosotros al 0810-222-2243 o por email a [email protected].`;default:return this.messageError?this.messageError:"No pudimos verificar tu identidad, por favor revis\xE1 tus respuestas o comunicate con Allianz."}}openGenericOkForm(e=""){this.openGenericModal({title:e,body:this.messageErrorModal,kind:"TEXT",primaryText:"Continuar",contentTemplate:this.tplText,showButtons:!0,onPrimary:()=>{this.closeGenericModal(),this.closeTemplateOkDialog(this.isToLogin)}})}openGenericValidateEmail(){this.openGenericModal({title:"Persona encontrada",primaryText:"Continuar",secondaryText:"No reconozco ese email",showSecondary:!0,disablePrimary:this.formValidateEmail.invalid,contentTemplate:this.validateEmailContent,showButtons:!1,onPrimary:()=>this.validateEmail(),onSecondary:()=>this.getQuestionsPersona()})}openGenericInsertEmail(){this.openGenericModal({title:"Validamos tu identidad",primaryText:"Confirmar",secondaryText:"Cancelar",disablePrimary:this.formNewEmail.invalid,contentTemplate:this.tplInsertEmail,showButtons:!1,onPrimary:()=>{this.submitNewEmail()},onSecondary:()=>{this.closeGenericModal()}})}get formErrorBodyText(){let e=(this.messageErrorModal||"").trim();return e?e.replace(/^No pudimos validar tu identidad\.?\s*/i,"").trim():""}openGenericFormErrorInfo(){let e=this.isNotFound?"Asegurado no encontrado":"No pudimos validar tu identidad";this.openGenericModal({title:e,body:this.messageErrorModal,contentTemplate:this.tplFormErrorInfo,primaryText:this.showButtons?"Formulario":"Cerrar",secondaryText:this.showButtons?"Cancelar":void 0,showSecondary:!!this.showButtons,showButtons:!0,onPrimary:()=>{this.showButtons?(this.closeGenericModal(),this.openGenericFormErrorContactForm()):(this.closeGenericModal(),this.redirectHome())},onSecondary:()=>{this.redirectHome()}})}openGenericFormErrorContactForm(){this.openGenericModal({title:"Complet\xE1 el formulario",contentTemplate:this.tplFormErrorContactForm,autoHeightContent:!0,showButtons:!1,primaryText:"Enviar",secondaryText:"Cancelar",disablePrimary:this.isLoadingError||this.errorEmailForm.invali
840d,onPrimary:()=>{this.envioFormularioError()},onSecondary:()=>{this.closeGenericModal(),this.cerrarFormularioError()}})}closeTemplateOkDialog(e){this.closeGenericModal(),this.isLoading=!1,this.loadingData=!1,e&&this.router.navigate(["/"])}cerrarFormularioError(){this.showForm=!1,this.closeGenericModal(),this.showButtons||this.router.navigate(["/"])}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-register-first-step"]],viewQuery:function(t,n){if(t&1&&(pe(K4e,5),pe(X4e,7),pe(Z4e,5),pe(J4e,5),pe(ege,5),pe(tge,7),pe(nge,7),pe(ige,7),pe(rge,7)),t&2){let r;te(r=ne())&&(n.templateQuestionsPersona=r.first),te(r=ne())&&(n.tplText=r.first),te(r=ne())&&(n.genericModal=r.first),te(r=ne())&&(n.genericTextContent=r.first),te(r=ne())&&(n.validateEmailContent=r.first),te(r=ne())&&(n.tplInsertEmail=r.first),te(r=ne())&&(n.tplFormErrorInfo=r.first),te(r=ne())&&(n.tplFormErrorContactForm=r.first),te(r=ne())&&(n.tplFinalStep=r.first)}},decls:56,vars:6,consts:[["tplFinalStep",""],["templateQuestionsPersona",""],["genericModal",""],["tplText",""],["genericTextContent",""],["validateEmailContent",""],["tplInsertEmail",""],["tplFormErrorInfo",""],["tplFormErrorContactForm",""],["defaultErrorBlock",""],[1,"contenedor"],[1,"text-center"],[1,"form-example",3,"submit","formGroup"],["nxLayout","grid"],["nxRow",""],["nxCol","12,12,8,8 m-auto"],["formControlName","documentoForm","columnType","12,12,3,3","columnNum","12,12,5,5",3,"isDisableCharge"],["nxRow","",1,"d-flex","justify-content-center"],["nxCol","12,12,8,8"],["label","E-Mail"],["type","email","ngModel","","email","true","nxInput","","formControlName","email","minlength","5","maxlength","50"],["nxFormfieldError","","appearance","text"],[4,"ngIf"],[1,"d-flex","justify-content-center"],["nxRow","","rowJustify","start,start,around"],["nxCol","12,12,6,6"],["type","submit","nxButton","","type","submit",3,"disabled"],["src","../../../../../../assets/img/Spinner-2.svg","style","position: absolute; width: 70px; height: 70px","alt","",4,"ngIf"],["nxButton","secondary","type","button",3,"click"],["nxCol","12,12,12,6",1,"m-auto","text-center","mt-3"],["href","/login"],[1,"m-5"],["src","../../../../../../assets/img/Spinner-2.svg","alt","",2,"position","absolute","width","70px","height","70px"],[1,"highlight-email"],[1,"centered-content","question-modal"],["nxHeadline","subsection-medium",1,"nx-modal-margin-bottom"],[1,"question-progress"],["class","form-example",3,"formGroup",4,"ngIf"],["class","loading-container",4,"ngIf"],[1,"form-example",3,"formGroup"],["nxCol","12",2,"text-align","start"],[4,"ngFor","ngForOf"],[1,"d-flex","justify-content-around","mt-5"],["nxButton","secondary","type","button",3,"click","disabled"],["nxButton","primary","type","button",3,"disabled","click",4,"ngIf"],["nxButton","primary","type","submit",3,"disabled","click",4,"ngIf"],[1,"mb-5"],[1,"mb-5",3,"formControlName"],["style","margin-bottom: 10px;",3,"value",4,"ngFor","ngForOf"],[2,"margin-bottom","10px",3,"value"],["nxButton","primary","type","button",3,"click","disabled"],["nxButton","primary","type","submit",3,"click","disabled"],[1,"loading-container"],["src","../../../../../../assets/img/Spinner-2.svg","width","70"],[3,"primary","secondary","title","primaryText","secondaryText","showButtons","showSecondary","disablePrimary","autoHeightContent"],[4,"ngTemplateOutlet"],[1,"modal-form",3,"ngSubmit","formGroup"],[1,"modal-helper"],["label","Email"],["nxInput","","type","text","formControlName","email"],["nxButton","secondary","type","button",1,"nx-margin-right-s",3,"click","disabled"],["nxButton","primary","type","submit",1,"nx-margin-right-s",3,"disabled"],["nxInput","","formControlName","email","maxlength","50"],["label","Repetir email"],["nxInput","","formControlName","repetirEmail","maxlength","50"],[1,"d-flex","justify-content-around"],["nxButton","secondary",1,"nx-margin-right-s",3,"click","disabled"],[4,"ngIf","ngIfElse"],[1,"modal-text"],[1,"modal-text",2,"white-space","pre-line"],[1,"form-example",3,"ngSubmit","formGroup"],["nxCol","12,6",1,"mb-3"],["label","Nombre"],["nxInput","","formControlName","nombre","maxlength","25","onlyLetters",""],["label","Apellido"],["nxInput","","formControlName","apellido","maxlength","25","onlyLetters",""],["formControlName","documento","columnType","12,6","columnNum","12,6",1,"mb-3"],["nxCol","12",1,"mb-3"],["type","email","nxInput","","formControlName","email","minlength","5","maxlength","50"],["label","Tel\xE9fono (Cod. \xC1rea + n\xFAmero)"],["nxInput","","formControlName","telefono","minlength","10","maxlength","15","numbersOnly",""],["label","Comentarios","nxFloatLabel","always"],["formControlName","comentarios","nxInput","","cdkTextareaAutosize","","noEspecialCharacters",""],[1,"modal-form-actions"],["nxButton","primary","type","submit",3,"disabled"]],template:function(t,n){if(t&1){let r=Y();c(0,"div",10)(1,"h1",11),m(2,"REGISTRATE"),d(),c(3,"form",12),I("submit",function(){return O(r),T(n.submitForm(
840))}),c(4,"div",13)(5,"div",14)(6,"div",15)(7,"app-document-form",16),I("isDisableCharge",function(){return O(r),T(n.isLoading)}),d(),c(8,"div",17)(9,"div",18)(10,"nx-formfield",19),S(11,"input",20),c(12,"nx-error",21),L(13,oge,2,0,"div",22)(14,age,2,0,"div",22)(15,sge,2,0,"div",22),d()()()(),S(16,"br"),c(17,"div",23)(18,"div",24)(19,"div",25)(20,"button",26),m(21," Registrarse "),L(22,lge,1,0,"img",27),d()(),c(23,"div",25)(24,"button",28),I("click",function(){return O(r),T(n.redirectHome())}),m(25,"Cancelar"),d()()()(),c(26,"div",14)(27,"div",29)(28,"a",30)(29,"p"),m(30,"\xBFYa est\xE1s registrado? "),c(31,"strong"),m(32,"Inici\xE1 sesi\xF3n ac\xE1"),d()()()()()()()()(),c(33,"div",31),S(34,"br")(35,"hr"),c(36,"span",31),m(37,"El titular de los datos personales tiene la facultad de ejercer el derecho de acceso a los mismos en forma gratuita a intervalos no inferiores a seis meses, salvo que se acredite un inter\xE9s leg\xEDtimo al efecto conforme lo establecido en el art\xEDculo 13, inciso 3 de la Ley N\xB0 25.326. La Direcci\xF3n Nacional de Protecci\xF3n de Datos Personales, \xD3rgano de Control de la Ley N\xB0 25.326, tiene la atribuci\xF3n de atender las denuncias y reclamos que se interpongan con relaci\xF3n al incumplimiento de las normas sobre protecci\xF3n de datos personales."),d()()(),L(38,cge,5,1,"ng-template",null,0,an)(40,_ge,7,4,"ng-template",null,1,an)(42,xge,2,8,"ng-template",null,2,an)(44,bge,2,1,"ng-template",null,3,an)(46,yge,1,1,"ng-template",null,4,an)(48,wge,18,6,"ng-template",null,5,an)(50,Pge,17,6,"ng-template",null,6,an)(52,Oge,3,2,"ng-template",null,7,an)(54,Tge,46,2,"ng-template",null,8,an)}t&2&&(p(3),g("formGroup",n.formGroup),p(10),g("ngIf",n.formGroup.controls.email.getError("isCorporative")),p(),g("ngIf",n.formGroup.controls.email.getError("require")),p(),g("ngIf",n.formGroup.controls.email.getError("emailValidate")),p(5),g("disabled",n.loadingData||!n.formGroup.valid),p(2),g("ngIf",n.loadingData))},dependencies:[me,Et,ut,vt,R2,F2,jt,St,sn,Ut,et,Ji,At,Rt,wt,Pt,Dn,kn,wa,st,qt,_t,Xt,Yt,l1,a1],styles:[".centered-content[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;text-align:center}.subtitle-preguntas[_ngcontent-%COMP%]{font-size:1.1rem;padding-bottom:.5rem}.contenedor[_ngcontent-%COMP%]{margin-top:4rem!important}.contenedor[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin-bottom:2rem}.polizas-viewport[_ngcontent-%COMP%]{height:600px;width:100%}.preguntas[_ngcontent-%COMP%]{max-width:60%;margin:auto}.question-progress[_ngcontent-%COMP%]{font-size:14px;color:#666;margin-bottom:16px}.highlight-email[_ngcontent-%COMP%]{color:#007ab3;font-weight:600}button[_ngcontent-%COMP%]{text-transform:uppercase}.modal-form-actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.75rem}"]})};function Ige(i,e){if(i&1&&(at(0,"li")(1,"span",14),wn(2,"img",15),pt(),at(3,"span",16),m(4),pt()()),i&2){let t=e.$implicit;p(4),Pe(t)}}function kge(i,e){if(i&1){let t=Y();at(0,"div",17),uo("click",function(){O(t);let r=M();return T(r.closeContactModal())}),at(1,"div",18),uo("click",function(r){return O(t),T(r.stopPropagation())}),at(2,"div",19)(3,"div",20),wn(4,"img",21),pt(),at(5,"div",22)(6,"h3",23),m(7,"\xA1Muchas gracias!"),pt(),at(8,"p",24),m(9," En breve tu Productor Asesor se comunicar\xE1 con vos. "),pt()()(),at(10,"div",25)(11,"button",26),uo("click",function(){O(t);let r=M();return T(r.handleModalConfirm())}),m(12," Aceptar "),pt()()()()}}var Sv=class i{showContactModal=!1;isSubmittingContactRequest=!1;contactCenterService=C(cp);emittersService=C(Jt);eventsService=C(Do);router=C(ot);coberturas=["Muerte por cualquier causa.","Muerte por accidente + p\xE9rdidas parciales por accidente.","Invalidez total y permanente por accidente.","Invalidez temporaria (renta mensual) 30 d\xEDas de espera.","Trasplante de \xF3rganos.","Anticipo de beneficio por enfermedades terminales.","Enfermedades graves.","Renta diaria por internaci\xF3n hospitalaria como consecuencia de un accidente."];ngOnInit(){this.eventsService.logEventInBackground(Ar.ABRE_BANNER_VIDA_PROTECCION.action,Ar.ABRE_BANNER_VIDA_PROTECCION.description)}submitContactRequest(){this.isSubmittingContactRequest||(this.isSubmittingContactRequest=!0,this.contactCenterService.getVidaCotizacionCrossseling().pipe(Zo(()=>{this.isSubmittingContactRequest=!1})).subscribe({next:e=>{this.isSuccessfulContactResponse(e)?this.showContactModal=!0:this.emittersService.emmiterToast(0,"No pudimos registrar tu solicitud. Intentalo nuevamente.")},error:()=>{this.emittersService.emmiterToast(0,"No pudimos registrar tu solicitud. Intentalo nuevamente.")}}))}closeContactModal(){this.showContactModal=!1}handleModalConfirm(){this.showContactModal=!1,this.router.navigate(["/priv"])}isSuccessfulContactResponse(e){return e==null?!0:typeof e=="string"?e.trim().toLowerCase()==="ok":typeof e.result=="string"?e.result.trim().toLowerCase()==="ok":typeof e.status=="string"?e.status.trim().toLowerCase()==="ok":!0}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=z({type:i,selectors:[["app-cross-selling-vida-proteccion"]],decls:21,vars:3,consts:[[1,"cross-selling-page"],[1,"cross-selling-header"],[1,"cross-selling-title"],[1,"cross-selling-subtitle"],[1,"cross-selling-separator"],[1,"cross-selling-content"],[1,"cross-selling-image-wrap"],["src","../../../../../../assets/img/woman_and_man_in_front_of_house_under_umbrella.png","alt","Ilustraci\xF3n seguro vida protecci\xF3n"],[1,"cross-selling-coverages"],[1,"cross-selling-coverages-title"],[1,"cross-selling-coverages-list"],[1,"cross-selling-action"],["type","button",1,"cross-selling-contact-btn",3,"click","disabled"],[1,"cross-selling-modal-backdrop"],["aria-hidden","true",1,"cross-selling-check-wrap"],["src","../../../../../../assets/img/Check.svg","alt","",1,"cross-selling-check-image"],[1,"cross-selling-coverage-text"],[1,"cross-selling-modal-backdrop",3,"click"],["role","dialog","aria-modal","true","aria-label","Confirmaci\xF3n",1,"cross-selling-modal",3,"click"],[1,"cross-selling-modal-body"],["aria-hidden","true",1,"cross-selling-modal-check-wrap"],["src","../../../../../../assets/img/success-filled.svg","alt","",1,"cross-selling-modal-check-icon"],[1,"cross-selling-modal-copy"],[1,"cross-selling-modal-title"],[1,"cross-selling-modal-message"],[1,"cross-selling-modal-footer"],["type","button",1,"cross-selling-modal-btn",3,"click"]],template:function(t,n){t&1&&(at(0,"div",0)(1,"header",1)(2,"h1",2),m(3,"Seguro Vida Protecci\xF3n"),pt(),at(4,"p",3),m(5," Tranquilidad para hoy, respaldo para ma\xF1ana. "),pt()(),wn(6,"div",4),at(7,"section",5)(8,"div",6),wn(9,"img",7),pt(),at(10,"div",8)(11,"h2",9),m(12,"Coberturas:"),pt(
840),at(13,"ul",10),Ot(14,Ige,5,1,"li",null,$n),pt()()(),at(16,"div",11)(17,"button",12),uo("click",function(){return n.submitContactRequest()}),m(18),pt()(),wn(19,"div",4),re(20,kge,13,0,"div",13),pt()),t&2&&(p(14),Tt(n.coberturas),p(3),gi("disabled",n.isSubmittingContactRequest),p(),K(" ",n.isSubmittingContactRequest?"ENVIANDO...":"QUIERO QUE ME CONTACTEN"," "),p(2),oe(n.showContactModal?20:-1))},dependencies:[me],styles:["[_nghost-%COMP%]{display:block}.cross-selling-page[_ngcontent-%COMP%]{max-width:920px;margin:40px auto 0;padding:0;font-family:Allianz Neo,sans-serif;color:#414141}.cross-selling-header[_ngcontent-%COMP%]{text-align:center}.cross-selling-title[_ngcontent-%COMP%]{margin:0;font-weight:300;font-size:40px;line-height:100%;letter-spacing:0;text-align:center}.cross-selling-subtitle[_ngcontent-%COMP%]{margin:12px 0 0;font-weight:300;font-size:26px;line-height:32px;letter-spacing:.3px;text-align:center}.cross-selling-separator[_ngcontent-%COMP%]{width:100%;height:1px;background:#dedede;margin:18px 0 24px}.cross-selling-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:center;gap:88px}.cross-selling-image-wrap[_ngcontent-%COMP%]{width:29%;flex-shrink:0;margin-top:0}.cross-selling-image-wrap[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto;object-fit:contain}.cross-selling-coverages[_ngcontent-%COMP%]{flex:1;max-width:none;width:560px}.cross-selling-coverages-title[_ngcontent-%COMP%]{margin:0 0 12px;font-weight:700;font-size:16px;line-height:100%;letter-spacing:0;color:#414141}.cross-selling-coverages-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.cross-selling-coverages-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:8px;margin-bottom:0}.cross-selling-check-wrap[_ngcontent-%COMP%]{width:24px;height:24px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.cross-selling-check-image[_ngcontent-%COMP%]{width:24px;height:24px;flex-shrink:0;display:block}.cross-selling-coverage-text[_ngcontent-%COMP%]{font-weight:400;font-size:16px;line-height:24px;letter-spacing:0;vertical-align:middle;color:#414141;padding-top:0;white-space:nowrap}.cross-selling-coverages-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:last-child{margin-bottom:0}.cross-selling-coverages-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:not(:last-child){margin-bottom:2px}.cross-selling-action[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:26px 0 36px}.cross-selling-contact-btn[_ngcontent-%COMP%]{min-width:292px;height:44px;border:0;border-radius:4px;background:#007ab3;color:#fff;font-family:AllianzNeoSB,sans-serif!important;font-weight:600!important;font-size:20px;line-height:100%;letter-spacing:0;text-align:center;padding:0 20px;cursor:pointer}.cross-selling-contact-btn[_ngcontent-%COMP%]:hover{background:#006192}.cross-selling-contact-btn[_ngcontent-%COMP%]:disabled{background:#8ab9d2;cursor:not-allowed}.cross-selling-modal-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0000006b;display:flex;align-items:center;justify-content:center;z-index:1200;padding:24px}.cross-selling-modal[_ngcontent-%COMP%]{width:561px;max-width:calc(100vw - 48px);min-height:0;background:#fff;border-radius:8px;border:1px solid #d9d9d9;box-shadow:0 8px 24px #00000024;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px 32px;gap:16px}.cross-selling-modal-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:24px;padding:0;text-align:center;width:100%}.cross-selling-modal-check-wrap[_ngcontent-%COMP%]{width:64px;height:64px;display:flex;align-items:center;justify-content:center;margin-bottom:0}.cross-selling-modal-check-icon[_ngcontent-%COMP%]{width:64px;height:64px;display:block}.cross-selling-modal-title[_ngcontent-%COMP%]{margin:0;color:var(--Text-color, #414141);text-align:center;font-family:Allianz Neo,sans-serif;font-size:26px;font-style:normal;font-weight:300;line-height:normal}.cross-selling-modal-copy[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;gap:12px}.cross-selling-modal-message[_ngcontent-%COMP%]{margin:0;color:var(--Text-color, #414141);text-align:center;font-family:Allianz Neo,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal}.cross-selling-modal-footer[_ngcontent-%COMP%]{border-top:1px solid #d9d9d9;display:flex;justify-content:center;align-items:center;padding:24px 0 0;margin-top:8px;width:100%}.cross-selling-modal-btn[_ngcontent-%COMP%]{min-width:140px;height:50px;border:0;border-radius:4px;background:#007ab3;color:#fff;font-family:AllianzNeoSB,sans-serif!important;font-weight:600!important;font-size:20px;line-height:100%;letter-spacing:.19px;
840cursor:pointer;padding:0 20px}.cross-selling-modal-btn[_ngcontent-%COMP%]:hover{background:#006192}@media (max-width: 992px){.cross-selling-page[_ngcontent-%COMP%]{padding:0 16px}.cross-selling-title[_ngcontent-%COMP%]{font-size:34px}.cross-selling-content[_ngcontent-%COMP%]{flex-direction:column;gap:22px;align-items:center}.cross-selling-coverages[_ngcontent-%COMP%]{max-width:100%;width:100%}.cross-selling-subtitle[_ngcontent-%COMP%]{font-size:22px;line-height:28px}}@media (max-width: 767px){.cross-selling-page[_ngcontent-%COMP%]{padding:0 16px}.cross-selling-title[_ngcontent-%COMP%]{font-size:30px}.cross-selling-subtitle[_ngcontent-%COMP%]{width:80%;margin:10px auto;font-family:AllianzNeoR,sans-serif!important;font-weight:400!important;font-size:20px;line-height:26px;letter-spacing:0}.cross-selling-image-wrap[_ngcontent-%COMP%]{width:210px}.cross-selling-coverages-title[_ngcontent-%COMP%]{font-family:AllianzNeoB,sans-serif!important;font-weight:700!important;font-size:16px;line-height:20px}.cross-selling-check-wrap[_ngcontent-%COMP%]{width:24px;height:24px;align-items:flex-start}.cross-selling-check-image[_ngcontent-%COMP%]{width:24px;height:24px}.cross-selling-coverage-text[_ngcontent-%COMP%]{font-family:AllianzNeoR,sans-serif!important;font-weight:400!important;font-size:16px;line-height:24px;padding-top:0;white-space:normal}.cross-selling-contact-btn[_ngcontent-%COMP%]{min-width:250px;height:40px;font-size:16px}.cross-selling-action[_ngcontent-%COMP%]{margin:24px 0}.cross-selling-modal[_ngcontent-%COMP%]{width:100%;padding:36px 20px 24px;gap:14px}.cross-selling-modal-body[_ngcontent-%COMP%]{padding:0;gap:18px}.cross-selling-modal-check-wrap[_ngcontent-%COMP%], .cross-selling-modal-check-icon[_ngcontent-%COMP%]{width:56px;height:56px}.cross-selling-modal-title[_ngcontent-%COMP%]{font-size:26px;margin-bottom:0}.cross-selling-modal-copy[_ngcontent-%COMP%]{gap:10px}.cross-selling-modal-message[_ngcontent-%COMP%]{font-size:16px;line-height:normal}.cross-selling-modal-footer[_ngcontent-%COMP%]{margin-top:6px;padding-top:18px}.cross-selling-modal-btn[_ngcontent-%COMP%]{min-width:120px;height:42px;font-size:16px;border-radius:4px}}"]})};var fz=[{path:"",component:z8},{path:"register",component:wv},{path:"validate-token/:token",component:I5},{path:"login",canActivate:[O_],children:[]},{path:"forgot-pass",component:Mv,children:[]},{path:"postLogin",redirectTo:"postlogin",pathMatch:"full"},{path:"postlogin",component:yv},{path:"pub/activate/:token",component:k5},{path:"pub/forgotpass/:token",component:N5},{path:"pub/createpass/:typerequest/:token",component:fm},{path:"pub/createpass/:token",component:fm},{path:"priv",component:G5,canActivate:[ZR],children:[{path:"",component:n_},{path:"siniestros",component:a_},{path:"siniestro-ruta/:id",component:D_},{path:"politicas",component:s_},{path:"perfil",component:v_},{path:"mensajes",component:x_},{path:"pagos",component:C_},{path:"preguntas-frecuentes",component:y_},{path:"denuncia-siniestro",component:E_},{path:"contacto",component:p_},{path:"miproductor",component:u_},{path:"beneficiarios/consulta-nomina",component:c_},{path:"beneficiarios/carga-nomina",component:l_},{path:"cross-selling-vida-proteccion",component:Sv},{path:"predenuncias",children:pz}]},{path:"na",component:up},{path:"**",component:A5}];function mz(i){return new He(3e3,!1)}function Nge(){return new He(3100,!1)}function Age(){return new He(3101,!1)}function Vge(i){return new He(3001,!1)}function Fge(i){return new He(3003,!1)}function Rge(i){return new He(3004,!1)}function gz(i,e){return new He(3005,!1)}function _z(){return new He(3006,!1)}function vz(){return new He(3007,!1)}function xz(i,e){return new He(3008,!1)}function bz(i){return new He(3002,!1)}function Cz(i,e,t,n,r){return new He(3010,!1)}function yz(){return new He(3011,!1)}function Mz(){return new He(3012,!1)}function wz(){return new He(3200,!1)}function Sz(){return new He(3202,!1)}function Pz(){return new He(3013,!1)}function Ez(i){return new He(3014,!1)}function Dz(i){return new He(3015,!1)}function Oz(i){return new He(3016,!1)}function Tz(i,e){return new He(3404,!1)}
vendor: 57,464 bytes, line 840
840function zge(i){return new He(3502,!1)}function Iz(i){return new He(3503,!1)}function kz(){return new He(3300,!1)}function Nz(i){return new He(3504,!1)}function Az(i){return new He(3301,!1)}function Vz(i,e){return new He(3302,!1)}function Fz(i){return new He(3303,!1)}function Rz(i,e){return new He(3400,!1)}function zz(i){return new He(3401,!1)}function Lz(i){return new He(3402,!1)}function Hz(i,e){return new He(3505,!1)}function td(i){switch(i.length){case 0:return new El;case 1:return i[0];default:return new h2(i)}}function lS(i,e,t=new Map,n=new Map){let r=[],o=[],a=-1,s=null;if(e.forEach(l=>{let u=l.get("offset"),h=u==a,_=h&&s||new Map;l.forEach((y,b)=>{let x=b,w=y;if(b!=="offset")switch(x=i.normalizePropertyName(x,r),w){case E0:w=t.get(b);break;case Za:w=n.get(b);break;default:w=i.normalizeStyleValue(b,x,w,r);break}_.set(x,w)}),h||o.push(_),s=_,a=u}),r.length)throw zge(r);return o}function Pv(i,e,t,n){switch(e){case"start":i.onStart(()=>n(t&&oS(t,"start",i)));break;case"done":i.onDone(()=>n(t&&oS(t,"done",i)));break;case"destroy":i.onDestroy(()=>n(t&&oS(t,"destroy",i)));break}}function oS(i,e,t){let n=t.totalTime,r=!!t.disabled,o=Ev(i.element,i.triggerName,i.fromState,i.toState,e||i.phaseName,n??i.totalTime,r),a=i._data;return a!=null&&(o._data=a),o}function Ev(i,e,t,n,r="",o=0,a){return{element:i,triggerName:e,fromState:t,toState:n,phaseName:r,totalTime:o,disabled:!!a}}function da(i,e,t){let n=i.get(e);return n||i.set(e,n=t),n}function cS(i){let e=i.indexOf(":"),t=i.substring(1,e),n=i.slice(e+1);return[t,n]}var Lge=typeof document>"u"?null:document.documentElement;function Dv(i){let e=i.parentNode||i.host||null;return e===Lge?null:e}function Hge(i){return i.substring(1,6)=="ebkit"}var G2=null,hz=!1;function Bz(i){G2||(G2=Bge()||{},hz=G2.style?"WebkitAppearance"in G2.style:!1);let e=!0;return G2.style&&!Hge(i)&&(e=i in G2.style,!e&&hz&&(e="Webkit"+i.charAt(0).toUpperCase()+i.slice(1)in G2.style)),e}function Bge(){return typeof document<"u"?document.body:null}function dS(i,e){for(;e;){if(e===i)return!0;e=Dv(e)}return!1}function uS(i,e,t){if(t)return Array.from(i.querySelectorAll(e));let n=i.querySelector(e);return n?[n]:[]}var jge=1e3,pS="{{",qge="}}",fS="ng-enter",Ov="ng-leave",gm="ng-trigger",_m=".ng-trigger",mS="ng-animating",Tv=".ng-animating";function $l(i){if(typeof i=="number")return i;let e=i.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:aS(parseFloat(e[1]),e[2])}function aS(i,e){switch(e){case"s":return i*jge;default:return i}}function vm(i,e,t){return i.hasOwnProperty("duration")?i:Gge(i,e,t)}var Uge=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i;function Gge(i,e,t){let n,r=0,o="";if(typeof i=="string"){let a=i.match(Uge);if(a===null)return e.push(mz(i)),{duration:0,delay:0,easing:""};n=aS(parseFloat(a[1]),a[2]);let s=a[3];s!=null&&(r=aS(parseFloat(s),a[4]));let l=a[5];l&&(o=l)}else n=i;if(!t){let a=!1,s=e.length;n<0&&(e.push(Nge()),a=!0),r<0&&(e.push(Age()),a=!0),a&&e.splice(s,0,mz(i))}return{duration:n,delay:r,easing:o}}function jz(i){return i.length?i[0]instanceof Map?i:i.map(e=>new Map(Object.entries(e))):[]}function Ks(i,e,t){e.forEach((n,r)=>{let o=Iv(r);t&&!t.has(r)&&t.set(r,i.style[o]),i.style[o]=n})}function f1(i,e){e.forEach((t,n)=>{let r=Iv(n);i.style[r]=""})}function Sp(i){return Array.isArray(i)?i.length==1?i[0]:mA(i):i}function qz(i,e,t){let n=e.params||{},r=hS(i);r.length&&r.forEach(o=>{n.hasOwnProperty(o)||t.push(Vge(o))})}var sS=new RegExp(`${pS}\\s*(.+?)\\s*${qge}`,"g");function hS(i){let e=[];if(typeof i=="string"){let t;for(;t=sS.exec(i);)e.push(t[1]);sS.lastIndex=0}return e}function Pp(i,e,t){let n=`${i}`,r=n.replace(sS,(o,a)=>{let s=e[a];return s==null&&(t.push(Fge(a)),s=""),s.toString()});return r==n?i:r}var $ge=/-+([a-z0-9])/g;function Iv(i){return i.replace($ge,(...e)=>e[1].toUpperCase())}function Uz(i,e){return i===0||e===0}function Gz(i,e,t){if(t.size&&e.length){let n=e[0],r=[];if(t.forEach((o,a)=>{n.has(a)||r.push(a),n.set(a,o)}),r.length)for(let o=1;o<e.length;o++){let a=e[o];r.forEach(s=>a.set(s,kv(i,s)))}}return e}function ua(i,e,t){switch(e.type){case bn.Trigger:return i.visitTrigger(e,t);case bn.State:return i.visitState(e,t);case bn.Transition:return i.visitTransition(e,t);case bn.Sequence:return i.visitSequence(e,t);case bn.Group:return i.visitGroup(e,t);case bn.Animate:return i.visitAnimate(e,t);case bn.Keyframes:return i.visitKeyframes(e,t);case bn.Style:return i.visitStyle(e,t);case bn.Reference:return i.visitReference(e,t);case bn.AnimateChild:return i.visitAnimateChild(e,t);case bn.AnimateRef:return i.visitAnimateRef(e,t);case bn.Query:return i.visitQuery(e,t);case bn.Stagger:return i.visitStagger(e,t);default:throw Rge(e.type)}}function kv(i,e){return window.getComputedStyle(i)[e]}var kS=(()=>{class i{validateStyleProperty(t){return Bz(t)}containsElement(t,n){return dS(t,n)}getParentElement(t){return Dv(t)}query(t,n,r){return uS(t,n,r)}computeStyle(t,n,r){return r||""}animate(t,n,r,o,a,s=[],l){return new El(r,o)}static \u0275fac=function(n){return new(n||i)};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})(),W2=class{static NOOP=new kS},Y2=class{};var Wge=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"]),Rv=class extends Y2{normalizePropertyName(e,t){return Iv(e)}normalizeStyleValue(e,t,n,r){let o="",a=n.toString().trim();if(Wge.has(t)&&n!==0&&n!=="0")if(typeof n=="number")o="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&r.push(gz(e,n))}return a+o}};var zv="*";function Yge(i,e){let t=[];return typeof i=="string"?i.split(/\s*,\s*/).forEach(n=>Qge(n,t,e)):t.push(i),t}function Qge(i,e,t){if(i[0]==":"){let l=Kge(i,t);if(typeof l=="function"){e.push(l);return}i=l}let n=i.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(n==null||n.length<4)return t.push(Dz(i)),e;let r=n[1],o=n[2],a=n[3];e.push($z(r,a));let s=r==zv&&a==zv;o[0]=="<"&&!s&&e.push($z(a,r))}function Kge(i,e){switch(i){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,n)=>parseFloat(n)>parseFloat(t);case":decrement":return(t,n)=>parseFloat(n)<parseFloat(t);default:return e.push(Oz(i)),"* => *"}}var Nv=new Set(["true","1"]),Av=new Set(["false","0"]);function $z(i,e){let t=Nv.has(i)||Av.has(i),n=Nv.has(e)||Av.has(e);return(r,o)=>{let a=i==zv||i==r,s=e==zv||e==o;return!a&&t&&typeof r=="boolean"&&(a=r?Nv.has(i):Av.has(i)),!s&&n&&typeof o=="boolean"&&(s=o?Nv.has(e):Av.has(e)),a&&s}}var nL=":self",Xge=new RegExp(`s*${nL}s*,?`,"g");function iL(i,e,t,n){return new CS(i).build(e,t,n)}var Wz="",CS=class{_driver;constructor(e){this._driver=e}build(e,t,n){let r=new yS(t);return this._resetContextStyleTimingState(r),ua(this,Sp(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=Wz,e.collectedStyles=new Map,e.collectedStyles.set(Wz,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,r=t.depCount=0,o=[],a=[];return e.name.charAt(0)=="@"&&t.errors.push(_z()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(t),s.type==bn.State){let l=s,u=l.name;u.toString().split(/\s*,\s*/).forEach(h=>{l.name=h,o.push(this.visitState(l,t))}),l.name=u}else if(s.type==bn.Transition){let l=this.visitTransition(s,t);n+=l.queryCount,r+=l.depCount,a.push(l)}else t.errors.push(vz())}),{type:bn.Trigger,name:e.name,states:o,transitions:a,queryCount:n,depCount:r,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){let o=new Set,a=r||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{hS(l).forEach(u=>{a.hasOwnProperty(u)||o.add(u)})})}),o.size&&t.errors.push(xz(e.name,[...o.values()]))}return{type:bn.State,name:e.name,style:n,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=ua(this,Sp(e.animation),t),r=Yge(e.expr,t.errors);return{type:bn.Transition,matchers:r,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:$2(e.options)}}visitSequence(e,t){return{type:bn.Sequence,steps:e.steps.map(n=>ua(this,n,t)),options:$2(e.options)}}visitGroup(e,t){let n=t.currentTime,r=0,o=e.steps.map(a=>{t.currentTime=n;let s=ua(this,a,t);return r=Math.max(r,t.currentTime),s});return t.currentTime=r,{type:bn.Group,steps:o,options:$2(e.options)}}visitAnimate(e,t){let n=t6e(e.timings,t.errors);t.currentAnimateTimings=n;let r,o=e.styles?e.styles:On({});if(o.type==bn.Keyframes)r=this.visitKeyframes(o,t);else{let a=e.styles,s=!1;if(!a){s=!0;let u={};n.easing&&(u.easing=n.easing),a=On(u)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(a,t);l.isEmptyStep=s,r=l}return t.currentAnimateTimings=null,{type:bn.Animate,timings:n,style:r,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of r)typeof s=="string"?s===Za?n.push(s):t.errors.push(bz(s)):n.push(new Map(Object.entries(s)));let o=!1,a=null;return n.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(pS)>=0){o=!0;break}}}),{type:bn.Style,styles:n,easing:a,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,r=t.currentTime,o=t.currentTime;n&&o>0&&(o-=n.duration+n.delay),e.styles.forEach(a=>{typeof a!="string"&&a.forEach((s,l)=>{let u=t.collectedStyles.get(t.currentQuerySelector),h=u.get(l),_=!0;h&&(o!=r&&o>=h.startTime&&r<=h.endTime&&(t.errors.push(Cz(l,h.startTime,h.endTime,o,r)),_=!1),o=h.startTime),_&&u.set(l,{startTime:o,endTime:r}),t.options&&qz(s,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:bn.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(yz()),n;let r=1,o=0,a=[],s=!1,l=!1,u=0,h=e.steps.map(V=>{let N=this._makeStyleAst(V,t),A=N.offset!=null?N.offset:e6e(N.styles),$=0;return A!=null&&(o++,$=N.offset=A),l=l||$<0||$>1,s=s||$<u,u=$,a.push($),N});l&&t.errors.push(Mz()),s&&t.errors.push(wz());let _=e.steps.length,y=0;o>0&&o<_?t.errors.push(Sz()):o==0&&(y=r/(_-1));let b=_-1,x=t.currentTime,w=t.currentAnimateTimings,k=w.duration;return h.forEach((V,N)=>{let A=y>0?N==b?1:y*N:a[N],$=A*k;t.currentTime=x+w.delay+$,w.duration=$,this._validateStyleAst(V,t),V.offset=A,n.styles.push(V)}),n}visitReference(e,t){return{type:bn.Reference,animation:ua(this,Sp(e.animation),t),options:$2(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:bn.AnimateChild,options:$2(e.options)}}visitAnimateRef(e,t){return{type:bn.AnimateRef,animation:this.visitReference(e.animation,t),options:$2(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[o,a]=Zge(e.selector);t.currentQuerySelector=n.length?n+" "+o:o,da(t.collectedStyles,t.currentQuerySelector,new Map);let s=ua(this,Sp(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:bn.Query,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:$2(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Pz());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:vm(e.timings,t.errors,!0);return{type:bn.Stagger,animation:ua(this,Sp(e.animation),t),timings:n,options:null}}};function Zge(i){let e=!!i.split(/\s*,\s*/).find(t=>t==nL);return e&&(i=i.replace(Xge,"")),i=i.replace(/@\*/g,_m).replace(/@\w+/g,t=>_m+"-"+t.slice(1)).replace(/:animating/g,Tv),[i,e]}function Jge(i){return i?ae({},i):null}var yS=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(e){this.errors=e}};function e6e(i){if(typeof i=="string")return null;let e=null;if(Array.isArray(i))i.forEach(t=>{if(t instanceof Map&&t.has("offset")){let n=t;e=parseFloat(n.get("offset")),n.delete("offset")}});else if(i instanceof Map&&i.has("offset")){let t=i;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function t6e(i,e){if(i.hasOwnProperty("duration"))return i;if(typeof i=="number"){let o=vm(i,e).duration;return gS(o,0,"")}let t=i;if(t.split(/\s+/).some(o=>o.charAt(0)=="{"&&o.charAt(1)=="{")){let o=gS(0,0,"");return o.dynamic=!0,o.strValue=t,o}let r=vm(t,e);return gS(r.duration,r.delay,r.easing)}function $2(i){return i?(i=ae({},i),i.params&&(i.params=Jge(i.params))):i={},i}function gS(i,e,t){return{duration:i,delay:e,easing:t}}function NS(i,e,t,n,r,o,a=null,s=!1){return{type:1,element:i,keyframes:e,preStyleProps:t,postStyleProps:n,duration:r,delay:o,totalTime:r+o,easing:a,subTimeline:s}}var bm=class{_map=new Map;get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},n6e=1,i6e=":enter",r6e=new RegExp(i6e,"g"),o6e=":leave",a6e=new RegExp(o6e,"g");function rL(i,e,t,n,r,o=new Map,a=new Map,s,l,u=[]){return new MS().buildKeyframes(i,e,t,n,r,o,a,s,l,u)}var MS=class{buildKeyframes(e,t,n,r,o,a,s,l,u,h=[]){u=u||new bm;let _=new wS(e,t,u,r,o,h,[]);_.options=l;let y=l.delay?$l(l.delay):0;_.currentTimeline.delayNextStep(y),_.currentTimeline.setStyles([a],null,_.errors,l),ua(this,n,_);let b=_.timelines.filter(x=>x.containsAnimation());if(b.length&&s.size){let x;for(let w=b.length-1;w>=0;w--){let k=b[w];if(k.element===t){x=k;break}}x&&!x.allowOnlyTimelineStyles()&&x.setStyles([s],null,_.errors,l)}return b.length?b.map(x=>x.buildKeyframes()):[NS(t,[],[],[],0,y,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,r,r.options);o!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let r of e){let o=r?.delay;if(o){let a=typeof o=="number"?o:$l(Pp(o,r?.params??{},t.errors));n.delayNextStep(a)}}}_visitSubInstructions(e,t,n){let o=t.currentTimeline.currentTime,a=n.duration!=null?$l(n.duration):null,s=n.delay!=null?$l(n.delay):null;return a!==0&&e.forEach(l=>{let u=t.appendInstructionToTimeline(l,a,s);o=Math.max(o,u.duration+u.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),ua(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,r=t,o=e.options;if(o&&(o.params||o.delay)&&(r=t.createSubContext(o),r.transformIntoNewTimeline(),o.delay!=null)){r.previousNode.type==bn.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Lv);let a=$l(o.delay);r.delayNextStep(a)}e.steps.length&&(e.steps.forEach(a=>ua(this,a,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>n&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],r=t.currentTimeline.currentTime,o=e.options&&e.options.delay?$l(e.options.delay):0;e.steps.forEach(a=>{let s=t.createSubContext(e.options);o&&s.delayNextStep(o),ua(this,a,s),r=Math.max(r,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(a=>t.currentTimeline.mergeTimelineCollectedStyles(a)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,r=t.params?Pp(n,t.params,t.errors):n;return vm(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());let o=e.style;o.type==bn.Keyframes?this.visitKeyframes(o,t):(t.incrementTime(n.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.hasCurrentStyleProperties()&&n.forwardFrame();let o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,r=t.currentTimeline.duration,o=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(l=>{let u=l.offset||0;s.forwardTime(u*o),s.setStyles(l.styles,l.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(r+o),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,r=e.options||{},o=r.delay?$l(r.delay):0;o&&(t.previousNode.type===bn.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Lv);let a=n,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;let l=null;s.forEach((u,h)=>{t.currentQueryIndex=h;let _=t.createSubContext(e.options,u);o&&_.delayNextStep(o),u===t.element&&(l=_.currentTimeline),ua(this,e.animation,_),_.currentTimeline.applyStylesToKeyframe();let y=_.currentTimeline.currentTime;a=Math.max(a,y)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,r=t.currentTimeline,o=e.timings,a=Math.abs(o.duration),s=a*(t.currentQueryTotal-1),l=a*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let h=t.currentTimeline;l&&h.delayNextStep(l);let _=h.currentTime;ua(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-_+(r.startTime-n.currentTimeline.startTime)}},Lv={},wS=class i{_driver;element;subInstructions;_enterClassName;_leaveClassName;errors;timelines;parentContext=null;currentTimeline;currentAnimateTimings=null;previousNode=Lv;subContextCount=0;options={};currentQueryIndex=0;currentQueryTotal=0;currentStaggerTime=0;constructor(e,t,n,r,o,a,s,l){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=r,this._leaveClassName=o,this.errors=a,this.timelines=s,this.currentTimeline=l||new Hv(this._driver,t,0),s.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let n=e,r=this.options;n.duration!=null&&(r.duration=$l(n.duration)),n.delay!=null&&(r.delay=$l(n.delay));let o=n.params;if(o){let a=r.params;a||(a=this.options.params={}),Object.keys(o).forEach(s=>{(!t||!a.hasOwnProperty(s))&&(a[s]=Pp(o[s],a,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let n=e.params={};Object.keys(t).forEach(r=>{n[r]=t[r]})}}return e}createSubContext(e=null,t,n){let r=t||this.element,o=new i(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,n||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(e),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(e){return this.previousNode=Lv,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(n??0)+e.delay,easing:""},o=new SS(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,r,o,a){let s=[];if(r&&s.push(this.element),e.length>0){e=e.replace(r6e,"."+this._enterClassName),e=e.replace(a6e,"."+this._leaveClassName);let l=n!=1,u=this._driver.query(this.element,e,l);n!==0&&(u=n<0?u.slice(u.length+n,u.length):u.slice(0,n)),s.push(...u)}return!o&&s.length==0&&a.push(Ez(t)),s}},Hv=class i{_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(e,t,n,r){this._driver=e,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=r,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,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(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new i(this._driver,e,t||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+=n6e,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,n]of this._globalTimelineStyles)this._backFill.set(t,n||Za),this._currentKeyframe.set(t,Za);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,r){t&&this._previousKeyframe.set("easing",t);let o=r&&r.params||{},a=s6e(e,this._globalTimelineStyles);for(let[s,l]of a){let u=Pp(l,o,n);this._pendingStyles.set(s,u),this._localTimelineStyles.has(s)||this._backFill.set(s,this._globalTimelineStyles.get(s)??Za),this._updateStyle(s,u)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,n)=>{let r=this._styleSummary.get(n);(!r||t.time>r.time)&&this._updateStyle(n,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,n=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((s,l)=>{let u=new Map([...this._backFill,...s]);u.forEach((h,_)=>{h===E0?e.add(_):h===Za&&t.add(_)}),n||u.set("offset",l/this.duration),r.push(u)});let o=[...e.values()],a=[...t.values()];if(n){let s=r[0],l=new Map(s);s.set("offset",0),l.set("offset",1),r=[s,l]}return NS(this.element,r,o,a,this.duration,this.startTime,this.easing,!1)}},SS=class extends Hv{keyframes;preStyleProps;postStyleProps;_stretchStartingKeyframe;timings;constructor(e,t,n,r,o,a,s=!1){super(e,t,a.delay),this.keyframes=n,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 e=this.keyframes,{delay:t,duration:n,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let o=[],a=n+t,s=t/a,l=new Map(e[0]);l.set("offset",0),o.push(l);let u=new Map(e[0]);u.set("offset",Yz(s)),o.push(u);let h=e.length-1;for(let _=1;_<=h;_++){let y=new Map(e[_]),b=y.get("offset"),x=t+b*n;y.set("offset",Yz(x/a)),o.push(y)}n=a,t=0,r="",e=o}return NS(this.element,e,this.preStyleProps,this.postStyleProps,n,t,r,!0)}};function Yz(i,e=3){let t=Math.pow(10,e-1);return Math.round(i*t)/t}function s6e(i,e){let t=new Map,n;return i.forEach(r=>{if(r==="*"){n??=e.keys();for(let o of n)t.set(o,Za)}else for(let[o,a]of r)t.set(o,a)}),t}function Qz(i,e,t,n,r,o,a,s,l,u,h,_,y){return{type:0,element:i,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:o,toState:n,toStyles:a,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:h,totalTime:_,errors:y}}var _S={},Bv=class{_triggerName;ast;_stateStyles;constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,r){return l6e(this.ast.matchers,e,t,n,r)}buildStyles(e,t,n){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,n):new Map}build(e,t,n,r,o,a,s,l,u,h){let _=[],y=this.ast.options&&this.ast.options.params||_S,b=s&&s.params||_S,x=this.buildStyles(n,b,_),w=l&&l.params||_S,k=this.buildStyles(r,w,_),V=new Set,N=new Map,A=new Map,$=r==="void",ie={params:oL(w,y),delay:this.ast.options?.delay},H=h?[]:rL(e,t,this.ast.animation,o,a,x,k,ie,u,_),j=0;return H.forEach(U=>{j=Math.max(U.duration+U.delay,j)}),_.length?Qz(t,this._triggerName,n,r,$,x,k,[],[],N,A,j,_):(H.forEach(U=>{let Q=U.element,J=da(N,Q,new Set);U.preStyleProps.forEach(de=>J.add(de));let le=da(A,Q,new Set);U.postStyleProps.forEach(de=>le.add(de)),Q!==t&&V.add(Q)}),Qz(t,this._triggerName,n,r,$,x,k,H,[...V.values()],N,A,j))}};function l6e(i,e,t,n,r){return i.some(o=>o(e,t,n,r))}function oL(i,e){let t=ae({},e);return Object.entries(i).forEach(([n,r])=>{r!=null&&(t[n]=r)}),t}var PS=class{styles;defaultParams;normalizer;constructor(e,t,n){this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,r=oL(e,this.defaultParams);return this.styles.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,s)=>{a&&(a=Pp(a,r,t));let l=this.normalizer.normalizePropertyName(s,t);a=this.normalizer.normalizeStyleValue(s,l,a,t),n.set(s,a)})}),n}};function c6e(i,e,t){return new ES(i,e,t)}var ES=class{name;ast;_normalizer;transitionFactories=[];fallbackTransition;states=new Map;constructor(e,t,n){this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(r=>{let o=r.options&&r.options.params||{};this.states.set(r.name,new PS(r.style,o,n))}),Kz(this.states,"true","1"),Kz(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Bv(e,r,this.states))}),this.fallbackTransition=d6e(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,r){return this.transitionFactories.find(a=>a.match(e,t,n,r))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function d6e(i,e,t){let n=[(a,s)=>!0],r={type:bn.Sequence,steps:[],options:null},o={type:bn.Transition,animation:r,matchers:n,options:null,queryCount:0,depCount:0};return new Bv(i,o,e)}function Kz(i,e,t){i.has(e)?i.has(t)||i.set(t,i.get(e)):i.has(t)&&i.set(e,i.get(t))}var u6e=new bm,DS=class{bodyNode;_driver;_normalizer;_animations=new Map;_playersById=new Map;players=[];constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],r=[],o=iL(this._driver,t,n,r);if(n.length)throw Iz(n);this._animations.set(e,o)}_buildPlayer(e,t,n){let r=e.element,o=lS(this._normalizer,e.keyframes,t,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let r=[],o=this._animations.get(e),a,s=new Map;if(o?(a=rL(this._driver,t,o,fS,Ov,new Map,new Map,n,u6e,r),a.forEach(h=>{let _=da(s,h.element,new Map);h.postStyleProps.forEach(y=>_.set(y,null))})):(r.push(kz()),a=[]),r.length)throw Nz(r);s.forEach((h,_)=>{h.forEach((y,b)=>{h.set(b,this._driver.computeStyle(_,b,Za))})});let l=a.map(h=>{let _=s.get(h.element);return this._buildPlayer(h,new Map,_)}),u=td(l);return this._playersById.set(e,u),u.onDestroy(()=>this.destroy(e)),this.players.push(u),u}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Az(e);return t}listen(e,t,n,r){let o=Ev(t,"","","");return Pv(this._getPlayer(e),n,o,r),()=>{}}command(e,t,n,r){if(n=="register"){this.register(e,r[0]);return}if(n=="create"){let a=r[0]||{};this.create(e,t,a);return}let o=this._getPlayer(e);switch(n){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(e);break}}},Xz="ng-animate-queued",p6e=".ng-animate-queued",vS="ng-animate-disabled",f6e=".ng-animate-disabled",m6e="ng-star-inserted",h6e=".ng-star-inserted",g6e=[],aL={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},_6e={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Xs="__ng_removed",Cm=class{namespaceId;value;options;get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),r=n?e.value:e;if(this.value=x6e(r),n){let o=e,{value:a}=o,s=qp(o,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(r=>{n[r]==null&&(n[r]=t[r])})}}},xm="void",xS=new Cm(xm),OS=class{id;hostElement;_engine;players=[];_triggers=new Map;_queue=[];_elementListeners=new Map;_hostClassName;constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,ds(t,this._hostClassName)}listen(e,t,n,r){if(!this._triggers.has(t))throw Vz(n,t);if(n==null||n.length==0)throw Fz(t);if(!b6e(n))throw Rz(n,t);let o=da(this._elementListeners,e,[]),a={name:t,phase:n,callback:r};o.push(a);let s=da(this._engine.statesByElement,e,new Map);return s.has(t)||(ds(e,gm),ds(e,gm+"-"+t),s.set(t,xS)),()=>{this._engine.afterFlush(()=>{let l=o.indexOf(a);l>=0&&o.splice(l,1),this._triggers.has(t)||s.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw zz(e);return t}trigger(e,t,n,r=!0){let o=this._getTrigger(t),a=new ym(this.id,t,e),s=this._engine.statesByElement.get(e);s||(ds(e,gm),ds(e,gm+"-"+t),this._engine.statesByElement.set(e,s=new Map));let l=s.get(t),u=new Cm(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&u.absorbOptions(l.options),s.set(t,u),l||(l=xS),!(u.value===xm)&&l.value===u.value){if(!M6e(l.params,u.params)){let w=[],k=o.matchStyles(l.value,l.params,w),V=o.matchStyles(u.value,u.params,w);w.length?this._engine.reportError(w):this._engine.afterFlush(()=>{f1(e,k),Ks(e,V)})}return}let y=da(this._engine.playersByElement,e,[]);y.forEach(w=>{w.namespaceId==this.id&&w.triggerName==t&&w.queued&&w.destroy()});let b=o.matchTransition(l.value,u.value,e,u.params),x=!1;if(!b){if(!r)return;b=o.fallbackTransition,x=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:b,fromState:l,toState:u,player:a,isFallbackTransition:x}),x||(ds(e,Xz),a.onStart(()=>{Ep(e,Xz)})),a.onDone(()=>{let w=this.players.indexOf(a);w>=0&&this.players.splice(w,1);let k=this._engine.playersByElement.get(e);if(k){let V=k.indexOf(a);V>=0&&k.splice(V,1)}}),this.players.push(a),y.push(a),a}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,_m,!0);n.forEach(r=>{if(r[Xs])return;let o=this._engine.fetchNamespacesByElement(r);o.size?o.forEach(a=>a.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,n,r){let o=this._engine.statesByElement.get(e),a=new Map;if(o){let s=[];if(o.forEach((l,u)=>{if(a.set(u,l.value),this._triggers.has(u)){let h=this.trigger(e,u,xm,r);h&&s.push(h)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,a),n&&td(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let r=new Set;t.forEach(o=>{let a=o.name;if(r.has(a))return;r.add(a);let l=this._triggers.get(a).fallbackTransition,u=n.get(a)||xS,h=new Cm(xm),_=new ym(this.id,a,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:a,transition:l,fromState:u,toState:h,player:_,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(n.totalAnimations){let o=n.players.length?n.playersByQueriedElement.get(e):[];if(o&&o.length)r=!0;else{let a=e;for(;a=a.parentNode;)if(n.statesByElement.get(a)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)n.markElementAsRemoved(this.id,e,!1,t);else{let o=e[Xs];(!o||o===aL)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){ds(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let r=n.player;if(r.destroyed)return;let o=n.element,a=this._elementListeners.get(o);a&&a.forEach(s=>{if(s.name==n.triggerName){let l=Ev(o,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Pv(n.player,s.phase,l,s.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(n)}),this._queue=[],t.sort((n,r)=>{let o=n.transition.ast.depCount,a=r.transition.ast.depCount;return o==0||a==0?o-a:this._engine.driver.containsElement(n.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},TS=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=(e,t)=>{};_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new OS(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,r=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,s=this.driver.getParentElement(t);for(;s;){let l=r.get(s);if(l){let u=n.indexOf(l);n.splice(u+1,0,e),a=!0;break}s=this.driver.getParentElement(s)}a||n.unshift(e)}else n.push(e);return r.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let r=this._namespaceList.indexOf(n);r>=0&&this._namespaceList.splice(r,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let r of n.values())if(r.namespaceId){let o=this._fetchNamespace(r.namespaceId);o&&t.add(o)}}return t}trigger(e,t,n,r){if(Vv(t)){let o=this._fetchNamespace(e);if(o)return o.trigger(t,n,r),!0}return!1}insertNode(e,t,n,r){if(!Vv(t))return;let o=t[Xs];if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;let a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){let a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ds(e,vS)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Ep(e,vS))}removeNode(e,t,n){if(Vv(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,r,o){this.collectedLeaveElements.push(t),t[Xs]={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:o}}listen(e,t,n,r,o){return Vv(t)?this._fetchNamespace(e).listen(t,n,r,o):()=>{}}_buildInstruction(e,t,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,o)}destroyInnerAnimations(e){let t=this.driver.query(e,_m,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,Tv,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return td(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[Xs];if(t&&t.setForRemoval){if(e[Xs]=aL,t.namespaceId){this.destroyInnerAnimations(e);let n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(vS)&&this.markElementAsDisabled(e,!1),this.driver.query(e,f6e,!0).forEach(n=>{this.markElementAsDisabled(n,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,r)=>this._balanceNamespaceList(n,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let r=this.collectedEnterElements[n];ds(r,m6e)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let r=0;r<n.length;r++)n[r]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let r=this.collectedLeaveElements[n];this.processLeaveNode(r)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?td(t).onDone(()=>{n.forEach(r=>r())}):n.forEach(r=>r())}}reportError(e){throw Lz(e)}_flushAnimations(e,t){let n=new bm,r=[],o=new Map,a=[],s=new Map,l=new Map,u=new Map,h=new Set;this.disabledNodes.forEach(se=>{h.add(se);let G=this.driver.query(se,p6e,!0);for(let F=0;F<G.length;F++)h.add(G[F])});let _=this.bodyNode,y=Array.from(this.statesByElement.keys()),b=eL(y,this.collectedEnterElements),x=new Map,w=0;b.forEach((se,G)=>{let F=fS+w++;x.set(G,F),se.forEach(q=>ds(q,F))});let k=[],V=new Set,N=new Set;for(let se=0;se<this.collectedLeaveElements.length;se++){let G=this.collectedLeaveElements[se],F=G[Xs];F&&F.setForRemoval&&(k.push(G),V.add(G),F.hasAnimation?this.driver.query(G,h6e,!0).forEach(q=>V.add(q)):N.add(G))}let A=new Map,$=eL(y,Array.from(V));$.forEach((se,G)=>{let F=Ov+w++;A.set(G,F),se.forEach(q=>ds(q,F))}),e.push(()=>{b.forEach((se,G)=>{let F=x.get(G);se.forEach(q=>Ep(q,F))}),$.forEach((se,G)=>{let F=A.get(G);se.forEach(q=>Ep(q,F))}),k.forEach(se=>{this.processLeaveNode(se)})});let ie=[],H=[];for(let se=this._namespaceList.length-1;se>=0;se--)this._namespaceList[se].drainQueuedTransitions(t).forEach(F=>{let q=F.player,be=F.element;if(ie.push(q),this.collectedEnterElements.length){let Me=be[Xs];if(Me&&Me.setForMove){if(Me.previousTriggersValues&&Me.previousTriggersValues.has(F.triggerName)){let we=Me.previousTriggersValues.get(F.triggerName),xe=this.statesByElement.get(F.element);if(xe&&xe.has(F.triggerName)){let fe=xe.get(F.triggerName);fe.value=we,xe.set(F.triggerName,fe)}}q.destroy();return}}let Oe=!_||!this.driver.containsElement(_,be),gt=A.get(be),Ae=x.get(be),tn=this._buildInstruction(F,n,Ae,gt,Oe);if(tn.errors&&tn.errors.length){H.push(tn);return}if(Oe){q.onStart(()=>f1(be,tn.fromStyles)),q.onDestroy(()=>Ks(be,tn.toStyles)),r.push(q);return}if(F.isFallbackTransition){q.onStart(()=>f1(be,tn.fromStyles)),q.onDestroy(()=>Ks(be,tn.toStyles)),r.push(q);return}let Ge=[];tn.timelines.forEach(Me=>{Me.stretchStartingKeyframe=!0,this.disabledNodes.has(Me.element)||Ge.push(Me)}),tn.timelines=Ge,n.append(be,tn.timelines);let ve={instruction:tn,player:q,element:be};a.push(ve),tn.queriedElements.forEach(Me=>da(s,Me,[]).push(q)),tn.preStyleProps.forEach((Me,we)=>{if(Me.size){let xe=l.get(we);xe||l.set(we,xe=new Set),Me.forEach((fe,$e)=>xe.add($e))}}),tn.postStyleProps.forEach((Me,we)=>{let xe=u.get(we);xe||u.set(we,xe=new Set),Me.forEach((fe,$e)=>xe.add($e))})});if(H.length){let se=[];H.forEach(G=>{se.push(Hz(G.triggerName,G.errors))}),ie.forEach(G=>G.destroy()),this.reportError(se)}let j=new Map,U=new Map;a.forEach(se=>{let G=se.element;n.has(G)&&(U.set(G,G),this._beforeAnimationBuild(se.player.namespaceId,se.instruction,j))}),r.forEach(se=>{let G=se.element;this._getPreviousPlayers(G,!1,se.namespaceId,se.triggerName,null).forEach(q=>{da(j,G,[]).push(q),q.destroy()})});let Q=k.filter(se=>tL(se,l,u)),J=new Map;Jz(J,this.driver,N,u,Za).forEach(se=>{tL(se,l,u)&&Q.push(se)});let de=new Map;b.forEach((se,G)=>{Jz(de,this.driver,new Set(se),l,E0)}),Q.forEach(se=>{let G=J.get(se),F=de.get(se);J.set(se,new Map([...G?.entries()??[],...F?.entries()??[]]))});let ue=[],Ce=[],ge={};a.forEach(se=>{let{element:G,player:F,instruction:q}=se;if(n.has(G)){if(h.has(G)){F.onDestroy(()=>Ks(G,q.toStyles)),F.disabled=!0,F.overrideTotalTime(q.totalTime),r.push(F);return}let be=ge;if(U.size>1){let gt=G,Ae=[];for(;gt=gt.parentNode;){let tn=U.get(gt);if(tn){be=tn;break}Ae.push(gt)}Ae.forEach(tn=>U.set(tn,be))}let Oe=this._buildAnimation(F.namespaceId,q,j,o,de,J);if(F.setRealPlayer(Oe),be===ge)ue.push(F);else{let gt=this.playersByElement.get(be);gt&&gt.length&&(F.parentPlayer=td(gt)),r.push(F)}}else f1(G,q.fromStyles),F.onDestroy(()=>Ks(G,q.toStyles)),Ce.push(F),h.has(G)&&r.push(F)}),Ce.forEach(se=>{let G=o.get(se.element);if(G&&G.length){let F=td(G);se.setRealPlayer(F)}}),r.forEach(se=>{se.parentPlayer?se.syncPlayerEvents(se.parentPlayer):se.destroy()});for(let se=0;se<k.length;se++){let G=k[se],F=G[Xs];if(Ep(G,Ov),F&&F.hasAnimation)continue;let q=[];if(s.size){let Oe=s.get(G);Oe&&Oe.length&&q.push(...Oe);let gt=this.driver.query(G,Tv,!0);for(let Ae=0;Ae<gt.length;Ae++){let tn=s.get(gt[Ae]);tn&&tn.length&&q.push(...tn)}}let be=q.filter(Oe=>!Oe.destroyed);be.length?C6e(this,G,be):this.processLeaveNode(G)}return k.length=0,ue.forEach(se=>{this.players.push(se),se.onDone(()=>{se.destroy();let G=this.players.indexOf(se);this.players.splice(G,1)}),se.play()}),ue}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,r,o){let a=[];if(t){let s=this.playersByQueriedElement.get(e);s&&(a=s)}else{let s=this.playersByElement.get(e);if(s){let l=!o||o==xm;s.forEach(u=>{u.queued||!l&&u.triggerName!=r||a.push(u)})}}return(n||r)&&(a=a.filter(s=>!(n&&n!=s.namespaceId||r&&r!=s.triggerName))),a}_beforeAnimationBuild(e,t,n){let r=t.triggerName,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let u=l.element,h=u!==o,_=da(n,u,[]);this._getPreviousPlayers(u,h,a,s,t.toState).forEach(b=>{let x=b.getRealPlayer();x.beforeDestroy&&x.beforeDestroy(),b.destroy(),_.push(b)})}f1(o,t.fromStyles)}_buildAnimation(e,t,n,r,o,a){let s=t.triggerName,l=t.element,u=[],h=new Set,_=new Set,y=t.timelines.map(x=>{let w=x.element;h.add(w);let k=w[Xs];if(k&&k.removedBeforeQueried)return new El(x.duration,x.delay);let V=w!==l,N=y6e((n.get(w)||g6e).map(j=>j.getRealPlayer())).filter(j=>{let U=j;return U.element?U.element===w:!1}),A=o.get(w),$=a.get(w),ie=lS(this._normalizer,x.keyframes,A,$),H=this._buildPlayer(x,ie,N);if(x.subTimeline&&r&&_.add(w),V){let j=new ym(e,s,w);j.setRealPlayer(H),u.push(j)}return H});u.forEach(x=>{da(this.playersByQueriedElement,x.element,[]).push(x),x.onDone(()=>v6e(this.playersByQueriedElement,x.element,x))}),h.forEach(x=>ds(x,mS));let b=td(y);return b.onDestroy(()=>{h.forEach(x=>Ep(x,mS)),Ks(l,t.toStyles)}),_.forEach(x=>{da(r,x,[]).push(b)}),b}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new El(e.duration,e.delay)}},ym=class{namespaceId;triggerName;element;_player=new El;_containsRealPlayer=!1;_queuedCallbacks=new Map;destroyed=!1;parentPlayer=null;markedForDestroy=!1;disabled=!1;queued=!0;totalTime=0;constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(r=>Pv(e,n,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){da(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}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(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function v6e(i,e,t){let n=i.get(e);if(n){if(n.length){let r=n.indexOf(t);n.splice(r,1)}n.length==0&&i.delete(e)}return n}function x6e(i){return i??null}function Vv(i){return i&&i.nodeType===1}function b6e(i){return i=="start"||i=="done"}function Zz(i,e){let t=i.style.display;return i.style.display=e??"none",t}function Jz(i,e,t,n,r){let o=[];t.forEach(l=>o.push(Zz(l)));let a=[];n.forEach((l,u)=>{let h=new Map;l.forEach(_=>{let y=e.computeStyle(u,_,r);h.set(_,y),(!y||y.length==0)&&(u[Xs]=_6e,a.push(u))}),i.set(u,h)});let s=0;return t.forEach(l=>Zz(l,o[s++])),a}function eL(i,e){let t=new Map;if(i.forEach(s=>t.set(s,[])),e.length==0)return t;let n=1,r=new Set(e),o=new Map;function a(s){if(!s)return n;let l=o.get(s);if(l)return l;let u=s.parentNode;return t.has(u)?l=u:r.has(u)?l=n:l=a(u),o.set(s,l),l}return e.forEach(s=>{let l=a(s);l!==n&&t.get(l).push(s)}),t}function ds(i,e){i.classList?.add(e)}function Ep(i,e){i.classList?.remove(e)}function C6e(i,e,t){td(t).onDone(()=>i.processLeaveNode(e))}function y6e(i){let e=[];return sL(i,e),e}function sL(i,e){for(let t=0;t<i.length;t++){let n=i[t];n instanceof h2?sL(n.players,e):e.push(n)}}function M6e(i,e){let t=Object.keys(i),n=Object.keys(e);if(t.length!=n.length)return!1;for(let r=0;r<t.length;r++){let o=t[r];if(!e.hasOwnProperty(o)||i[o]!==e[o])return!1}return!0}function tL(i,e,t){let n=t.get(i);if(!n)return!1;let r=e.get(i);return r?n.forEach(o=>r.add(o)):e.set(i,n),t.delete(i),!0}var Dp=class{_driver;_normalizer;_transitionEngine;_timelineEngine;_triggerCache={};onRemovalComplete=(e,t)=>{};constructor(e,t,n){this._driver=t,this._normalizer=n,this._transitionEngine=new TS(e.body,t,n),this._timelineEngine=new DS(e.body,t,n),this._transitionEngine.onRemovalComplete=(r,o)=>this.onRemovalComplete(r,o)}registerTrigger(e,t,n,r,o){let a=e+"-"+r,s=this._triggerCache[a];if(!s){let l=[],u=[],h=iL(this._driver,o,l,u);if(l.length)throw Tz(r,l);s=c6e(r,h,this._normalizer),this._triggerCache[a]=s}this._transitionEngine.registerTrigger(t,r,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,r){if(n.charAt(0)=="@"){let[o,a]=cS(n),s=r;this._timelineEngine.command(o,t,a,s)}else this._transitionEngine.trigger(e,t,n,r)}listen(e,t,n,r,o){if(n.charAt(0)=="@"){let[a,s]=cS(n);return this._timelineEngine.listen(a,t,s,o)}return this._transitionEngine.listen(e,t,n,r,o)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function w6e(i,e){let t=null,n=null;return Array.isArray(e)&&e.length?(t=bS(e[0]),e.length>1&&(n=bS(e[e.length-1]))):e instanceof Map&&(t=bS(e)),t||n?new S6e(i,t,n):null}var S6e=(()=>{class i{_element;_startStyles;_endStyles;static initialStylesByElement=new WeakMap;_state=0;_initialStyles;constructor(t,n,r){this._element=t,this._startStyles=n,this._endStyles=r;let o=i.initialStylesByElement.get(t);o||i.initialStylesByElement.set(t,o=new Map),this._initialStyles=o}start(){this._state<1&&(this._startStyles&&Ks(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Ks(this._element,this._initialStyles),this._endStyles&&(Ks(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(f1(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(f1(this._element,this._endStyles),this._endStyles=null),Ks(this._element,this._initialStyles),this._state=3)}}return i})();function bS(i){let e=null;return i.forEach((t,n)=>{P6e(n)&&(e=e||new Map,e.set(n,t))}),e}function P6e(i){return i==="display"||i==="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(e,t,n,r){this.element=e,this.keyframes=t,this.options=n,this._specialStyles=r,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),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(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((n,r)=>{r!=="offset"&&e.set(r,this._finished?n:kv(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},qv=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return dS(e,t)}getParentElement(e){return Dv(e)}query(e,t,n){return uS(e,t,n)}computeStyle(e,t,n){return kv(e,t)}animate(e,t,n,r,o,a=[]){let s=r==0?"both":"forwards",l={duration:n,delay:r,fill:s};o&&(l.easing=o);let u=new Map,h=a.filter(b=>b instanceof jv);Uz(n,r)&&h.forEach(b=>{b.currentSnapshot.forEach((x,w)=>u.set(w,x))});let _=jz(t).map(b=>new Map(b));_=Gz(e,_,u);let y=w6e(e,_);return new jv(e,_,l,y)}};var Fv="@",lL="@.disabled",Uv=class{namespaceId;delegate;engine;_onDestroy;\u0275type=0;constructor(e,t,n,r){this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=r}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,r=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,n){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,r){this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==Fv&&t==lL?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,r){return this.delegate.listen(e,t,n,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},IS=class extends Uv{factory;constructor(e,t,n,r,o){super(t,n,r,o),this.factory=e,this.namespaceId=t}setProperty(e,t,n){t.charAt(0)==Fv?t.charAt(1)=="."&&t==lL?(n=n===void 0?!0:!!n,this.disableAnimations(e,n)):this.engine.process(this.namespaceId,e,t.slice(1),n):this.delegate.setProperty(e,t,n)}listen(e,t,n,r){if(t.charAt(0)==Fv){let o=E6e(e),a=t.slice(1),s="";return a.charAt(0)!=Fv&&([a,s]=D6e(a)),this.engine.listen(this.namespaceId,o,a,s,l=>{let u=l._data||-1;this.factory.scheduleListenerCallback(u,n,l)})}return this.delegate.listen(e,t,n,r)}};function E6e(i){switch(i){case"body":return document.body;case"document":return document;case"window":return window;default:return i}}function D6e(i){let e=i.indexOf("."),t=i.substring(0,e),n=i.slice(e+1);return[t,n]}var Gv=class{delegate;engine;_zone;_currentId=0;_microtaskId=1;_animationCallbacksBuffer=[];_rendererCache=new Map;_cdRecurDepth=0;constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(r,o)=>{o?.removeChild(null,r)}}createRenderer(e,t){let n="",r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let u=this._rendererCache,h=u.get(r);
840if(!h){let _=()=>u.delete(r);h=new Uv(n,r,this.engine,_),u.set(r,h)}return h}let o=t.id,a=t.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);let s=u=>{Array.isArray(u)?u.forEach(s):this.engine.registerTrigger(o,a,e,u.name,u)};return t.data.animation.forEach(s),new IS(this,a,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));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([t,n])}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(e){this.engine.flush(),this.delegate.componentReplaced?.(e)}};var T6e=(()=>{class i extends Dp{constructor(t,n,r){super(t,n,r)}ngOnDestroy(){this.flush()}static \u0275fac=function(n){return new(n||i)(Le(Gt),Le(W2),Le(Y2))};static \u0275prov=W({token:i,factory:i.\u0275fac})}return i})();function I6e(){return new Rv}function k6e(i,e,t){return new Gv(i,e,t)}var cL=[{provide:Y2,useFactory:I6e},{provide:Dp,useClass:T6e},{provide:kr,useFactory:k6e,deps:[Ku,Dp,Vt]}],bCt=[{provide:W2,useClass:kS},{provide:Uu,useValue:"NoopAnimations"},...cL],N6e=[{provide:W2,useFactory:()=>new qv},{provide:Uu,useFactory:()=>"BrowserAnimations"},...cL];function dL(){return qa("NgEagerAnimations"),[...N6e]}var uL={providers:[dL(),PR(),wC(),JC(fz,ey({scrollPositionRestoration:"top",anchorScrolling:"enabled"}))]};var Wl=globalThis;function us(i){return(Wl.__Zone_symbol_prefix||"__zone_symbol__")+i}function A6e(){let i=Wl.performance;function e(se){i&&i.mark&&i.mark(se)}function t(se,G){i&&i.measure&&i.measure(se,G)}e("Zone");let n=(()=>{class se{static __symbol__=us;static assertZonePatched(){if(Wl.Promise!==J.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let F=se.current;for(;F.parent;)F=F.parent;return F}static get current(){return de.zone}static get currentTask(){return ue}static __load_patch(F,q,be=!1){if(J.hasOwnProperty(F)){let Oe=Wl[us("forceDuplicateZoneCheck")]===!0;if(!be&&Oe)throw Error("Already loaded patch: "+F)}else if(!Wl["__Zone_disable_"+F]){let Oe="Zone:"+F;e(Oe),J[F]=q(Wl,se,le),t(Oe,Oe)}}get parent(){return this._parent}get name(){return this._name}_parent;_name;_properties;_zoneDelegate;constructor(F,q){this._parent=F,this._name=q?q.name||"unnamed":"<root>",this._properties=q&&q.properties||{},this._zoneDelegate=new o(this,this._parent&&this._parent._zoneDelegate,q)}get(F){let q=this.getZoneWith(F);if(q)return q._properties[F]}getZoneWith(F){let q=this;for(;q;){if(q._properties.hasOwnProperty(F))return q;q=q._parent}return null}fork(F){if(!F)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,F)}wrap(F,q){if(typeof F!="function")throw new Error("Expecting function got: "+F);let be=this._zoneDelegate.intercept(this,F,q),Oe=this;return function(){return Oe.runGuarded(be,this,arguments,q)}}run(F,q,be,Oe){de={parent:de,zone:this};try{return this._zoneDelegate.invoke(this,F,q,be,Oe)}finally{de=de.parent}}runGuarded(F,q=null,be,Oe){de={parent:de,zone:this};try{try{return this._zoneDelegate.invoke(this,F,q,be,Oe)}catch(gt){if(this._zoneDelegate.handleError(this,gt))throw gt}}finally{de=de.parent}}runTask(F,q,be){if(F.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(F.zone||k).name+"; Execution: "+this.name+")");let Oe=F,{type:gt,data:{isPeriodic:Ae=!1,isRefreshable:tn=!1}={}}=F;if(F.state===V&&(gt===Q||gt===U))return;let Ge=F.state!=$;Ge&&Oe._transitionTo($,A);let ve=ue;ue=Oe,de={parent:de,zone:this};try{gt==U&&F.data&&!Ae&&!tn&&(F.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,Oe,q,be)}catch(Me){if(this._zoneDelegate.handleError(this,Me))throw Me}}finally{let Me=F.state;if(Me!==V&&Me!==H)if(gt==Q||Ae||tn&&Me===N)Ge&&Oe._transitionTo(A,$,N);else{let we=Oe._zoneDelegates;this._updateTaskCount(Oe,-1),Ge&&Oe._transitionTo(V,$,V),tn&&(Oe._zoneDelegates=we)}de=de.parent,ue=ve}}scheduleTask(F){if(F.zone&&F.zone!==this){let be=this;for(;be;){if(be===F.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${F.zone.name}`);be=be.parent}}F._transitionTo(N,V);let q=[];F._zoneDelegates=q,F._zone=this;try{F=this._zoneDelegate.scheduleTask(this,F)}catch(be){throw F._transitionTo(H,N,V),this._zoneDelegate.handleError(this,be),be}return F._zoneDelegates===q&&this._updateTaskCount(F,1),F.state==N&&F._transitionTo(A,N),F}scheduleMicroTask(F,q,be,Oe){return this.scheduleTask(new a(j,F,q,be,Oe,void 0))}scheduleMacroTask(F,q,be,Oe,gt){return this.scheduleTask(new a(U,F,q,be,Oe,gt))}scheduleEventTask(F,q,be,Oe,gt){return this.scheduleTask(new a(Q,F,q,be,Oe,gt))}cancelTask(F){if(F.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(F.zone||k).name+"; Execution: "+this.name+")");if(!(F.state!==A&&F.state!==$)){F._transitionTo(ie,A,$);try{this._zoneDelegate.cancelTask(this,F)}catch(q){throw F._transitionTo(H,ie),this._zoneDelegate.handleError(this,q),q}return this._updateTaskCount(F,-1),F._transitionTo(V,ie),F.runCount=-1,F}}_updateTaskCount(F,q){let be=F._zoneDelegates;q==-1&&(F._zoneDelegates=null);for(let Oe=0;Oe<be.length;Oe++)be[Oe]._updateTaskCount(F.type,q)}}return se})(),r={name:"",onHasTask:(se,G,F,q)=>se.hasTask(F,q),onScheduleTask:(se,G,F,q)=>se.scheduleTask(F,q),onInvokeTask:(se,G,F,q,be,Oe)=>se.invokeTask(F,q,be,Oe),onCancelTask:(se,G,F,q)=>se.cancelTask(F,q)};class o{get zone(){return this._zone}_zone;_taskCounts={microTask:0,macroTask:0,eventTask:0};_parentDelegate;_forkDlgt;_forkZS;_forkCurrZone;_interceptDlgt;_interceptZS;_interceptCurrZone;_invokeDlgt;_invokeZS;_invokeCurrZone;_handleErrorDlgt;_handleErrorZS;_handleErrorCurrZone;_scheduleTaskDlgt;_scheduleTaskZS;_scheduleTaskCurrZone;_invokeTaskDlgt;_invokeTaskZS;_invokeTaskCurrZone;_cancelTaskDlgt;_cancelTaskZS;_cancelTaskCurrZone;_hasTaskDlgt;_hasTaskDlgtOwner;_hasTaskZS;_hasTaskCurrZone;constructor(G,F,q){this._zone=G,this._parentDelegate=F,this._forkZS=q&&(q&&q.onFork?q:F._forkZS),this._forkDlgt=q&&(q.onFork?F:F._forkDlgt),this._forkCurrZone=q&&(q.onFork?this._zone:F._forkCurrZone),this._interceptZS=q&&(q.onIntercept?q:F._interceptZS),this._interceptDlgt=q&&(q.onIntercept?F:F._interceptDlgt),this._interceptCurrZone=q&&(q.onIntercept?this._zone:F._interceptCurrZone),this._invokeZS=q&&(q.onInvoke?q:F._invokeZS),this._invokeDlgt=q&&(q.onInvoke?F:F._invokeDlgt),this._invokeCurrZone=q&&(q.onInvoke?this._zone:F._invokeCurrZone),this._handleErrorZS=q&&(q.onHandleError?q:F._handleErrorZS),this._handleErrorDlgt=q&&(q.onHandleError?F:F._handleErrorDlgt),this._handleErrorCurrZone=q&&(q.onHandleError?this._zone:F._handleErrorCurrZone),this._scheduleTaskZS=q&&(q.onScheduleTask?q:F._scheduleTaskZS),this._scheduleTaskDlgt=q&&(q.onScheduleTask?F:F._scheduleTaskDlgt),this._scheduleTaskCurrZone=q&&(q.onScheduleTask?this._zone:F._scheduleTaskCurrZone),this._invokeTaskZS=q&&(q.onInvokeTask?q:F._invokeTaskZS),this._invokeTaskDlgt=q&&(q.onInvokeTask?F:F._invokeTaskDlgt),this._invokeTaskCurrZone=q&&(q.onInvokeTask?this._zone:F._invokeTaskCurrZone),this._cancelTaskZS=q&&(q.onCancelTask?q:F._cancelTaskZS),this._cancelTaskDlgt=q&&(q.onCancelTask?F:F._cancelTaskDlgt),this._cancelTaskCurrZone=q&&(q.onCancelTask?this._zone:F._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;let be=q&&q.onHasTask,Oe=F&&F._hasTaskZS;(be||Oe)&&(this._hasTaskZS=be?q:r,this._hasTaskDlgt=F,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=this._zone,q.onScheduleTask||(this._scheduleTaskZS=r,this._scheduleTaskDlgt=F,this._scheduleTaskCurrZone=this._zone),q.onInvokeTask||(this._invokeTaskZS=r,this._invokeTaskDlgt=F,this._invokeTaskCurrZone=this._zone),q.onCancelTask||(this._cancelTaskZS=r,this._cancelTaskDlgt=F,this._cancelTaskCurrZone=this._zone))}fork(G,F){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,G,F):new n(G,F)}intercept(G,F,q){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,G,F,q):F}invoke(G,F,q,be,Oe){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,G,F,q,be,Oe):F.apply(q,be)}handleError(G,F){return this._handleErrorZS?this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,G,F):!0}scheduleTask(G,F){let q=F;if(this._scheduleTaskZS)this._hasTaskZS&&q._zoneDelegates.push(this._hasTaskDlgtOwner),q=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,G,F),q||(q=F);else if(F.scheduleFn)F.scheduleFn(F);else if(F.type==j)x(F);else throw new Error("Task is missing scheduleFn.");return q}invokeTask(G,F,q,be){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,G,F,q,be):F.callback.apply(q,be)}cancelTask(G,F){let q;if(this._cancelTaskZS)q=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,G,F);else{if(!F.cancelFn)throw Error("Task is not cancelable");q=F.cancelFn(F)}return q}hasTask(G,F){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,G,F)}catch(q){this.handleError(G,q)}}_updateTaskCount(G,F){let q=this._taskCounts,be=q[G],Oe=q[G]=be+F;if(Oe<0)throw new Error("More tasks executed then were scheduled.");
840if(be==0||Oe==0){let gt={microTask:q.microTask>0,macroTask:q.macroTask>0,eventTask:q.eventTask>0,change:G};this.hasTask(this._zone,gt)}}}class a{type;source;invoke;callback;data;scheduleFn;cancelFn;_zone=null;runCount=0;_zoneDelegates=null;_state="notScheduled";constructor(G,F,q,be,Oe,gt){if(this.type=G,this.source=F,this.data=be,this.scheduleFn=Oe,this.cancelFn=gt,!q)throw new Error("callback is not defined");this.callback=q;let Ae=this;G===Q&&be&&be.useG?this.invoke=a.invokeTask:this.invoke=function(){return a.invokeTask.call(Wl,Ae,this,arguments)}}static invokeTask(G,F,q){G||(G=this),Ce++;try{return G.runCount++,G.zone.runTask(G,F,q)}finally{Ce==1&&w(),Ce--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(V,N)}_transitionTo(G,F,q){if(this._state===F||this._state===q)this._state=G,G==V&&(this._zoneDelegates=null);else throw new Error(`${this.type} '${this.source}': can not transition to '${G}', expecting state '${F}'${q?" or '"+q+"'":""}, was '${this._state}'.`)}toString(){return this.data&&typeof this.data.handleId<"u"?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}let s=us("setTimeout"),l=us("Promise"),u=us("then"),h=[],_=!1,y;function b(se){if(y||Wl[l]&&(y=Wl[l].resolve(0)),y){let G=y[u];G||(G=y.then),G.call(y,se)}else Wl[s](se,0)}function x(se){Ce===0&&h.length===0&&b(w),se&&h.push(se)}function w(){if(!_){for(_=!0;h.length;){let se=h;h=[];for(let G=0;G<se.length;G++){let F=se[G];try{F.zone.runTask(F,null,null)}catch(q){le.onUnhandledError(q)}}}le.microtaskDrainDone(),_=!1}}let k={name:"NO ZONE"},V="notScheduled",N="scheduling",A="scheduled",$="running",ie="canceling",H="unknown",j="microTask",U="macroTask",Q="eventTask",J={},le={symbol:us,currentZoneFrame:()=>de,onUnhandledError:ge,microtaskDrainDone:ge,scheduleMicroTask:x,showUncaughtError:()=>!n[us("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ge,patchMethod:()=>ge,bindArguments:()=>[],patchThen:()=>ge,patchMacroTask:()=>ge,patchEventPrototype:()=>ge,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ge,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ge,wrapWithCurrentZone:()=>ge,filterProperties:()=>[],attachOriginToPatched:()=>ge,_redefineProperty:()=>ge,patchCallbacks:()=>ge,nativeScheduleMicroTask:b},de={parent:null,zone:new n(null,null)},ue=null,Ce=0;function ge(){}return t("Zone","Zone"),n}function V6e(){let i=globalThis,e=i[us("forceDuplicateZoneCheck")]===!0;if(i.Zone&&(e||typeof i.Zone.__symbol__!="function"))throw new Error("Zone already loaded.");return i.Zone??=A6e(),i.Zone}var wm=Object.getOwnPropertyDescriptor,zS=Object.defineProperty,LS=Object.getPrototypeOf,F6e=Object.create,R6e=Array.prototype.slice,HS="addEventListener",BS="removeEventListener",AS=us(HS),VS=us(BS),nd="true",id="false",Sm=us("");function jS(i,e){return Zone.current.wrap(i,e)}function qS(i,e,t,n,r){return Zone.current.scheduleMacroTask(i,e,t,n,r)}var vi=us,Yv=typeof window<"u",Pm=Yv?window:void 0,Zr=Yv&&Pm||globalThis,z6e="removeAttribute";function US(i,e){for(let t=i.length-1;t>=0;t--)typeof i[t]=="function"&&(i[t]=jS(i[t],e+"_"+t));return i}function L6e(i,e){let t=i.constructor.name;for(let n=0;n<e.length;n++){let r=e[n],o=i[r];if(o){let a=wm(i,r);if(!vL(a))continue;i[r]=(s=>{let l=function(){return s.apply(this,US(arguments,t+"."+r))};return od(l,s),l})(o)}}}function vL(i){return i?i.writable===!1?!1:!(typeof i.get=="function"&&typeof i.set>"u"):!0}var xL=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope,Qv=!("nw"in Zr)&&typeof Zr.process<"u"&&Zr.process.toString()==="[object process]",GS=!Qv&&!xL&&!!(Yv&&Pm.HTMLElement),bL=typeof Zr.process<"u"&&Zr.process.toString()==="[object process]"&&!xL&&!!(Yv&&Pm.HTMLElement),Wv={},H6e=vi("enable_beforeunload"),pL=function(i){if(i=i||Zr.event,!i)return;let e=Wv[i.type];e||(e=Wv[i.type]=vi("ON_PROPERTY"+i.type));let t=this||i.target||Zr,n=t[e],r;if(GS&&t===Pm&&i.type==="error"){let o=i;r=n&&n.call(this,o.message,o.filename,o.lineno,o.colno,o.error),r===!0&&i.preventDefault()}else r=n&&n.apply(this,arguments),i.type==="beforeunload"&&Zr[H6e]&&typeof r=="string"?i.returnValue=r:r!=null&&!r&&i.preventDefault();return r};function fL(i,e,t){let n=wm(i,e);if(!n&&t&&wm(t,e)&&(n={enumerable:!0,configurable:!0}),!n||!n.configurable)return;let r=vi("on"+e+"patched");if(i.hasOwnProperty(r)&&i[r])return;delete n.writable,delete n.value;let o=n.get,a=n.set,s=e.slice(2),l=Wv[s];l||(l=Wv[s]=vi("ON_PROPERTY"+s)),n.set=function(u){let h=this;if(!h&&i===Zr&&(h=Zr),!h)return;typeof h[l]=="function"&&h.removeEventListener(s,pL),a?.call(h,null),h[l]=u,typeof u=="function"&&h.addEventListener(s,pL,!1)},n.get=function(){let u=this;if(!u&&i===Zr&&(u=Zr),!u)return null;let h=u[l];
vendor: 14,341 bytes, line 840
840if(h)return h;if(o){let _=o.call(this);if(_)return n.set.call(this,_),typeof u[z6e]=="function"&&u.removeAttribute(e),_}return null},zS(i,e,n),i[r]=!0}function CL(i,e,t){if(e)for(let n=0;n<e.length;n++)fL(i,"on"+e[n],t);else{let n=[];for(let r in i)r.slice(0,2)=="on"&&n.push(r);for(let r=0;r<n.length;r++)fL(i,n[r],t)}}var Zs=vi("originalInstance");function Mm(i){let e=Zr[i];if(!e)return;Zr[vi(i)]=e,Zr[i]=function(){let r=US(arguments,i);switch(r.length){case 0:this[Zs]=new e;break;case 1:this[Zs]=new e(r[0]);break;case 2:this[Zs]=new e(r[0],r[1]);break;case 3:this[Zs]=new e(r[0],r[1],r[2]);break;case 4:this[Zs]=new e(r[0],r[1],r[2],r[3]);break;default:throw new Error("Arg list too long.")}},od(Zr[i],e);let t=new e(function(){}),n;for(n in t)i==="XMLHttpRequest"&&n==="responseBlob"||function(r){typeof t[r]=="function"?Zr[i].prototype[r]=function(){return this[Zs][r].apply(this[Zs],arguments)}:zS(Zr[i].prototype,r,{set:function(o){typeof o=="function"?(this[Zs][r]=jS(o,i+"."+r),od(this[Zs][r],o)):this[Zs][r]=o},get:function(){return this[Zs][r]}})}(n);for(n in e)n!=="prototype"&&e.hasOwnProperty(n)&&(Zr[i][n]=e[n])}function rd(i,e,t){let n=i;for(;n&&!n.hasOwnProperty(e);)n=LS(n);!n&&i[e]&&(n=i);let r=vi(e),o=null;if(n&&(!(o=n[r])||!n.hasOwnProperty(r))){o=n[r]=n[e];let a=n&&wm(n,e);if(vL(a)){let s=t(o,r,e);n[e]=function(){return s(this,arguments)},od(n[e],o)}}return o}function B6e(i,e,t){let n=null;function r(o){let a=o.data;return a.args[a.cbIdx]=function(){o.invoke.apply(this,arguments)},n.apply(a.target,a.args),o}n=rd(i,e,o=>function(a,s){let l=t(a,s);return l.cbIdx>=0&&typeof s[l.cbIdx]=="function"?qS(l.name,s[l.cbIdx],l,r):o.apply(a,s)})}function od(i,e){i[vi("OriginalDelegate")]=e}var mL=!1,FS=!1;function j6e(){if(mL)return FS;mL=!0;try{let i=Pm.navigator.userAgent;(i.indexOf("MSIE ")!==-1||i.indexOf("Trident/")!==-1||i.indexOf("Edge/")!==-1)&&(FS=!0)}catch{}return FS}function hL(i){return typeof i=="function"}function gL(i){return typeof i=="number"}var q6e={useG:!0},ps={},yL={},ML=new RegExp("^"+Sm+"(\\w+)(true|false)$"),wL=vi("propagationStopped");function SL(i,e){let t=(e?e(i):i)+id,n=(e?e(i):i)+nd,r=Sm+t,o=Sm+n;ps[i]={},ps[i][id]=r,ps[i][nd]=o}function U6e(i,e,t,n){let r=n&&n.add||HS,o=n&&n.rm||BS,a=n&&n.listeners||"eventListeners",s=n&&n.rmAll||"removeAllListeners",l=vi(r),u="."+r+":",h="prependListener",_="."+h+":",y=function(N,A,$){if(N.isRemoved)return;let ie=N.callback;typeof ie=="object"&&ie.handleEvent&&(N.callback=U=>ie.handleEvent(U),N.originalDelegate=ie);let H;try{N.invoke(N,A,[$])}catch(U){H=U}let j=N.options;if(j&&typeof j=="object"&&j.once){let U=N.originalDelegate?N.originalDelegate:N.callback;A[o].call(A,$.type,U,j)}return H};function b(N,A,$){if(A=A||i.event,!A)return;let ie=N||A.target||i,H=ie[ps[A.type][$?nd:id]];if(H){let j=[];if(H.length===1){let U=y(H[0],ie,A);U&&j.push(U)}else{let U=H.slice();for(let Q=0;Q<U.length&&!(A&&A[wL]===!0);Q++){let J=y(U[Q],ie,A);J&&j.push(J)}}if(j.length===1)throw j[0];for(let U=0;U<j.length;U++){let Q=j[U];e.nativeScheduleMicroTask(()=>{throw Q})}}}let x=function(N){return b(this,N,!1)},w=function(N){return b(this,N,!0)};function k(N,A){if(!N)return!1;let $=!0;A&&A.useG!==void 0&&($=A.useG);let ie=A&&A.vh,H=!0;A&&A.chkDup!==void 0&&(H=A.chkDup);let j=!1;A&&A.rt!==void 0&&(j=A.rt);let U=N;for(;U&&!U.hasOwnProperty(r);)U=LS(U);if(!U&&N[r]&&(U=N),!U||U[l])return!1;let Q=A&&A.eventNameToString,J={},le=U[l]=U[r],de=U[vi(o)]=U[o],ue=U[vi(a)]=U[a],Ce=U[vi(s)]=U[s],ge;A&&A.prepend&&(ge=U[vi(A.prepend)]=U[A.prepend]);function se(fe,$e){return $e?typeof fe=="boolean"?{capture:fe,passive:!0}:fe?typeof fe=="object"&&fe.passive!==!1?mt(ae({},fe),{passive:!0}):fe:{passive:!0}:fe}let G=function(fe){if(!J.isExisting)return le.call(J.target,J.eventName,J.capture?w:x,J.options)},F=function(fe){if(!fe.isRemoved){let $e=ps[fe.eventName],dt;$e&&(dt=$e[fe.capture?nd:id]);let ft=dt&&fe.target[dt];if(ft){for(let Qe=0;Qe<ft.length;Qe++)if(ft[Qe]===fe){ft.splice(Qe,1),fe.isRemoved=!0,fe.removeAbortListener&&(fe.removeAbortListener(),fe.removeAbortListener=null),ft.length===0&&(fe.allRemoved=!0,fe.target[dt]=null);break}}}if(fe.allRemoved)return de.call(fe.target,fe.eventName,fe.capture?w:x,fe.options)},q=function(fe){return le.call(J.target,J.eventName,fe.invoke,J.options)},be=function(fe){return ge.call(J.target,J.eventName,fe.invoke,J.options)},Oe=function(fe){return de.call(fe.target,fe.eventName,fe.invoke,fe.options)},gt=$?G:q,Ae=$?F:Oe,tn=function(fe,$e){let dt=typeof $e;return dt==="function"&&fe.callback===$e||dt==="object"&&fe.originalDelegate===$e},Ge=A?.diff||tn,ve=Zone[vi("UNPATCHED_EVENTS")],Me=i[vi("PASSIVE_EVENTS")];function we(fe){if(typeof fe=="object"&&fe!==null){let $e=ae({},fe);return fe.signal&&($e.signal=fe.signal),$e}return fe}let xe=function(fe,$e,dt,ft,Qe=!1,It=!1){return function(){let yt=this||i,kt=arguments[0];A&&A.transferEventName&&(kt=A.transferEventName(kt));let rn=arguments[1];if(!rn)return fe.apply(this,arguments);if(Qv&&kt==="uncaughtException")return fe.apply(this,arguments);let dn=!1;if(typeof rn!="function"){if(!rn.handleEvent)return fe.apply(this,arguments);dn=!0}if(ie&&!ie(fe,rn,yt,arguments))return;let wi=!!Me&&Me.indexOf(kt)!==-1,rr=we(se(arguments[2],wi)),xi=rr?.signal;if(xi?.aborted)return;if(ve){for(let Ao=0;Ao<ve.length;Ao++)if(kt===ve[Ao])return wi?fe.call(yt,kt,rn,rr):fe.apply(this,arguments)}let br=rr?typeof rr=="boolean"?!0:rr.capture:!1,Ln=rr&&typeof rr=="object"?rr.once:!1,or=Zone.current,Cr=ps[kt];Cr||(SL(kt,Q),Cr=ps[kt]);let Jr=Cr[br?nd:id],Hn=yt[Jr],eo=!1;if(Hn){if(eo=!0,H){for(let Ao=0;Ao<Hn.length;Ao++)if(Ge(Hn[Ao],rn))return}}else Hn=yt[Jr]=[];let to,ma=yt.constructor.name,Xl=yL[ma];Xl&&(to=Xl[kt]),to||(to=ma+$e+(Q?Q(kt):kt)),J.options=rr,Ln&&(J.options.once=!1),J.target=yt,J.capture=br,J.eventName=kt,J.isExisting=eo;let el=$?q6e:void 0;el&&(el.taskData=J),xi&&(J.options.signal=void 0);let no=or.scheduleEventTask(to,rn,el,dt,ft);if(xi){J.options.signal=xi;let Ao=()=>no.zone.cancelTask(no);fe.call(xi,"abort",Ao,{once:!0}),no.removeAbortListener=()=>xi.removeEventListener("abort",Ao)}if(J.target=null,el&&(el.taskData=null),Ln&&(J.options.once=!0),typeof no.options!="boolean"&&(no.options=rr),no.target=yt,no.capture=br,no.eventName=kt,dn&&(no.originalDelegate=rn),It?Hn.unshift(no):Hn.push(no),Qe)return yt}};return U[r]=xe(le,u,gt,Ae,j),ge&&(U[h]=xe(ge,_,be,Ae,j,!0)),U[o]=function(){let fe=this||i,$e=arguments[0];A&&A.transferEventName&&($e=A.transferEventName($e));let dt=arguments[2],ft=dt?typeof dt=="boolean"?!0:dt.capture:!1,Qe=arguments[1];if(!Qe)return de.apply(this,arguments);if(ie&&!ie(de,Qe,fe,arguments))return;let It=ps[$e],yt;It&&(yt=It[ft?nd:id]);let kt=yt&&fe[yt];if(kt)for(let rn=0;rn<kt.length;rn++){let dn=kt[rn];if(Ge(dn,Qe)){if(kt.splice(rn,1),dn.isRemoved=!0,kt.length===0&&(dn.allRemoved=!0,fe[yt]=null,!ft&&typeof $e=="string")){let wi=Sm+"ON_PROPERTY"+$e;fe[wi]=null}return dn.zone.cancelTask(dn),j?fe:void 0}}return de.apply(this,arguments)},U[a]=function(){let fe=this||i,$e=arguments[0];A&&A.transferEventName&&($e=A.transferEventName($e));let dt=[],ft=PL(fe,Q?Q($e):$e);for(let Qe=0;Qe<ft.length;Qe++){let It=ft[Qe],yt=It.originalDelegate?It.originalDelegate:It.callback;dt.push(yt)}return dt},U[s]=function(){let fe=this||i,$e=arguments[0];if($e){A&&A.transferEventName&&($e=A.transferEventName($e));let dt=ps[$e];if(dt){let ft=dt[id],Qe=dt[nd],It=fe[ft],yt=fe[Qe];if(It){let kt=It.slice();for(let rn=0;rn<kt.length;rn++){let dn=kt[rn],wi=dn.originalDelegate?dn.originalDelegate:dn.callback;this[o].call(this,$e,wi,dn.options)}}if(yt){let kt=yt.slice();for(let rn=0;rn<kt.length;rn++){let dn=kt[rn],wi=dn.originalDelegate?dn.originalDelegate:dn.callback;this[o].call(this,$e,wi,dn.options)}}}}else{let dt=Object.keys(fe);for(let ft=0;ft<dt.length;ft++){let Qe=dt[ft],It=ML.exec(Qe),yt=It&&It[1];yt&&yt!=="removeListener"&&this[s].call(this,yt)}this[s].call(this,"removeListener")}if(j)return this},od(U[r],le),od(U[o],de),Ce&&od(U[s],Ce),ue&&od(U[a],ue),!0}let V=[];for(let N=0;N<t.length;N++)V[N]=k(t[N],n);return V}function PL(i,e){if(!e){let o=[];for(let a in i){let s=ML.exec(a),l=s&&s[1];if(l&&(!e||l===e)){let u=i[a];if(u)for(let h=0;h<u.length;h++)o.push(u[h])}}return o}let t=ps[e];t||(SL(e),t=ps[e]);let n=i[t[id]],r=i[t[nd]];return n?r?n.concat(r):n.slice():r?r.slice():[]}function G6e(i,e){let t=i.Event;t&&t.prototype&&e.patchMethod(t.prototype,"stopImmediatePropagation",n=>function(r,o){r[wL]=!0,n&&n.apply(r,o)})}function $6e(i,e){e.patchMethod(i,"queueMicrotask",t=>function(n,r){Zone.current.scheduleMicroTask("queueMicrotask",r[0])})}var $v=vi("zoneTask");function Op(i,e,t,n){let r=null,o=null;e+=n,t+=n;let a={};function s(u){let h=u.data;h.args[0]=function(){return u.invoke.apply(this,arguments)};let _=r.apply(i,h.args);return gL(_)?h.handleId=_:(h.handle=_,h.isRefreshable=hL(_.refresh)),u}function l(u){let{handle:h,handleId:_}=u.data;return o.call(i,h??_)}r=rd(i,e,u=>function(h,_){if(hL(_[0])){let y={isRefreshable:!1,isPeriodic:n==="Interval",delay:n==="Timeout"||n==="Interval"?_[1]||0:void 0,args:_},b=_[0];_[0]=function(){try{return b.apply(this,arguments)}finally{let{handle:$,handleId:ie,isPeriodic:H,isRefreshable:j}=y;!H&&!j&&(ie?delete a[ie]:$&&($[$v]=null))}};let x=qS(e,_[0],y,s,l);if(!x)return x;let{handleId:w,handle:k,isRefreshable:V,isPeriodic:N}=x.data;if(w)a[w]=x;else if(k&&(k[$v]=x,V&&!N)){let A=k.refresh;k.refresh=function(){let{zone:$,state:ie}=x;return ie==="notScheduled"?(x._state="scheduled",$._updateTaskCount(x,1)):ie==="running"&&(x._state="scheduling"),A.call(this)}}return k??w??x}else return u.apply(i,_)}),o=rd(i,t,u=>function(h,_){let y=_[0],b;gL(y)?(b=a[y],delete a[y]):(b=y?.[$v],b?y[$v]=null:b=y),b?.type?b.cancelFn&&b.zone.cancelTask(b):u.apply(i,_)})}function W6e(i,e){let{isBrowser:t,isMix:n}=e.getGlobalObjects();if(!t&&!n||!i.customElements||!("customElements"in i))return;let r=["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback","formAssociatedCallback","formDisabledCallback","formResetCallback","formStateRestoreCallback"];e.patchCallbacks(e,i.customElements,"customElements","define",r)}function Y6e(i,e){if(Zone[e.symbol("patchEventTarget")])return;let{eventNames:t,zoneSymbolEventNames:n,TRUE_STR:r,FALSE_STR:o,ZONE_SYMBOL_PREFIX:a}=e.getGlobalObjects();for(let l=0;l<t.length;l++){let u=t[l],h=u+o,_=u+r,y=a+h,b=a+_;n[u]={},n[u][o]=y,n[u][r]=b}let s=i.EventTarget;if(!(!s||!s.prototype))return e.patchEventTarget(i,e,[s&&s.prototype]),!0}function Q6e(i,e){e.patchEventPrototype(i,e)}function EL(i,e,t){if(!t||t.length===0)return e;let n=t.filter(o=>o.target===i);if(n.length===0)return e;let r=n[0].ignoreProperties;return e.filter(o=>r.indexOf(o)===-1)}function _L(i,e,t,n){if(!i)return;let r=EL(i,e,t);CL(i,r,n)}function RS(i){return Object.getOwnPropertyNames(i).filter(e=>e.startsWith("on")&&e.length>2).map(e=>e.substring(2))}function K6e(i,e){if(Qv&&!bL||Zone[i.symbol("patchEvents")])return;let t=e.__Zone_ignore_on_properties,n=[];if(GS){let r=window;n=n.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);let o=[];_L(r,RS(r),t&&t.concat(o),LS(r))}n=n.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let r=0;r<n.length;r++){let o=e[n[r]];o?.prototype&&_L(o.prototype,RS(o.prototype),t)}}function X6e(i){i.__load_patch("legacy",e=>{let t=e[i.__symbol__("legacyPatch")];t&&t()}),i.__load_patch("timers",e=>{let t="set",n="clear";Op(e,t,n,"Timeout"),Op(e,t,n,"Interval"),Op(e,t,n,"Immediate")}),i.__load_patch("requestAnimationFrame",e=>{Op(e,"request","cancel","AnimationFrame"),Op(e,"mozRequest","mozCancel","AnimationFrame"),Op(e,"webkitRequest","webkitCancel","AnimationFrame")}),i.__load_patch("blocking",(e,t)=>{let n=["alert","prompt","confirm"];for(let r=0;r<n.length;r++){let o=n[r];rd(e,o,(a,s,l)=>function(u,h){return t.current.run(a,e,h,l)})}}),i.__load_patch("EventTarget",(e,t,n)=>{Q6e(e,n),Y6e(e,n);let r=e.XMLHttpRequestEventTarget;r&&r.prototype&&n.patchEventTarget(e,n,[r.prototype])}),i.__load_patch("MutationObserver",(e,t,n)=>{Mm("MutationObserver"),Mm("WebKitMutationObserver")}),i.__load_patch("IntersectionObserver",(e,t,n)=>{Mm("IntersectionObserver")}),i.__load_patch("FileReader",(e,t,n)=>{Mm("FileReader")}),i.__load_patch("on_property",(e,t,n)=>{K6e(n,e)}),i.__load_patch("customElements",(e,t,n)=>{W6e(e,n)}),i.__load_patch("XHR",(e,t)=>{u(e);let n=vi("xhrTask"),r=vi("xhrSync"),o=vi("xhrListener"),a=vi("xhrScheduled"),s=vi("xhrURL"),l=vi("xhrErrorBeforeScheduled");function u(h){let _=h.XMLHttpRequest;if(!_)return;let y=_.prototype;function b(le){return le[n]}let x=y[AS],w=y[VS];if(!x){let le=h.XMLHttpRequestEventTarget;if(le){let de=le.prototype;x=de[AS],w=de[VS]}}let k="readystatechange",V="scheduled";function N(le){let de=le.data,ue=de.target;ue[a]=!1,ue[l]=!1;let Ce=ue[o];x||(x=ue[AS],w=ue[VS]),Ce&&w.call(ue,k,Ce);let ge=ue[o]=()=>{if(ue.readyState===ue.DONE)if(!de.aborted&&ue[a]&&le.state===V){let G=ue[t.__symbol__("loadfalse")];if(ue.status!==0&&G&&G.length>0){let F=le.invoke;le.invoke=function(){let q=ue[t.__symbol__("loadfalse")];for(let be=0;be<q.length;be++)q[be]===le&&q.splice(be,1);!de.aborted&&le.state===V&&F.call(le)},G.push(le)}else le.invoke()}else!de.aborted&&ue[a]===!1&&(ue[l]=!0)};return x.call(ue,k,ge),ue[n]||(ue[n]=le),Q.apply(ue,de.args),ue[a]=!0,le}function A(){}function $(le){let de=le.data;return de.aborted=!0,J.apply(de.target,de.args)}let ie=rd(y,"open",()=>function(le,de){return le[r]=de[2]==!1,le[s]=de[1],ie.apply(le,de)}),H="XMLHttpRequest.send",j=vi("fetchTaskAborting"),U=vi("fetchTaskScheduling"),Q=rd(y,"send",()=>function(le,de){if(t.current[U]===!0||le[r])return Q.apply(le,de);{let ue={target:le,url:le[s],isPeriodic:!1,args:de,aborted:!1},Ce=qS(H,A,ue,N,$);le&&le[l]===!0&&!ue.aborted&&Ce.state===V&&Ce.invoke()}}),J=rd(y,"abort",()=>function(le,de){let ue=b(le);if(ue&&typeof ue.type=="string"){if(ue.cancelFn==null||ue.data&&ue.data.aborted)return;ue.zone.cancelTask(ue)}else if(t.current[j]===!0)return J.apply(le,de)})}}),i.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&L6e(e.navigator.geolocation,["getCurrentPosition","wat
840chPosition"])}),i.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(r){return function(o){PL(e,r).forEach(s=>{let l=e.PromiseRejectionEvent;if(l){let u=new l(r,{promise:o.promise,reason:o.rejection});s.invoke(u)}})}}e.PromiseRejectionEvent&&(t[vi("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[vi("rejectionHandledHandler")]=n("rejectionhandled"))}),i.__load_patch("queueMicrotask",(e,t,n)=>{$6e(e,n)})}function Z6e(i){i.__load_patch("ZoneAwarePromise",(e,t,n)=>{let r=Object.getOwnPropertyDescriptor,o=Object.defineProperty;function a(we){if(we&&we.toString===Object.prototype.toString){let xe=we.constructor&&we.constructor.name;return(xe||"")+": "+JSON.stringify(we)}return we?we.toString():Object.prototype.toString.call(we)}let s=n.symbol,l=[],u=e[s("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")]!==!1,h=s("Promise"),_=s("then"),y="__creationTrace__";n.onUnhandledError=we=>{if(n.showUncaughtError()){let xe=we&&we.rejection;xe?console.error("Unhandled Promise rejection:",xe instanceof Error?xe.message:xe,"; Zone:",we.zone.name,"; Task:",we.task&&we.task.source,"; Value:",xe,xe instanceof Error?xe.stack:void 0):console.error(we)}},n.microtaskDrainDone=()=>{for(;l.length;){let we=l.shift();try{we.zone.runGuarded(()=>{throw we.throwOriginal?we.rejection:we})}catch(xe){x(xe)}}};let b=s("unhandledPromiseRejectionHandler");function x(we){n.onUnhandledError(we);try{let xe=t[b];typeof xe=="function"&&xe.call(this,we)}catch{}}function w(we){return we&&typeof we.then=="function"}function k(we){return we}function V(we){return Ae.reject(we)}let N=s("state"),A=s("value"),$=s("finally"),ie=s("parentPromiseValue"),H=s("parentPromiseState"),j="Promise.then",U=null,Q=!0,J=!1,le=0;function de(we,xe){return fe=>{try{se(we,xe,fe)}catch($e){se(we,!1,$e)}}}let ue=function(){let we=!1;return function(fe){return function(){we||(we=!0,fe.apply(null,arguments))}}},Ce="Promise resolved with itself",ge=s("currentTaskTrace");function se(we,xe,fe){let $e=ue();if(we===fe)throw new TypeError(Ce);if(we[N]===U){let dt=null;try{(typeof fe=="object"||typeof fe=="function")&&(dt=fe&&fe.then)}catch(ft){return $e(()=>{se(we,!1,ft)})(),we}if(xe!==J&&fe instanceof Ae&&fe.hasOwnProperty(N)&&fe.hasOwnProperty(A)&&fe[N]!==U)F(fe),se(we,fe[N],fe[A]);else if(xe!==J&&typeof dt=="function")try{dt.call(fe,$e(de(we,xe)),$e(de(we,!1)))}catch(ft){$e(()=>{se(we,!1,ft)})()}else{we[N]=xe;let ft=we[A];if(we[A]=fe,we[$]===$&&xe===Q&&(we[N]=we[H],we[A]=we[ie]),xe===J&&fe instanceof Error){let Qe=t.currentTask&&t.currentTask.data&&t.currentTask.data[y];Qe&&o(fe,ge,{configurable:!0,enumerable:!1,writable:!0,value:Qe})}for(let Qe=0;Qe<ft.length;)q(we,ft[Qe++],ft[Qe++],ft[Qe++],ft[Qe++]);if(ft.length==0&&xe==J){we[N]=le;let Qe=fe;try{throw new Error("Uncaught (in promise): "+a(fe)+(fe&&fe.stack?`
841`+fe.stack:""))}catch(It){Qe=It}u&&(Qe.throwOriginal=!0),Qe.rejection=fe,Qe.promise=we,Qe.zone=t.current,Qe.task=t.currentTask,l.push(Qe),n.scheduleMicroTask()}}}return we}let G=s("rejectionHandledHandler");function F(we){if(we[N]===le){try{let xe=t[G];xe&&typeof xe=="function"&&xe.call(this,{rejection:we[A],promise:we})}catch{}we[N]=J;for(let xe=0;xe<l.length;xe++)we===l[xe].promise&&l.splice(xe,1)}}function q(we,xe,fe,$e,dt){F(we);let ft=we[N],Qe=ft?typeof $e=="function"?$e:k:typeof dt=="function"?dt:V;xe.scheduleMicroTask(j,()=>{try{let It=we[A],yt=!!fe&&$===fe[$];yt&&(fe[ie]=It,fe[H]=ft);let kt=xe.run(Qe,void 0,yt&&Qe!==V&&Qe!==k?[]:[It]);se(fe,!0,kt)}catch(It){se(fe,!1,It)}},fe)}let be="function ZoneAwarePromise() { [native code] }",Oe=function(){},gt=e.AggregateError;class Ae{static toString(){return be}static resolve(xe){return xe instanceof Ae?xe:se(new this(null),Q,xe)}static reject(xe){return se(new this(null),J,xe)}static withResolvers(){let xe={};return xe.promise=new Ae((fe,$e)=>{xe.resolve=fe,xe.reject=$e}),xe}static any(xe){if(!xe||typeof xe[Symbol.iterator]!="function")return Promise.reject(new gt([],"All promises were rejected"));let fe=[],$e=0;try{for(let Qe of xe)$e++,fe.push(Ae.resolve(Qe))}catch{return Promise.reject(new gt([],"All promises were rejected"))}if($e===0)return Promise.reject(new gt([],"All promises were rejected"));let dt=!1,ft=[];return new Ae((Qe,It)=>{for(let yt=0;yt<fe.length;yt++)fe[yt].then(kt=>{dt||(dt=!0,Qe(kt))},kt=>{ft.push(kt),$e--,$e===0&&(dt=!0,It(new gt(ft,"All promises were rejected")))})})}static race(xe){let fe,$e,dt=new this((It,yt)=>{fe=It,$e=yt});function ft(It){fe(It)}function Qe(It){$e(It)}for(let It of xe)w(It)||(It=this.resolve(It)),It.then(ft,Qe);return dt}static all(xe){return Ae.allWithCallback(xe)}static allSettled(xe){return(this&&this.prototype instanceof Ae?this:Ae).allWithCallback(xe,{thenCallback:$e=>({status:"fulfilled",value:$e}),errorCallback:$e=>({status:"rejected",reason:$e})})}static allWithCallback(xe,fe){let $e,dt,ft=new this((kt,rn)=>{$e=kt,dt=rn}),Qe=2,It=0,yt=[];for(let kt of xe){w(kt)||(kt=this.resolve(kt));let rn=It;try{kt.then(dn=>{yt[rn]=fe?fe.thenCallback(dn):dn,Qe--,Qe===0&&$e(yt)},dn=>{fe?(yt[rn]=fe.errorCallback(dn),Qe--,Qe===0&&$e(yt)):dt(dn)})}catch(dn){dt(dn)}Qe++,It++}return Qe-=2,Qe===0&&$e(yt),ft}constructor(xe){let fe=this;
841if(!(fe instanceof Ae))throw new Error("Must be an instanceof Promise.");fe[N]=U,fe[A]=[];try{let $e=ue();xe&&xe($e(de(fe,Q)),$e(de(fe,J)))}catch($e){se(fe,!1,$e)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return Ae}then(xe,fe){let $e=this.constructor?.[Symbol.species];(!$e||typeof $e!="function")&&($e=this.constructor||Ae);let dt=new $e(Oe),ft=t.current;return this[N]==U?this[A].push(ft,dt,xe,fe):q(this,ft,dt,xe,fe),dt}catch(xe){return this.then(null,xe)}finally(xe){let fe=this.constructor?.[Symbol.species];(!fe||typeof fe!="function")&&(fe=Ae);let $e=new fe(Oe);$e[$]=$;let dt=t.current;return this[N]==U?this[A].push(dt,$e,xe,xe):q(this,dt,$e,xe,xe),$e}}Ae.resolve=Ae.resolve,Ae.reject=Ae.reject,Ae.race=Ae.race,Ae.all=Ae.all;let tn=e[h]=e.Promise;e.Promise=Ae;let Ge=s("thenPatched");function ve(we){let xe=we.prototype,fe=r(xe,"then");if(fe&&(fe.writable===!1||!fe.configurable))return;let $e=xe.then;xe[_]=$e,we.prototype.then=function(dt,ft){return new Ae((It,yt)=>{$e.call(this,It,yt)}).then(dt,ft)},we[Ge]=!0}n.patchThen=ve;function Me(we){return function(xe,fe){let $e=we.apply(xe,fe);if($e instanceof Ae)return $e;let dt=$e.constructor;return dt[Ge]||ve(dt),$e}}return tn&&(ve(tn),rd(e,"fetch",we=>Me(we))),Promise[t.__symbol__("uncaughtPromiseErrors")]=l,Ae})}function J6e(i){i.__load_patch("toString",e=>{let t=Function.prototype.toString,n=vi("OriginalDelegate"),r=vi("Promise"),o=vi("Error"),a=function(){if(typeof this=="function"){let h=this[n];if(h)return typeof h=="function"?t.call(h):Object.prototype.toString.call(h);if(this===Promise){let _=e[r];if(_)return t.call(_)}if(this===Error){let _=e[o];if(_)return t.call(_)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;let s=Object.prototype.toString,l="[object Promise]";Object.prototype.toString=function(){return typeof Promise=="function"&&this instanceof Promise?l:s.call(this)}})}function e8e(i,e,t,n,r){let o=Zone.__symbol__(n);if(e[o])return;let a=e[o]=e[n];e[n]=function(s,l,u){return l&&l.prototype&&r.forEach(function(h){let _=`${t}.${n}::`+h,y=l.prototype;try{if(y.hasOwnProperty(h)){let b=i.ObjectGetOwnPropertyDescriptor(y,h);b&&b.value?(b.value=i.wrapWithCurrentZone(b.value,_),i._redefineProperty(l.prototype,h,b)):y[h]&&(y[h]=i.wrapWithCurrentZone(y[h],_))}else y[h]&&(y[h]=i.wrapWithCurrentZone(y[h],_))}catch{}}),a.call(e,s,l,u)},i.attachOriginToPatched(e[n],a)}function t8e(i){i.__load_patch("util",(e,t,n)=>{let r=RS(e);n.patchOnProperties=CL,n.patchMethod=rd,n.bindArguments=US,n.patchMacroTask=B6e;let o=t.__symbol__("BLACK_LISTED_EVENTS"),a=t.__symbol__("UNPATCHED_EVENTS");e[a]&&(e[o]=e[a]),e[o]&&(t[o]=t[a]=e[o]),n.patchEventPrototype=G6e,n.patchEventTarget=U6e,n.isIEOrEdge=j6e,n.ObjectDefineProperty=zS,n.ObjectGetOwnPropertyDescriptor=wm,n.ObjectCreate=F6e,n.ArraySlice=R6e,n.patchClass=Mm,n.wrapWithCurrentZone=jS,n.filterProperties=EL,n.attachOriginToPatched=od,n._redefineProperty=Object.defineProperty,n.patchCallbacks=e8e,n.getGlobalObjects=()=>({globalSources:yL,zoneSymbolEventNames:ps,eventNames:r,isBrowser:GS,isMix:bL,isNode:Qv,TRUE_STR:nd,FALSE_STR:id,ZONE_SYMBOL_PREFIX:Sm,ADD_EVENT_LISTENER_STR:HS,REMOVE_EVENT_LISTENER_STR:BS})})}function n8e(i){Z6e(i),J6e(i),t8e(i)}var DL=V6e();n8e(DL);X6e(DL);function OL(i){return i!==null&&typeof i=="object"&&"constructor"in i&&i.constructor===Object}function $S(i,e){i===void 0&&(i={}),e===void 0&&(e={});let t=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>t.indexOf(n)<0).forEach(n=>{typeof i[n]>"u"?i[n]=e[n]:OL(e[n])&&OL(i[n])&&Object.keys(e[n]).length>0&&$S(i[n],e[n])})}var TL={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ri(){let i=typeof document<"u"?document:{};return $S(i,TL),i}var i8e={document:TL,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){}
vendor: 64,903 bytes, line 841
841,clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(i){return typeof setTimeout>"u"?(i(),null):setTimeout(i,0)},cancelAnimationFrame(i){typeof setTimeout>"u"||clearTimeout(i)}};function fi(){let i=typeof window<"u"?window:{};return $S(i,i8e),i}function ad(i){return i===void 0&&(i=""),i.trim().split(" ").filter(e=>!!e.trim())}function IL(i){let e=i;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Yl(i,e){return e===void 0&&(e=0),setTimeout(i,e)}function Ko(){return Date.now()}function r8e(i){let e=fi(),t;return e.getComputedStyle&&(t=e.getComputedStyle(i,null)),!t&&i.currentStyle&&(t=i.currentStyle),t||(t=i.style),t}function Em(i,e){e===void 0&&(e="x");let t=fi(),n,r,o,a=r8e(i);return t.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(s=>s.replace(",",".")).join(", ")),o=new t.WebKitCSSMatrix(r==="none"?"":r)):(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=o.m41:n.length===16?r=parseFloat(n[12]):r=parseFloat(n[4])),e==="y"&&(t.WebKitCSSMatrix?r=o.m42:n.length===16?r=parseFloat(n[13]):r=parseFloat(n[5])),r||0}function Tp(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"}function o8e(i){return typeof window<"u"&&typeof window.HTMLElement<"u"?i instanceof HTMLElement:i&&(i.nodeType===1||i.nodeType===11)}function pa(){let i=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){let n=t<0||arguments.length<=t?void 0:arguments[t];if(n!=null&&!o8e(n)){let r=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,a=r.length;o<a;o+=1){let s=r[o],l=Object.getOwnPropertyDescriptor(n,s);l!==void 0&&l.enumerable&&(Tp(i[s])&&Tp(n[s])?n[s].__swiper__?i[s]=n[s]:pa(i[s],n[s]):!Tp(i[s])&&Tp(n[s])?(i[s]={},n[s].__swiper__?i[s]=n[s]:pa(i[s],n[s])):i[s]=n[s])}}}return i}function Q2(i,e,t){i.style.setProperty(e,t)}function WS(i){let{swiper:e,targetPosition:t,side:n}=i,r=fi(),o=-e.translate,a=null,s,l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);let u=t>o?"next":"prev",h=(y,b)=>u==="next"&&y>=b||u==="prev"&&y<=b,_=()=>{s=new Date().getTime(),a===null&&(a=s);let y=Math.max(Math.min((s-a)/l,1),0),b=.5-Math.cos(y*Math.PI)/2,x=o+b*(t-o);if(h(x,t)&&(x=t),e.wrapperEl.scrollTo({[n]:x}),h(x,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:x})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(_)};_()}function fa(i){return i.querySelector(".swiper-slide-transform")||i.shadowRoot&&i.shadowRoot.querySelector(".swiper-slide-transform")||i}function ir(i,e){e===void 0&&(e="");let t=fi(),n=[...i.children];return t.HTMLSlotElement&&i instanceof HTMLSlotElement&&n.push(...i.assignedElements()),e?n.filter(r=>r.matches(e)):n}function a8e(i,e){let t=[e];for(;t.length>0;){let n=t.shift();if(i===n)return!0;t.push(...n.children,...n.shadowRoot?n.shadowRoot.children:[],...n.assignedElements?n.assignedElements():[])}}function kL(i,e){let t=fi(),n=e.contains(i);return!n&&t.HTMLSlotElement&&e instanceof HTMLSlotElement&&(n=[...e.assignedElements()].includes(i),n||(n=a8e(i,e))),n}function Dm(i){try{console.warn(i);return}catch{}}function Vr(i,e){e===void 0&&(e=[]);let t=document.createElement(i);return t.classList.add(...Array.isArray(e)?e:ad(e)),t}function K2(i){let e=fi(),t=Ri(),n=i.getBoundingClientRect(),r=t.body,o=i.clientTop||r.clientTop||0,a=i.clientLeft||r.clientLeft||0,s=i===e?e.scrollY:i.scrollTop,l=i===e?e.scrollX:i.scrollLeft;return{top:n.top+s-o,left:n.left+l-a}}function NL(i,e){let t=[];for(;i.previousElementSibling;){let n=i.previousElementSibling;e?n.matches(e)&&t.push(n):t.push(n),i=n}return t}function AL(i,e){let t=[];for(;i.nextElementSibling;){let n=i.nextElementSibling;e?n.matches(e)&&t.push(n):t.push(n),i=n}return t}function sd(i,e){return fi().getComputedStyle(i,null).getPropertyValue(e)}function m1(i){let e=i,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function Js(i,e){let t=[],n=i.parentElement;for(;n;)e?n.matches(e)&&t.push(n):t.push(n),n=n.parentElement;return t}function h1(i,e){function t(n){n.target===i&&(e.call(i,n),i.removeEventListener("transitionend",t))}e&&i.addEventListener("transitionend",t)}function Om(i,e,t){let n=fi();return t?i[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(i,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):i.offsetWidth}function Vn(i){return(Array.isArray(i)?i:[i]).filter(e=>!!e)}function g1(i){return e=>Math.abs(e)>0&&i.browser&&i.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}function lo(i,e){e===void 0&&(e=""),typeof trustedTypes<"u"?i.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(e):i.innerHTML=e}var YS;function s8e(){let i=fi(),e=Ri();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in i||i.DocumentTouch&&e instanceof i.DocumentTouch)}}function LL(){return YS||(YS=s8e()),YS}var QS;function l8e(i){let{userAgent:e}=i===void 0?{}:i,t=LL(),n=fi(),r=n.navigator.platform,o=e||n.navigator.userAgent,a={ios:!1,android:!1},s=n.screen.width,l=n.screen.height,u=o.match(/(Android);?[\s\/]+([\d.]+)?/),h=o.match(/(iPad).*OS\s([\d_]+)/),_=o.match(/(iPod)(.*OS\s([\d_]+))?/),y=!h&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),b=r==="Win32",x=r==="MacIntel",w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!h&&x&&t.touch&&w.indexOf(`${s}x${l}`)>=0&&(h=o.match(/(Version)\/([\d.]+)/),h||(h=[0,1,"13_0_0"]),x=!1),u&&!b&&(a.os="android",a.android=!0),(h||y||_)&&(a.os="ios",a.ios=!0),a}function HL(i){return i===void 0&&(i={}),QS||(QS=l8e(i)),QS}var KS;function c8e(){let i=fi(),e=HL(),t=!1;function n(){let s=i.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(n()){let s=String(i.navigator.userAgent);if(s.includes("Version/")){let[l,u]=s.split("Version/")[1].split(" ")[0].split(".").map(h=>Number(h));t=l<16||l===16&&u<2}}let r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(i.navigator.userAgent),o=n(),a=o||r&&e.ios;return{isSafari:t||o,needPerspectiveFix:t,need3dFix:a,isWebView:r}}function BL(){return KS||(KS=c8e()),KS}function d8e(i){let{swiper:e,on:t,emit:n}=i,r=fi(),o=null,a=null,s=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(_=>{a=r.requestAnimationFrame(()=>{let{width:y,height:b}=e,x=y,w=b;_.forEach(k=>{let{contentBoxSize:V,contentRect:N,target:A}=k;A&&A!==e.el||(x=N?N.width:(V[0]||V).inlineSize,w=N?N.height:(V[0]||V).blockSize)}),(x!==y||w!==b)&&s()})}),o.observe(e.el))},u=()=>{a&&r.cancelAnimationFrame(a),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},h=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){l();return}r.addEventListener("resize",s),r.addEventListener("orientationchange",h)}),t("destroy",()=>{u(),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",h)})}function u8e(i){let{swiper:e,extendParams:t,on:n,emit:r}=i,o=[],a=fi(),s=function(h,_){_===void 0&&(_={});let y=a.MutationObserver||a.WebkitMutationObserver,b=new y(x=>{if(e.__preventObserver__)return;if(x.length===1){r("observerUpdate",x[0]);return}let w=function(){r("observerUpdate",x[0])};a.requestAnimationFrame?a.requestAnimationFrame(w):a.setTimeout(w,0)});b.observe(h,{attributes:typeof _.attributes>"u"?!0:_.attributes,childList:e.isElement||(typeof _.childList>"u"?!0:_).childList,characterData:typeof _.characterData>"u"?!0:_.characterData}),o.push(b)},l=()=>{if(e.params.observer){if(e.params.observeParents){let h=Js(e.hostEl);for(let _=0;_<h.length;_+=1)s(h[_])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{o.forEach(h=>{h.disconnect()}),o.splice(0,o.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",l),n("destroy",u)}var p8e={on(i,e,t){let n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;let r=t?"unshift":"push";return i.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][r](e)}),n},once(i,e,t){let n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function r(){n.off(i,r),r.__emitterProxy&&delete r.__emitterProxy;for(var o=arguments.length,a=new Array(o),s=0;s<o;s++)a[s]=arguments[s];e.apply(n,a)}return r.__emitterProxy=e,n.on(i,r,t)},onAny(i,e){let t=this;if(!t.eventsListeners||t.destroyed||typeof i!="function")return t;let n=e?"unshift":"push";return t.eventsAnyListeners.indexOf(i)<0&&t.eventsAnyListeners[n](i),t},offAny(i){let e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;let t=e.eventsAnyListeners.indexOf(i);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(i,e){let t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||i.split(" ").forEach(n=>{typeof e>"u"?t.eventsListeners[n]=[]:t.eventsListeners[n]&&t.eventsListeners[n].forEach((r,o)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[n].splice(o,1)})}),t},emit(){let i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let e,t,n;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],t=o.slice(1,o.length),n=i):(e=o[0].events,t=o[0].data,n=o[0].context||i),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(l=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(u=>{u.apply(n,[l,...t])}),i.eventsListeners&&i.eventsListeners[l]&&i.eventsListeners[l].forEach(u=>{u.apply(n,t)})}),i}};function f8e(){let i=this,e,t,n=i.el;typeof i.params.width<"u"&&i.params.width!==null?e=i.params.width:e=n.clientWidth,typeof i.params.height<"u"&&i.params.height!==null?t=i.params.height:t=n.clientHeight,!(e===0&&i.isHorizontal()||t===0&&i.isVertical())&&(e=e-parseInt(sd(n,"padding-left")||0,10)-parseInt(sd(n,"padding-right")||0,10),t=t-parseInt(sd(n,"padding-top")||0,10)-parseInt(sd(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(i,{width:e,height:t,size:i.isHorizontal()?e:t}))}function m8e(){let i=this;function e(J,le){return parseFloat(J.getPropertyValue(i.getDirectionLabel(le))||0)}let t=i.params,{wrapperEl:n,slidesEl:r,size:o,rtlTranslate:a,wrongRTL:s}=i,l=i.virtual&&t.virtual.enabled,u=l?i.virtual.slides.length:i.slides.length,h=ir(r,`.${i.params.slideClass}, swiper-slide`),_=l?i.virtual.slides.length:h.length,y=[],b=[],x=[],w=t.slidesOffsetBefore;typeof w=="function"&&(w=t.slidesOffsetBefore.call(i));let k=t.slidesOffsetAfter;typeof k=="function"&&(k=t.slidesOffsetAfter.call(i));let V=i.snapGrid.length,N=i.slidesGrid.length,A=t.spaceBetween,$=-w,ie=0,H=0;if(typeof o>"u")return;typeof A=="string"&&A.indexOf("%")>=0?A=parseFloat(A.replace("%",""))/100*o:typeof A=="string"&&(A=parseFloat(A)),i.virtualSize=-A,h.forEach(J=>{a?J.style.marginLeft="":J.style.marginRight="",J.style.marginBottom="",J.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Q2(n,"--swiper-centered-offset-before",""),Q2(n,"--swiper-centered-offset-after",""));let j=t.grid&&t.grid.rows>1&&i.grid;j?i.grid.initSlides(h):i.grid&&i.grid.unsetSlides();let U,Q=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(J=>typeof t.breakpoints[J].slidesPerView<"u").length>0;for(let J=0;J<_;J+=1){U=0;let le;if(h[J]&&(le=h[J]),j&&i.grid.updateSlide(J,le,h),!(h[J]&&sd(le,"display")==="none")){if(t.slidesPerView==="auto"){Q&&(h[J].style[i.getDirectionLabel("width")]="");let de=getComputedStyle(le),ue=le.style.transform,Ce=le.style.webkitTransform;if(ue&&(le.style.transform="none"),Ce&&(le.style.webkitTransform="none"),t.roundLengths)U=i.isHorizontal()?Om(le,"width",!0):Om(le,"height",!0);else{let ge=e(de,"width"),se=e(de,"padding-left"),G=e(de,"padding-right"),F=e(de,"margin-left"),q=e(de,"margin-right"),be=de.getPropertyValue("box-sizing");if(be&&be==="border-box")U=ge+F+q;else{let{clientWidth:Oe,offsetWidth:gt}=le;U=ge+se+G+F+q+(gt-Oe)}}ue&&(le.style.transform=ue),Ce&&(le.style.webkitTransform=Ce),t.roundLengths&&(U=Math.floor(U))}else U=(o-(t.slidesPerView-1)*A)/t.slidesPerView,t.roundLengths&&(U=Math.floor(U)),h[J]&&(h[J].style[i.getDirectionLabel("width")]=`${U}px`);h[J]&&(h[J].swiperSlideSize=U),x.push(U),t.centeredSlides?($=$+U/2+ie/2+A,ie===0&&J!==0&&($=$-o/2-A),J===0&&($=$-o/2-A),Math.abs($)<1/1e3&&($=0),t.roundLengths&&($=Math.floor($)),H%t.slidesPerGroup===0&&y.push($),b.push($)):(t.roundLengths&&($=Math.floor($)),(H-Math.min(i.params.slidesPerGroupSkip,H))%i.params.slidesPerGroup===0&&y.push($),b.push($),$=$+U+A),i.virtualSize+=U+A,ie=U,H+=1}}if(i.virtualSize=Math.max(i.virtualSize,o)+k,a&&s&&(t.effect==="slide"||t.effect==="coverflow")&&(n.style.width=`${i.virtualSize+A}px`),t.setWrapperSize&&(n.style[i.getDirectionLabel("width")]=`${i.virtualSize+A}px`),j&&i.grid.updateWrapperSize(U,y),!t.centeredSlides){let J=[];for(let le=0;le<y.length;le+=1){let de=y[le];t.roundLengths&&(de=Math.floor(de)),y[le]<=i.virtualSize-o&&J.push(de)}y=J,Math.floor(i.virtualSize-o)-Math.floor(y[y.length-1])>1&&y.push(i.virtualSize-o)}if(l&&t.loop){let J=x[0]+A;if(t.slidesPerGroup>1){let le=Math.ceil((i.virtual.slidesBefore+i.virtual.slidesAfter)/t.slidesPerGroup),de=J*t.slidesPerGroup;for(let ue=0;ue<le;ue+=1)y.push(y[y.length-1]+de)}for(let le=0;le<i.virtual.slidesBefore+i.virtual.slidesAfter;le+=1)t.slidesPerGroup===1&&y.push(y[y.length-1]+J),b.push(b[b.length-1]+J),i.virtualSize+=J}if(y.length===0&&(y=[0]),A!==0){let J=i.isHorizontal()&&a?"marginLeft":i.getDirectionLabel("marginRight");h.filter((le,de)=>!t.cssMode||t.loop?!0:de!==h.length-1).forEach(le=>{le.style[J]=`${A}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let J=0;x.forEach(de=>{J+=de+(A||0)}),J-=A;let le=J>o?J-o:0;y=y.map(de=>de<=0?-w:de>le?le+k:de)}if(t.centerInsufficientSlides){let J=0;x.forEach(de=>{J+=de+(A||0)}),J-=A;let le=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(J+le<o){let de=(o-J-le)/2;y.forEach((ue,Ce)=>{y[Ce]=ue-de}),b.forEach((ue,Ce)=>{b[Ce]=ue+de})}}if(Object.assign(i,{slides:h,snapGrid:y,slidesGrid:b,slidesSizesGrid:x}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Q2(n,"--swiper-centered-offset-before",`${-y[0]}px`),Q2(n,"--swiper-centered-offset-after",`${i.size/2-x[x.length-1]/2}px`);let J=-i.snapGrid[0],le=-i.slidesGrid[0];i.snapGrid=i.snapGrid.map(de=>de+J),i.slidesGrid=i.slidesGrid.map(de=>de+le)}if(_!==u&&i.emit("slidesLengthChange"),y.length!==V&&(i.params.watchOverflow&&i.checkOverflow(),i.emit("snapGridLengthChange")),b.length!==N&&i.emit("slidesGridLengthChange"),t.watchSlidesProgress&&i.updateSlidesOffset(),i.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){let J=`${t.containerModifierClass}backface-hidden`,le=i.el.classList.contains(J);_<=t.maxBackfaceHiddenSlides?le||i.el.classList.add(J):le&&i.el.classList.remove(J)}}function h8e(i){let e=this,t=[],n=e.virtual&&e.params.virtual.enabled,r=0,o;typeof i=="number"?e.setTransition(i):i===!0&&e.setTransition(e.params.speed);let a=s=>n?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{t.push(s)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){let s=e.activeIndex+o;if(s>e.slides.length&&!n)break;t.push(a(s))}else t.push(a(e.activeIndex));for(o=0;o<t.length;o+=1)if(typeof t[o]<"u"){let s=t[o].offsetHeight;r=s>r?s:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function g8e(){let i=this,e=i.slides,t=i.isElement?i.isHorizontal()?i.wrapperEl.offsetLeft:i.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(i.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-i.cssOverflowAdjustment()}var VL=(i,e,t)=>{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function _8e(i){i===void 0&&(i=this&&this.translate||0);let e=this,t=e.params,{slides:n,rtlTranslate:r,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-i;r&&(a=i),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=t.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let l=0;l<n.length;l+=1){let u=n[l],h=u.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(h-=n[0].swiperSlideOffset);let _=(a+(t.centeredSlides?e.minTranslate():0)-h)/(u.swiperSlideSize+s),y=(a-o[0]+(t.centeredSlides?e.minTranslate():0)-h)/(u.swiperSlideSize+s),b=-(a-h),x=b+e.slidesSizesGrid[l],w=b>=0&&b<=e.size-e.slidesSizesGrid[l],k=b>=0&&b<e.size-1||x>1&&x<=e.size||b<=0&&x>=e.size;k&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),VL(u,k,t.slideVisibleClass),VL(u,w,t.slideFullyVisibleClass),u.progress=r?-_:_,u.originalProgress=r?-y:y}}function v8e(i){let e=this;if(typeof i>"u"){let h=e.rtlTranslate?-1:1;i=e&&e.translate&&e.translate*h||0}let t=e.params,n=e.maxTranslate()-e.minTranslate(),{progress:r,isBeginning:o,isEnd:a,progressLoop:s}=e,l=o,u=a;if(n===0)r=0,o=!0,a=!0;else{r=(i-e.minTranslate())/n;let h=Math.abs(i-e.minTranslate())<1,_=Math.abs(i-e.maxTranslate())<1;o=h||r<=0,a=_||r>=1,h&&(r=0),_&&(r=1)}if(t.loop){let h=e.getSlideIndexByData(0),_=e.getSlideIndexByData(e.slides.length-1),y=e.slidesGrid[h],b=e.slidesGrid[_],x=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(i);w>=y?s=(w-y)/x:s=(w+x-b)/x,s>1&&(s-=1)}Object.assign(e,{progress:r,progressLoop:s,isBeginning:o,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(i),o&&!l&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(l&&!o||u&&!a)&&e.emit("fromEdge"),e.emit("progress",r)}var XS=(i,e,t)=>{e&&!i.classList.contains(t)?i.classList.add(t):!e&&i.classList.contains(t)&&i.classList.remove(t)};function x8e(){let i=this,{slides:e,params:t,slidesEl:n,activeIndex:r}=i,o=i.virtual&&t.virtual.enabled,a=i.grid&&t.grid&&t.grid.rows>1,s=_=>ir(n,`.${t.slideClass}${_}, swiper-slide${_}`)[0],l,u,h;if(o)if(t.loop){let _=r-i.virtual.slidesBefore;_<0&&(_=i.virtual.slides.length+_),_>=i.virtual.slides.length&&(_-=i.virtual.slides.length),l=s(`[data-swiper-slide-index="${_}"]`)}else l=s(`[data-swiper-slide-index="${r}"]`);else a?(l=e.find(_=>_.column===r),h=e.find(_=>_.column===r+1),u=e.find(_=>_.column===r-1)):l=e[r];l&&(a||(h=AL(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!h&&(h=e[0]),u=NL(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(_=>{XS(_,_===l,t.slideActiveClass),XS(_,_===h,t.slideNextClass),XS(_,_===u,t.slidePrevClass)}),i.emitSlidesClasses()}var Kv=(i,e)=>{if(!i||i.destroyed||!i.params)return;let t=()=>i.isElement?"swiper-slide":`.${i.params.slideClass}`,n=e.closest(t());if(n){let r=n.querySelector(`.${i.params.lazyPreloaderClass}`);!r&&i.isElement&&(n.shadowRoot?r=n.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(r=n.shadowRoot.querySelector(`.${i.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},ZS=(i,e)=>{if(!i.slides[e])return;let t=i.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},tP=i=>{if(!i||i.destroyed||!i.params)return;let e=i.params.lazyPreloadPrevNext,t=i.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);let n=i.params.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(i.params.slidesPerView),r=i.activeIndex;if(i.params.grid&&i.params.grid.rows>1){let a=r,s=[a-e];s.push(...Array.from({length:e}).map((l,u)=>a+n+u)),i.slides.forEach((l,u)=>{s.includes(l.column)&&ZS(i,u)});return}let o=r+n-1;if(i.params.rewind||i.params.loop)for(let a=r-e;a<=o+e;a+=1){let s=(a%t+t)%t;(s<r||s>o)&&ZS(i,s)}else for(let a=Math.max(r-e,0);a<=Math.min(o+e,t-1);a+=1)a!==r&&(a>o||a<r)&&ZS(i,a)};function b8e(i){let{slidesGrid:e,params:t}=i,n=i.rtlTranslate?i.translate:-i.translate,r;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?r=o:n>=e[o]&&n<e[o+1]&&(r=o+1):n>=e[o]&&(r=o);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function C8e(i){let e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:r,activeIndex:o,realIndex:a,snapIndex:s}=e,l=i,u,h=b=>{let x=b-e.virtual.slidesBefore;return x<0&&(x=e.virtual.slides.length+x),x>=e.virtual.slides.length&&(x-=e.virtual.slides.length),x};if(typeof l>"u"&&(l=b8e(e)),n.indexOf(t)>=0)u=n.indexOf(t);else{let b=Math.min(r.slidesPerGroupSkip,l);u=b+Math.floor((l-b)/r.slidesPerGroup)}if(u>=n.length&&(u=n.length-1),l===o&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===o&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=h(l);return}let _=e.grid&&r.grid&&r.grid.rows>1,y;if(e.virtual&&r.virtual.enabled&&r.loop)y=h(l);else if(_){let b=e.slides.find(w=>w.column===l),x=parseInt(b.getAttribute("data-swiper-slide-index"),10);Number.isNaN(x)&&(x=Math.max(e.slides.indexOf(b),0)),y=Math.floor(x/r.grid.rows)}else if(e.slides[l]){let b=e.slides[l].getAttribute("data-swiper-slide-index");b?y=parseInt(b,10):y=l}else y=l;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:a,realIndex:y,previousIndex:o,activeIndex:l}),e.initialized&&tP(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==y&&e.emit("realIndexChange"),e.emit("slideChange"))}function y8e(i,e){let t=this,n=t.params,r=i.closest(`.${n.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(i)&&[...e.slice(e.indexOf(i)+1,e.length)].forEach(s=>{!r&&s.matches&&s.matches(`.${n.slideClass}, swiper-slide`)&&(r=s)});let o=!1,a;if(r){for(let s=0;s<t.slides.length;s+=1)if(t.slides[s]===r){o=!0,a=s;break}}if(r&&o)t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=a;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}n.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var M8e={updateSize:f8e,updateSlides:m8e,updateAutoHeight:h8e,updateSlidesOffset:g8e,updateSlidesProgress:_8e,updateProgress:v8e,updateSlidesClasses:x8e,updateActiveIndex:C8e,updateClickedSlide:y8e};function w8e(i){i===void 0&&(i=this.isHorizontal()?"x":"y");let e=this,{params:t,rtlTranslate:n,translate:r,wrapperEl:o}=e;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let a=Em(o,i);return a+=e.cssOverflowAdjustment(),n&&(a=-a),a||0}function S8e(i,e){let t=this,{rtlTranslate:n,params:r,wrapperEl:o,progress:a}=t,s=0,l=0,u=0;t.isHorizontal()?s=n?-i:i:l=i,r.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?s:l,r.cssMode?o[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-s:-l:r.virtualTranslate||(t.isHorizontal()?s-=t.cssOverflowAdjustment():l-=t.cssOverflowAdjustment(),o.style.transform=`translate3d(${s}px, ${l}px, ${u}px)`);let h,_=t.maxTranslate()-t.minTranslate();_===0?h=0:h=(i-t.minTranslate())/_,h!==a&&t.updateProgress(i),t.emit("setTranslate",t.translate,e)}function P8e(){return-this.snapGrid[0]}function E8e(){return-this.snapGrid[this.snapGrid.length-1]}function D8e(i,e,t,n,r){i===void 0&&(i=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),n===void 0&&(n=!0);let o=this,{params:a,wrapperEl:s}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;let l=o.minTranslate(),u=o.maxTranslate(),h;if(n&&i>l?h=l:n&&i<u?h=u:h=i,o.updateProgress(h),a.cssMode){let _=o.isHorizontal();if(e===0)s[_?"scrollLeft":"scrollTop"]=-h;else{if(!o.support.smoothScroll)return WS({swiper:o,targetPosition:-h,side:_?"left":"top"}),!0;s.scrollTo({[_?"left":"top"]:-h,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(h),t&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(h),t&&(o.emit("beforeTransitionStart",e,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(y){!o||o.destroyed||y.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,t&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var O8e={getTranslate:w8e,setTranslate:S8e,minTranslate:P8e,maxTranslate:E8e,translateTo:D8e};function T8e(i,e){let t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${i}ms`,t.wrapperEl.style.transitionDelay=i===0?"0ms":""),t.emit("setTransition",i,e)}function jL(i){let{swiper:e,runCallbacks:t,direction:n,step:r}=i,{activeIndex:o,previousIndex:a}=e,s=n;s||(o>a?s="next":o<a?s="prev":s="reset"),e.emit(`transition${r}`),t&&s==="reset"?e.emit(`slideResetTransition${r}`):t&&o!==a&&(e.emit(`slideChangeTransition${r}`),s==="next"?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`))}function I8e(i,e){i===void 0&&(i=!0);let t=this,{params:n}=t;n.cssMode||(n.autoHeight&&t.updateAutoHeight(),jL({swiper:t,runCallbacks:i,direction:e,step:"Start"}))}function k8e(i,e){i===void 0&&(i=!0);let t=this,{params:n}=t;t.animating=!1,!n.cssMode&&(t.setTransition(0),jL({swiper:t,runCallbacks:i,direction:e,step:"End"}))}var N8e={setTransition:T8e,transitionStart:I8e,transitionEnd:k8e};function A8e(i,e,t,n,r){i===void 0&&(i=0),t===void 0&&(t=!0),typeof i=="string"&&(i=parseInt(i,10));let o=this,a=i;a<0&&(a=0);let{params:s,snapGrid:l,slidesGrid:u,previousIndex:h,activeIndex:_,rtlTranslate:y,wrapperEl:b,enabled:x}=o;if(!x&&!n&&!r||o.destroyed||o.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=o.params.speed);let w=Math.min(o.params.slidesPerGroupSkip,a),k=w+Math.floor((a-w)/o.params.slidesPerGroup);k>=l.length&&(k=l.length-1);let V=-l[k];if(s.normalizeSlideIndex)for(let j=0;j<u.length;j+=1){let U=-Math.floor(V*100),Q=Math.floor(u[j]*100),J=Math.floor(u[j+1]*100);typeof u[j+1]<"u"?U>=Q&&U<J-(J-Q)/2?a=j:U>=Q&&U<J&&(a=j+1):U>=Q&&(a=j)}if(o.initialized&&a!==_&&(!o.allowSlideNext&&(y?V>o.translate&&V>o.minTranslate():V<o.translate&&V<o.minTranslate())||!o.allowSlidePrev&&V>o.translate&&V>o.maxTranslate()&&(_||0)!==a))return!1;a!==(h||0)&&t&&o.emit("beforeSlideChangeStart"),o.updateProgress(V);let N;a>_?N="next":a<_?N="prev":N="reset";let A=o.virtual&&o.params.virtual.enabled;if(!(A&&r)&&(y&&-V===o.translate||!y&&V===o.translate))return o.updateActiveIndex(a),s.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),s.effect!=="slide"&&o.setTranslate(V),N!=="reset"&&(o.transitionStart(t,N),o.transitionEnd(t,N)),!1;if(s.cssMode){let j=o.isHorizontal(),U=y?V:-V;if(e===0)A&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),A&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{b[j?"scrollLeft":"scrollTop"]=U})):b[j?"scrollLeft":"scrollTop"]=U,A&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return WS({swiper:o,targetPosition:U,side:j?"left":"top"}),!0;b.scrollTo({[j?"left":"top"]:U,behavior:"smooth"})}return!0}let H=BL().isSafari;return A&&!r&&H&&o.isElement&&o.virtual.update(!1,!1,a),o.setTransition(e),o.setTranslate(V),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(t,N),e===0?o.transitionEnd(t,N):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(U){!o||o.destroyed||U.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(t,N))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function V8e(i,e,t,n){i===void 0&&(i=0),t===void 0&&(t=!0),typeof i=="string"&&(i=parseInt(i,10));let r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);let o=r.grid&&r.params.grid&&r.params.grid.rows>1,a=i;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a=a+r.virtual.slidesBefore;else{let s;if(o){let y=a*r.params.grid.rows;s=r.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===y).column}else s=r.getSlideIndexByData(a);let l=o?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:u}=r.params,h=r.params.slidesPerView;h==="auto"?h=r.slidesPerViewDynamic():(h=Math.ceil(parseFloat(r.params.slidesPerView,10)),u&&h%2===0&&(h=h+1));let _=l-s<h;if(u&&(_=_||s<Math.ceil(h/2)),n&&u&&r.params.slidesPerView!=="auto"&&!o&&(_=!1),_){let y=u?s<r.activeIndex?"prev":"next":s-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:y,slideTo:!0,activeSlideIndex:y==="next"?s+1:s-l+1,slideRealIndex:y==="next"?r.realIndex:void 0})}if(o){let y=a*r.params.grid.rows;a=r.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===y).column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,e,t,n)}),r}function F8e(i,e,t){e===void 0&&(e=!0);let n=this,{enabled:r,params:o,animating:a}=n;if(!r||n.destroyed)return n;typeof i>"u"&&(i=n.params.speed);let s=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<o.slidesPerGroupSkip?1:s,u=n.virtual&&o.virtual.enabled;if(o.loop){if(a&&!u&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,i,e,t)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,i,e,t):n.slideTo(n.activeIndex+l,i,e,t)}function R8e(i,e,t){e===void 0&&(e=!0);let n=this,{params:r,snapGrid:o,slidesGrid:a,rtlTranslate:s,enabled:l,animating:u}=n;if(!l||n.destroyed)return n;typeof i>"u"&&(i=n.params.speed);let h=n.virtual&&r.virtual.enabled;if(r.loop){if(u&&!h&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}let _=s?n.translate:-n.translate;function y(N){return N<0?-Math.floor(Math.abs(N)):Math.floor(N)}let b=y(_),x=o.map(N=>y(N)),w=r.freeMode&&r.freeMode.enabled,k=o[x.indexOf(b)-1];if(typeof k>"u"&&(r.cssMode||w)){let N;o.forEach((A,$)=>{b>=A&&(N=$)}),typeof N<"u"&&(k=w?o[N]:o[N>0?N-1:N])}let V=0;if(typeof k<"u"&&(V=a.indexOf(k),V<0&&(V=n.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(V=V-n.slidesPerViewDynamic("previous",!0)+1,V=Math.max(V,0))),r.rewind&&n.isBeginning){let N=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(N,i,e,t)}else if(r.loop&&n.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{n.slideTo(V,i,e,t)}),!0;return n.slideTo(V,i,e,t)}function z8e(i,e,t){e===void 0&&(e=!0);let n=this;if(!n.destroyed)return typeof i>"u"&&(i=n.params.speed),n.slideTo(n.activeIndex,i,e,t)}function L8e(i,e,t,n){e===void 0&&(e=!0),n===void 0&&(n=.5);let r=this;if(r.destroyed)return;typeof i>"u"&&(i=r.params.speed);let o=r.activeIndex,a=Math.min(r.params.slidesPerGroupSkip,o),s=a+Math.floor((o-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[s]){let u=r.snapGrid[s],h=r.snapGrid[s+1];l-u>(h-u)*n&&(o+=r.params.slidesPerGroup)}else{let u=r.snapGrid[s-1],h=r.snapGrid[s];l-u<=(h-u)*n&&(o-=r.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,r.slidesGrid.length-1),r.slideTo(o,i,e,t)}function H8e(){let i=this;if(i.destroyed)return;let{params:e,slidesEl:t}=i,n=e.slidesPerView==="auto"?i.slidesPerViewDynamic():e.slidesPerView,r=i.getSlideIndexWhenGrid(i.clickedIndex),o,a=i.isElement?"swiper-slide":`.${e.slideClass}`,s=i.grid&&i.params.grid&&i.params.grid.rows>1;if(e.loop){if(i.animating)return;o=parseInt(i.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?i.slideToLoop(o):r>(s?(i.slides.length-n)/2-(i.params.grid.rows-1):i.slides.length-n)?(i.loopFix(),r=i.getSlideIndex(ir(t,`${a}[data-swiper-slide-index="${o}"]`)[0]),Yl(()=>{i.slideTo(r)})):i.slideTo(r)}else i.slideTo(r)}var B8e={slideTo:A8e,slideToLoop:V8e,slideNext:F8e,slidePrev:R8e,slideReset:z8e,slideToClosest:L8e,slideToClickedSlide:H8e};function j8e(i,e){let t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;let o=()=>{ir(r,`.${n.slideClass}, swiper-slide`).forEach((b,x)=>{b.setAttribute("data-swiper-slide-index",x)})},a=()=>{let y=ir(r,`.${n.slideBlankClass}`);y.forEach(b=>{b.remove()}),y.length>0&&(t.recalcSlides(),t.updateSlides())},s=t.grid&&n.grid&&n.grid.rows>1;n.loopAddBlankSlides&&(n.slidesPerGroup>1||s)&&a();let l=n.slidesPerGroup*(s?n.grid.rows:1),u=t.slides.length%l!==0,h=s&&t.slides.length%n.grid.rows!==0,_=y=>{for(let b=0;b<y;b+=1){let x=t.isElement?Vr("swiper-slide",[n.slideBlankClass]):Vr("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(x)}};if(u){if(n.loopAddBlankSlides){let y=l-t.slides.length%l;_(y),t.recalcSlides(),t.updateSlides()}else Dm("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else if(h){if(n.loopAddBlankSlides){let y=n.grid.rows-t.slides.length%n.grid.rows;_(y),t.recalcSlides(),t.updateSlides()}else Dm("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");o()}else o();t.loopFix({slideRealIndex:i,direction:n.centeredSlides?void 0:"next",initial:e})}function q8e(i){let{slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:r,activeSlideIndex:o,initial:a,byController:s,byMousewheel:l}=i===void 0?{}:i,u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:h,allowSlidePrev:_,allowSlideNext:y,slidesEl:b,params:x}=u,{centeredSlides:w,initialSlide:k}=x;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&x.virtual.enabled){t&&(!x.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):x.centeredSlides&&u.snapIndex<x.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=_,u.allowSlideNext=y,u.emit("loopFix");return}let V=x.slidesPerView;V==="auto"?V=u.slidesPerViewDynamic():(V=Math.ceil(parseFloat(x.slidesPerView,10)),w&&V%2===0&&(V=V+1));let N=x.slidesPerGroupAuto?V:x.slidesPerGroup,A=w?Math.max(N,Math.ceil(V/2)):N;A%N!==0&&(A+=N-A%N),A+=x.loopAdditionalSlides,u.loopedSlides=A;let $=u.grid&&x.grid&&x.grid.rows>1;h.length<V+A||u.params.effect==="cards"&&h.length<V+A*2?Dm("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):$&&x.grid.fill==="row"&&Dm("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let ie=[],H=[],j=$?Math.ceil(h.length/x.grid.rows):h.length,U=a&&j-k<V&&!w,Q=U?k:u.activeIndex;typeof o>"u"?o=u.getSlideIndex(h.find(se=>se.classList.contains(x.slideActiveClass))):Q=o;let J=n==="next"||!n,le=n==="prev"||!n,de=0,ue=0,ge=($?h[o].column:o)+(w&&typeof r>"u"?-V/2+.5:0);if(ge<A){de=Math.max(A-ge,N);for(let se=0;se<A-ge;se+=1){let G=se-Math.floor(se/j)*j;if($){let F=j-G-1;for(let q=h.length-1;q>=0;q-=1)h[q].column===F&&ie.push(q)}else ie.push(j-G-1)}}else if(ge+V>j-A){ue=Math.max(ge-(j-A*2),N),U&&(ue=Math.max(ue,V-j+k+1));for(let se=0;se<ue;se+=1){let G=se-Math.floor(se/j)*j;$?h.forEach((F,q)=>{F.column===G&&H.push(q)}):H.push(G)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&h.length<V+A*2&&(H.includes(o)&&H.splice(H.indexOf(o),1),ie.includes(o)&&ie.splice(ie.indexOf(o),1)),le&&ie.forEach(se=>{h[se].swiperLoopMoveDOM=!0,b.prepend(h[se]),h[se].swiperLoopMoveDOM=!1}),J&&H.forEach(se=>{h[se].swiperLoopMoveDOM=!0,b.append(h[se]),h[se].swiperLoopMoveDOM=!1}),u.recalcSlides(),x.slidesPerView==="auto"?u.updateSlides():$&&(ie.length>0&&le||H.length>0&&J)&&u.slides.forEach((se,G)=>{u.grid.updateSlide(G,se,u.slides)}),x.watchSlidesProgress&&u.updateSlidesOffset(),t){if(ie.length>0&&le){if(typeof e>"u"){let se=u.slidesGrid[Q],F=u.slidesGrid[Q+de]-se;l?u.setTranslate(u.translate-F):(u.slideTo(Q+Math.ceil(de),0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-F,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-F))}else if(r){let se=$?ie.length/x.grid.rows:ie.length;u.slideTo(u.activeIndex+se,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(H.length>0&&J)if(typeof e>"u"){let se=u.slidesGrid[Q],F=u.slidesGrid[Q-ue]-se;l?u.setTranslate(u.translate-F):(u.slideTo(Q-ue,0,!1,!0),r&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-F,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-F))}else{let se=$?H.length/x.grid.rows:H.length;u.slideTo(u.activeIndex-se,0,!1,!0)}}if(u.allowSlidePrev=_,u.allowSlideNext=y,u.controller&&u.controller.control&&!s){let se={slideRealIndex:e,direction:n,setTranslate:r,activeSlideIndex:o,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(G=>{!G.destroyed&&G.params.loop&&G.loopFix(mt(ae({},se),{slideTo:G.params.slidesPerView===x.slidesPerView?t:!1}))}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix(mt(ae({},se),{slideTo:u.controller.control.params.slidesPerView===x.slidesPerView?t:!1}))}u.emit("loopFix")}function U8e(){let i=this,{params:e,slidesEl:t}=i;if(!e.loop||!t||i.virtual&&i.params.virtual.enabled)return;i.recalcSlides();let n=[];i.slides.forEach(r=>{let o=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;n[o]=r}),i.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),n.forEach(r=>{t.append(r)}),i.recalcSlides(),i.slideTo(i.realIndex,0)}var G8e={loopCreate:j8e,loopFix:q8e,loopDestroy:U8e};function $8e(i){let e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;let t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=i?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function W8e(){let i=this;i.params.watchOverflow&&i.isLocked||i.params.cssMode||(i.isElement&&(i.__preventObserver__=!0),i[i.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",i.isElement&&requestAnimationFrame(()=>{i.__preventObserver__=!1}))}var Y8e={setGrabCursor:$8e,unsetGrabCursor:W8e};function Q8e(i,e){e===void 0&&(e=this);function t(n){if(!n||n===Ri()||n===fi())return null;n.assignedSlot&&(n=n.assignedSlot);let r=n.closest(i);return!r&&!n.getRootNode?null:r||t(n.getRootNode().host)}return t(e)}function FL(i,e,t){let n=fi(),{params:r}=i,o=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return o&&(t<=a||t>=n.innerWidth-a)?o==="prevent"?(e.preventDefault(),!0):!1:!0}function K8e(i){let e=this,t=Ri(),n=i;n.originalEvent&&(n=n.originalEvent);let r=e.touchEventsData;if(n.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else n.type==="touchstart"&&n.targetTouches.length===1&&(r.touchId=n.targetTouches[0].identifier);if(n.type==="touchstart"){FL(e,n,n.targetTouches[0].pageX);return}let{params:o,touches:a,enabled:s}=e;if(!s||!o.simulateTouch&&n.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let l=n.target;if(o.touchEventsTarget==="wrapper"&&!kL(l,e.wrapperEl)||"which"in n&&n.which===3||"button"in n&&n.button>0||r.isTouched&&r.isMoved)return;let u=!!o.noSwipingClass&&o.noSwipingClass!=="",h=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&h&&(l=h[0]);let _=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,y=!!(n.target&&n.target.shadowRoot);if(o.noSwiping&&(y?Q8e(_,l):l.closest(_))){e.allowClick=!0;return}if(o.swipeHandler&&!l.closest(o.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;let b=a.currentX,x=a.currentY;if(!FL(e,n,b))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=b,a.startY=x,r.touchStartTime=Ko(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(r.allowThresholdMove=!1);let w=!0;l.matches(r.focusableElements)&&(w=!1,l.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l&&(n.pointerType==="mouse"||n.pointerType!=="mouse"&&!l.matches(r.focusableElements))&&t.activeElement.blur();let k=w&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||k)&&!l.isContentEditable&&n.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",n)}function X8e(i){let e=Ri(),t=this,n=t.touchEventsData,{params:r,touches:o,rtlTranslate:a,enabled:s}=t;if(!s||!r.simulateTouch&&i.pointerType==="mouse")return;let l=i;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(n.touchId!==null||l.pointerId!==n.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(H=>H.identifier===n.touchId),!u||u.identifier!==n.touchId)return}else u=l;if(!n.isTouched){n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",l);return}let h=u.pageX,_=u.pageY;if(l.preventedByNestedSwiper){o.startX=h,o.startY=_;return}if(!t.allowTouchMove){l.target.matches(n.focusableElements)||(t.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:h,startY:_,currentX:h,currentY:_}),n.touchStartTime=Ko());return}if(r.touchReleaseOnEdges&&!r.loop)if(t.isVertical()){if(_<o.startY&&t.translate<=t.maxTranslate()||_>o.startY&&t.translate>=t.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else{if(a&&(h>o.startX&&-t.translate<=t.maxTranslate()||h<o.startX&&-t.translate>=t.minTranslate()))return;if(!a&&(h<o.startX&&t.translate<=t.maxTranslate()||h>o.startX&&t.translate>=t.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(n.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(n.focusableElements)){n.isMoved=!0,t.allowClick=!1;return}n.allowTouchCallbacks&&t.emit("touchMove",l),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=h,o.currentY=_;let y=o.currentX-o.startX,b=o.currentY-o.startY;if(t.params.threshold&&Math.sqrt(y**2+b**2)<t.params.threshold)return;if(typeof n.isScrolling>"u"){let H;t.isHorizontal()&&o.currentY===o.startY||t.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:y*y+b*b>=25&&(H=Math.atan2(Math.abs(b),Math.abs(y))*180/Math.PI,n.isScrolling=t.isHorizontal()?H>r.touchAngle:90-H>r.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",l),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling||l.type==="touchmove"&&n.preventTouchMoveFromPointerMove){n.isTouched=!1;return}if(!n.startMoving)return;t.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation();let x=t.isHorizontal()?y:b,w=t.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;r.oneWayMovement&&(x=Math.abs(x)*(a?1:-1),w=Math.abs(w)*(a?1:-1)),o.diff=x,x*=r.touchRatio,a&&(x=-x,w=-w);let k=t.touchesDirection;t.swipeDirection=x>0?"prev":"next",t.touchesDirection=w>0?"prev":"next";let V=t.params.loop&&!r.cssMode,N=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!n.isMoved){if(V&&N&&t.loopFix({direction:t.swipeDirection}),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){let H=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(H)}n.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}let A;if(new Date().getTime(),r._loopSwapReset!==!1&&n.isMoved&&n.allowThresholdMove&&k!==t.touchesDirection&&V&&N&&Math.abs(x)>=1){Object.assign(o,{startX:h,startY:_,currentX:h,currentY:_,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,n.startTranslate=n.currentTranslate;return}t.emit("sliderMove",l),n.isMoved=!0,n.currentTranslate=x+n.startTranslate;let $=!0,ie=r.resistanceRatio;if(r.touchReleaseOnEdges&&(ie=0),x>0?(V&&N&&!A&&n.allowThresholdMove&&n.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>t.minTranslate()&&($=!1,r.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+x)**ie))):x<0&&(V&&N&&!A&&n.allowThresholdMove&&n.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),n.currentTranslate<t.maxTranslate()&&($=!1,r.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-x)**ie))),$&&(l.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(n.currentTranslate=n.startTranslate),r.threshold>0)if(Math.abs(x)>r.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=t.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function Z8e(i){let e=this,t=e.touchEventsData,n=i;n.originalEvent&&(n=n.originalEvent);let r;if(n.type==="touchend"||n.type==="touchcancel"){if(r=[...n.changedTouches].find(ie=>ie.identifier===t.touchId),!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||n.pointerId!==t.pointerId)return;r=n}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(n.type)&&!(["pointercancel","contextmenu"].includes(n.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;let{params:a,touches:s,rtlTranslate:l,slidesGrid:u,enabled:h}=e;if(!h||!a.simulateTouch&&n.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",n),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&a.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}a.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);let _=Ko(),y=_-t.touchStartTime;if(e.allowClick){let ie=n.path||n.composedPath&&n.composedPath();e.updateClickedSlide(ie&&ie[0]||n.target,ie),e.emit("tap click",n),y<300&&_-t.lastClickTime<300&&e.emit("doubleTap doubleClick",n)}if(t.lastClickTime=Ko(),Yl(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||s.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let b;if(a.followFinger?b=l?e.translate:-e.translate:b=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:b});return}let x=b>=-e.maxTranslate()&&!e.params.loop,w=0,k=e.slidesSizesGrid[0];for(let ie=0;ie<u.length;ie+=ie<a.slidesPerGroupSkip?1:a.slidesPerGroup){let H=ie<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;typeof u[ie+H]<"u"?(x||b>=u[ie]&&b<u[ie+H])&&(w=ie,k=u[ie+H]-u[ie]):(x||b>=u[ie])&&(w=ie,k=u[u.length-1]-u[u.length-2])}let V=null,N=null;a.rewind&&(e.isBeginning?N=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(V=0));let A=(b-u[w])/k,$=w<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(y>a.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(A>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?V:w+$):e.slideTo(w)),e.swipeDirection==="prev"&&(A>1-a.longSwipesRatio?e.slideTo(w+$):N!==null&&A<0&&Math.abs(A)>a.longSwipesRatio?e.slideTo(N):e.slideTo(w))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(n.target===e.navigation.nextEl||n.target===e.navigation.prevEl)?n.target===e.navigation.nextEl?e.slideTo(w+$):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(V!==null?V:w+$),e.swipeDirection==="prev"&&e.slideTo(N!==null?N:w))}}function RL(){let i=this,{params:e,el:t}=i;if(t&&t.offsetWidth===0)return;e.breakpoints&&i.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:r,snapGrid:o}=i,a=i.virtual&&i.params.virtual.enabled;i.allowSlideNext=!0,i.allowSlidePrev=!0,i.updateSize(),i.updateSlides(),i.updateSlidesClasses();let s=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&i.isEnd&&!i.isBeginning&&!i.params.centeredSlides&&!s?i.slideTo(i.slides.length-1,0,!1,!0):i.params.loop&&!a?i.slideToLoop(i.realIndex,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0),i.autoplay&&i.autoplay.running&&i.autoplay.paused&&(clearTimeout(i.autoplay.resizeTimeout),i.autoplay.resizeTimeout=setTimeout(()=>{i.autoplay&&i.autoplay.running&&i.autoplay.paused&&i.autoplay.resume()},500)),i.allowSlidePrev=r,i.allowSlideNext=n,i.params.watchOverflow&&o!==i.snapGrid&&i.checkOverflow()}function J8e(i){let e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&i.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(i.stopPropagation(),i.stopImmediatePropagation())))}function e5e(){let i=this,{wrapperEl:e,rtlTranslate:t,enabled:n}=i;if(!n)return;i.previousTranslate=i.translate,i.isHorizontal()?i.translate=-e.scrollLeft:i.translate=-e.scrollTop,i.translate===0&&(i.translate=0),i.updateActiveIndex(),i.updateSlidesClasses();let r,o=i.maxTranslate()-i.minTranslate();o===0?r=0:r=(i.translate-i.minTranslate())/o,r!==i.progress&&i.updateProgress(t?-i.translate:i.translate),i.emit("setTranslate",i.translate,!1)}function t5e(i){let e=this;Kv(e,i.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function n5e(){let i=this;i.documentTouchHandlerProceeded||(i.documentTouchHandlerProceeded=!0,i.params.touchReleaseOnEdges&&(i.el.style.touchAction="auto"))}var qL=(i,e)=>{let t=Ri(),{params:n,el:r,wrapperEl:o,device:a}=i,s=!!n.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!r||typeof r=="string"||(t[l]("touchstart",i.onDocumentTouchStart,{passive:!1,capture:s}),r[l]("touchstart",i.onTouchStart,{passive:!1}),r[l]("pointerdown",i.onTouchStart,{passive:!1}),t[l]("touchmove",i.onTouchMove,{passive:!1,capture:s}),t[l]("pointermove",i.onTouchMove,{passive:!1,capture:s}),t[l]("touchend",i.onTouchEnd,{passive:!0}),t[l]("pointerup",i.onTouchEnd,{passive:!0}),t[l]("pointercancel",i.onTouchEnd,{passive:!0}),t[l]("touchcancel",i.onTouchEnd,{passive:!0}),t[l]("pointerout",i.onTouchEnd,{passive:!0}),t[l]("pointerleave",i.onTouchEnd,{passive:!0}),t[l]("contextmenu",i.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[l]("click",i.onClick,!0),n.cssMode&&o[l]("scroll",i.onScroll),n.updateOnWindowResize?i[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",RL,!0):i[u]("observerUpdate",RL,!0),r[l]("load",i.onLoad,{capture:!0}))};function i5e(){let i=this,{params:e}=i;i.onTouchStart=K8e.bind(i),i.onTouchMove=X8e.bind(i),i.onTouchEnd=Z8e.bind(i),i.onDocumentTouchStart=n5e.bind(i),e.cssMode&&(i.onScroll=e5e.bind(i)),i.onClick=J8e.bind(i),i.onLoad=t5e.bind(i),qL(i,"on")}function r5e(){qL(this,"off")}var o5e={attachEvents:i5e,detachEvents:r5e},zL=(i,e)=>i.grid&&e.grid&&e.grid.rows>1;function a5e(){let i=this,{realIndex:e,initialized:t,params:n,el:r}=i,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;let a=Ri(),s=n.breakpointsBase==="window"||!n.breakpointsBase?n.breakpointsBase:"container",l=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?i.el:a.querySelector(n.breakpointsBase),u=i.getBreakpoint(o,s,l);if(!u||i.currentBreakpoint===u)return;let _=(u in o?o[u]:void 0)||i.originalParams,y=zL(i,n),b=zL(i,_),x=i.params.grabCursor,w=_.grabCursor,k=n.enabled;y&&!b?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),i.emitContainerClasses()):!y&&b&&(r.classList.add(`${n.containerModifierClass}grid`),(_.grid.fill&&_.grid.fill==="column"||!_.grid.fill&&n.grid.fill==="column")&&r.classList.add(`${n.containerModifierClass}grid-column`),i.emitContainerClasses()),x&&!w?i.unsetGrabCursor():!x&&w&&i.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(H=>{if(typeof _[H]>"u")return;let j=n[H]&&n[H].enabled,U=_[H]&&_[H].enabled;j&&!U&&i[H].disable(),!j&&U&&i[H].enable()});let V=_.direction&&_.direction!==n.direction,N=n.loop&&(_.slidesPerView!==n.slidesPerView||V),A=n.loop;V&&t&&i.changeDirection(),pa(i.params,_);let $=i.params.enabled,ie=i.params.loop;Object.assign(i,{allowTouchMove:i.params.allowTouchMove,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev}),k&&!$?i.disable():!k&&$&&i.enable(),i.currentBreakpoint=u,i.emit("_beforeBreakpoint",_),t&&(N?(i.loopDestroy(),i.loopCreate(e),i.updateSlides()):!A&&ie?(i.loopCreate(e),i.updateSlides()):A&&!ie&&i.loopDestroy()),i.emit("breakpoint",_)}function s5e(i,e,t){if(e===void 0&&(e="window"),!i||e==="container"&&!t)return;let n=!1,r=fi(),o=e==="window"?r.innerHeight:t.clientHeight,a=Object.keys(i).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){let l=parseFloat(s.substr(1));return{value:o*l,point:s}}return{value:s,point:s}});a.sort((s,l)=>parseInt(s.value,10)-parseInt(l.value,10));for(let s=0;s<a.length;s+=1){let{point:l,value:u}=a[s];e==="window"?r.matchMedia(`(min-width: ${u}px)`).matches&&(n=l):u<=t.clientWidth&&(n=l)}return n||"max"}var l5e={setBreakpoint:a5e,getBreakpoint:s5e};function c5e(i,e){let t=[];return i.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(r=>{n[r]&&t.push(e+r)}):typeof n=="string"&&t.push(e+n)}),t}function d5e(){let i=this,{classNames:e,params:t,rtl:n,el:r,device:o}=i,a=c5e(["initialized",t.direction,{"free-mode":i.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),r.classList.add(...e),i.emitContainerClasses()}function u5e(){let i=this,{el:e,classNames:t}=i;!e||typeof e=="string"||(e.classList.remove(...t),i.emitContainerClasses())}var p5e={addClasses:d5e,removeClasses:u5e};function f5e(){let i=this,{isLocked:e,params:t}=i,{slidesOffsetBefore:n}=t;if(n){let r=i.slides.length-1,o=i.slidesGrid[r]+i.slidesSizesGrid[r]+n*2;i.isLocked=i.size>o}else i.isLocked=i.snapGrid.length===1;t.allowSlideNext===!0&&(i.allowSlideNext=!i.isLocked),t.allowSlidePrev===!0&&(i.allowSlidePrev=!i.isLocked),e&&e!==i.isLocked&&(i.isEnd=!1),e!==i.isLocked&&i.emit(i.isLocked?"lock":"unlock")}var m5e={checkOverflow:f5e},Xv={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function h5e(i,e){return function(n){n===void 0&&(n={});let r=Object.keys(n)[0],o=n[r];if(typeof o!="object"||o===null){pa(e,n);return}if(i[r]===!0&&(i[r]={enabled:!0}),r==="navigation"&&i[r]&&i[r].enabled&&!i[r].prevEl&&!i[r].nextEl&&(i[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&i[r]&&i[r].enabled&&!i[r].el&&(i[r].auto=!0),!(r in i&&"enabled"in o)){pa(e,n);return}typeof i[r]=="object"&&!("enabled"in i[r])&&(i[r].enabled=!0),i[r]||(i[r]={enabled:!1}),pa(e,n)}}var JS={eventsEmitter:p8e,update:M8e,translate:O8e,transition:N8e,slide:B8e,loop:G8e,grabCursor:Y8e,events:o5e,breakpoints:l5e,checkOverflow:m5e,classes:p5e},eP={},_1=class i{constructor(){let e,t;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];r.length===1&&r[0].constructor&&Object.prototype.toString.call(r[0]).slice(8,-1)==="Object"?t=r[0]:[e,t]=r,t||(t={}),t=pa({},t),e&&!t.el&&(t.el=e);let a=Ri();if(t.el&&typeof t.el=="string"&&a.querySelectorAll(t.el).length>1){let h=[];return a.querySelectorAll(t.el).forEach(_=>{let y=pa({},t,{el:_});h.push(new i(y))}),h}let s=this;s.__swiper__=!0,s.support=LL(),s.device=HL({userAgent:t.userAgent}),s.browser=BL(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],t.modules&&Array.isArray(t.modules)&&s.modules.push(...t.modules);let l={};s.modules.forEach(h=>{h({params:t,swiper:s,extendParams:h5e(t,l),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});let u=pa({},Xv,l);return s.params=pa({},u,eP,t),s.originalParams=pa({},s.params),s.passedParams=pa({},t),s.params&&s.params.on&&Object.keys(s.params.on).forEach(h=>{s.on(h,s.params.on[h])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,r=ir(t,`.${n.slideClass}, swiper-slide`),o=m1(r[0]);return m1(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){let e=this,{slidesEl:t,params:n}=e;e.slides=ir(t,`.${n.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){let n=this;e=Math.min(Math.max(e,0),1);let r=n.minTranslate(),a=(n.maxTranslate()-r)*e+r;n.translateTo(a,typeof t>"u"?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(n=>{let r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);let n=this,{params:r,slides:o,slidesGrid:a,slidesSizesGrid:s,size:l,activeIndex:u}=n,h=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let _=o[u]?Math.ceil(o[u].swiperSlideSize):0,y;for(let b=u+1;b<o.length;b+=1)o[b]&&!y&&(_+=Math.ceil(o[b].swiperSlideSize),h+=1,_>l&&(y=!0));for(let b=u-1;b>=0;b-=1)o[b]&&!y&&(_+=o[b].swiperSlideSize,h+=1,_>l&&(y=!0))}else if(e==="current")for(let _=u+1;_<o.length;_+=1)(t?a[_]+s[_]-a[u]<l:a[_]-a[u]<l)&&(h+=1);else for(let _=u-1;_>=0;_-=1)a[u]-a[_]<l&&(h+=1);return h}update(){let e=this;if(!e||e.destroyed)return;let{snapGrid:t,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(a=>{a.complete&&Kv(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){let a=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){let a=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(a.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||r()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);let n=this,r=n.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${r}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEac
841h(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){let t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){let t=this;if(t.mounted)return!0;let n=e||t.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):ir(n,r())[0];return!a&&t.params.createElements&&(a=Vr("div",t.params.wrapperClass),n.append(a),ir(n,`.${t.params.slideClass}`).forEach(s=>{a.append(s)})),Object.assign(t,{el:n,wrapperEl:a,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||sd(n,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||sd(n,"direction")==="rtl"),wrongRTL:sd(a,"display")==="-webkit-box"}),!0}init(e){let t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();let r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(o=>{o.complete?Kv(t,o):o.addEventListener("load",a=>{Kv(t,a.target)})}),tP(t),t.initialized=!0,tP(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);let n=this,{params:r,el:o,wrapperEl:a,slides:s}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),o&&typeof o!="string"&&o.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(l=>{n.off(l)}),e!==!1&&(n.el&&typeof n.el!="string"&&(n.el.swiper=null),IL(n)),n.destroyed=!0),null}static extendDefaults(e){pa(eP,e)}static get extendedDefaults(){return eP}static get defaults(){return Xv}static installModule(e){i.prototype.__modules__||(i.prototype.__modules__=[]);let t=i.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>i.installModule(t)),i):(i.installModule(e),i)}};Object.keys(JS).forEach(i=>{Object.keys(JS[i]).forEach(e=>{_1.prototype[e]=JS[i][e]})});_1.use([d8e,u8e]);function UL(i){let{swiper:e,extendParams:t,on:n,emit:r}=i;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let o,a=Ri();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};let s=a.createElement("div");function l(x,w){let k=e.params.virtual;if(k.cache&&e.virtual.cache[w])return e.virtual.cache[w];let V;return k.renderSlide?(V=k.renderSlide.call(e,x,w),typeof V=="string"&&(lo(s,V),V=s.children[0])):e.isElement?V=Vr("swiper-slide"):V=Vr("div",e.params.slideClass),V.setAttribute("data-swiper-slide-index",w),k.renderSlide||lo(V,x),k.cache&&(e.virtual.cache[w]=V),V}function u(x,w,k){let{slidesPerView:V,slidesPerGroup:N,centeredSlides:A,loop:$,initialSlide:ie}=e.params;if(w&&!$&&ie>0)return;let{addSlidesBefore:H,addSlidesAfter:j}=e.params.virtual,{from:U,to:Q,slides:J,slidesGrid:le,offset:de}=e.virtual;e.params.cssMode||e.updateActiveIndex();let ue=typeof k>"u"?e.activeIndex||0:k,Ce;e.rtlTranslate?Ce="right":Ce=e.isHorizontal()?"left":"top";let ge,se;A?(ge=Math.floor(V/2)+N+j,se=Math.floor(V/2)+N+H):(ge=V+(N-1)+j,se=($?V:N)+H);let G=ue-se,F=ue+ge;$||(G=Math.max(G,0),F=Math.min(F,J.length-1));let q=(e.slidesGrid[G]||0)-(e.slidesGrid[0]||0);$&&ue>=se?(G-=se,A||(q+=e.slidesGrid[0])):$&&ue<se&&(G=-se,A&&(q+=e.slidesGrid[0])),Object.assign(e.virtual,{from:G,to:F,offset:q,slidesGrid:e.slidesGrid,slidesBefore:se,slidesAfter:ge});function be(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r("virtualUpdate")}
vendor: 4,064 bytes, line 841
841if(U===G&&Q===F&&!x){e.slidesGrid!==le&&q!==de&&e.slides.forEach(ve=>{ve.style[Ce]=`${q-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),r("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:q,from:G,to:F,slides:function(){let Me=[];for(let we=G;we<=F;we+=1)Me.push(J[we]);return Me}()}),e.params.virtual.renderExternalUpdate?be():r("virtualUpdate");return}let Oe=[],gt=[],Ae=ve=>{let Me=ve;return ve<0?Me=J.length+ve:Me>=J.length&&(Me=Me-J.length),Me};if(x)e.slides.filter(ve=>ve.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(ve=>{ve.remove()});else for(let ve=U;ve<=Q;ve+=1)if(ve<G||ve>F){let Me=Ae(ve);e.slides.filter(we=>we.matches(`.${e.params.slideClass}[data-swiper-slide-index="${Me}"], swiper-slide[data-swiper-slide-index="${Me}"]`)).forEach(we=>{we.remove()})}let tn=$?-J.length:0,Ge=$?J.length*2:J.length;for(let ve=tn;ve<Ge;ve+=1)if(ve>=G&&ve<=F){let Me=Ae(ve);typeof Q>"u"||x?gt.push(Me):(ve>Q&&gt.push(Me),ve<U&&Oe.push(Me))}if(gt.forEach(ve=>{e.slidesEl.append(l(J[ve],ve))}),$)for(let ve=Oe.length-1;ve>=0;ve-=1){let Me=Oe[ve];e.slidesEl.prepend(l(J[Me],Me))}else Oe.sort((ve,Me)=>Me-ve),Oe.forEach(ve=>{e.slidesEl.prepend(l(J[ve],ve))});ir(e.slidesEl,".swiper-slide, swiper-slide").forEach(ve=>{ve.style[Ce]=`${q-Math.abs(e.cssOverflowAdjustment())}px`}),be()}function h(x){if(typeof x=="object"&&"length"in x)for(let w=0;w<x.length;w+=1)x[w]&&e.virtual.slides.push(x[w]);else e.virtual.slides.push(x);u(!0)}function _(x){let w=e.activeIndex,k=w+1,V=1;if(Array.isArray(x)){for(let N=0;N<x.length;N+=1)x[N]&&e.virtual.slides.unshift(x[N]);k=w+x.length,V=x.length}else e.virtual.slides.unshift(x);if(e.params.virtual.cache){let N=e.virtual.cache,A={};Object.keys(N).forEach($=>{let ie=N[$],H=ie.getAttribute("data-swiper-slide-index");H&&ie.setAttribute("data-swiper-slide-index",parseInt(H,10)+V),A[parseInt($,10)+V]=ie}),e.virtual.cache=A}u(!0),e.slideTo(k,0)}function y(x){if(typeof x>"u"||x===null)return;let w=e.activeIndex;if(Array.isArray(x))for(let k=x.length-1;k>=0;k-=1)e.params.virtual.cache&&(delete e.virtual.cache[x[k]],Object.keys(e.virtual.cache).forEach(V=>{V>x&&(e.virtual.cache[V-1]=e.virtual.cache[V],e.virtual.cache[V-1].setAttribute("data-swiper-slide-index",V-1),delete e.virtual.cache[V])})),e.virtual.slides.splice(x[k],1),x[k]<w&&(w-=1),w=Math.max(w,0);else e.params.virtual.cache&&(delete e.virtual.cache[x],Object.keys(e.virtual.cache).forEach(k=>{k>x&&(e.virtual.cache[k-1]=e.virtual.cache[k],e.virtual.cache[k-1].setAttribute("data-swiper-slide-index",k-1),delete e.virtual.cache[k])})),e.virtual.slides.splice(x,1),x<w&&(w-=1),w=Math.max(w,0);u(!0),e.slideTo(w,0)}function b(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),u(!0),e.slideTo(0,0)}n("beforeInit",()=>{if(!e.params.virtual.enabled)return;let x;if(typeof e.passedParams.virtual.slides>"u"){let w=[...e.slidesEl.children].filter(k=>k.matches(`.${e.params.slideClass}, swiper-slide`));w&&w.length&&(e.virtual.slides=[...w],x=!0,w.forEach((k,V)=>{k.setAttribute("data-swiper-slide-index",V),e.virtual.cache[V]=k,k.remove()}))}x||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u(!1,!0)}),n("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(o),o=setTimeout(()=>{u()},100)):u())}),n("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Q2(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:h,prependSlide:_,removeSlide:y,removeAllSlides:b,update:u})}function GL(i){let{swiper:e,extendParams:t,on:n,emit:r}=i,o=Ri(),a=fi();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function s(h){if(!e.enabled)return;let{rtlTranslate:_}=e,y=h;y.originalEvent&&(y=y.originalEvent);let b=y.keyCode||y.charCode,x=e.params.keyboard.pageUpDown,w=x&&b===33,k=x&&b===34,V=b===37,N=b===39,A=b===38,$=b===4
vendor: 5,195 bytes, line 841
8410;if(!e.allowSlideNext&&(e.isHorizontal()&&N||e.isVertical()&&$||k)||!e.allowSlidePrev&&(e.isHorizontal()&&V||e.isVertical()&&A||w))return!1;if(!(y.shiftKey||y.altKey||y.ctrlKey||y.metaKey)&&!(o.activeElement&&(o.activeElement.isContentEditable||o.activeElement.nodeName&&(o.activeElement.nodeName.toLowerCase()==="input"||o.activeElement.nodeName.toLowerCase()==="textarea")))){if(e.params.keyboard.onlyInViewport&&(w||k||V||N||A||$)){let ie=!1;if(Js(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&Js(e.el,`.${e.params.slideActiveClass}`).length===0)return;let H=e.el,j=H.clientWidth,U=H.clientHeight,Q=a.innerWidth,J=a.innerHeight,le=K2(H);_&&(le.left-=H.scrollLeft);let de=[[le.left,le.top],[le.left+j,le.top],[le.left,le.top+U],[le.left+j,le.top+U]];for(let ue=0;ue<de.length;ue+=1){let Ce=de[ue];if(Ce[0]>=0&&Ce[0]<=Q&&Ce[1]>=0&&Ce[1]<=J){if(Ce[0]===0&&Ce[1]===0)continue;ie=!0}}if(!ie)return}e.isHorizontal()?((w||k||V||N)&&(y.preventDefault?y.preventDefault():y.returnValue=!1),((k||N)&&!_||(w||V)&&_)&&e.slideNext(),((w||V)&&!_||(k||N)&&_)&&e.slidePrev()):((w||k||A||$)&&(y.preventDefault?y.preventDefault():y.returnValue=!1),(k||$)&&e.slideNext(),(w||A)&&e.slidePrev()),r("keyPress",b)}}function l(){e.keyboard.enabled||(o.addEventListener("keydown",s),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(o.removeEventListener("keydown",s),e.keyboard.enabled=!1)}n("init",()=>{e.params.keyboard.enabled&&l()}),n("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:l,disable:u})}function $L(i){let{swiper:e,extendParams:t,on:n,emit:r}=i,o=fi();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,s=Ko(),l,u=[];function h(A){let j=0,U=0,Q=0,J=0;return"detail"in A&&(U=A.detail),"wheelDelta"in A&&(U=-A.wheelDelta/120),"wheelDeltaY"in A&&(U=-A.wheelDeltaY/120),"wheelDeltaX"in A&&(j=-A.wheelDeltaX/120),"axis"in A&&A.axis===A.HORIZONTAL_AXIS&&(j=U,U=0),Q=j*10,J=U*10,"deltaY"in A&&(J=A.deltaY),"deltaX"in A&&(Q=A.deltaX),A.shiftKey&&!Q&&(Q=J,J=0),(Q||J)&&A.deltaMode&&(A.deltaMode===1?(Q*=40,J*=40):(Q*=800,J*=800)),Q&&!j&&(j=Q<1?-1:1),J&&!U&&(U=J<1?-1:1),{spinX:j,spinY:U,pixelX:Q,pixelY:J}}function _(){e.enabled&&(e.mouseEntered=!0)}function y(){e.enabled&&(e.mouseEntered=!1)}function b(A){return e.params.mousewheel.thresholdDelta&&A.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Ko()-s<e.params.mousewheel.thresholdTime?!1:A.delta>=6&&Ko()-s<60?!0:(A.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),r("scroll",A.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),r("scroll",A.raw)),s=new o.Date().getTime(),!1)}function x(A){let $=e.params.mousewheel;if(A.direction<0){if(e.isEnd&&!e.params.loop&&$.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&$.releaseOnEdges)return!0;return!1}function w(A){let $=A,ie=!0;if(!e.enabled||A.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;let H=e.params.mousewheel;e.params.cssMode&&$.preventDefault();let j=e.el;e.params.mousewheel.eventsTarget!=="container"&&(j=document.querySelector(e.params.mousewheel.eventsTarget));let U=j&&j.contains($.target);if(!e.mouseEntered&&!U&&!H.releaseOnEdges)return!0;$.originalEvent&&($=$.originalEvent);let Q=0,J=e.rtlTranslate?-1:1,le=h($);if(H.forceToAxis)if(e.isHorizontal())if(Math.abs(le.pixelX)>Math.abs(le.pixelY))Q=-le.pixelX*J;else return!0;else if(Math.abs(le.pixelY)>Math.abs(le.pixelX))Q=-le.pixelY;else return!0;else Q=Math.abs(le.pixelX)>Math.abs(le.pixelY)?-le.pixelX*J:-le.pixelY;if(Q===0)return!0;H.invert&&(Q=-Q);let de=e.getTranslate()+Q*H.sensitivity;if(de>=e.minTranslate()&&(de=e.minTranslate()),de<=e.maxTranslate()&&(de=e.maxTranslate()),ie=e.params.loop?!0:!(de===e.minTranslate()||de===e.maxTranslate()),ie&&e.params.nested&&$.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){let ue={time:Ko(),delta:Math.abs(Q),direction:Math.sign(Q),raw:A};u.length>=2&&u.shift();let Ce=u.length?u[u.length-1]:void 0;if(u.push(ue),Ce?(ue.direction!==Ce.direction||ue.delta>Ce.delta||ue.time>Ce.time+150)&&b(ue):b(ue),x(ue))return!0}else{let ue={time:Ko(),delta:Math.abs(Q),direction:Math.sign(Q)},Ce=l&&ue.time<l.time+500&&ue.delta<=l.delta&&ue.direction===l.direction;if(!Ce){l=void 0;let ge=e.getTranslate()+Q*H.sensitivity,se=e.isBeginning,G=e.isEnd;if(ge>=e.minTranslate()&&(ge=e.minTranslate()),ge<=e.maxTranslate()&&(ge=e.maxTranslate()),e.setTransition(0),e.setTranslate(ge),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!se&&e.isBeginning||!G&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:ue.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();let F=u.length?u[u.length-1]:void 0,q=u[0];if(u.push(ue),F&&(ue.delta>F.delta||ue.direction!==F.direction))u.splice(0);else if(u.length>=15&&ue.time-q.time<500&&q.delta-ue.delta>=1&&ue.delta<=6){let be=Q>0?.8:.2;l=ue,u.splice(0),a=Yl(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,be)}
841,0)}a||(a=Yl(()=>{if(e.destroyed||!e.params)return;let be=.5;l=ue,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,be)},500))}if(Ce||r("scroll",$),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),H.releaseOnEdges&&(ge===e.minTranslate()||ge===e.maxTranslate()))return!0}}return $.preventDefault?$.preventDefault():$.returnValue=!1,!1}function k(A){let $=e.el;e.params.mousewheel.eventsTarget!=="container"&&($=document.querySelector(e.params.mousewheel.eventsTarget)),$[A]("mouseenter",_),$[A]("mouseleave",y),$[A]("wheel",w)}function V(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",w),!0):e.mousewheel.enabled?!1:(k("addEventListener"),e.mousewheel.enabled=!0,!0)}function N(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,w),!0):e.mousewheel.enabled?(k("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&N(),e.params.mousewheel.enabled&&V()}),n("destroy",()=>{e.params.cssMode&&V(),e.mousewheel.enabled&&N()}),Object.assign(e.mousewheel,{enable:V,disable:N})}function Ip(i,e,t,n){return i.params.createElements&&Object.keys(n).forEach(r=>{if(!t[r]&&t.auto===!0){let o=ir(i.el,`.${n[r]}`)[0];o||(o=Vr("div",n[r]),o.className=n[r],i.el.append(o)),t[r]=o,e[r]=o}}),t}function WL(i){let{swiper:e,extendParams:t,on:n,emit:r}=i;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function o(x){let w;return x&&typeof x=="string"&&e.isElement&&(w=e.el.querySelector(x)||e.hostEl.querySelector(x),w)?w:(x&&(typeof x=="string"&&(w=[...document.querySelectorAll(x)]),e.params.uniqueNavElements&&typeof x=="string"&&w&&w.length>1&&e.el.querySelectorAll(x).length===1?w=e.el.querySelector(x):w&&w.length===1&&(w=w[0])),x&&!w?x:w)}function a(x,w){let k=e.params.navigation;x=Vn(x),x.forEach(V=>{V&&(V.classList[w?"add":"remove"](...k.disabledClass.split(" ")),V.tagName==="BUTTON"&&(V.disabled=w),e.params.watchOverflow&&e.enabled&&V.classList[e.isLocked?"add":"remove"](k.lockClass))})}function s(){let{nextEl:x,prevEl:w}=e.navigation;if(e.params.loop){a(w,!1),a(x,!1);return}a(w,e.isBeginning&&!e.params.rewind),a(x,e.isEnd&&!e.params.rewind)}function l(x){x.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function u(x){x.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function h(){let x=e.params.navigation;if(e.params.navigation=Ip(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(x.nextEl||x.prevEl))return;let w=o(x.nextEl),k=o(x.prevEl);Object.assign(e.navigation,{nextEl:w,prevEl:k}),w=Vn(w),k=Vn(k);let V=(N,A)=>{N&&N.addEventListener("click",A==="next"?u:l),!e.enabled&&N&&N.classList.add(...x.lockClass.split(" "))};w.forEach(N=>V(N,"next")),k.forEach(N=>V(N,"prev"))}function _(){let{nextEl:x,prevEl:w}=e.navigation;x=Vn(x),w=Vn(w);let k=(V,N)=>{V.removeEventListener("click",N==="next"?u:l),V.classList.remove(...e.params.navigation.disabledClass.split(" "))};x.forEach(V=>k(V,"next")),w.forEach(V=>k(V,"prev"))}n("init",()=>{e.params.navigation.enabled===!1?b():(h(),s())}),n("toEdge fromEdge lock unlock",()=>{s()}),n("destroy",()=>{_()}),n("enable disable",()=>{let{nextEl:x,prevEl:w}=e.navigation;if(x=Vn(x),w=Vn(w),e.enabled){s();return}[...x,...w].filter(k=>!!k).forEach(k=>k.classList.add(e.params.navigation.lockClass))}),n("click",(x,w)=>{let{nextEl:k,prevEl:V}=e.navigation;k=Vn(k),V=Vn(V);let N=w.target,A=V.includes(N)||k.includes(N);if(e.isElement&&!A){let $=w.path||w.composedPath&&w.composedPath();$&&(A=$.find(ie=>k.includes(ie)||V.includes(ie)))}if(e.params.navigation.hideOnClick&&!A){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===N||e.pagination.el.contains(N)))return;let $;k.length?$=k[0].classList.contains(e.params.navigation.hiddenClass):V.length&&($=V[0].classList.contains(e.params.navigation.hiddenClass)),r($===!0?"navigationShow":"navigationHide"),[...k,...V].filter(ie=>!!ie).forEach(ie=>ie.classList.toggle(e.params.navigation.hiddenClass))}});let y=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),h(),s()},b=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),_()};Object.assign(e.navigation,{enable:y,disable:b,update:s,init:h,destroy:_})}function fs(i){return i===void 0&&(i=""),`.${i.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function YL(i){let{swiper:e,extendParams:t,on:n,emit:r}=i,o="swiper-pagination";t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:N=>N,formatFractionTotal:N=>N,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let a,s=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(N,A){let{bulletActiveClass:$}=e.params.pagination;N&&(N=N[`${A==="prev"?"previous":"next"}ElementSibling`],N&&(N.classList.add(`${$}-${A}`),N=N[`${A==="prev"?"previous":"next"}ElementSibling`],N&&N.classList.add(`${$}-${A}-${A}`)))}function h(N,A,$){if(N=N%$,A=A%$,A===N+1)return"next";if(A===N-1)return"previous"}function _(N){let A=N.target.closest(fs(e.params.pagination.bulletClass));if(!A)return;N.preventDefault();let $=m1(A)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===$)return;let ie=h(e.realIndex,$,e.slides.length);ie==="next"?e.slideNext():ie==="previous"?e.slidePrev():e.slideToLoop($)}else e.slideTo($)}function y(){let N=e.rtl,A=e.params.pagination;if(l())return;let $=e.pagination.el;$=Vn($);let ie,H,j=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,U=e.params.loop?Math.
841ceil(j/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(H=e.previousRealIndex||0,ie=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(ie=e.snapIndex,H=e.previousSnapIndex):(H=e.previousIndex||0,ie=e.activeIndex||0),A.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){let Q=e.pagination.bullets,J,le,de;if(A.dynamicBullets&&(a=Om(Q[0],e.isHorizontal()?"width":"height",!0),$.forEach(ue=>{ue.style[e.isHorizontal()?"width":"height"]=`${a*(A.dynamicMainBullets+4)}px`}),A.dynamicMainBullets>1&&H!==void 0&&(s+=ie-(H||0),s>A.dynamicMainBullets-1?s=A.dynamicMainBullets-1:s<0&&(s=0)),J=Math.max(ie-s,0),le=J+(Math.min(Q.length,A.dynamicMainBullets)-1),de=(le+J)/2),Q.forEach(ue=>{let Ce=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(ge=>`${A.bulletActiveClass}${ge}`)].map(ge=>typeof ge=="string"&&ge.includes(" ")?ge.split(" "):ge).flat();ue.classList.remove(...Ce)}),$.length>1)Q.forEach(ue=>{let Ce=m1(ue);Ce===ie?ue.classList.add(...A.bulletActiveClass.split(" ")):e.isElement&&ue.setAttribute("part","bullet"),A.dynamicBullets&&(Ce>=J&&Ce<=le&&ue.classList.add(...`${A.bulletActiveClass}-main`.split(" ")),Ce===J&&u(ue,"prev"),Ce===le&&u(ue,"next"))});else{let ue=Q[ie];if(ue&&ue.classList.add(...A.bulletActiveClass.split(" ")),e.isElement&&Q.forEach((Ce,ge)=>{Ce.setAttribute("part",ge===ie?"bullet-active":"bullet")}),A.dynamicBullets){let Ce=Q[J],ge=Q[le];for(let se=J;se<=le;se+=1)Q[se]&&Q[se].classList.add(...`${A.bulletActiveClass}-main`.split(" "));u(Ce,"prev"),u(ge,"next")}}if(A.dynamicBullets){let ue=Math.min(Q.length,A.dynamicMainBullets+4),Ce=(a*ue-a)/2-de*a,ge=N?"right":"left";Q.forEach(se=>{se.style[e.isHorizontal()?ge:"top"]=`${Ce}px`})}}$.forEach((Q,J)=>{if(A.type==="fraction"&&(Q.querySelectorAll(fs(A.currentClass)).forEach(le=>{le.textContent=A.formatFractionCurrent(ie+1)}),Q.querySelectorAll(fs(A.totalClass)).forEach(le=>{le.textContent=A.formatFractionTotal(U)})),A.type==="progressbar"){let le;A.progressbarOpposite?le=e.isHorizontal()?"vertical":"horizontal":le=e.isHorizontal()?"horizontal":"vertical";let de=(ie+1)/U,ue=1,Ce=1;le==="horizontal"?ue=de:Ce=de,Q.querySelectorAll(fs(A.progressbarFillClass)).forEach(ge=>{ge.style.transform=`translate3d(0,0,0) scaleX(${ue}) scaleY(${Ce})`,ge.style.transitionDuration=`${e.params.speed}ms`})}A.type==="custom"&&A.renderCustom?(lo(Q,A.renderCustom(e,ie+1,U)),J===0&&r("paginationRender",Q)):(J===0&&r("paginationRender",Q),r("paginationUpdate",Q)),e.params.watchOverflow&&e.enabled&&Q.classList[e.isLocked?"add":"remove"](A.lockClass)})}function b(){let N=e.params.pagination;if(l())return;let A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,$=e.pagination.el;$=Vn($);let ie="";if(N.type==="bullets"){let H=e.params.loop?Math.ceil(A/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&H>A&&(H=A);for(let j=0;j<H;j+=1)N.renderBullet?ie+=N.renderBullet.call(e,j,N.bulletClass):ie+=`<${N.bulletElement} ${e.isElement?'part="bullet"':""} class="${N.bulletClass}"></${N.bulletElement}>`}N.type==="fraction"&&(N.renderFraction?ie=N.renderFraction.call(e,N.currentClass,N.totalClass):ie=`<span class="${N.currentClass}"></span> / <span class="${N.totalClass}"></span>`),N.type==="progressbar"&&(N.renderProgressbar?ie=N.renderProgressbar.call(e,N.progressbarFillClass):ie=`<span class="${N.progressbarFillClass}"></span>`),e.pagination.bullets=[],$.forEach(H=>{N.type!=="custom"&&lo(H,ie||""),N.type==="bullets"&&e.pagination.bullets.push(...H.querySelectorAll(fs(N.bulletClass)))}),N.type!=="custom"&&r("paginationRender",$[0])}function x(){e.params.pagination=Ip(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let N=e.params.pagination;if(!N.el)return;let A;typeof N.el=="string"&&e.isElement&&(A=e.el.querySelector(N.el)),!A&&typeof N.el=="string"&&(A=[...document.querySelectorAll(N.el)]),A||(A=N.el),!(!A||A.length===0)&&(e.params.uniqueNavElements&&typeof N.el=="string"&&Array.isArray(A)&&A.length>1&&(A=[...e.el.querySelectorAll(N.el)],A.length>1&&(A=A.find($=>Js($,".swiper")[0]===e.el))),Array.isArray(A)&&A.length===1&&(A=A[0]),Object.assign(e.pagination,{el:A}),A=Vn(A),A.forEach($=>{N.type==="bullets"&&N.clickable&&$.classList.add(...(N.clickableClass||"").split(" ")),$.classList.add(N.modifierClass+N.type),$.classList.add(e.isHorizontal()?N.horizontalClass:N.verticalClass),N.type==="bullets"&&N.dynamicBullets&&($.classList.add(`${N.modifierClass}${N.type}-dynamic`),s=0,N.dynamicMainBullets<1&&(N.dynamicMainBullets=1)),N.type==="progressbar"&&N.progressbarOpposite&&$.classList.add(N.progressbarOppositeClass),N.clickable&&$.addEventListener("click",_),e.enabled||$.classList.add(N.lockClass)}))}function w(){let N=e.params.pagination;if(l())return;let A=e.pagination.el;A&&(A=Vn(A),A.forEach($=>{$.classList.remove(N.hiddenClass),$.classList.remove(N.modifierClass+N.type),$.classList.remove(e.isHorizontal()?N.horizontalClass:N.verticalClass),N.clickable&&($.classList.remove(...(N.clickableClass||"").split(" ")),$.removeEventListener("click",_))}
841)),e.pagination.bullets&&e.pagination.bullets.forEach($=>$.classList.remove(...N.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let N=e.params.pagination,{el:A}=e.pagination;A=Vn(A),A.forEach($=>{$.classList.remove(N.horizontalClass,N.verticalClass),$.classList.add(e.isHorizontal()?N.horizontalClass:N.verticalClass)})}),n("init",()=>{e.params.pagination.enabled===!1?V():(x(),b(),y())}),n("activeIndexChange",()=>{typeof e.snapIndex>"u"&&y()}),n("snapIndexChange",()=>{y()}),n("snapGridLengthChange",()=>{b(),y()}),n("destroy",()=>{w()}),n("enable disable",()=>{let{el:N}=e.pagination;N&&(N=Vn(N),N.forEach(A=>A.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{y()}),n("click",(N,A)=>{let $=A.target,ie=Vn(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&ie&&ie.length>0&&!$.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&$===e.navigation.nextEl||e.navigation.prevEl&&$===e.navigation.prevEl))return;let H=ie[0].classList.contains(e.params.pagination.hiddenClass);r(H===!0?"paginationShow":"paginationHide"),ie.forEach(j=>j.classList.toggle(e.params.pagination.hiddenClass))}});let k=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:N}=e.pagination;N&&(N=Vn(N),N.forEach(A=>A.classList.remove(e.params.pagination.paginationDisabledClass))),x(),b(),y()},V=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:N}=e.pagination;N&&(N=Vn(N),N.forEach(A=>A.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:k,disable:V,render:b,update:y,init:x,destroy:w})}function QL(i){let{swiper:e,extendParams:t,on:n,emit:r}=i,o=Ri(),a=!1,s=null,l=null,u,h,_,y;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function b(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:de,rtlTranslate:ue}=e,{dragEl:Ce,el:ge}=de,se=e.params.scrollbar,G=e.params.loop?e.progressLoop:e.progress,F=h,q=(_-h)*G;ue?(q=-q,q>0?(F=h-q,q=0):-q+h>_&&(F=_+q)):q<0?(F=h+q,q=0):q+h>_&&(F=_-q),e.isHorizontal()?(Ce.style.transform=`translate3d(${q}px, 0, 0)`,Ce.style.width=`${F}px`):(Ce.style.transform=`translate3d(0px, ${q}px, 0)`,Ce.style.height=`${F}px`),se.hide&&(clearTimeout(s),ge.style.opacity=1,s=setTimeout(()=>{ge.style.opacity=0,ge.style.transitionDuration="400ms"},1e3))}function x(de){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${de}ms`)}function w(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:de}=e,{dragEl:ue,el:Ce}=de;ue.style.width="",ue.style.height="",_=e.isHorizontal()?Ce.offsetWidth:Ce.offsetHeight,y=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?h=_*y:h=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?ue.style.width=`${h}px`:ue.style.height=`${h}px`,y>=1?Ce.style.display="none":Ce.style.display="",e.params.scrollbar.hide&&(Ce.style.opacity=0),e.params.watchOverflow&&e.enabled&&de.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function k(de){return e.isHorizontal()?de.clientX:de.clientY}function V(de){let{scrollbar:ue,rtlTranslate:Ce}=e,{el:ge}=ue,se;se=(k(de)-K2(ge)[e.isHorizontal()?"left":"top"]-(u!==null?u:h/2))/(_-h),se=Math.max(Math.min(se,1),0),Ce&&(se=1-se);let G=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*se;e.updateProgress(G),e.setTranslate(G),e.updateActiveIndex(),e.updateSlidesClasses()}function N(de){let ue=e.params.scrollbar,{scrollbar:Ce,wrapperEl:ge}=e,{el:se,dragEl:G}=Ce;a=!0,u=de.target===G?k(de)-de.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,de.preventDefault(),de.stopPropagation(),ge.style.transitionDuration="100ms",G.style.transitionDuration="100ms",V(de),clearTimeout(l),se.style.transitionDuration="0ms",ue.hide&&(se.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",de)}function A(de){let{scrollbar:ue,wrapperEl:Ce}=e,{el:ge,dragEl:se}=ue;a&&(de.preventDefault&&de.cancelable?de.preventDefault():de.returnValue=!1,V(de),Ce.style.transitionDuration="0ms",ge.style.transitionDuration="0ms",se.style.transitionDuration="0ms",r("scrollbarDragMove",de))}function $(de){let ue=e.params.scrollbar,{scrollbar:Ce,wrapperEl:ge}=e,{el:se}=Ce;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",ge.style.transitionDuration=""),ue.hide&&(clearTimeout(l),l=Yl(()=>{se.style.opacity=0,se.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",de),ue.snapOnRelease&&e.slideToClosest())}function ie(de){let{scrollbar:ue,params:Ce}=e,ge=ue.el;if(!ge)return;let se=ge,G=Ce.passiveListeners?{passive:!1,capture:!1}:!1,F=Ce.passiveListeners?{passive:!0,capture:!1}:!1;if(!se)return;let q=de==="on"?"addEventListener":"removeEventListener";se[q]("pointerdown",N,G),o[q]("pointermove",A,G),o[q]("pointerup",$,F)}function H(){!e.params.scrollbar.el||!e.scrollbar.el||ie("on")}function j(){!e.params.scrollbar.el||!e.scrollbar.el||ie("off")}function U(){let{scrollbar:de,el:ue}=e;e.params.scrollbar=Ip(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});let Ce=e.params.scrollbar;if(!Ce.el)return;let ge;if(typeof Ce.el=="string"&&e.isElement&&(ge=e.el.querySelector(Ce.el)),!ge&&typeof Ce.el=="string"){if(ge=o.querySelectorAll(Ce.el),!ge.length)return}else ge||(ge=Ce.el);e.params.uniqueNavElements&&typeof Ce.el=="string"&&ge.length>1&&ue.querySelectorAll(Ce.el).length===1&&(ge=ue.querySelector(Ce.el)),ge.length>0&&(ge=ge[0]),ge.classList.add(e.isHorizontal()?Ce.horizontalClass:Ce.verticalClass);let se;ge&&(se=ge.querySelector(fs(e.params.scrollbar.dragClass)),se||(se=Vr("div",e.params.scrollbar.dragClass),ge.append(se))),Object.assign(de,{el:ge,dragEl:se}),Ce.draggable&&H(),ge&&ge.classList[e.enabled?"remove":"add"](...ad(e.params.scrollbar.lockClass))}function Q(){let de=e.params.scrollbar,ue=e.scrollbar.el;ue&&ue.classList.remove(...ad(e.isHorizontal()?de.horizontalClass:de.verticalClass)),j()}n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;let de=e.params.scrollbar,{el:ue}=e.scrollbar;ue=Vn(ue),ue.forEach(Ce=>{Ce.classList.remove(de.horizontalClass,de.verticalClass),Ce.classList.add(e.isHorizontal()?de.horizontalClass:de.verticalClass)})}),n("init",()=>{e.params.scrollbar.enabled===!1?le():(U(),w(),b())}),n("update resize observerUpdate lock unlock changeDirection",()=>{w()}),n("setTranslate",()=>{b()}),n("setTransition",(de,ue)=>{x(ue)}),n("enable disable",()=>{let{el:de}=e.scrollbar;de&&de.classList[e.enabled?"remove":"add"](...ad(e.params.scrollbar.lockClass))}),n("destroy",()=>{Q()});let J=()=>{e.el.classList.remove(...ad(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...ad(e.params.scrollbar.scrollbarDisabledClass)),U(),w(),b()},le=()=>{e.el.classList.add(...ad(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...ad(e.params.scrollbar.scrollbarDisabledClass)),Q()};Object.assign(e.scrollbar,{enable:J,disable:le,updateSize:w,setTranslate:b,init:U,destroy:Q})}function KL(i){let{swiper:e,extendParams:t,on:n}=i;t({parallax:{enabled:!1}});let r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",o=(l,u)=>{let{rtl:h}=e,_=h?-1:1,y=l.getAttribute("data-swiper-parallax")||"0",b=l.getAttribute("data-swiper-parallax-x"),x=l.getAttribute("data-swiper-parallax-y"),w=l.getAttribute("data-swiper-parallax-scale"),k=l.getAttribute("data-swiper-parallax-opacity"),V=l.getAttribute("data-swiper-parallax-rotate");if(b||x?(b=b||"0",x=x||"0"):e.isHorizontal()?(b=y,x="0"):(x=y,b="0"),b.indexOf("%")>=0?b=`${parseInt(b,10)*u*_}%`:b=`${b*u*_}px`,x.indexOf("%")>=0?x=`${parseInt(x,10)*u}%`:x=`${x*u}px`,typeof k<"u"&&k!==null){let A=k-(k-1)*(1-Math.abs(u));l.style.opacity=A}let N=`translate3d(${b}, ${x}, 0px)`;if(typeof w<"u"&&w!==null){let A=w-(w-1)*(1-Math.abs(u));N+=` scale(${A})`}if(V&&typeof V<"u"&&V!==null){let A=V*u*-1;N+=` rotate(${A}deg)`}l.style.transform=N},a=()=>{let{el:l,slides:u,progress:h,snapGrid:_,isElement:y}=e,b=ir(l,r);e.isElement&&b.push(...ir(e.hostEl,r)),b.forEach(x=>{o(x,h)}),u.forEach((x,w)=>{let k=x.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(k+=Math.ceil(w/2)-h*(_.length-1)),k=Math.min(Math.max(k,-1),1),x.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(V=>{o(V,k)})})},s=function(l){l===void 0&&(l=e.params.speed);let{el:u,hostEl:h}=e,_=[...u.querySelectorAll(r)];e.isElement&&_.push(...h.querySelectorAll(r)),_.forEach(y=>{let b=parseInt(y.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(b=0),y.style.transitionDuration=`${b}
841ms`})};n("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),n("init",()=>{e.params.parallax.enabled&&a()}),n("setTranslate",()=>{e.params.parallax.enabled&&a()}),n("setTransition",(l,u)=>{e.params.parallax.enabled&&s(u)})}function XL(i){let{swiper:e,extendParams:t,on:n,emit:r}=i,o=fi();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let a=1,s=!1,l=!1,u={x:0,y:0},h=-3,_,y,b=[],x={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},w={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},k={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},V=1;Object.defineProperty(e.zoom,"scale",{get(){return V},set(Ge){if(V!==Ge){let ve=x.imageEl,Me=x.slideEl;r("zoomChange",Ge,ve,Me)}V=Ge}});function N(){if(b.length<2)return 1;let Ge=b[0].pageX,ve=b[0].pageY,Me=b[1].pageX,we=b[1].pageY;return Math.sqrt((Me-Ge)**2+(we-ve)**2)}function A(){let Ge=e.params.zoom,ve=x.imageWrapEl.getAttribute("data-swiper-zoom")||Ge.maxRatio;if(Ge.limitToOriginalSize&&x.imageEl&&x.imageEl.naturalWidth){let Me=x.imageEl.naturalWidth/x.imageEl.offsetWidth;return Math.min(Me,ve)}return ve}function $(){if(b.length<2)return{x:null,y:null};let Ge=x.imageEl.getBoundingClientRect();return[(b[0].pageX+(b[1].pageX-b[0].pageX)/2-Ge.x-o.scrollX)/a,(b[0].pageY+(b[1].pageY-b[0].pageY)/2-Ge.y-o.scrollY)/a]}function ie(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function H(Ge){let ve=ie();return!!(Ge.target.matches(ve)||e.slides.filter(Me=>Me.contains(Ge.target)).length>0)}function j(Ge){let ve=`.${e.params.zoom.containerClass}`;return!!(Ge.target.matches(ve)||[...e.hostEl.querySelectorAll(ve)].filter(Me=>Me.contains(Ge.target)).length>0)}function U(Ge){if(Ge.pointerType==="mouse"&&b.splice(0,b.length),!H(Ge))return;let ve=e.params.zoom;if(_=!1,y=!1,b.push(Ge),!(b.length<2)){if(_=!0,x.scaleStart=N(),!x.slideEl){x.slideEl=Ge.target.closest(`.${e.params.slideClass}, swiper-slide`),x.slideEl||(x.slideEl=e.slides[e.activeIndex]);let Me=x.slideEl.querySelector(`.${ve.containerClass}`);if(Me&&(Me=Me.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),x.imageEl=Me,Me?x.imageWrapEl=Js(x.imageEl,`.${ve.containerClass}`)[0]:x.imageWrapEl=void 0,!x.imageWrapEl){x.imageEl=void 0;return}x.maxRatio=A()}if(x.imageEl){let[Me,we]=$();x.originX=Me,x.originY=we,x.imageEl.style.transitionDuration="0ms"}s=!0}}function Q(Ge){if(!H(Ge))return;let ve=e.params.zoom,Me=e.zoom,we=b.findIndex(xe=>xe.pointerId===Ge.pointerId);we>=0&&(b[we]=Ge),!(b.length<2)&&(y=!0,x.scaleMove=N(),x.imageEl&&(Me.scale=x.scaleMove/x.scaleStart*a,Me.scale>x.maxRatio&&(Me.scale=x.maxRatio-1+(Me.scale-x.maxRatio+1)**.5),Me.scale<ve.minRatio&&(Me.scale=ve.minRatio+1-(ve.minRatio-Me.scale+1)**.5),x.imageEl.style.transform=`translate3d(0,0,0) scale(${Me.scale})`))}function J(Ge){if(!H(Ge)||Ge.pointerType==="mouse"&&Ge.type==="pointerout")return;let ve=e.params.zoom,Me=e.zoom,we=b.findIndex(xe=>xe.pointerId===Ge.pointerId);we>=0&&b.splice(we,1),!(!_||!y)&&(_=!1,y=!1,x.imageEl&&(Me.scale=Math.max(Math.min(Me.scale,x.maxRatio),ve.minRatio),x.imageEl.style.transitionDuration=`${e.params.speed}ms`,x.imageEl.style.transform=`translate3d(0,0,0) scale(${Me.scale})`,a=Me.scale,s=!1,Me.scale>1&&x.slideEl?x.slideEl.classList.add(`${ve.zoomedSlideClass}`):Me.scale<=1&&x.slideEl&&x.slideEl.classList.remove(`${ve.zoomedSlideClass}`),Me.scale===1&&(x.originX=0,x.originY=0,x.slideEl=void 0)))}let le;function de(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function ue(){clearTimeout(le),e.touchEventsData.preventTouchMoveFromPointerMove=!0,le=setTimeout(()=>{e.destroyed||de()})}function Ce(Ge){let ve=e.device;if(!x.imageEl||w.isTouched)return;ve.android&&Ge.cancelable&&Ge.preventDefault(),w.isTouched=!0;let Me=b.length>0?b[0]:Ge;w.touchesStart.x=Me.pageX,w.touchesStart.y=Me.pageY}function ge(Ge){let Me=Ge.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!H(Ge)||!j(Ge))return;let we=e.zoom;if(!x.imageEl)return;if(!w.isTouched||!x.slideEl){Me&&F(Ge);return}if(Me){F(Ge);return}w.isMoved||(w.width=x.imageEl.offsetWidth||x.imageEl.clientWidth,w.height=x.imageEl.offsetHeight||x.imageEl.clientHeight,w.startX=Em(x.imageWrapEl,"x")||0,w.startY=Em(x.imageWrapEl,"y")||0,x.slideWidth=x.slideEl.offsetWidth,x.slideHeight=x.slideEl.offsetHeight,x.imageWrapEl.style.transitionDuration="0ms");let xe=w.width*we.scale,fe=w.height*we.scale;if(w.minX=Math.min(x.slideWidth/2-xe/2,0),w.maxX=-w.minX,w.minY=Math.min(x.slideHeight/2-fe/2,0),w.maxY=-w.minY,w.touchesCurrent.x=b.length>0?b[0].pageX:Ge.pageX,w.touchesCurrent.y=b.length>0?b[0].pageY:Ge.pageY,Math.max(Math.abs(w.touchesCurrent.x-w.touchesStart.x),Math.abs(w.touchesCurrent.y-w.touchesStart.y))>5&&(e.allowClick=!1),!w.isMoved&&!s){if(e.isHorizontal()&&(Math.floor(w.minX)===Math.floor(w.startX)&&w.touchesCurrent.x<w.touchesStart.x||Math.floor(w.maxX)===Math.floor(w.startX)&&w.touchesCurrent.x>w.touchesStart.x)){w.isTouched=!1,de();return}if(!e.isHorizontal()&&(Math.floor(w.minY)===Math.floor(w.startY)&&w.touchesCurrent.y<w.touchesStart.y||Math.floor(w.maxY)===Math.floor(w.startY)&&w.touchesCurrent.y>w.touchesStart.y)){w.isTouched=!1,de();return}}Ge.cancelable&&Ge.preventDefault(),Ge.stopPropagation(),ue(),w.isMoved=!0;
841let dt=(we.scale-a)/(x.maxRatio-e.params.zoom.minRatio),{originX:ft,originY:Qe}=x;w.currentX=w.touchesCurrent.x-w.touchesStart.x+w.startX+dt*(w.width-ft*2),w.currentY=w.touchesCurrent.y-w.touchesStart.y+w.startY+dt*(w.height-Qe*2),w.currentX<w.minX&&(w.currentX=w.minX+1-(w.minX-w.currentX+1)**.8),w.currentX>w.maxX&&(w.currentX=w.maxX-1+(w.currentX-w.maxX+1)**.8),w.currentY<w.minY&&(w.currentY=w.minY+1-(w.minY-w.currentY+1)**.8),w.currentY>w.maxY&&(w.currentY=w.maxY-1+(w.currentY-w.maxY+1)**.8),k.prevPositionX||(k.prevPositionX=w.touchesCurrent.x),k.prevPositionY||(k.prevPositionY=w.touchesCurrent.y),k.prevTime||(k.prevTime=Date.now()),k.x=(w.touchesCurrent.x-k.prevPositionX)/(Date.now()-k.prevTime)/2,k.y=(w.touchesCurrent.y-k.prevPositionY)/(Date.now()-k.prevTime)/2,Math.abs(w.touchesCurrent.x-k.prevPositionX)<2&&(k.x=0),Math.abs(w.touchesCurrent.y-k.prevPositionY)<2&&(k.y=0),k.prevPositionX=w.touchesCurrent.x,k.prevPositionY=w.touchesCurrent.y,k.prevTime=Date.now(),x.imageWrapEl.style.transform=`translate3d(${w.currentX}px, ${w.currentY}px,0)`}function se(){let Ge=e.zoom;if(b.length=0,!x.imageEl)return;if(!w.isTouched||!w.isMoved){w.isTouched=!1,w.isMoved=!1;return}w.isTouched=!1,w.isMoved=!1;let ve=300,Me=300,we=k.x*ve,xe=w.currentX+we,fe=k.y*Me,$e=w.currentY+fe;k.x!==0&&(ve=Math.abs((xe-w.currentX)/k.x)),k.y!==0&&(Me=Math.abs(($e-w.currentY)/k.y));let dt=Math.max(ve,Me);w.currentX=xe,w.currentY=$e;let ft=w.width*Ge.scale,Qe=w.height*Ge.scale;w.minX=Math.min(x.slideWidth/2-ft/2,0),w.maxX=-w.minX,w.minY=Math.min(x.slideHeight/2-Qe/2,0),w.maxY=-w.minY,w.currentX=Math.max(Math.min(w.currentX,w.maxX),w.minX),w.currentY=Math.max(Math.min(w.currentY,w.maxY),w.minY),x.imageWrapEl.style.transitionDuration=`${dt}ms`,x.imageWrapEl.style.transform=`translate3d(${w.currentX}px, ${w.currentY}px,0)`}function G(){let Ge=e.zoom;x.slideEl&&e.activeIndex!==e.slides.indexOf(x.slideEl)&&(x.imageEl&&(x.imageEl.style.transform="translate3d(0,0,0) scale(1)"),x.imageWrapEl&&(x.imageWrapEl.style.transform="translate3d(0,0,0)"),x.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),Ge.scale=1,a=1,x.slideEl=void 0,x.imageEl=void 0,x.imageWrapEl=void 0,x.originX=0,x.originY=0)}function F(Ge){if(a<=1||!x.imageWrapEl||!H(Ge)||!j(Ge))return;let ve=o.getComputedStyle(x.imageWrapEl).transform,Me=new o.DOMMatrix(ve);if(!l){l=!0,u.x=Ge.clientX,u.y=Ge.clientY,w.startX=Me.e,w.startY=Me.f,w.width=x.imageEl.offsetWidth||x.imageEl.clientWidth,w.height=x.imageEl.offsetHeight||x.imageEl.clientHeight,x.slideWidth=x.slideEl.offsetWidth,x.slideHeight=x.slideEl.offsetHeight;return}let we=(Ge.clientX-u.x)*h,xe=(Ge.clientY-u.y)*h,fe=w.width*a,$e=w.height*a,dt=x.slideWidth,ft=x.slideHeight,Qe=Math.min(dt/2-fe/2,0),It=-Qe,yt=Math.min(ft/2-$e/2,0),kt=-yt,rn=Math.max(Math.min(w.startX+we,It),Qe),dn=Math.max(Math.min(w.startY+xe,kt),yt);x.imageWrapEl.style.transitionDuration="0ms",x.imageWrapEl.style.transform=`translate3d(${rn}px, ${dn}px, 0)`,u.x=Ge.clientX,u.y=Ge.clientY,w.startX=rn,w.startY=dn,w.currentX=rn,w.currentY=dn}function q(Ge){let ve=e.zoom,Me=e.params.zoom;if(!x.slideEl){Ge&&Ge.target&&(x.slideEl=Ge.target.closest(`.${e.params.slideClass}, swiper-slide`)),x.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?x.slideEl=ir(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:x.slideEl=e.slides[e.activeIndex]);let eo=x.slideEl.querySelector(`.${Me.containerClass}`);eo&&(eo=eo.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),x.imageEl=eo,eo?x.imageWrapEl=Js(x.imageEl,`.${Me.containerClass}`)[0]:x.imageWrapEl=void 0}if(!x.imageEl||!x.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),x.slideEl.classList.add(`${Me.zoomedSlideClass}`);let we,xe,fe,$e,dt,ft,Qe,It,yt,kt,rn,dn,wi,rr,xi,br,Ln,or;typeof w.touchesStart.x>"u"&&Ge?(we=Ge.pageX,xe=Ge.pageY):(we=w.touchesStart.x,xe=w.touchesStart.y);let Cr=a,Jr=typeof Ge=="number"?Ge:null;a===1&&Jr&&(we=void 0,xe=void 0,w.touchesStart.x=void 0,w.touchesStart.y=void 0);let Hn=A();ve.scale=Jr||Hn,a=Jr||Hn,Ge&&!(a===1&&Jr)?(Ln=x.slideEl.offsetWidth,or=x.slideEl.offsetHeight,fe=K2(x.slideEl).left+o.scrollX,$e=K2(x.slideEl).top+o.scrollY,dt=fe+Ln/2-we,ft=$e+or/2-xe,
841yt=x.imageEl.offsetWidth||x.imageEl.clientWidth,kt=x.imageEl.offsetHeight||x.imageEl.clientHeight,rn=yt*ve.scale,dn=kt*ve.scale,wi=Math.min(Ln/2-rn/2,0),rr=Math.min(or/2-dn/2,0),xi=-wi,br=-rr,Cr>0&&Jr&&typeof w.currentX=="number"&&typeof w.currentY=="number"?(Qe=w.currentX*ve.scale/Cr,It=w.currentY*ve.scale/Cr):(Qe=dt*ve.scale,It=ft*ve.scale),Qe<wi&&(Qe=wi),Qe>xi&&(Qe=xi),It<rr&&(It=rr),It>br&&(It=br)):(Qe=0,It=0),Jr&&ve.scale===1&&(x.originX=0,x.originY=0),w.currentX=Qe,w.currentY=It,x.imageWrapEl.style.transitionDuration="300ms",x.imageWrapEl.style.transform=`translate3d(${Qe}px, ${It}px,0)`,x.imageEl.style.transitionDuration="300ms",x.imageEl.style.transform=`translate3d(0,0,0) scale(${ve.scale})`}function be(){let Ge=e.zoom,ve=e.params.zoom;if(!x.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?x.slideEl=ir(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:x.slideEl=e.slides[e.activeIndex];let Me=x.slideEl.querySelector(`.${ve.containerClass}`);Me&&(Me=Me.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),x.imageEl=Me,Me?x.imageWrapEl=Js(x.imageEl,`.${ve.containerClass}`)[0]:x.imageWrapEl=void 0}!x.imageEl||!x.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),Ge.scale=1,a=1,w.currentX=void 0,w.currentY=void 0,w.touchesStart.x=void 0,w.touchesStart.y=void 0,x.imageWrapEl.style.transitionDuration="300ms",x.imageWrapEl.style.transform="translate3d(0,0,0)",x.imageEl.style.transitionDuration="300ms",x.imageEl.style.transform="translate3d(0,0,0) scale(1)",x.slideEl.classList.remove(`${ve.zoomedSlideClass}`),x.slideEl=void 0,x.originX=0,x.originY=0,e.params.zoom.panOnMouseMove&&(u={x:0,y:0},l&&(l=!1,w.startX=0,w.startY=0)))}function Oe(Ge){let ve=e.zoom;ve.scale&&ve.scale!==1?be():q(Ge)}function gt(){let Ge=e.params.passiveListeners?{passive:!0,capture:!1}:!1,ve=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:Ge,activeListenerWithCapture:ve}}function Ae(){let Ge=e.zoom;if(Ge.enabled)return;Ge.enabled=!0;let{passiveListener:ve,activeListenerWithCapture:Me}=gt();e.wrapperEl.addEventListener("pointerdown",U,ve),e.wrapperEl.addEventListener("pointermove",Q,Me),["pointerup","pointercancel","pointerout"].forEach(we=>{e.wrapperEl.addEventListener(we,J,ve)}),e.wrapperEl.addEventListener("pointermove",ge,Me)}function tn(){let Ge=e.zoom;if(!Ge.enabled)return;Ge.enabled=!1;let{passiveListener:ve,activeListenerWithCapture:Me}=gt();e.wrapperEl.removeEventListener("pointerdown",U,ve),e.wrapperEl.removeEventListener("pointermove",Q,Me),["pointerup","pointercancel","pointerout"].forEach(we=>{e.wrapperEl.removeEventListener(we,J,ve)}),e.wrapperEl.removeEventListener("pointermove",ge,Me)}n("init",()=>{e.params.zoom.enabled&&Ae()}),n("destroy",()=>{tn()}),n("touchStart",(Ge,ve)=>{e.zoom.enabled&&Ce(ve)}),n("touchEnd",(Ge,ve)=>{e.zoom.enabled&&se()}),n("doubleTap",(Ge,ve)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&Oe(ve)}),n("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&G()}),n("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&G()}),Object.assign(e.zoom,{enable:Ae,disable:tn,in:q,out:be,toggle:Oe})}function ZL(i){let{swiper:e,extendParams:t,on:n}=i;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function r(u,h){let _=function(){let w,k,V;return(N,A)=>{for(k=-1,w=N.length;w-k>1;)V=w+k>>1,N[V]<=A?k=V:w=V;return w}}();this.x=u,this.y=h,this.lastIndex=u.length-1;let y,b;return this.interpolate=function(w){return w?(b=_(this.x,w),y=b-1,(w-this.x[y])*(this.y[b]-this.y[y])/(this.x[b]-this.x[y])+this.y[y]):0},this}function o(u){e.controller.spline=e.params.loop?new r(e.slidesGrid,u.slidesGrid):new r(e.snapGrid,u.snapGrid)}function a(u,h){let _=e.controller.control,y,b,x=e.constructor;function w(k){if(k.destroyed)return;let V=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(o(k),b=-e.controller.spline.interpolate(-V)),(!b||e.params.controller.by==="container")&&(y=(k.maxTranslate()-k.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(y)||!Number.isFinite(y))&&(y=1),b=(V-e.minTranslate())*y+k.minTranslate()),e.params.controller.inverse&&(b=k.maxTranslate()-b),k.updateProgress(b),k.setTranslate(b,e),k.updateActiveIndex(),k.updateSlidesClasses()}if(Array.isArray(_))for(let k=0;k<_.length;k+=1)_[k]!==h&&_[k]instanceof x&&w(_[k]);else _ instanceof x&&h!==_&&w(_)}function s(u,h){let _=e.constructor,y=e.controller.control,b;function x(w){w.destroyed||(w.setTransition(u,e),u!==0&&(w.transitionStart(),w.params.autoHeight&&Yl(()=>{w.updateAutoHeight()}),h1(w.wrapperEl,()=>{y&&w.transitionEnd()})))}if(Array.isArray(y))for(b=0;b<y.length;b+=1)y[b]!==h&&y[b]instanceof _&&x(y[b]);else y instanceof _&&h!==y&&x(y)}function l(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}n("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEac
841h(h=>{if(e.controller.control||(e.controller.control=[]),h&&h.swiper)e.controller.control.push(h.swiper);else if(h){let _=`${e.params.eventsPrefix}init`,y=b=>{e.controller.control.push(b.detail[0]),e.update(),h.removeEventListener(_,y)};h.addEventListener(_,y)}});return}e.controller.control=e.params.controller.control}),n("update",()=>{l()}),n("resize",()=>{l()}),n("observerUpdate",()=>{l()}),n("setTranslate",(u,h,_)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(h,_)}),n("setTransition",(u,h,_)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(h,_)}),Object.assign(e.controller,{setTranslate:a,setTransition:s})}function JL(i){let{swiper:e,extendParams:t,on:n}=i;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let r=null,o,a,s=new Date().getTime();function l(G){let F=r;F.length!==0&&lo(F,G)}function u(G){G===void 0&&(G=16);let F=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(G).replace(/x/g,F)}function h(G){G=Vn(G),G.forEach(F=>{F.setAttribute("tabIndex","0")})}function _(G){G=Vn(G),G.forEach(F=>{F.setAttribute("tabIndex","-1")})}function y(G,F){G=Vn(G),G.forEach(q=>{q.setAttribute("role",F)})}function b(G,F){G=Vn(G),G.forEach(q=>{q.setAttribute("aria-roledescription",F)})}function x(G,F){G=Vn(G),G.forEach(q=>{q.setAttribute("aria-controls",F)})}function w(G,F){G=Vn(G),G.forEach(q=>{q.setAttribute("aria-label",F)})}function k(G,F){G=Vn(G),G.forEach(q=>{q.setAttribute("id",F)})}function V(G,F){G=Vn(G),G.forEach(q=>{q.setAttribute("aria-live",F)})}function N(G){G=Vn(G),G.forEach(F=>{F.setAttribute("aria-disabled",!0)})}function A(G){G=Vn(G),G.forEach(F=>{F.setAttribute("aria-disabled",!1)})}function $(G){if(G.keyCode!==13&&G.keyCode!==32)return;let F=e.params.a11y,q=G.target;if(!(e.pagination&&e.pagination.el&&(q===e.pagination.el||e.pagination.el.contains(G.target))&&!G.target.matches(fs(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){let be=Vn(e.navigation.prevEl);Vn(e.navigation.nextEl).includes(q)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(F.lastSlideMessage):l(F.nextSlideMessage)),be.includes(q)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(F.firstSlideMessage):l(F.prevSlideMessage))}e.pagination&&q.matches(fs(e.params.pagination.bulletClass))&&q.click()}}function ie(){if(e.params.loop||e.params.rewind||!e.navigation)return;let{nextEl:G,prevEl:F}=e.navigation;F&&(e.isBeginning?(N(F),_(F)):(A(F),h(F))),G&&(e.isEnd?(N(G),_(G)):(A(G),h(G)))}function H(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function j(){return H()&&e.params.pagination.clickable}function U(){let G=e.params.a11y;H()&&e.pagination.bullets.forEach(F=>{e.params.pagination.clickable&&(h(F),e.params.pagination.renderBullet||(y(F,"button"),w(F,G.paginationBulletMessage.replace(/\{\{index\}\}/,m1(F)+1)))),F.matches(fs(e.params.pagination.bulletActiveClass))?F.setAttribute("aria-current","true"):F.removeAttribute("aria-current")})}let Q=(G,F,q)=>{h(G),G.tagName!=="BUTTON"&&(y(G,"button"),G.addEventListener("keydown",$)),w(G,q),x(G,F)},J=G=>{a&&a!==G.target&&!a.contains(G.target)&&(o=!0),e.a11y.clicked=!0},le=()=>{o=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},de=G=>{s=new Date().getTime()},ue=G=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-s<100)return;let F=G.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!F||!e.slides.includes(F))return;a=F;let q=e.slides.indexOf(F)===e.activeIndex,be=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(F);q||be||G.sourceCapabilities&&G.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>
841{o||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(F.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(F)),0),o=!1)}))},Ce=()=>{let G=e.params.a11y;G.itemRoleDescriptionMessage&&b(e.slides,G.itemRoleDescriptionMessage),G.slideRole&&y(e.slides,G.slideRole);let F=e.slides.length;G.slideLabelMessage&&e.slides.forEach((q,be)=>{let Oe=e.params.loop?parseInt(q.getAttribute("data-swiper-slide-index"),10):be,gt=G.slideLabelMessage.replace(/\{\{index\}\}/,Oe+1).replace(/\{\{slidesLength\}\}/,F);w(q,gt)})},ge=()=>{let G=e.params.a11y;e.el.append(r);let F=e.el;G.containerRoleDescriptionMessage&&b(F,G.containerRoleDescriptionMessage),G.containerMessage&&w(F,G.containerMessage),G.containerRole&&y(F,G.containerRole);let q=e.wrapperEl,be=G.id||q.getAttribute("id")||`swiper-wrapper-${u(16)}`,Oe=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";k(q,be),V(q,Oe),Ce();let{nextEl:gt,prevEl:Ae}=e.navigation?e.navigation:{};gt=Vn(gt),Ae=Vn(Ae),gt&&gt.forEach(Ge=>Q(Ge,be,G.nextSlideMessage)),Ae&&Ae.forEach(Ge=>Q(Ge,be,G.prevSlideMessage)),j()&&Vn(e.pagination.el).forEach(ve=>{ve.addEventListener("keydown",$)}),Ri().addEventListener("visibilitychange",de),e.el.addEventListener("focus",ue,!0),e.el.addEventListener("focus",ue,!0),e.el.addEventListener("pointerdown",J,!0),e.el.addEventListener("pointerup",le,!0)};function se(){r&&r.remove();let{nextEl:G,prevEl:F}=e.navigation?e.navigation:{};G=Vn(G),F=Vn(F),G&&G.forEach(be=>be.removeEventListener("keydown",$)),F&&F.forEach(be=>be.removeEventListener("keydown",$)),j()&&Vn(e.pagination.el).forEach(Oe=>{Oe.removeEventListener("keydown",$)}),Ri().removeEventListener("visibilitychange",de),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",ue,!0),e.el.removeEventListener("pointerdown",J,!0),e.el.removeEventListener("pointerup",le,!0))}n("beforeInit",()=>{r=Vr("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&ge()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&Ce()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&ie()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&U()}),n("destroy",()=>{e.params.a11y.enabled&&se()})}function eH(i){let{swiper:e,extendParams:t,on:n}=i;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,o={},a=b=>b.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),s=b=>{let x=fi(),w;b?w=new URL(b):w=x.location;let k=w.pathname.slice(1).split("/").filter($=>$!==""),V=k.length,N=k[V-2],A=k[V-1];return{key:N,value:A}},l=(b,x)=>{let w=fi();if(!r||!e.params.history.enabled)return;let k;e.params.url?k=new URL(e.params.url):k=w.location;let V=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${x}"]`):e.slides[x],N=a(V.getAttribute("data-history"));if(e.params.history.root.length>0){let $=e.params.history.root;$[$.length-1]==="/"&&($=$.slice(0,$.length-1)),N=`${$}/${b?`${b}/`:""}${N}`}else k.pathname.includes(b)||(N=`${b?`${b}/`:""}${N}`);e.params.history.keepQuery&&(N+=k.search);let A=w.history.state;A&&A.value===N||(e.params.history.replaceState?w.history.replaceState({value:N},null,N):w.history.pushState({value:N},null,N))},u=(b,x,w)=>{if(x)for(let k=0,V=e.slides.length;k<V;k+=1){let N=e.slides[k];if(a(N.getAttribute("data-history"))===x){let $=e.getSlideIndex(N);e.slideTo($,b,w)}}else e.slideTo(0,b,w)},h=()=>{o=s(e.params.url),u(e.params.speed,o.value,!1)},_=()=>{let b=fi();if(e.params.history){if(!b.history||!b.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(r=!0,o=s(e.params.url),!o.key&&!o.value){e.params.history.replaceState||b.addEventListener("popstate",h);return}u(0,o.value,e.params.runCallbacksOnInit),e.params.history.replaceState||b.addEventListener("popstate",h)}},y=()=>{let b=fi();e.params.history.replaceState||b.removeEventListener("popstate",h)};n("init",()=>{e.params.history.enabled&&_()}),n("destroy",()=>{e.params.history.enabled&&y()}),n("transitionEnd _freeModeNoMomentumRelease",()=>{r&&l(e.params.history.key,e.activeIndex)}),n("slideChange",()=>{r&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function tH(i){let{swiper:e,extendParams:t,emit:n,on:r}=i,o=!1,a=Ri(),s=fi();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(y,b){if(e.virtual&&e.params.virtual.enabled){let x=e.slides.find(k=>k.getAttribute("data-hash")===b);return x?parseInt(x.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(ir(e.slidesEl,`.${e.params.slideClass}[data-hash="${b}"], swiper-slide[data-hash="${b}"]`)[0])}}});let l=()=>{n("hashChange");let y=a.location.hash.replace("#",""),b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],x=b?b.getAttribute("data-hash"):"";if(y!==x){let w=e.params.hashNavigation.getSlideIndex(e,y);if(typeof w>"u"||Number.isNaN(w))return;e.slideTo(w)}},u=()=>{if(!o||!e.params.hashNavigation.enabled)return;let y=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],b=y?y.getAttribute("data-hash")||y.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&s.history&&s.history.replaceState?(s.history.replaceState(null,null,`#${b}`||""),n("hashSet")):(a.location.hash=b||"",n("hashSet"))},h=()=>
841{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;o=!0;let y=a.location.hash.replace("#","");if(y){let x=e.params.hashNavigation.getSlideIndex(e,y);e.slideTo(x||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&s.addEventListener("hashchange",l)},_=()=>{e.params.hashNavigation.watchState&&s.removeEventListener("hashchange",l)};r("init",()=>{e.params.hashNavigation.enabled&&h()}),r("destroy",()=>{e.params.hashNavigation.enabled&&_()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{o&&u()}),r("slideChange",()=>{o&&e.params.cssMode&&u()})}function nH(i){let{swiper:e,extendParams:t,on:n,emit:r,params:o}=i;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,s,l=o&&o.autoplay?o.autoplay.delay:3e3,u=o&&o.autoplay?o.autoplay.delay:3e3,h,_=new Date().getTime(),y,b,x,w,k,V,N;function A(F){!e||e.destroyed||!e.wrapperEl||F.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",A),!(N||F.detail&&F.detail.bySwiperTouchMove)&&J())}let $=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?y=!0:y&&(u=h,y=!1);let F=e.autoplay.paused?h:_+u-new Date().getTime();e.autoplay.timeLeft=F,r("autoplayTimeLeft",F,F/l),s=requestAnimationFrame(()=>{$()})},ie=()=>{let F;return e.virtual&&e.params.virtual.enabled?F=e.slides.find(be=>be.classList.contains("swiper-slide-active")):F=e.slides[e.activeIndex],F?parseInt(F.getAttribute("data-swiper-autoplay"),10):void 0},H=F=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),$();let q=typeof F>"u"?e.params.autoplay.delay:F;l=e.params.autoplay.delay,u=e.params.autoplay.delay;let be=ie();!Number.isNaN(be)&&be>0&&typeof F>"u"&&(q=be,l=be,u=be),h=q;let Oe=e.params.speed,gt=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(Oe,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,Oe,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(Oe,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,Oe,!0,!0),r("autoplay")),e.params.cssMode&&(_=new Date().getTime(),requestAnimationFrame(()=>{H()})))};return q>0?(clearTimeout(a),a=setTimeout(()=>{gt()},q)):requestAnimationFrame(()=>{gt()}),q},j=()=>{_=new Date().getTime(),e.autoplay.running=!0,H(),r("autoplayStart")},U=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(s),r("autoplayStop")},Q=(F,q)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),F||(V=!0);let be=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",A):J()};if(e.autoplay.paused=!0,q){k&&(h=e.params.autoplay.delay),k=!1,be();return}h=(h||e.params.autoplay.delay)-(new Date().getTime()-_),!(e.isEnd&&h<0&&!e.params.loop)&&(h<0&&(h=0),be())},J=()=>{e.isEnd&&h<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(_=new Date().getTime(),V?(V=!1,H(h)):H(),e.autoplay.paused=!1,r("autoplayResume"))},le=()=>{if(e.destroyed||!e.autoplay.running)return;let F=Ri();F.visibilityState==="hidden"&&(V=!0,Q(!0)),F.visibilityState==="visible"&&J()},de=F=>{F.pointerType==="mouse"&&(V=!0,N=!0,!(e.animating||e.autoplay.paused)&&Q(!0))},ue=F=>{F.pointerType==="mouse"&&(N=!1,e.autoplay.paused&&J())},Ce=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",de),e.el.addEventListener("pointerleave",ue))},ge=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",de),e.el.removeEventListener("pointerleave",ue))},se=()=>{Ri().addEventListener("visibilitychange",le)},G=()=>{Ri().removeEventListener("visibilitychange",le)};n("init",()=>{e.params.autoplay.enabled&&(Ce(),se(),j())}),n("destroy",()=>{ge(),G(),e.autoplay.running&&U()}),n("_freeModeStaticRelease",()=>{(x||V)&&J()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?U():Q(!0,!0)}),n("beforeTransitionStart",(F,q,be)=>{e.destroyed||!e.autoplay.running||(be||!e.params.autoplay.disableOnInteraction?Q(!0,!0):U())}),n("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){U();return}b=!0,x=!1,V=!1,w=setTimeout(()=>{V=!0,x=!0,Q(!0)},200)}}),n("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!b)){if(clearTimeout(w),clearTimeout(a),e.params.autoplay.disableOnInteraction){x=!1,b=!1;return}
841x&&e.params.cssMode&&J(),x=!1,b=!1}}),n("slideChange",()=>{e.destroyed||!e.autoplay.running||(k=!0)}),Object.assign(e.autoplay,{start:j,stop:U,pause:Q,resume:J})}function iH(i){let{swiper:e,extendParams:t,on:n}=i;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,o=!1;e.thumbs={swiper:null};function a(){let u=e.thumbs.swiper;if(!u||u.destroyed)return;let h=u.clickedIndex,_=u.clickedSlide;if(_&&_.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof h>"u"||h===null)return;let y;u.params.loop?y=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):y=h,e.params.loop?e.slideToLoop(y):e.slideTo(y)}function s(){let{thumbs:u}=e.params;if(r)return!1;r=!0;let h=e.constructor;if(u.swiper instanceof h){if(u.swiper.destroyed)return r=!1,!1;e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(Tp(u.swiper)){let _=Object.assign({},u.swiper);Object.assign(_,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new h(_),o=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function l(u){let h=e.thumbs.swiper;if(!h||h.destroyed)return;let _=h.params.slidesPerView==="auto"?h.slidesPerViewDynamic():h.params.slidesPerView,y=1,b=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(y=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(y=1),y=Math.floor(y),h.slides.forEach(k=>k.classList.remove(b)),h.params.loop||h.params.virtual&&h.params.virtual.enabled)for(let k=0;k<y;k+=1)ir(h.slidesEl,`[data-swiper-slide-index="${e.realIndex+k}"]`).forEach(V=>{V.classList.add(b)});else for(let k=0;k<y;k+=1)h.slides[e.realIndex+k]&&h.slides[e.realIndex+k].classList.add(b);let x=e.params.thumbs.autoScrollOffset,w=x&&!h.params.loop;if(e.realIndex!==h.realIndex||w){let k=h.activeIndex,V,N;if(h.params.loop){let A=h.slides.find($=>$.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);V=h.slides.indexOf(A),N=e.activeIndex>e.previousIndex?"next":"prev"}else V=e.realIndex,N=V>e.previousIndex?"next":"prev";w&&(V+=N==="next"?x:-1*x),h.visibleSlidesIndexes&&h.visibleSlidesIndexes.indexOf(V)<0&&(h.params.centeredSlides?V>k?V=V-Math.floor(_/2)+1:V=V+Math.floor(_/2)-1:V>k&&h.params.slidesPerGroup,h.slideTo(V,u?0:void 0))}}n("beforeInit",()=>{let{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){let h=Ri(),_=()=>{let b=typeof u.swiper=="string"?h.querySelector(u.swiper):u.swiper;if(b&&b.swiper)u.swiper=b.swiper,s(),l(!0);else if(b){let x=`${e.params.eventsPrefix}init`,w=k=>{u.swiper=k.detail[0],b.removeEventListener(x,w),s(),l(!0),u.swiper.update(),e.update()};b.addEventListener(x,w)}return b},y=()=>
841{if(e.destroyed)return;_()||requestAnimationFrame(y)};requestAnimationFrame(y)}else s(),l(!0)}),n("slideChange update resize observerUpdate",()=>{l()}),n("setTransition",(u,h)=>{let _=e.thumbs.swiper;!_||_.destroyed||_.setTransition(h)}),n("beforeDestroy",()=>{let u=e.thumbs.swiper;!u||u.destroyed||o&&u.destroy()}),Object.assign(e.thumbs,{init:s,update:l})}function rH(i){let{swiper:e,extendParams:t,emit:n,once:r}=i;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function o(){if(e.params.cssMode)return;let l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;let{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ko()})}function s(l){let{currentPos:u}=l;if(e.params.cssMode)return;let{params:h,wrapperEl:_,rtlTranslate:y,snapGrid:b,touchEventsData:x}=e,k=Ko()-x.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<b.length?e.slideTo(b.length-1):e.slideTo(e.slides.length-1);return}if(h.freeMode.momentum){if(x.velocities.length>1){let U=x.velocities.pop(),Q=x.velocities.pop(),J=U.position-Q.position,le=U.time-Q.time;e.velocity=J/le,e.velocity/=2,Math.abs(e.velocity)<h.freeMode.minimumVelocity&&(e.velocity=0),(le>150||Ko()-U.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=h.freeMode.momentumVelocityRatio,x.velocities.length=0;let V=1e3*h.freeMode.momentumRatio,N=e.velocity*V,A=e.translate+N;y&&(A=-A);let $=!1,ie,H=Math.abs(e.velocity)*20*h.freeMode.momentumBounceRatio,j;if(A<e.maxTranslate())h.freeMode.momentumBounce?(A+e.maxTranslate()<-H&&(A=e.maxTranslate()-H),ie=e.maxTranslate(),$=!0,x.allowMomentumBounce=!0):A=e.maxTranslate(),h.loop&&h.centeredSlides&&(j=!0);else if(A>e.minTranslate())h.freeMode.momentumBounce?(A-e.minTranslate()>H&&(A=e.minTranslate()+H),ie=e.minTranslate(),$=!0,x.allowMomentumBounce=!0):A=e.minTranslate(),h.loop&&h.centeredSlides&&(j=!0);else if(h.freeMode.sticky){let U;for(let Q=0;Q<b.length;Q+=1)if(b[Q]>-A){U=Q;break}Math.abs(b[U]-A)<Math.abs(b[U-1]-A)||e.swipeDirection==="next"?A=b[U]:A=b[U-1],A=-A}if(j&&r("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(y?V=Math.abs((-A-e.translate)/e.velocity):V=Math.abs((A-e.translate)/e.velocity),h.freeMode.sticky){let U=Math.abs((y?-A:A)-e.translate),Q=e.slidesSizesGrid[e.activeIndex];U<Q?V=h.speed:U<2*Q?V=h.speed*1.5:V=h.speed*2.5}}else if(h.freeMode.sticky){e.slideToClosest();return}h.freeMode.momentumBounce&&$?(e.updateProgress(ie),e.setTransition(V),e.setTranslate(A),e.transitionStart(!0,e.swipeDirection),e.animating=!0,h1(_,()=>{!e||e.destroyed||!x.allowMomentumBounce||(n("momentumBounce"),e.setTransition(h.speed),setTimeout(()=>{e.setTranslate(ie),h1(_,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(n("_freeModeNoMomentumRelease"),e.updateProgress(A),e.setTransition(V),e.setTranslate(A),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,h1(_,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(A),e.updateActiveIndex(),e.updateSlidesClasses()}else if(h.freeMode.sticky){e.slideToClosest();return}else h.freeMode&&n("_freeModeNoMomentumRelease");(!h.freeMode.momentum||k>=h.longSwipesMs)&&(n("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:o,onTouchMove:a,onTouchEnd:s}})}function oH(i){let{swiper:e,extendParams:t,on:n}=i;t({grid:{rows:1,fill:"column"}});let r,o,a,s,l=()=>{let w=e.params.spaceBetween;return typeof w=="string"&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*e.size:typeof w=="string"&&(w=parseFloat(w)),w},u=w=>{let{slidesPerView:k}=e.params,{rows:V,fill:N}=e.params.grid,A=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:w.length;
841a=Math.floor(A/V),Math.floor(A/V)===A/V?r=A:r=Math.ceil(A/V)*V,k!=="auto"&&N==="row"&&(r=Math.max(r,k*V)),o=r/V},h=()=>{e.slides&&e.slides.forEach(w=>{w.swiperSlideGridSet&&(w.style.height="",w.style[e.getDirectionLabel("margin-top")]="")})},_=(w,k,V)=>{let{slidesPerGroup:N}=e.params,A=l(),{rows:$,fill:ie}=e.params.grid,H=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:V.length,j,U,Q;if(ie==="row"&&N>1){let J=Math.floor(w/(N*$)),le=w-$*N*J,de=J===0?N:Math.min(Math.ceil((H-J*$*N)/$),N);Q=Math.floor(le/de),U=le-Q*de+J*N,j=U+Q*r/$,k.style.order=j}else ie==="column"?(U=Math.floor(w/$),Q=w-U*$,(U>a||U===a&&Q===$-1)&&(Q+=1,Q>=$&&(Q=0,U+=1))):(Q=Math.floor(w/o),U=w-Q*o);k.row=Q,k.column=U,k.style.height=`calc((100% - ${($-1)*A}px) / ${$})`,k.style[e.getDirectionLabel("margin-top")]=Q!==0?A&&`${A}px`:"",k.swiperSlideGridSet=!0},y=(w,k)=>{let{centeredSlides:V,roundLengths:N}=e.params,A=l(),{rows:$}=e.params.grid;if(e.virtualSize=(w+A)*r,e.virtualSize=Math.ceil(e.virtualSize/$)-A,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+A}px`),V){let ie=[];for(let H=0;H<k.length;H+=1){let j=k[H];N&&(j=Math.floor(j)),k[H]<e.virtualSize+k[0]&&ie.push(j)}k.splice(0,k.length),k.push(...ie)}},b=()=>{s=e.params.grid&&e.params.grid.rows>1},x=()=>{let{params:w,el:k}=e,V=w.grid&&w.grid.rows>1;s&&!V?(k.classList.remove(`${w.containerModifierClass}grid`,`${w.containerModifierClass}grid-column`),a=1,e.emitContainerClasses()):!s&&V&&(k.classList.add(`${w.containerModifierClass}grid`),w.grid.fill==="column"&&k.classList.add(`${w.containerModifierClass}grid-column`),e.emitContainerClasses()),s=V};n("init",b),n("update",x),e.grid={initSlides:u,unsetSlides:h,updateSlide:_,updateWrapperSize:y}}function g5e(i){let e=this,{params:t,slidesEl:n}=e;t.loop&&e.loopDestroy();let r=o=>{if(typeof o=="string"){let a=document.createElement("div");lo(a,o),n.append(a.children[0]),lo(a,"")}else n.append(o)};if(typeof i=="object"&&"length"in i)for(let o=0;o<i.length;o+=1)i[o]&&r(i[o]);else r(i);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update()}function _5e(i){let e=this,{params:t,activeIndex:n,slidesEl:r}=e;t.loop&&e.loopDestroy();let o=n+1,a=s=>{if(typeof s=="string"){let l=document.createElement("div");lo(l,s),r.prepend(l.children[0]),lo(l,"")}else r.prepend(s)};if(typeof i=="object"&&"length"in i){for(let s=0;s<i.length;s+=1)i[s]&&a(i[s]);o=n+i.length}else a(i);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),e.slideTo(o,0,!1)}function v5e(i,e){let t=this,{params:n,activeIndex:r,slidesEl:o}=t,a=r;n.loop&&(a-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());let s=t.slides.length;if(i<=0){t.prependSlide(e);return}if(i>=s){t.appendSlide(e);return}let l=a>i?a+1:a,u=[];for(let h=s-1;h>=i;h-=1){let _=t.slides[h];_.remove(),u.unshift(_)}if(typeof e=="object"&&"length"in e){for(let h=0;h<e.length;h+=1)e[h]&&o.append(e[h]);l=a>i?a+e.length:a}else o.append(e);for(let h=0;h<u.length;h+=1)o.append(u[h]);t.recalcSlides(),n.loop&&t.loopCreate(),(!n.observer||t.isElement)&&t.update(),n.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)}function x5e(i){let e=this,{params:t,activeIndex:n}=e,r=n;t.loop&&(r-=e.loopedSlides,e.loopDestroy());let o=r,a;if(typeof i=="object"&&"length"in i){for(let s=0;s<i.length;s+=1)a=i[s],e.slides[a]&&e.slides[a].remove(),a<o&&(o-=1);o=Math.max(o,0)}else a=i,e.slides[a]&&e.slides[a].remove(),a<o&&(o-=1),o=Math.max(o,0);e.recalcSlides(),t.loop&&e.loopCreate(),(!t.observer||e.isElement)&&e.update(),t.loop?e.slideTo(o+e.loopedSlides,0,!1):e.slideTo(o,0,!1)}function b5e(){let i=this,e=[];for(let t=0;t<i.slides.length;t+=1)e.push(t);i.removeSlide(e)}function aH(i){let{swiper:e}=i;Object.assign(e,{appendSlide:g5e.bind(e),prependSlide:_5e.bind(e),addSlide:v5e.bind(e),removeSlide:x5e.bind(e),removeAllSlides:b5e.bind(e)})}function ms(i){let{effect:e,swiper:t,on:n,setTranslate:r,setTransition:o,overwriteParams:a,perspective:s,recreateShadows:l,getEffectParams:u}=i;n("beforeInit",()=>{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),s&&s()&&t.classNames.push(`${t.params.containerModifierClass}3d`);let _=a?a():{};Object.assign(t.params,_),Object.assign(t.originalParams,_)}),n("setTranslate _virtualUpdated",()=>{t.params.effect===e&&r()}),n("setTransition",(_,y)=>{t.params.effect===e&&o(y)}),n("transitionEnd",()=>{if(t.params.effect===e&&l){if(!u||!u().slideShadows)return;
841t.slides.forEach(_=>{_.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(y=>y.remove())}),l()}});let h;n("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(h=!0),requestAnimationFrame(()=>{h&&t.slides&&t.slides.length&&(r(),h=!1)}))})}function Ql(i,e){let t=fa(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function v1(i){let{swiper:e,duration:t,transformElements:n,allSlides:r}=i,{activeIndex:o}=e,a=s=>s.parentElement?s.parentElement:e.slides.find(u=>u.shadowRoot&&u.shadowRoot===s.parentNode);if(e.params.virtualTranslate&&t!==0){let s=!1,l;r?l=n:l=n.filter(u=>{let h=u.classList.contains("swiper-slide-transform")?a(u):u;return e.getSlideIndex(h)===o}),l.forEach(u=>{h1(u,()=>{if(s||!e||e.destroyed)return;s=!0,e.animating=!1;let h=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(h)})})}}function sH(i){let{swiper:e,extendParams:t,on:n}=i;t({fadeEffect:{crossFade:!1}}),ms({effect:"fade",swiper:e,on:n,setTranslate:()=>{let{slides:a}=e,s=e.params.fadeEffect;for(let l=0;l<a.length;l+=1){let u=e.slides[l],_=-u.swiperSlideOffset;e.params.virtualTranslate||(_-=e.translate);let y=0;e.isHorizontal()||(y=_,_=0);let b=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(u.progress),0):1+Math.min(Math.max(u.progress,-1),0),x=Ql(s,u);x.style.opacity=b,x.style.transform=`translate3d(${_}px, ${y}px, 0px)`}},setTransition:a=>{let s=e.slides.map(l=>fa(l));s.forEach(l=>{l.style.transitionDuration=`${a}ms`}),v1({swiper:e,duration:a,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function lH(i){let{swiper:e,extendParams:t,on:n}=i;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});let r=(l,u,h)=>{let _=h?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),y=h?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");_||(_=Vr("div",`swiper-slide-shadow-cube swiper-slide-shadow-${h?"left":"top"}`.split(" ")),l.append(_)),y||(y=Vr("div",`swiper-slide-shadow-cube swiper-slide-shadow-${h?"right":"bottom"}`.split(" ")),l.append(y)),_&&(_.style.opacity=Math.max(-u,0)),y&&(y.style.opacity=Math.max(u,0))};ms({effect:"cube",swiper:e,on:n,setTranslate:()=>{let{el:l,wrapperEl:u,slides:h,width:_,height:y,rtlTranslate:b,size:x,browser:w}=e,k=g1(e),V=e.params.cubeEffect,N=e.isHorizontal(),A=e.virtual&&e.params.virtual.enabled,$=0,ie;V.shadow&&(N?(ie=e.wrapperEl.querySelector(".swiper-cube-shadow"),ie||(ie=Vr("div","swiper-cube-shadow"),e.wrapperEl.append(ie)),ie.style.height=`${_}px`):(ie=l.querySelector(".swiper-cube-shadow"),ie||(ie=Vr("div","swiper-cube-shadow"),l.append(ie))));for(let j=0;j<h.length;j+=1){let U=h[j],Q=j;A&&(Q=parseInt(U.getAttribute("data-swiper-slide-index"),10));let J=Q*90,le=Math.floor(J/360);b&&(J=-J,le=Math.floor(-J/360));let de=Math.max(Math.min(U.progress,1),-1),ue=0,Ce=0,ge=0;Q%4===0?(ue=-le*4*x,ge=0):(Q-1)%4===0?(ue=0,ge=-le*4*x):(Q-2)%4===0?(ue=x+le*4*x,ge=x):(Q-3)%4===0&&(ue=-x,ge=3*x+x*4*le),b&&(ue=-ue),N||(Ce=ue,ue=0);let se=`rotateX(${k(N?0:-J)}deg) rotateY(${k(N?J:0)}deg) translate3d(${ue}px, ${Ce}px, ${ge}px)`;de<=1&&de>-1&&($=Q*90+de*90,b&&($=-Q*90-de*90)),U.style.transform=se,V.slideShadows&&r(U,de,N)}if(u.style.transformOrigin=`50% 50% -${x/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${x/2}px`,V.shadow)if(N)ie.style.transform=`translate3d(0px, ${_/2+V.shadowOffset}px, ${-_/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${V.shadowScale})`;else{let j=Math.abs($)-Math.floor(Math.abs($)/90)*90,U=1.5-(Math.sin(j*2*Math.PI/360)/2+Math.cos(j*2*Math.PI/360)/2),Q=V.shadowScale,J=V.shadowScale/U,le=V.shadowOffset;ie.style.transform=`scale3d(${Q}, 1, ${J}) translate3d(0px, ${y/2+le}px, ${-y/2/J}px) rotateX(-89.99deg)`}let H=(w.isSafari||w.isWebView)&&w.needPerspectiveFix?-x/2:0;u.style.transform=`translate3d(0px,0,${H}px) rotateX(${k(e.isHorizontal()?0:$)}deg) rotateY(${k(e.isHorizontal()?-$:0)}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${H}px`)},setTransition:l=>{let{el:u,slides:h}=e;
841if(h.forEach(_=>{_.style.transitionDuration=`${l}ms`,_.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(y=>{y.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){let _=u.querySelector(".swiper-cube-shadow");_&&(_.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{let l=e.isHorizontal();e.slides.forEach(u=>{let h=Math.max(Math.min(u.progress,1),-1);r(u,h,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Kl(i,e,t){let n=`swiper-slide-shadow${t?`-${t}`:""}${i?` swiper-slide-shadow-${i}`:""}`,r=fa(e),o=r.querySelector(`.${n.split(" ").join(".")}`);return o||(o=Vr("div",n.split(" ")),r.append(o)),o}function cH(i){let{swiper:e,extendParams:t,on:n}=i;t({flipEffect:{slideShadows:!0,limitRotation:!0}});let r=(l,u)=>{let h=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),_=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");h||(h=Kl("flip",l,e.isHorizontal()?"left":"top")),_||(_=Kl("flip",l,e.isHorizontal()?"right":"bottom")),h&&(h.style.opacity=Math.max(-u,0)),_&&(_.style.opacity=Math.max(u,0))};ms({effect:"flip",swiper:e,on:n,setTranslate:()=>{let{slides:l,rtlTranslate:u}=e,h=e.params.flipEffect,_=g1(e);for(let y=0;y<l.length;y+=1){let b=l[y],x=b.progress;e.params.flipEffect.limitRotation&&(x=Math.max(Math.min(b.progress,1),-1));let w=b.swiperSlideOffset,V=-180*x,N=0,A=e.params.cssMode?-w-e.translate:-w,$=0;e.isHorizontal()?u&&(V=-V):($=A,A=0,N=-V,V=0),b.style.zIndex=-Math.abs(Math.round(x))+l.length,h.slideShadows&&r(b,x);let ie=`translate3d(${A}px, ${$}px, 0px) rotateX(${_(N)}deg) rotateY(${_(V)}deg)`,H=Ql(h,b);H.style.transform=ie}},setTransition:l=>{let u=e.slides.map(h=>fa(h));u.forEach(h=>{h.style.transitionDuration=`${l}ms`,h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(_=>{_.style.transitionDuration=`${l}ms`})}),v1({swiper:e,duration:l,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let u=l.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(l.progress,1),-1)),r(l,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function dH(i){let{swiper:e,extendParams:t,on:n}=i;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),ms({effect:"coverflow",swiper:e,on:n,setTranslate:()=>{let{width:a,height:s,slides:l,slidesSizesGrid:u}=e,h=e.params.coverflowEffect,_=e.isHorizontal(),y=e.translate,b=_?-y+a/2:-y+s/2,x=_?h.rotate:-h.rotate,w=h.depth,k=g1(e);for(let V=0,N=l.length;V<N;V+=1){let A=l[V],$=u[V],ie=A.swiperSlideOffset,H=(b-ie-$/2)/$,j=typeof h.modifier=="function"?h.modifier(H):H*h.modifier,U=_?x*j:0,Q=_?0:x*j,J=-w*Math.abs(j),le=h.stretch;typeof le=="string"&&le.indexOf("%")!==-1&&(le=parseFloat(h.stretch)/100*$);let de=_?0:le*j,ue=_?le*j:0,Ce=1-(1-h.scale)*Math.abs(j);Math.abs(ue)<.001&&(ue=0),Math.abs(de)<.001&&(de=0),Math.abs(J)<.001&&(J=0),Math.abs(U)<.001&&(U=0),Math.abs(Q)<.001&&(Q=0),Math.abs(Ce)<.001&&(Ce=0);let ge=`translate3d(${ue}px,${de}px,${J}px)  rotateX(${k(Q)}deg) rotateY(${k(U)}deg) scale(${Ce})`,se=Ql(h,A);if(se.style.transform=ge,A.style.zIndex=-Math.abs(Math.round(j))+1,h.slideShadows){let G=_?A.querySelector(".swiper-slide-shadow-left"):A.querySelector(".swiper-slide-shadow-top"),F=_?A.querySelector(".swiper-slide-shadow-right"):A.querySelector(".swiper-slide-shadow-bottom");G||(G=Kl("coverflow",A,_?"left":"top")),F||(F=Kl("coverflow",A,_?"right":"bottom")),G&&(G.style.opacity=j>0?j:0),F&&(F.style.opacity=-j>0?-j:0)}}},setTransition:a=>{e.slides.map(l=>fa(l)).forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${a}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function uH(i){let{swiper:e,extendParams:t,on:n}=i;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});let r=s=>typeof s=="string"?s:`${s}px`;ms({effect:"creative",swiper:e,on:n,setTranslate:()=>{let{slides:s,wrapperEl:l,slidesSizesGrid:u}=e,h=e.params.creativeEffect,{progressMultiplier:_}=h,y=e.params.centeredSlides,b=g1(e);if(y){let x=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${x}px))`}for(let x=0;x<s.length;x+=1){let w=s[x],k=w.progress,V=Math.min(Math.max(w.progress,-h.limitProgress),h.limitProgress),N=V;
841y||(N=Math.min(Math.max(w.originalProgress,-h.limitProgress),h.limitProgress));let A=w.swiperSlideOffset,$=[e.params.cssMode?-A-e.translate:-A,0,0],ie=[0,0,0],H=!1;e.isHorizontal()||($[1]=$[0],$[0]=0);let j={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};V<0?(j=h.next,H=!0):V>0&&(j=h.prev,H=!0),$.forEach((Ce,ge)=>{$[ge]=`calc(${Ce}px + (${r(j.translate[ge])} * ${Math.abs(V*_)}))`}),ie.forEach((Ce,ge)=>{let se=j.rotate[ge]*Math.abs(V*_);ie[ge]=se}),w.style.zIndex=-Math.abs(Math.round(k))+s.length;let U=$.join(", "),Q=`rotateX(${b(ie[0])}deg) rotateY(${b(ie[1])}deg) rotateZ(${b(ie[2])}deg)`,J=N<0?`scale(${1+(1-j.scale)*N*_})`:`scale(${1-(1-j.scale)*N*_})`,le=N<0?1+(1-j.opacity)*N*_:1-(1-j.opacity)*N*_,de=`translate3d(${U}) ${Q} ${J}`;if(H&&j.shadow||!H){let Ce=w.querySelector(".swiper-slide-shadow");if(!Ce&&j.shadow&&(Ce=Kl("creative",w)),Ce){let ge=h.shadowPerProgress?V*(1/h.limitProgress):V;Ce.style.opacity=Math.min(Math.max(Math.abs(ge),0),1)}}let ue=Ql(h,w);ue.style.transform=de,ue.style.opacity=le,j.origin&&(ue.style.transformOrigin=j.origin)}},setTransition:s=>{let l=e.slides.map(u=>fa(u));l.forEach(u=>{u.style.transitionDuration=`${s}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(h=>{h.style.transitionDuration=`${s}ms`})}),v1({swiper:e,duration:s,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function pH(i){let{swiper:e,extendParams:t,on:n}=i;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),ms({effect:"cards",swiper:e,on:n,setTranslate:()=>{let{slides:a,activeIndex:s,rtlTranslate:l}=e,u=e.params.cardsEffect,{startTranslate:h,isTouched:_}=e.touchEventsData,y=l?-e.translate:e.translate;for(let b=0;b<a.length;b+=1){let x=a[b],w=x.progress,k=Math.min(Math.max(w,-4),4),V=x.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(V-=a[0].swiperSlideOffset);let N=e.params.cssMode?-V-e.translate:-V,A=0,$=-100*Math.abs(k),ie=1,H=-u.perSlideRotate*k,j=u.perSlideOffset-Math.abs(k)*.75,U=e.virtual&&e.params.virtual.enabled?e.virtual.from+b:b,Q=(U===s||U===s-1)&&k>0&&k<1&&(_||e.params.cssMode)&&y<h,J=(U===s||U===s+1)&&k<0&&k>-1&&(_||e.params.cssMode)&&y>h;if(Q||J){let Ce=(1-Math.abs((Math.abs(k)-.5)/.5))**.5;H+=-28*k*Ce,ie+=-.5*Ce,j+=96*Ce,A=`${-25*Ce*Math.abs(k)}%`}if(k<0?N=`calc(${N}px ${l?"-":"+"} (${j*Math.abs(k)}%))`:k>0?N=`calc(${N}px ${l?"-":"+"} (-${j*Math.abs(k)}%))`:N=`${N}px`,!e.isHorizontal()){let Ce=A;A=N,N=Ce}let le=k<0?`${1+(1-ie)*k}`:`${1-(1-ie)*k}`,de=`
842        translate3d(${N}, ${A}, ${$}px)
843        rotateZ(${u.rotate?l?-H:H:0}deg)
844        scale(${le})
845      `;if(u.slideShadows){let Ce=x.querySelector(".swiper-slide-shadow");Ce||(Ce=Kl("cards",x)),Ce&&(Ce.style.opacity=Math.min(Math.max((Math.abs(k)-.5)/.5,0),1))}x.style.zIndex=-Math.abs(Math.round(w))+a.length;let ue=Ql(u,x);ue.style.transform=de}},setTransition:a=>{let s=e.slides.map(l=>fa(l));s.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),v1({swiper:e,duration:a,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}var C5e=[UL,GL,$L,WL,YL,QL,KL,XL,ZL,JL,eH,tH,nH,iH,rH,oH,aH,sH,lH,cH,dH,uH,pH];_1.use(C5e);var kp=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesB
845ounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function X2(i){return typeof i=="object"&&i!==null&&i.constructor&&Object.prototype.toString.call(i).slice(8,-1)==="Object"&&!i.__swiper__}function Zv(i,e){let t=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>t.indexOf(n)<0).forEach(n=>{typeof i[n]>"u"?i[n]=e[n]:X2(e[n])&&X2(i[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?i[n]=e[n]:Zv(i[n],e[n]):i[n]=e[n]})}function fH(i){return i===void 0&&(i={}),i.navigation&&typeof i.navigation.nextEl>"u"&&typeof i.navigation.prevEl>"u"}function mH(i){return i===void 0&&(i={}),i.pagination&&typeof i.pagination.el>"u"}function hH(i){return i===void 0&&(i={}),i.scrollbar&&typeof i.scrollbar.el>"u"}function Np(i){return i===void 0&&(i=""),i.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function gH(i){let{swiper:e,slides:t,passedParams:n,changedParams:r,nextEl:o,prevEl:a,scrollbarEl:s,paginationEl:l}=i,u=r.filter(Q=>Q!=="children"&&Q!=="direction"&&Q!=="wrapperClass"),{params:h,pagination:_,navigation:y,scrollbar:b,virtual:x,thumbs:w}=e,k,V,N,A,$,ie,H,j;r.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&!n.thumbs.swiper.destroyed&&h.thumbs&&(!h.thumbs.swiper||h.thumbs.swiper.destroyed)&&(k=!0),r.includes("controller")&&n.controller&&n.controller.control&&h.controller&&!h.controller.control&&(V=!0),r.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(h.pagination||h.pagination===!1)&&_&&!_.el&&(N=!0),r.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||s)&&(h.scrollbar||h.scrollbar===!1)&&b&&!b.el&&(A=!0),r.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||o)&&(h.navigation||h.navigation===!1)&&y&&!y.prevEl&&!y.nextEl&&($=!0);let U=Q=>{e[Q]&&(e[Q].destroy(),Q==="navigation"?(e.isElement&&(e[Q].prevEl.remove(),e[Q].nextEl.remove()),h[Q].prevEl=void 0,h[Q].nextEl=void 0,e[Q].prevEl=void 0,e[Q].nextEl=void 0):(e.isElement&&e[Q].el.remove(),h[Q].el=void 0,e[Q].el=void 0))};r.includes("loop")&&e.isElement&&(h.loop&&!n.loop?ie=!0:!h.loop&&n.loop?H=!0:j=!0),u.forEach(Q=>{if(X2(h[Q])&&X2(n[Q]))Object.assign(h[Q],n[Q]),(Q==="navigation"||Q==="pagination"||Q==="scrollbar")&&"enabled"in n[Q]&&!n[Q].enabled&&U(Q);else{let J=n[Q];(J===!0||J===!1)&&(Q==="navigation"||Q==="pagination"||Q==="scrollbar")?J===!1&&U(Q):h[Q]=n[Q]}}),u.includes("controller")&&!V&&e.controller&&e.controller.control&&h.controller&&h.controller.control&&(e.controller.control=h.controller.control),r.includes("children")&&t&&x&&h.virtual.enabled?(x.slides=t,x.update(!0)):r.includes("virtual")&&x&&h.virtual.enabled&&(t&&(x.slides=t),x.update(!0)),r.includes("children")&&t&&h.loop&&(j=!0),k&&w.init()&&w.update(!0),V&&(e.controller.control=h.controller.control),N&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(h.pagination.el=l),_.init(
845),_.render(),_.update()),A&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(h.scrollbar.el=s),b.init(),b.updateSize(),b.setTranslate()),$&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),lo(o,e.hostEl.constructor.nextButtonSvg),o.part.add("button-next"),e.el.appendChild(o)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),lo(a,e.hostEl.constructor.prevButtonSvg),a.part.add("button-prev"),e.el.appendChild(a))),o&&(h.navigation.nextEl=o),a&&(h.navigation.prevEl=a),y.init(),y.update()),r.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),r.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),r.includes("direction")&&e.changeDirection(n.direction,!1),(ie||j)&&e.loopDestroy(),(H||j)&&e.loopCreate(),e.update()}var _H=i=>{if(parseFloat(i)===Number(i))return Number(i);if(i==="true"||i==="")return!0;if(i==="false")return!1;if(i==="null")return null;if(i!=="undefined"){if(typeof i=="string"&&i.includes("{")&&i.includes("}")&&i.includes('"')){let e;try{e=JSON.parse(i)}catch{e=i}return e}return i}},vH=["a11y","autoplay","controller","cards-effect","coverflow-effect","creative-effect","cube-effect","fade-effect","flip-effect","free-mode","grid","hash-navigation","history","keyboard","mousewheel","navigation","pagination","parallax","scrollbar","thumbs","virtual","zoom"];function nP(i,e,t){let n={},r={};Zv(n,Xv);let o=[...kp,"on"],a=o.map(l=>l.replace(/_/,""));o.forEach(l=>{l=l.replace("_",""),typeof i[l]<"u"&&(r[l]=i[l])});let s=[...i.attributes];return typeof e=="string"&&typeof t<"u"&&s.push({name:e,value:X2(t)?ae({},t):t}
845),s.forEach(l=>{let u=vH.find(h=>l.name.startsWith(`${h}-`));if(u){let h=Np(u),_=Np(l.name.split(`${u}-`)[1]);typeof r[h]>"u"&&(r[h]={}),r[h]===!0&&(r[h]={enabled:!0}),r[h]===!1&&(r[h]={enabled:!1}),r[h][_]=_H(l.value)}else{let h=Np(l.name);if(!a.includes(h))return;let _=_H(l.value);r[h]&&vH.includes(l.name)&&!X2(_)?(r[h].constructor!==Object&&(r[h]={}),r[h].enabled=!!_):r[h]=_}}),Zv(n,r),n.navigation?n.navigation=ae({prevEl:".swiper-button-prev",nextEl:".swiper-button-next"},n.navigation!==!0?n.navigation:{}):n.navigation===!1&&delete n.navigation,n.scrollbar?n.scrollbar=ae({el:".swiper-scrollbar"},n.scrollbar!==!0?n.scrollbar:{}):n.scrollbar===!1&&delete n.scrollbar,n.pagination?n.pagination=ae({el:".swiper-pagination"},n.pagination!==!0?n.pagination:{}):n.pagination===!1&&delete n.pagination,{params:n,passedParams:r}}var y5e=":host{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{width:100%;height:100%;margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android ::slotted(swiper-slide),.swiper-ios ::slotted(swiper-slide),.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}::slotted(swiper-slide){flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}::slotted(.swiper-slide-invisible-blank){visibility:hidden}.swiper-autoheight,.swiper-autoheight ::slotted(swiper-slide){height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden ::slotted(swiper-slide){transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d ::slotted(swiper-slide){transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode ::slotted(swiper-slide){scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode ::slotted(swiper-slide){scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered ::slotted(swiper-slide){scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal ::slotted(swiper-slide):first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical ::slotted(swiper-slide):first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-virtual ::slotted(swiper-slide){-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:host{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:var(--swiper-navigation-top-offset,50%);width:calc(var(--swiper-navigation-size)/ 44 * 27);
845height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next svg,.swiper-button-prev svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-next svg,.swiper-rtl .swiper-button-prev svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset,10px);right:auto}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset,10px);left:auto}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
845.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:var(--swiper-pagination-bottom,8px);top:var(--swiper-pagination-top,auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius,50%);background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:var(--swiper-pagination-right,8px);left:var(--swiper-pagination-left,auto);top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color,inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color,rgba(0,0,0,.25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size,4px);left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:var(--swiper-pagination-progressbar-size,4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius,10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color,rgba(0,0,0,.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;
845left:var(--swiper-scrollbar-sides-offset,1%);bottom:var(--swiper-scrollbar-bottom,4px);top:var(--swiper-scrollbar-top,auto);z-index:50;height:var(--swiper-scrollbar-size,4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar.swiper-scrollbar-vertical,.swiper-vertical>.swiper-scrollbar{position:absolute;left:var(--swiper-scrollbar-left,auto);right:var(--swiper-scrollbar-right,4px);top:var(--swiper-scrollbar-sides-offset,1%);z-index:50;width:var(--swiper-scrollbar-size,4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset,1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color,rgba(0,0,0,.5));border-radius:var(--swiper-scrollbar-border-radius,10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}::slotted(.swiper-slide-zoomed){cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode ::slotted(swiper-slide){transition-timing-function:ease-out}.swiper-fade ::slotted(swiper-slide){pointer-events:none;transition-property:opacity}.swiper-fade ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-fade ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-fade ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-cube.swiper-rtl ::slotted(swiper-slide){transform-origin:100% 0}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-cube ::slotted(.swiper-slide-active),.swiper-cube ::slotted(.swiper-slide-next),.swiper-cube ::slotted(.swiper-slide-prev){pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube ::slotted(.swiper-slide-next)+::slotted(swiper-slide){pointer-events:auto;visibility:visible}.swiper.swiper-flip{overflow:visible}.swiper-flip ::slotted(swiper-slide){pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip ::slotted(swiper-slide) ::slotted(swiper-slide){pointer-events:none}.swiper-flip ::slotted(.swiper-slide-active),.swiper-flip ::slotted(.swiper-slide-active) ::slotted(.swiper-slide-active){pointer-events:auto}.swiper-creative ::slotted(swiper-slide){-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards ::slotted(swiper-slide){transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}",M5e="::slotted(.swiper-slide-shadow),::slotted(.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-top){position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}::slotted(.swiper-slide-shadow){background:rgba(0,0,0,.15)}::slotted(.swiper-slide-shadow-left){background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-right){background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-top){background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}::slotted(.swiper-slide-shadow-bottom){background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear;width:42px;height:42px;position:absolute;
845left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-cube.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-bottom),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-left),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-right),::slotted(.swiper-slide-shadow-flip.swiper-slide-shadow-top){z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}::slotted(.swiper-zoom-container){width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}::slotted(.swiper-zoom-container)>canvas,::slotted(.swiper-zoom-container)>img,::slotted(.swiper-zoom-container)>svg{max-width:100%;max-height:100%;object-fit:contain}",iP=class{},bH=typeof window>"u"||typeof HTMLElement>"u"?iP:HTMLElement,xH=`<svg width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>
846    `,CH=(i,e)=>{if(typeof CSSStyleSheet<"u"&&i.adoptedStyleSheets){let t=new CSSStyleSheet;t.replaceSync(e),i.adoptedStyleSheets=[t]}else{let t=document.createElement("style");t.rel="stylesheet",t.textContent=e,i.appendChild(t)}},Jv=class extends bH{constructor(){super(),this.attachShadow({mode:"open"})}static get nextButtonSvg(){return xH}static get prevButtonSvg(){return xH.replace("/></svg>",' transform-origin="center" transform="rotate(180)"/></svg>')}cssStyles(){return[y5e,...this.injectStyles&&Array.isArray(this.injectStyles)?this.injectStyles:[]].join(`
847`)}cssLinks(){return this.injectStylesUrls||[]}calcSlideSlots(){let e=this.slideSlots||0,t=[...this.querySelectorAll("[slot^=slide-]")].map(n=>parseInt(n.getAttribute("slot").split("slide-")[1],10));if(this.slideSlots=t.length?Math.max(...t)+1:0,!!this.rendered){if(this.slideSlots>e)for(let n=e;n<this.slideSlots;n+=1){let r=document.createElement("swiper-slide");r.setAttribute("part",`slide slide-${n+1}`);let o=document.createElement("slot");o.setAttribute("name",`slide-${n+1}`),r.appendChild(o),this.shadowRoot.querySelector(".swiper-wrapper").appendChild(r)}else if(this.slideSlots<e){let n=this.swiper.slides;for(let r=n.length-1;r>=0;r-=1)r>this.slideSlots&&n[r].remove()}}}render(){if(this.rendered)return;this.calcSlideSlots();let e=this.cssStyles();this.slideSlots>0&&(e=e.replace(/::slotted\(([a-z-0-9.]*)\)/g,"$1")),e.length&&CH(this.shadowRoot,e),this.cssLinks().forEach(n=>{if(this.shadowRoot.querySelector(`link[href="${n}"]`))return;let o=document.createElement("link");o.rel="stylesheet",o.href=n,this.shadowRoot.appendChild(o)});let t=document.createElement("div");t.classList.add("swiper"),t.part="container",lo(t,`
848      <slot name="container-start"></slot>
849      <div class="swiper-wrapper" part="wrapper">
850        <slot></slot>
851        ${Array.from({length:this.slideSlots}).map((n,r)=>`
852        <swiper-slide part="slide slide-${r}">
853          <slot name="slide-${r}"></slot>
854        </swiper-slide>
855        `).join("")}
856      </div>
857      <slot name="container-end"></slot>
858      ${fH(this.passedParams)?`
859        <div part="button-prev" class="swiper-button-prev">${this.constructor.prevButtonSvg}</div>
860        <div part="button-next" class="swiper-button-next">${this.constructor.nextButtonSvg}</div>
861      `:""}
862      ${mH(this.passedParams)?`
863        <div part="pagination" class="swiper-pagination"></div>
864      `:""}
865      ${hH(this.passedParams)?`
866        <div part="scrollbar" class="swiper-scrollbar"></div>
867      `:""}
868    `),this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){var e=this;if(this.swiper&&this.swiper.initialized)return;let{params:t,passedParams:n}=nP(this);this.swiperParams=t,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new _1(this.shadowRoot.querySelector(".swiper"),mt(ae(ae({},t.virtual?{}:{observer:!0}),t),{touchEventsTarget:"container",onAny:function(r){r==="observerUpdate"&&e.calcSlideSlots();let o=t.eventsPrefix?`${t.eventsPrefix}${r.toLowerCase()}`:r.toLowerCase();for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];let u=new CustomEvent(o,{detail:s,bubbles:r!=="hashChange",cancelable:!0});e.dispatchEvent(u)}}))}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(e,t){let{params:n,passedParams:r}=nP(this,e,t);this.passedParams=r,this.swiperParams=n,!(this.swiper&&this.swiper.params[e]===t)&&gH(ae(ae(ae({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Np(e)]},e==="navigation"&&r[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{}),e==="pagination"&&r[e]?{paginationEl:".swiper-pagination"}:{}),e==="scrollbar"&&r[e]?{scrollbarEl:".swiper-scrollbar"}:{}))}attributeChangedCallback(e,t,n){this.swiper&&this.swiper.initialized&&(t==="true"&&n===null&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return kp.filter(t=>t.includes("_")).map(t=>t.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}};
868kp.forEach(i=>{i!=="init"&&(i=i.replace("_",""),Object.defineProperty(Jv.prototype,i,{configurable:!0,get(){return(this.passedParams||{})[i]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[i]=e,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(i,e)}}))});var rP=class extends bH{constructor(){super(),this.attachShadow({mode:"open"})}render(){let e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(CH(this.shadowRoot,M5e),this.shadowRoot.appendChild(document.createElement("slot")),e){let t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}},yH=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",Jv),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",rP))};typeof window<"u"&&(window.SwiperElementRegisterParams=i=>{kp.push(...i)});function w5e(i){let e=i,t=Math.floor(Math.abs(i)),n=i.toString().replace(/^[^.]*\.?/,"").length,r=parseInt(i.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===1?1:r===0&&t!==0&&t%1e6===0&&n===0||!(r>=0&&r<=5)?4:5}var MH=["es-AR",[["a.\xA0m.","p.\xA0m."],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dom","lun","mar","mi\xE9","jue","vie","s\xE1b"],["domingo","lunes","martes","mi\xE9rcoles","jueves","viernes","s\xE1bado"],["DO","LU","MA","MI","JU","VI","SA"]],void 0,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene","feb","mar","abr","may","jun","jul","ago","sept","oct","nov","dic"],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],void 0,[["a. C.","d. C."],void 0,["antes de Cristo","despu\xE9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}","{1} {0}","{1}, {0}",void 0],[",",".",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","\xA4\xA0#,##0.00","#E0"],"ARS","$","peso argentino",{ARS:["$"],AUD:[void 0,"$"],BRL:[void 0,"R$"],BYN:[void 0,"\u0440."],CAD:[void 0,"$"],CNY:[void 0,"\xA5"],ESP:["\u20A7"],EUR:[void 0,"\u20AC"],FKP:[void 0,"FK\xA3"],GBP:[void 0,"\xA3"],HKD:[void 0,"$"],ILS:[void 0,"\u20AA"],INR:[void 0,"\u20B9"],JPY:[void 0,"\xA5"],KRW:[void 0,"\u20A9"],MXN:[void 0,"$"],NZD:[void 0,"$"],PHP:[void 0,"\u20B1"],RON:[void 0,"L"],SSP:[void 0,"SD\xA3"],SYP:[void 0,"S\xA3"],TWD:[void 0,"NT$"],USD:["US$","$"],VEF:[void 0,"BsF"],VND:[void 0,"\u20AB"],XAF:[],XCD:[void 0,"$"],XOF:[]},"ltr",w5e];yH();ik(MH);CC(Zg,uL).catch(i=>console.error(i));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.